lucasssvaz commented on PR #8913: URL: https://github.com/apache/nuttx/pull/8913#issuecomment-1485798330
> > @pkarashchenko It is still failing in another configuration: > > When I build the nucleo-f302r8:qenco configuration I see: > > ``` > arm-none-eabi-ld: /mnt/external/0/projects/nuttx/repos/nuttx_fork/nuttx section `.data' will not fit in region `flash' > arm-none-eabi-ld: region `flash' overflowed by 184 bytes > ``` > > If I back out #8885 > > ``` > git checkout bc3e6c84e1eff07ec9647f614857313ce8d96793 > ``` > > I see: > > ``` > spudaneco@penguin:~/projects/nuttx/repos/nuttx_fork$ size nuttx > text data bss dec hex filename > 64948 332 3244 68524 10bac nuttx > ``` > > The amount of FLASH on the board is 64Kb > > So the size increase is 772 bytes. That is more than I anticipated, but I believe necessary to fix broken code. That is the cost of defining 10 (now 12) more standard signals. NOTE: That the FLASH in this configuration was already at full capacity. This is not a viable platform for this configuration and it is ludicrous to be make changes to code to force the image into that FLASH. > > The best solutions are either (1) remove unnecessary stuff from the configuration as @raiden00pl suggested or (2) just remove the configuration completely. Apparently, enabling some optimizations like `-Os` and `CONFIG_DEFAULT_SMALL=y` makes this error go away. This way we can do it the proper way. This might become an issue again in the future as the system grows. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org