Skip to content

Micropython NXP LPC basic port #3354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

martinribelotta
Copy link

Third version of LPC NXP support. Previos works are #3333 and #1732.

In this port LPCOpen is added as submodule dependency.

I'm not sure how to avoid checkout of several non-related and excluding modules like stm32lib and / or lpc43xxlib. Ideas are welcome.

This port is centered on LPC processors (LPC43xx, LPC541xx, LPC546xx) but is interesting to add others CPU from NXP like iMX-RT with @RockySong

First board introduced is EDU CIAA LPC4337 (educational board),
using LPCOpen library for LPC18xx/43xx v3.01 as external module.

This first commit should introduce some infrastructure for
other boards to be easily supported. For now, let's just
enable a very simple REPL.

Signed-off-by: Ernesto Gigliotti <ernestogigliotti@gmail.com>
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Martin Ribelotta <martinribelotta@gmail.com>
@ezequielgarcia
Copy link

Hey @martinribelotta! Thanks for the effort. It looks much nicer now. @dpgeorge what do you think?

Chip_ENET_RMIIEnable(LPC_ETHERNET);
}

void Board_I2C_Init(I2C_ID_T id)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@martinribelotta Are these Board_XYZ_Init functions needed for a minimum UART REPL? If not, I'd say let's get rid of all the clutter. Once we have consensus on a minimal REPL it will be easier to add support hardware.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 The Board_* is bad idea. My direction is to provide a CSV description of pins and labels on this board. Maybe this PR need more cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants