boards/avr/atmega: Added Elegoo Mega2560r3 board support - #16443
Merged
Conversation
linguini1
force-pushed
the
elegoo-controller-board
branch
from
May 26, 2025 02:45
a93a63b to
43885ef
Compare
xiaoxiang781216
previously approved these changes
May 26, 2025
Contributor
Author
|
Is there anyone with an ATMega2560-based board that can help me test the serial console/boot implementation? I am able to get some |
Preliminary support for the Elegoo Mega2560r3 board by Elegoo with NSH configuration.
linguini1
force-pushed
the
elegoo-controller-board
branch
from
May 29, 2025 22:22
43885ef to
863759d
Compare
linguini1
marked this pull request as ready for review
May 29, 2025 22:22
Contributor
Author
|
Don't think the build error is the cause of this PR. |
xiaoxiang781216
approved these changes
May 30, 2025
simbit18
approved these changes
May 30, 2025
Contributor
|
this error is not about this PR |
acassis
approved these changes
May 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
This PR adds support for a NSH configuration on the Elegoo ATMega2560 Rev3 board.
Impact
Users with this board will be able to use NuttX on it.
This impacts the build system by adding a new board (some new configuration options added), the documentation system and adds a new board under the
avr/atmegagrouping.Testing
Documentation was tested with local build and verification of render in browser.
autoledimplementation was tested by enabling the subsystem and callingboard_autoled_on(LED_STARTED)in theatmega_boardinitialize()function, verifying that the LED turned on.The NSH application could not be tested as of right now. It appears the UART driver for the ATMega2560 is not working correctly. No data appears on USART0 after booting, even with syslog enabled. When I manually call
avr_lowputcin theatmega_boardinitialize()function, the TX LED on the board gets stuck on.Since this board is a "clone" of the Arduino ATMega2560 board, I also flashed the
helloconfiguration from that board and experienced the same lack of data on USART0. If there is anyone with an ATMega2560 based board who might be able to confirm this issue, please let me know! I'm linking this to #16444.