Skip to content

Commit c70db31

Browse files
committed
2 parents 7162e7c + 8eae985 commit c70db31

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=FreeRTOS
2-
version=8.2.3-9
2+
version=8.2.3-12
33
author=Richard Berry <[email protected]>
44
maintainer=Phillip Stevens <[email protected]>
55
sentence=Real Time Operating System implemented for AVR (Uno, Leonardo, Mega).

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ranging from [blink](https://sourceforge.net/projects/avrfreertos/files/MegaBlin
1616
FreeRTOS has a multitude of configuration options, which can be specified from within the FreeRTOSConfig.h file.
1717
To keep commonality with all of the Arduino hardware options, some sensible defaults have been selected.
1818

19-
The AVR Watchdog Timer is used with to generate 30ms time slices, but Tasks that finish before their allocated time will hand execution back to the Scheduler.
19+
The AVR Watchdog Timer is used to generate 15ms time slices, but Tasks that finish before their allocated time will hand execution back to the Scheduler.
2020
This does not affect the use of any of the normal Timer functions in Arduino.
2121

2222
Time slices can be selected from 15ms up to 500ms. Slower time slicing can allow the Arduino MCU to sleep for longer, without the complexity of a Tickless idle.

src/FreeRTOSVariant.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ extern "C" {
2222
// System Tick - Scheduler timer
2323
// Use the Watchdog timer, and choose the rate at which scheduler interrupts will occur.
2424

25-
#define portUSE_WDTO WDTO_30MS // portUSE_WDTO to use the Watchdog Timer for xTaskIncrementTick
25+
#define portUSE_WDTO WDTO_15MS // portUSE_WDTO to use the Watchdog Timer for xTaskIncrementTick
2626

2727
/* Watchdog period options: WDTO_15MS
2828
WDTO_30MS

src/variantHooks.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ void vApplicationMallocFailedHook( void )
196196
This routine will never return.
197197
This routine is referenced in the task.c file of FreeRTOS as an extern.
198198
\*---------------------------------------------------------------------------*/
199-
void vApplicationStackOverflowHook( TaskHandle_t xTask __attribute__((unused)), portCHAR *pcTaskName __attribute__((unused)) ) __attribute__((weak));
199+
void vApplicationStackOverflowHook( TaskHandle_t xTask, portCHAR *pcTaskName ) __attribute__((weak));
200200

201-
void vApplicationStackOverflowHook( TaskHandle_t xTask, portCHAR *pcTaskName )
201+
void vApplicationStackOverflowHook( TaskHandle_t xTask __attribute__((unused)), portCHAR *pcTaskName __attribute__((unused)) )
202202
{
203203
#if defined(__AVR_ATmega640__) || defined(__AVR_ATmega1280__) || defined(__AVR_ATmega1281__) || defined(__AVR_ATmega2560__) || defined(__AVR_ATmega2561__) // Arduino Mega with 2560
204204
DDRB |= _BV(DDB7);

0 commit comments

Comments
 (0)