Skip to content

Commit

Permalink
Update core to 3.2.2 and use real FreeRTOS defs
Browse files Browse the repository at this point in the history
  • Loading branch information
GUVWAF committed Jun 11, 2023
1 parent cd78723 commit 412570a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/rp2040/rp2040.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[rp2040_base]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git#0c33219f53faa035e188925ea1324f472e8b93d2
extends = arduino_base
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#3.2.1
platform_packages = framework-arduinopico@https://github.com/earlephilhower/arduino-pico.git#3.2.2

board_build.core = earlephilhower
board_build.filesystem_size = 0.5m
Expand Down
4 changes: 2 additions & 2 deletions src/freertosinc.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <freertos/task.h>
#endif

#if defined(ARDUINO_NRF52_ADAFRUIT) || defined(ARDUINO_ARCH_STM32)
#if defined(ARDUINO_NRF52_ADAFRUIT) || defined(ARDUINO_ARCH_STM32) || defined(ARDUINO_ARCH_RP2040)
#define HAS_FREE_RTOS

#include <FreeRTOS.h>
Expand Down Expand Up @@ -44,4 +44,4 @@ typedef uint32_t BaseType_t;

enum eNotifyAction { eNoAction, eSetValueWithoutOverwrite, eSetValueWithOverwrite };

#endif
#endif

0 comments on commit 412570a

Please sign in to comment.