Hello,thanks for letting me know and thanks to the people reviewing the PR. Based on their feedback, I prepared version 2 of the patches:
The elimination of unused sections patch (0004) was reworked. I have to admit that I only have user experience with Kconfig (Linux kernel build) and no developer experience. I did not know that the comment "# CONFIG_SOMETHING is not set" will actually affect something, nor that you are not supposed to set something to "no". The defconfig files are now altered based on xiaoxiang781216's advice. I tested it again by building mega1284p-xplained:nsh and it worked correctly. The option was unselected after running tools/configure.sh and the interrupts vectors were present in the built binary.
I also removed the comments from the defconfig files. Instead, the notices are added into Documentation for every board that has a directory there.
The patch that fixes missing dependency in Kconfig (0003) now also removes brackets in the "depends on" clause based on xiaoxiang781216's feedback. (There was no comment other than copy of the line in the patch without the brackets so I hope I correctly understood what was suggested there.) Tested in menuconfig, it seems the dependency works correctly this way.
There is an additional patch (0006) now too. I noticed that two files added into Documentation by my previous patch series leaked into table of contents, one to the list of supported platforms, one to the list of supported AVR families. I created a subdirectory for both of those files and added link to them in respective index.rst files. Tested by building the documentation into HTML using make html and it seems to be correct now.
Patches are available in avrdx_fixes_v2 and also attached. Thanks again to everyone for the help. On 2025-05-13 09:55, Alin Jerpelea wrote:
The patches are submitted https://github.com/apache/nuttx/pull/16365 Thanks for enhancing the AVR platform Best regards Alin
0001-boards-avr-avrdx-breadxavr-replace-board-hello-confi.patch.gz
Description: application/gzip
0002-Documentation-platforms-avr-provide-more-information.patch.gz
Description: application/gzip
0003-boards-avr-avrdx-breadxavr-fix-dependency-in-Kconfig.patch.gz
Description: application/gzip
0004-arch-avr-reworked-eliminating-unused-sections-with-G.patch.gz
Description: application/gzip
0005-Documentation-platforms-avr-added-information-about-.patch.gz
Description: application/gzip
0006-Documentation-platforms-avr-move-documents-to-fix-ta.patch.gz
Description: application/gzip