Skip to content

Add circuitpython support for STM Nucleo-F446RE development board. #6945

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

Merged
merged 4 commits into from
Sep 27, 2022

Conversation

flom84
Copy link

@flom84 flom84 commented Sep 25, 2022

Hello all,

I have been working on porting CircuitPython to a Nucleo-64 development board from ST (https://www.st.com/en/evaluation-tools/nucleo-f446re.html).

The Dev board has a STM32F446RE MCU, that comes with 512 KB of flash and 128KB of SRAM. Maybe not enough to run applications that require a GUI, but enough to run apps that use SPI, I2C, ADC or USB protocols.
Also supports USB composite device (serial + mass storage)

I made a screenshot with the serial console over USB, with a simple program to turn on the green LED from the board:

circuitpython stm32

jepler
jepler previously requested changes Sep 25, 2022
Copy link

@jepler jepler left a comment

Choose a reason for hiding this comment

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

Some small notes. I didn't spot any other problems, but the CI process may find additional items to address. Note that right now we're having some trouble in the CI process due to some recent updates to other packages so a failure result may not indicate you have to take any action.

Comment on lines 29 to 40
void board_init(void) {
}

bool board_requests_safe_mode(void) {
return false;
}

void reset_board(void) {
}

void board_deinit(void) {
}
Copy link

Choose a reason for hiding this comment

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

I think these may all be unnecessary since 4cb69a5, please remove and verify it still builds.

Copy link
Author

@flom84 flom84 Sep 26, 2022

Choose a reason for hiding this comment

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

okay. will remove the functions. thanks

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

Thank you!

@dhalbert dhalbert merged commit b8c8e85 into adafruit:main Sep 27, 2022
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.

3 participants