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

MatekH743-Slim: Change parameter path to MicroSD #24296

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

junwoo091400
Copy link
Contributor

Solved Problem

Although MatekH743-Slim doesn't have mountable onboard FLASH/EEPROM, PX4 startup script tries to mount "/fs/mtd_params", which fails and so the parameter system doesn't work at all.

Image

Solution

Add
+CONFIG_BOARD_PARAM_FILE="/fs/microsd/params" to boardconfig file: https://github.com/PX4/PX4-Autopilot/blob/main/boards/matek/h743-slim/default.px4board

Changelog Entry

For release notes:

MatekH43-Slim: Redirect parameter storage path to MicroSD

Test coverage

After change, flashing the new firmware allows saving modified parameters correctly.

Context

Similar error reports:
https://discuss.px4.io/t/porting-px4-to-system-without-sd-card/3867/4
https://discuss.px4.io/t/unable-to-save-any-parameters-reset-on-reboot/3761

Since it doesn't have onboard Flash/EEPROM, mounting to /fs/mtd_params
doesn't work
@dagar dagar merged commit de650ca into PX4:main Feb 5, 2025
57 of 58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants