Skip to content

Commit fe46adc

Browse files
committed
Add user provided config support
1 parent 825de7b commit fe46adc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/rtconfig.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
# define CONFIG_NO_ERRNO
127127
# define RT_TICK_PER_SECOND (1000)
128128
# define CONFIG_HEAP_SIZE (60 * 1024)
129-
# define CONFIG_ARDUINO_STACK_SIZE (8 * 512)
129+
# define CONFIG_ARDUINO_STACK_SIZE (12 * 512)
130130
# define CONFIG_USING_DRIVER_RTC (1) /* Require STM32duino_RTC library */
131131
#endif /* ARDUINO_ARCH_STM32 */
132132

@@ -497,4 +497,11 @@
497497
# undef RT_USING_COMPONENTS_INIT /* Reason: no access to linker script */
498498
#endif
499499

500+
501+
/* User provided config */
502+
503+
#if __has_include("rtconfig_extra.h")
504+
# include "rtconfig_extra.h"
505+
#endif
506+
500507
#endif /* __RTCONFIG_H__ */

0 commit comments

Comments
 (0)