Hello support team and dear fellow engineers,
Brief: There exists an SDK based on the toolchain v5.06, the target is to migrate the sdk to toolchain v6.15. I am only interested in keil armcc toolchain migration to armclang toolchain at this moment.
I have already looked around the community and the migration application note. Unfortunately, I could not find an answer for the following questions.
Would you let me know how to fix the following issues:
1. --bss_threshold=0 is not supported in armclang compiler v6.15, what is the equivalent command should be used in a project?
2. --feedback=".\unused_SoC.txt" is not supported in armclang compiler v6.15, what is the equivalent command should be used in a project?
3. Scatter file:
Usecase: How to include directory path in v6.15 in a scatterfile?
v5.06
#! armcc -E -I .\,.\..,.\..\sdk\HAL_common_config,.\..\..\..\sdk\HAL_partnum_config\ --cpu Cortex-M0+
v6.15
#! armclang -E <how to include directory path? Write down the compatible command of v5.06 as shared above> --target=arm-arm-none-eabi -mcpu=cortex-m0plus
I look forward for your response, many thanks.
Hi again Alum
I had some time to try this out myself... I agree that using -I on the preprocessing command seems to be ignored, however I was able to specify a path (relative to the scatter file) to an include file that successfully built.
#!armclang -E --target=arm-arm-none-eabi -mcpu=cortex-m7 -xc #include ".\inc\addresses.h" LOADREGION BASE_ADDRESS SIZE1 { EXECREGION BASE_ADDRESS SIZE2 { * (+RO +RW +ZI) } ARMLIB_STACK_HEAP STACKHEAP_BASE EMPTY STACKHEAP_SIZE {} }
Hi Ronan,
Relative path is also working in my test scatter file.
The issue was very specific to my SDK architecture, I blocked to access any file upto a certain level from the application layer.
I confirm and your answer is accepted.
Br,
Alam