Skip to content

Added peripheral support for Daisy Seed stm32H750 board #10198

Merged
tannewt merged 5 commits into
adafruit:mainfrom
snkYmkrct:main
Apr 7, 2025
Merged

Added peripheral support for Daisy Seed stm32H750 board #10198
tannewt merged 5 commits into
adafruit:mainfrom
snkYmkrct:main

Conversation

@snkYmkrct

@snkYmkrct snkYmkrct commented Mar 29, 2025

Copy link
Copy Markdown
  • Added the SDRAM controller and set up heap to use the 64 MB external RAM
  • Added the rest of the board pin definitions from the pinout
  • Did peripheral pins cleanup for the stm32H750 chip
  • Added SDMMC peripheral and sdioio module support
  • Added pwmio support and started work on audiopwmio

@snkYmkrct snkYmkrct marked this pull request as draft March 30, 2025 11:53
@snkYmkrct snkYmkrct changed the title WIP support for Daisy Seed stm32H750 board Added peripheral support for Daisy Seed stm32H750 board Mar 30, 2025
@snkYmkrct snkYmkrct marked this pull request as ready for review March 30, 2025 21:18

@tannewt tannewt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for continuing work on this! One bigish suggestion around the settings.

Comment thread ports/stm/boards/daisy_seed_with_sdram/mpconfigboard.h Outdated
- Added the SDRAM controller and set up heap to use the 64 MB external RAM
- Added the rest of the board pin definitions from the pinout
- Did peripheral pins cleanup for the stm32H750 chip
- Added SDMMC peripheral and sdioio module support
- Added pwmio support and started work on audiopwmio

@tannewt tannewt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Much better! Two more minor things. Thanks!

Comment thread ports/stm/peripherals/sdram.c
#include "sdram.h"

// Use the MP_WEAK supervisor/shared/board.c versions of routines not defined here.
extern void port_add_sdram_to_heap(void);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Put this in a new supervisor/stm.h and rename to stm_add_sdram_to_heap. The port_ prefix is meant to be cross-port apis from supervisor/port.h.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Change made! :)

active_audio was set to NULL, but then used in the following set_pin()
call. because of MPU, this triggered hard fault on the stm32h7.

@tannewt tannewt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good. Thanks!

@tannewt tannewt merged commit ea91e38 into adafruit:main Apr 7, 2025
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