mirror of
https://github.com/retroSoC/retroSoC.git
synced 2026-11-05 06:32:37 +00:00
- Updated the default output path in to . - Introduced a new file to define excluded prefixes, compatibility files, and forbidden calls for embedded C sources. - Modified to improve compiler flags and source file organization. - Added scripts for checking C warnings and embedded C compliance, ensuring self-owned sources are validated against the policy. - Implemented regression tests to capture and report self-owned C compiler warnings during builds. - Created a new test suite for runtime tests of SDK utilities, ensuring deterministic behavior. - Enhanced existing test scripts to include checks for C warnings and compliance with the embedded C policy.
28 lines
533 B
JSON
28 lines
533 B
JSON
{
|
|
"excluded_prefixes": [
|
|
"app/coremark/coremark-main/",
|
|
"app/fatfs/ff16/",
|
|
"app/lvgl/lvgl-main/",
|
|
"app/middleware/fatfs/ffconf.h",
|
|
"app/ports/lvgl/",
|
|
"crt/inc/",
|
|
"crt/arch/riscv/pico_irq/"
|
|
],
|
|
"compatibility_files": [
|
|
"crt/include/retrosoc/lib/string.h",
|
|
"crt/src/lib/string.c",
|
|
"crt/include/retrosoc/lib/stdlib.h",
|
|
"crt/src/lib/stdlib.c"
|
|
],
|
|
"forbidden_calls": [
|
|
"strcpy",
|
|
"strcat",
|
|
"strncpy",
|
|
"sprintf",
|
|
"vsprintf",
|
|
"malloc",
|
|
"free",
|
|
"atoi"
|
|
]
|
|
}
|