Skip to content

Commit

Permalink
Provide FreeRTOS hook only for PortentaC33
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed Dec 9, 2024
1 parent 3a3cfe4 commit acb578e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ portenta_c33.build.fpu=-mfpu=fpv5-sp-d16
portenta_c33.build.float-abi=-mfloat-abi=hard

portenta_c33.build.board=PORTENTA_C33
portenta_c33.build.defines=-DF_CPU=200000000
portenta_c33.build.defines=-DF_CPU=200000000 -DPROVIDE_FREERTOS_HOOK
portenta_c33.vid.0=0x2341
portenta_c33.pid.0=0x0068
portenta_c33.vid.1=0x2341
Expand Down
2 changes: 2 additions & 0 deletions cores/arduino/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ void arduino_main(void)
#endif
startAgt();
setup();
#ifdef PROVIDE_FREERTOS_HOOK
start_freertos_on_header_inclusion();
#endif
while (1)
{
loop();
Expand Down

0 comments on commit acb578e

Please sign in to comment.