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

To modify the SD driver initialization for the FMU-v2 target board #130

Closed
wants to merge 1 commit into from

Conversation

kiku-LYXQ
Copy link

To modify the SD driver initialization for the FMU-v2 target board, which previously caused the compilation to use the FMU-v5 driver for initialization.

1714987750573
1714988103477

The implementation in target/pixhawk/fmu-v2/drivers/sdio/drv_sdio.c is rt_err_t drv_sdio_init(const char* device_name), but in target/pixhawk/fmu-v2/drivers/sdio/drv_sdio.h and the implementation in board.c, it is declared and implemented as rt_err_t drv_sdio_init(void). This discrepancy leads to the usage of the FMU-v5 SD driver during compilation, utilizing the SD read/write functionalities from the F7 HAL library. It is likely that both FMU-v2 and FMU-v5 share the same register addresses for SD operations.

…hich previously caused the compilation to use the FMU-v5 driver for initialization.
@JcZou
Copy link
Contributor

JcZou commented May 18, 2024

Thanks for your notice. It seems your change is not completely correct. I'll fix this issue in the near future commit

@kiku-LYXQ kiku-LYXQ closed this May 27, 2024
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.

None yet

2 participants