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

SPI Host structs missing definitions for Flash and Host 2 #510

Open
llorenc-m opened this issue May 14, 2024 · 1 comment
Open

SPI Host structs missing definitions for Flash and Host 2 #510

llorenc-m opened this issue May 14, 2024 · 1 comment

Comments

@llorenc-m
Copy link
Contributor

The only definitions in "spi_host_structs.h" are currently:

#define spi_host_peri ((volatile spi_host *) SPI_HOST_START_ADDRESS)

It should be changed to something like (since all three peripherals are the same and therefore use the same HAL):

#define spi_host1_peri ((volatile spi_host *) SPI_HOST_START_ADDRESS)
#define spi_host2_peri ((volatile spi_host *) SPI2_START_ADDRESS)
#define spi_flash_peri ((volatile spi_host *) SPI_FLASH_START_ADDRESS)
@JoseCalero
Copy link
Collaborator

@StefanoAlbini96

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

No branches or pull requests

2 participants