Skip to content

Commit 30e81b8

Browse files
authored
fixed freertos
1 parent 80b6eea commit 30e81b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libraries/Arduino_FreeRTOS/src/Arduino_FreeRTOS.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
#pragma once
1212

13-
#if !defined(ARDUINO_PORTENTA_C33) && !defined(ARDUINO_MINIMA) && !defined(ARDUINO_UNOWIFIR4)
14-
# error "FreeRTOS is currently only supported for the Portenta C33, Arduino Uno R4 Minima and Arduino Uno R4 WiFi."
13+
#if !defined(ARDUINO_PORTENTA_C33) && !defined(ARDUINO_MINIMA) && !defined(ARDUINO_UNOWIFIR4) && !defined(ARDUINO_NANO_R4)
14+
# error "FreeRTOS is currently only supported for the Portenta C33, Arduino Uno R4 Minima, Arduino Uno R4 WiF and Arduino Nano R4."
1515
#endif
1616

1717
#ifdef __cplusplus

libraries/Arduino_FreeRTOS/src/FreeRTOSConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ FSP_HEADER
119119
#ifndef configTOTAL_HEAP_SIZE
120120
# if defined(ARDUINO_PORTENTA_C33)
121121
# define configTOTAL_HEAP_SIZE (0x8000)
122-
# elif (defined(ARDUINO_MINIMA) || defined(ARDUINO_UNOWIFIR4))
122+
# elif (defined(ARDUINO_MINIMA) || defined(ARDUINO_UNOWIFIR4)) || defined(ARDUINO_NANO_R4)
123123
# define configTOTAL_HEAP_SIZE (0x2000) /* R7FA4M1AB has 32 kByte RAM total, so we only allocate 8 kByte RAM for FreeRTOS heap. */
124124
# else
125125
# error "Define the total allowed heap size dependent on your MCU's available RAM."

0 commit comments

Comments
 (0)