Skip to content

Commit 92358b4

Browse files
committed
Moving FSP FreeRTOS code from portable/GCC/RA6M5 to portable/FSP.
This is because the FSP contained FreeRTOS port covers all MCU types used in this Arduino core: https://github.com/renesas/fsp/tree/master/ra/fsp/src/rm_freertos_port .
1 parent 6cc2373 commit 92358b4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

libraries/Arduino_FreeRTOS/src/lib/FreeRTOS-Kernel-v10.5.1/portable.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
* included here. In this case the path to the correct portmacro.h header file
5151
* must be set in the compiler's include path. */
5252
#ifndef portENTER_CRITICAL
53-
#include "../../portable/GCC/RA6M5/portmacro.h"
53+
#include "../../portable/FSP/portmacro.h"
5454
#endif
5555

5656
#if portBYTE_ALIGNMENT == 32

libraries/Arduino_FreeRTOS/src/portable/GCC/RA6M5/port.c renamed to libraries/Arduino_FreeRTOS/src/portable/FSP/port.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
/* Scheduler includes. */
3131
#include "bsp_api.h"
3232
#include "FreeRTOSConfig.h"
33-
#include "../../../lib/FreeRTOS-Kernel-v10.5.1/FreeRTOS.h"
34-
#include "../../../lib/FreeRTOS-Kernel-v10.5.1/task.h"
33+
#include "../../lib/FreeRTOS-Kernel-v10.5.1/FreeRTOS.h"
34+
#include "../../lib/FreeRTOS-Kernel-v10.5.1/task.h"
3535

3636
#if BSP_TZ_NONSECURE_BUILD
3737
#include "tz_context.h"

libraries/Arduino_FreeRTOS/src/portable/GCC/RA6M5/portmacro.h renamed to libraries/Arduino_FreeRTOS/src/portable/FSP/portmacro.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ extern "C" {
3636
* is defined correctly and privileged functions are placed in correct sections. */
3737
#define MPU_WRAPPERS_INCLUDED_FROM_API_FILE
3838

39-
#include "../../../lib/FreeRTOS-Kernel-v10.5.1/mpu_wrappers.h"
39+
#include "../../lib/FreeRTOS-Kernel-v10.5.1/mpu_wrappers.h"
4040

4141
/* MPU_WRAPPERS_INCLUDED_FROM_API_FILE is needed to be defined only for the
4242
* header files. */
4343
#undef MPU_WRAPPERS_INCLUDED_FROM_API_FILE
4444

4545
/* Needed for definitions of pdFALSE and pdTRUE. */
46-
#include "../../../lib/FreeRTOS-Kernel-v10.5.1/projdefs.h"
46+
#include "../../lib/FreeRTOS-Kernel-v10.5.1/projdefs.h"
4747

4848
/*-----------------------------------------------------------
4949
* Port specific definitions.

0 commit comments

Comments
 (0)