-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
allow boards to supply an rc.board init #10960
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dagar Nice!
TODO (later): push pixracer i2c and spi resets (currently in fmu) into board init. |
@dagar What would you say about this in http://dev.px4.io/en/hardware/porting_guide.html ?
|
@hamishwillee mainly used for starting things that only exist on that particular board (sensors), but it can also be used for board default parameters and any other special cases. FMUv5 example - https://github.com/PX4/Firmware/blob/master/boards/px4/fmu-v5/init/rc.board This file is automatically included in the startup scripts if in the board directory at |
@dagar this broke HIL as |
Thanks @bkueng I'll fix it. We should get something simple on Jenkins testing HITL with Gazebo if it's working reasonably well. |
So far this saves 4 KB of flash on fmu-v2.
TODO: DATAMAN_OPT is broken in master and still broken in this PR