Parcourir la source

add PKG_FREERTOS_USING_PRELOAD_CONFIG

Meco Man il y a 2 ans
Parent
commit
b5e20d157b
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      FreeRTOS/portable/rt-thread/FreeRTOSConfig.h

+ 4 - 0
FreeRTOS/portable/rt-thread/FreeRTOSConfig.h

@@ -29,6 +29,10 @@
 #ifndef FREERTOS_CONFIG_H
 #define FREERTOS_CONFIG_H
 
+#ifdef PKG_FREERTOS_USING_PRELOAD_CONFIG
+#include <FreeRTOSPreloadConfig.h>
+#endif
+
 /* The following options are read-only */
 #define configUSE_PREEMPTION                    1
 #define configUSE_TIME_SLICING                  1