Skip to content
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

boards/stm32f7508-dk: add support #17954

Merged
merged 3 commits into from
Apr 15, 2022

Conversation

aabadie
Copy link
Contributor

@aabadie aabadie commented Apr 14, 2022

Contribution description

This PR adds support for the stm32f7508-dk board. Features wise it's exactly the same board as the stm32f746g-disco, the only difference is the microcontroller model. This one has an stm32f750n8 with much less space on ROM (only 64KB) but the same amount of RAM (340KB).
We could certainly provide more ROM by adding support for the external Quad SPI Flash (8MB).

The port is using a strategy similar to the shared stm32f429i-disc1/stm32f429i-disco. So not so much code is added, it just reuse the port from the stm32f746g-disco but declares a difference CPU model.

Since the board only has 64KB of flash, it's added to a lot of Makefile.ci, this change is in a separate because there are unrelated changes due to the use of the add_insufficient_memory_board.sh script.

Testing procedure

  • Green Murdock
  • Output of compile_and_test_for_board.py:
$ ./dist/tools/compile_and_test_for_board/compile_and_test_for_board.py . stm32f7508-dk --with-test-only --jobs=4
[...]
ERROR:stm32f7508-dk:Tests failed: 2
Failures during test:
- [tests/gnrc_rpl](tests/gnrc_rpl/test.failed)
- [tests/periph_timer_short_relative_set](tests/periph_timer_short_relative_set/test.failed)

I think the test failures are unrelated to this port.

Issues/PRs references

@github-actions github-actions bot added Area: boards Area: Board ports Area: build system Area: Build system Area: doc Area: Documentation Area: examples Area: Example Applications Area: Kconfig Area: Kconfig integration Area: tests Area: tests and testing framework labels Apr 14, 2022
@aabadie aabadie added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Apr 14, 2022
@aabadie aabadie force-pushed the pr/boards/stm32f750n8-dk branch from e1fabe3 to 08d4e1d Compare April 14, 2022 19:39
@aabadie aabadie force-pushed the pr/boards/stm32f750n8-dk branch from 08d4e1d to 2f87b68 Compare April 14, 2022 19:44
aabadie added 2 commits April 15, 2022 12:51
This commit also makes some cleanup in the files since add_insufficient_memory_board.sh was used for the update
@aabadie aabadie force-pushed the pr/boards/stm32f750n8-dk branch from 2f87b68 to 843df70 Compare April 15, 2022 10:52
- an ethernet port
- 2 user USB ports (FS and HS)
- 2 user digital microphones
- 128M-bit external Quas-SPI flash
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we wire that up as a MTD device in SPI mode?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably but I haven't tried (yet)

@aabadie aabadie merged commit 12758b9 into RIOT-OS:master Apr 15, 2022
@aabadie aabadie deleted the pr/boards/stm32f750n8-dk branch April 15, 2022 13:05
@aabadie aabadie changed the title boards/stm32f750n8-dk: add support boards/stm32f7508-dk: add support Apr 15, 2022
@chrysn chrysn added this to the Release 2022.07 milestone Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: boards Area: Board ports Area: build system Area: Build system Area: doc Area: Documentation Area: examples Area: Example Applications Area: Kconfig Area: Kconfig integration Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants