support stm8
1. see: TencentOS-tiny\board\STM8L052R8T6\IAR\hello_world 2. compile/debug/run with IAR for STM8
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user