get most examples build with iar

This commit is contained in:
hathach
2023-01-18 10:31:00 +07:00
parent 8df2fd1916
commit ecfd57e6f1
6 changed files with 80 additions and 5 deletions

View File

@@ -77,8 +77,10 @@ void board_led_task(void)
//--------------------------------------------------------------------+
// newlib read()/write() retarget
//--------------------------------------------------------------------+
#if defined(__MSP430__) || defined(__RX__)
#ifdef __ICCARM__
#define sys_write __write
#define sys_read __read
#elif defined(__MSP430__) || defined(__RX__)
#define sys_write write
#define sys_read read
#else