- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In ADS v1.8.0, AURIX SCR support is available.
* Added support for SCR architecture during project creation for TC3.
However, there is compilation error after creating a new AURIX SCR project.
TASKING VX-toolset for AURIX Development Studio (non-commercial): control program v1.1r8 Build 22011964
Building file: ../SCR.c
ctc E219: ["../SCR.c" 29/1] cannot open #include file "scr_a2g.h"
Invoking: TASKING C/C++ Compiler
cctc -cs --dep-file="SCR.d" --misrac-version=2004 -D__CPU__=tc37x "-fC:/AURIX-workspace/AURIX_SCR/Debug/TASKING_C_C___Compiler-Include_paths.opt" --iso=99 --c++14 --language=+volatile --exceptions --anachronisms --fp-model=3 -O0 --tradeoff=4 --compact-max-size=200 -g -Ctc37x -Y0 -N0 -Z0 -o "SCR.src" "../SCR.c" && \
if [ -f "SCR.d" ]; then sed.exe -r -e 's/\b(.+\.o)\b/\/\1/g' -e 's/\\/\//g' -e 's/\/\//\//g' -e 's/"//g' -e 's/([a-zA-Z]:\/)/\L\1/g' -e 's/\d32:/@TARGET_DELIMITER@/g; s/\\\d32/@ESCAPED_SPACE@/g; s/\d32/\\\d32/g; s/@ESCAPED_SPACE@/\\\d32/g; s/@TARGET_DELIMITER@/\d32:/g' "SCR.d" > "SCR.d_sed" && cp "SCR.d_sed" "SCR.d" && rm -f "SCR.d_sed" 2>/dev/null; else echo 'No dependency file to process';fi
1 errors, 0 warnings
Could you show how to configure the AURIX toolchain and SCR SDCC toolchain and compile the project without error?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the project.
There is a warning in the generated scr_a2g.h file, when compiling. Please advise how to correct it.
Building file: ../scr_a2g.c
ctc W504: ["..\scr_a2g.h" 26/9] macro "LABEL_scr_xram__00101" redefined
Invoking: TASKING C/C++ Compiler
ctc I801: ["..\scr_a2g.h" 23/9] previous definition of macro "LABEL_scr_xram__00101"
0 errors, 1 warnings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @User-6_6- ,
Thank you for your interest in Infineon Semiconductor products and for the opportunity to serve you.
Actually, I've not replicated the same phenomenon you mentioned above, it can compile the demo successfully, further, I also upload the demo for you to check.
BR,
Jeremy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the project.
There is a warning in the generated scr_a2g.h file, when compiling. Please advise how to correct it.
Building file: ../scr_a2g.c
ctc W504: ["..\scr_a2g.h" 26/9] macro "LABEL_scr_xram__00101" redefined
Invoking: TASKING C/C++ Compiler
ctc I801: ["..\scr_a2g.h" 23/9] previous definition of macro "LABEL_scr_xram__00101"
0 errors, 1 warnings