Skip to content

Commit 06f71b8

Browse files
authored
Merge branch 'main' into link
2 parents 7740185 + 28b6a14 commit 06f71b8

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

include/FreeRTOS.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,13 @@
621621
#define traceTASK_SWITCHED_IN()
622622
#endif
623623

624+
#ifndef traceSTARTING_SCHEDULER
625+
626+
/* Called after all idle tasks and timer task (if enabled) have been created
627+
* successfully, just before the scheduler is started. */
628+
#define traceSTARTING_SCHEDULER( xIdleTaskHandles )
629+
#endif
630+
624631
#ifndef traceINCREASE_TICK_COUNT
625632

626633
/* Called before stepping the tick count after waking from tickless idle

portable/GCC/ARM_CM4F/port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include "FreeRTOS.h"
3535
#include "task.h"
3636

37-
#ifndef __VFP_FP__
37+
#ifndef __ARM_FP
3838
#error This port can only be used when the project options are configured to enable hardware floating point support.
3939
#endif
4040

portable/GCC/ARM_CM4_MPU/port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#include "task.h"
4141
#include "mpu_syscall_numbers.h"
4242

43-
#ifndef __VFP_FP__
43+
#ifndef __ARM_FP
4444
#error This port can only be used when the project options are configured to enable hardware floating point support.
4545
#endif
4646

portable/GCC/ARM_CM7/r0p1/port.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include "FreeRTOS.h"
3535
#include "task.h"
3636

37-
#ifndef __VFP_FP__
37+
#ifndef __ARM_FP
3838
#error This port can only be used when the project options are configured to enable hardware floating point support.
3939
#endif
4040

tasks.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3732,6 +3732,8 @@ void vTaskStartScheduler( void )
37323732

37333733
traceTASK_SWITCHED_IN();
37343734

3735+
traceSTARTING_SCHEDULER( xIdleTaskHandles );
3736+
37353737
/* Setting up the timer tick is hardware specific and thus in the
37363738
* portable interface. */
37373739

0 commit comments

Comments
 (0)