File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11name =RT-Thread
2- version =0.9.2
2+ version =0.9.3
33author =onelife <onelife.real@gmail.com>, Bernard Xiong <bernard.xiong@gmail.com>
44maintainer =onelife <onelife.real@gmail.com>
55sentence =Real Time Operating System porting for Arduino SAM and SAMD boards
Original file line number Diff line number Diff line change 125125#ifdef ARDUINO_ARCH_STM32
126126# define CONFIG_NO_ERRNO
127127# define RT_TICK_PER_SECOND (1000)
128- # define CONFIG_USING_DRIVER_RTC (1)
128+ # define CONFIG_HEAP_SIZE (60 * 1024)
129+ # define CONFIG_ARDUINO_STACK_SIZE (8 * 512)
130+ # define CONFIG_USING_DRIVER_RTC (1) /* Require STM32duino_RTC library */
129131#endif /* ARDUINO_ARCH_STM32 */
130132
131133
158160#endif
159161
160162#ifndef CONFIG_HEAP_SIZE
161- # ifdef ARDUINO_ARCH_SAM
163+ #if defined( ARDUINO_ARCH_SAM ) || defined( ARDUINO_ARCH_STM32 )
162164# define CONFIG_HEAP_SIZE (40 * 1024)
163165# else
164166# define CONFIG_HEAP_SIZE (20 * 1024)
You can’t perform that action at this time.
0 commit comments