add hw config struct

This commit is contained in:
hathach
2021-10-26 22:48:01 +07:00
parent 68fa9d4064
commit bb5dab5c2e
4 changed files with 240 additions and 92 deletions

View File

@@ -96,7 +96,7 @@ void board_led_task(void)
TU_ATTR_USED int sys_write (int fhdl, const void *buf, size_t count)
{
(void) fhdl;
SEGGER_RTT_Write(0, (char*) buf, (int) count);
SEGGER_RTT_Write(0, (const char*) buf, (int) count);
return count;
}