Skip to content

Commit d4f5464

Browse files
committed
Consistency update (config files)
1 parent 88a7c5f commit d4f5464

5 files changed

Lines changed: 9 additions & 15 deletions

File tree

CMSIS/RTOS2/FreeRTOS/Config/FreeRTOSConfig.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
1 tab == 4 spaces!
6868
*/
6969

70-
7170
#ifndef FREERTOS_CONFIG_H
7271
#define FREERTOS_CONFIG_H
7372

@@ -83,7 +82,6 @@
8382
* See http://www.freertos.org/a00110.html.
8483
*----------------------------------------------------------*/
8584

86-
8785
#include <stdint.h>
8886

8987
extern uint32_t SystemCoreClock;
@@ -195,7 +193,7 @@ extern uint32_t SystemCoreClock;
195193
#define INCLUDE_vTaskSuspend 1
196194
#define INCLUDE_xTimerPendFunctionCall 1
197195

198-
/* Defines that map the FreeRTOS port interrupt handlers to their CMSIS standard names. */
196+
/* Map the FreeRTOS port interrupt handlers to their CMSIS standard names. */
199197
#define xPortPendSVHandler PendSV_Handler
200198
#define vPortSVCHandler SVC_Handler
201199

CMSIS/RTOS2/FreeRTOS/Examples/Blinky/RTE/RTOS/FreeRTOSConfig.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
1 tab == 4 spaces!
6868
*/
6969

70-
7170
#ifndef FREERTOS_CONFIG_H
7271
#define FREERTOS_CONFIG_H
7372

@@ -83,7 +82,6 @@
8382
* See http://www.freertos.org/a00110.html.
8483
*----------------------------------------------------------*/
8584

86-
8785
#include <stdint.h>
8886

8987
extern uint32_t SystemCoreClock;
@@ -195,7 +193,7 @@ extern uint32_t SystemCoreClock;
195193
#define INCLUDE_vTaskSuspend 1
196194
#define INCLUDE_xTimerPendFunctionCall 1
197195

198-
/* Defines that map the FreeRTOS port interrupt handlers to their CMSIS standard names. */
196+
/* Map the FreeRTOS port interrupt handlers to their CMSIS standard names. */
199197
#define xPortPendSVHandler PendSV_Handler
200198
#define vPortSVCHandler SVC_Handler
201199

CMSIS/RTOS2/FreeRTOS/Examples/Blinky_CA9/RTE/RTOS/FreeRTOSConfig.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
1 tab == 4 spaces!
6868
*/
6969

70-
7170
#ifndef FREERTOS_CONFIG_H
7271
#define FREERTOS_CONFIG_H
7372

@@ -83,7 +82,6 @@
8382
* See http://www.freertos.org/a00110.html.
8483
*----------------------------------------------------------*/
8584

86-
8785
#include <stdint.h>
8886

8987
extern uint32_t SystemCoreClock;
@@ -200,10 +198,10 @@ extern uint32_t SystemCoreClock;
200198
#define configINTERRUPT_CONTROLLER_CPU_INTERFACE_OFFSET 0x00000100UL
201199
#define configUNIQUE_INTERRUPT_PRIORITIES 16
202200
#define configMAX_API_CALL_INTERRUPT_PRIORITY 16
201+
203202
extern void vSetupTickInterrupt(void);
204203
extern void vClearTickInterrupt(void);
205204
#define configSETUP_TICK_INTERRUPT() vSetupTickInterrupt()
206205
#define configCLEAR_TICK_INTERRUPT() vClearTickInterrupt()
207-
#define configMAX_TASK_NAME_LEN (10)
208206

209207
#endif /* FREERTOS_CONFIG_H */

CMSIS/RTOS2/FreeRTOS/Examples/Native_Blinky/RTE/RTOS/FreeRTOSConfig.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
*----------------------------------------------------------*/
8484

8585
#include <stdint.h>
86+
8687
extern uint32_t SystemCoreClock;
8788

8889
#define configCPU_CLOCK_HZ (SystemCoreClock)
@@ -150,10 +151,9 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
150151
header file. */
151152
#define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
152153

153-
/* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS
154-
standard names. */
155-
#define vPortSVCHandler SVC_Handler
154+
/* Map the FreeRTOS port interrupt handlers to their CMSIS standard names. */
156155
#define xPortPendSVHandler PendSV_Handler
156+
#define vPortSVCHandler SVC_Handler
157157
#define xPortSysTickHandler SysTick_Handler
158158

159159
/* Include debug event definitions */

Config/FreeRTOSConfig.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
*----------------------------------------------------------*/
8484

8585
#include <stdint.h>
86+
8687
extern uint32_t SystemCoreClock;
8788

8889
#define configCPU_CLOCK_HZ (SystemCoreClock)
@@ -150,10 +151,9 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
150151
header file. */
151152
#define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
152153

153-
/* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS
154-
standard names. */
155-
#define vPortSVCHandler SVC_Handler
154+
/* Map the FreeRTOS port interrupt handlers to their CMSIS standard names. */
156155
#define xPortPendSVHandler PendSV_Handler
156+
#define vPortSVCHandler SVC_Handler
157157
#define xPortSysTickHandler SysTick_Handler
158158

159159
/* Include debug event definitions */

0 commit comments

Comments
 (0)