support stm8

1. see: TencentOS-tiny\board\STM8L052R8T6\IAR\hello_world
2. compile/debug/run with IAR for STM8
This commit is contained in:
daishengdong
2020-02-15 16:39:00 +08:00
parent 59e403891a
commit 405e5d970a
169 changed files with 49472 additions and 550 deletions

View File

@@ -41,12 +41,6 @@ void task(void *arg)
MX_QUADSPI_Init();
#endif
#if 0
stm32l4_norflash_onchip_erase(0x803d000, 2048);
stm32l4_norflash_onchip_erase(0x803d000 + 2048, 2048);
return;
#endif
#ifdef USING_ONCHIP_FLASH
err = tos_kv_init(&stm32l4_norflash_onchip_drv, &stm32l4_norflash_onchip_prop);
printf("kv init, rc: %d\n", err);