app启动时如果boot魔数校验错误则自动升级bootloader

This commit is contained in:
andy
2023-10-12 23:37:12 +08:00
parent 17b4ebf188
commit fda9545130
18 changed files with 2865 additions and 1408 deletions

View File

@@ -134,18 +134,18 @@
// <h>Console Configuration
// <c1>Using console
// <i>Using console
#define RT_USING_CONSOLE
//#define RT_USING_CONSOLE
// </c>
// <o>the buffer size of console <1-1024>
// <i>the buffer size of console
// <i>Default: 128 (128Byte)
#define RT_CONSOLEBUF_SIZE 128
//#define RT_CONSOLEBUF_SIZE 128
// <s>The device name for console
// <i>The device name for console
// <i>Default: uart2
#define RT_CONSOLE_DEVICE_NAME "uart2"
//#define RT_CONSOLE_DEVICE_NAME "uart2"
// </h>
#if defined(RTE_USING_DEVICE)
@@ -202,5 +202,8 @@
#define IDLE_THREAD_STACK_SIZE 1024
#define RT_USING_CPU_FFS
#endif