Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe problem solved by this pull request
We are using GCC 9 for the posix build for quite some time and ARM released newer versions for the ARM GCC for a long time already as well. But there are certain corners that prevent us from using ARM GCC 9 for our daily work and release builds.
Describe your solution
I started investigating and listing the problems that make it not build on ARM GCC 9.2.
I rebased it on our latest NuttX version here: https://github.com/MaEtUgR/NuttX/tree/arm-gcc-9 and included the submodule update for testing.
Solved with the NuttX pr.
task_main_trampoline
/main_loop_helper
void to int return value casting fail. They can be declaredstatic int
in the header andint
in the declarationSolved with this pr
BitMask copy constructor
Unsolved, I just removed the library
Unsolved, this is not a proper fix
Unsolved, I added a compiler flag to ignore it which is not a solution.
Unsolved, I added a compiler flag to ignore it which is not a solution.
overflows end of region flash
for every single section. This is probably due towarning: creating a segment to contain the file and program headers outside of any MEMORY region
. Maybe the additional "default" section has to be disabled or placed in the linker file (thanks for input by @dinomani).Additional context
#12814
FYI @dagar @bkueng @julianoes