Hello Team,
My source code and the Renesas FSP Version was updated from version 5.2 to 5.4.
Project SummaryBoard: Custom User Board (Any Device)
Device: R7FA8T1AHECFC
Toolchain: GCC ARM Embedded
Toolchain Version: 13.2.1.arm-13-7
FSP Version: 5.4.0
Project Type: Flat
I am able to build the project in the IDE without error.
When I try to rerun my test cases on the updated submodules,
I am getting the below error:
----------------------------------------------------------------------------------------------------------------------------------------------------
C:\Users\PranotiJoshi\Documents\BlueHeartSWCB5\UnitTestcontrolbox5swFSP54>ceedling test:ad7606c
Test 'test_ad7606c.c'
---------------------
In file included from ../CB5SW2803/ra/arm/CMSIS_6/CMSIS/Core/Include/cmsis_compiler.h:52:0,
from ../CB5SW2803/ra/fsp/inc/api/../../src/bsp/cmsis/Device/RENESAS/Include/renesas.h:28,
from ../CB5SW2803/ra/fsp/inc/api/bsp_api.h:36,
from ../CB5SW2803/ra/fsp/inc/api/r_spi_api.h:27,
from build/temp/_test_ad7606c.c:4:
../CB5SW2803/ra/arm/CMSIS_6/CMSIS/Core/Include/cmsis_gcc.h:1003:4: error: #error "Unknown Arm architecture profile"
#error "Unknown Arm architecture profile"
^~~~~
ERROR: Shell command failed.
> Shell executed command:
'gcc.exe -E -MM -MG -I"C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/ceedling-0.31.1/vendor/unity/src" -I"C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/ceedling-0.31.1/vendor/c_exception/lib" -I"C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/ceedling-0.31.1/vendor/cmock/src" -I"build/test/mocks" -I"test" -I"test/ad7606c" -I"test/support" -I"src" -I"../CB5SW2803/src" -I"../CB5SW2803/lib/segger_rtt/RTT" -I"../CB5SW2803/lib/segger_rtt/Config" -I"../CB5SW2803/ra/arm/CMSIS_6/CMSIS/Core/Include" -I"../CB5SW2803/ra/arm/CMSIS_6/CMSIS/Core/Include/a-profile" -I"../CB5SW2803/ra/arm/CMSIS_6/CMSIS/Core/Include/m-profile" -I"../CB5SW2803/ra/arm/CMSIS_6/CMSIS/Core/Include/r-profile" -I"../CB5SW2803/ra/fsp/inc/api" -I"../CB5SW2803/ra/fsp/inc" -I"../CB5SW2803/ra/fsp/inc/instances" -I"../CB5SW2803/ra/fsp/src/bsp/mcu/ra8t1" -I"../CB5SW2803/bsp/inc" -I"../CB5SW2803/ra_cfg/fsp_cfg/bsp" -I"../CB5SW2803/ra_gen" -I"../CB5SW2803/ra_cfg/fsp_cfg/azure/tx" -I"../CB5SW2803/ra/microsoft/azure-rtos/threadx/common/inc" -I"../CB5SW2803/ra/fsp/src/rm_threadx_port" -I"../CB5SW2803/ra/fsp/src/bsp/mcu/all" -I"../CB5SW2803/ra/microsoft/azure-rtos/netxduo/common/inc" -I"../CB5SW2803/ra/microsoft/azure-rtos/netxduo/ports/cortex_m4/ac5/inc" -I"../CB5SW2803/ra/fsp/src/rm_netxduo_ether" -I"../CB5SW2803/ra_cfg/fsp_cfg" -I"../CB5SW2803/inc" -I"../CB5SW2803/module/inc" -DTEST -DTEST -DGNU_COMPILER "build/temp/_test_ad7606c.c"'
> And exited with status: [1].
rake aborted!
ShellExecutionException: ShellExecutionException
C:/Ruby27-x64/bin/ceedling:23:in `load'
C:/Ruby27-x64/bin/ceedling:23:in `<main>'
Tasks: TOP => test:ad7606c
(See full trace by running task with --trace)
ERROR: Ceedling Failed
-----------------------------------------------------------------------------------------------------------------------------------------------------
Can you please suggest a workaround to continue with the testing?