Skip to content

Commit acb578e

Browse files
committed
Provide FreeRTOS hook only for PortentaC33
1 parent 3a3cfe4 commit acb578e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

boards.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ portenta_c33.build.fpu=-mfpu=fpv5-sp-d16
1212
portenta_c33.build.float-abi=-mfloat-abi=hard
1313

1414
portenta_c33.build.board=PORTENTA_C33
15-
portenta_c33.build.defines=-DF_CPU=200000000
15+
portenta_c33.build.defines=-DF_CPU=200000000 -DPROVIDE_FREERTOS_HOOK
1616
portenta_c33.vid.0=0x2341
1717
portenta_c33.pid.0=0x0068
1818
portenta_c33.vid.1=0x2341

cores/arduino/main.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ void arduino_main(void)
113113
#endif
114114
startAgt();
115115
setup();
116+
#ifdef PROVIDE_FREERTOS_HOOK
116117
start_freertos_on_header_inclusion();
118+
#endif
117119
while (1)
118120
{
119121
loop();

0 commit comments

Comments
 (0)