LoginSignup
0
0

More than 1 year has passed since last update.

STM32F767とSWOで「A」を出力して遊ぶ

Posted at

x mbed os 6.16.0
x Keil Studio

目的
SWOのテスト

o_con701.jpg

o_con702.jpg



//ITM_SendChar_test1_767_1

#include "mbed.h"

void swo_puts(const char *str) {
  while (*str) {
    ITM_SendChar(*str++);
  }//while
}//swo_puts

int main() {

	while(1){
		ITM_SendChar('A');
		wait_us(1000*1000);
	}//while

}//main



0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0