casaroli opened a new pull request, #21778:
URL: https://github.com/apache/nuttx/pull/21778

   depends-on: apache/nuttx/pull/21737
   
   ## Summary
   
   `ab32vg1-generic:ostest` runs from the 114 KB SRAM (`sram` region, 116736 
bytes). Since #21724 master does not link it, and every CI run of the 
`risc-v-01` group fails:
   
   ```
   riscv-none-elf-ld: region `sram' overflowed by 54 bytes
   ```
   
   This configuration starts `ostest_main` and has no shell, and ostest does 
not read `/proc`, so nothing in it uses procfs. Disable `CONFIG_FS_PROCFS`: 
this frees about 12 KB.
   
   ## Impact
   
   Only `ab32vg1-generic:ostest`: no `/proc`. No code change.
   
   ## Testing
   
   `ab32vg1-generic:ostest`, make, riscv-none-elf-gcc 14.3 (bytes of the 
116736-byte `sram` region):
   
   | Tree | sram |
   |---|---|
   | b118542e319 (before #21724) | 115500 |
   | cacded6ab90 (#21724) | overflowed by 16 bytes |
   | master 512dee83099 | overflowed by 54 bytes (the same as the CI) |
   | master 512dee83099 + this PR | 104468 |
   
   Other options measured on master: `STACK_COLORATION` off frees 1368 bytes 
(but ostest uses it for its interrupt stack test), `SCHED_DUMP_TASKS` off frees 
1628 bytes. `make savedefconfig` gives this defconfig, and the build with 
`EXTRAFLAGS="-Wno-cpp -Werror"` has no warning. Not run on the board (no 
hardware).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to