rc:sw:fc:px4:build_from_source
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rc:sw:fc:px4:build_from_source [2016/05/22 17:11] – [ Build] redox | rc:sw:fc:px4:build_from_source [2016/05/23 22:30] – [PX4 Bootloader] redox | ||
---|---|---|---|
Line 18: | Line 18: | ||
cmake .. -DCONFIG=nuttx_sparky2_default | cmake .. -DCONFIG=nuttx_sparky2_default | ||
make -j2 -l2 | make -j2 -l2 | ||
- | | + | |
- | ## Recent stable/ | + | |
+ | ### Recent stable/ | ||
You need a " | You need a " | ||
Line 33: | Line 34: | ||
Build and upload to the board using the PX4 bootloader | Build and upload to the board using the PX4 bootloader | ||
- | ## Old | ||
- | * `make help` | ||
- | Useful to know the available targets | ||
- | * `make BOARDS=yourtarget menuconfig` | + | ## Flash |
- | Requires kconfig-mconf, | + | |
- | * `make BOARDS=yourtarget archives` | ||
- | Build the NuttX OS archive for _yourtarget_ | ||
- | * `make BOARDS=yourtarget yourtarget_default` | + | ### PX4 Bootloader |
- | Build PX4 for _yourtarget_ | + | |
- | * `make BOARDS=yourtarget yourtarget_default upload` | + | |
- | | + | |
- | ### Combo | ||
- | |||
- | make BOARDS=yourtarget archives yourtarget_default upload | ||
- | |||
- | If you make any change in the NuttX/, you need to delete everything and start over... | ||
- | |||
- | rm -R Archives/ Build/ | ||
- | make BOARDS=yourtarget archives yourtarget_default upload | ||
- | |||
- | |||
- | ## Flash | ||
- | |||
- | ### DFU | ||
* https:// | * https:// | ||
- | ### PX4 Bootloader | ||
- | * https:// | + | ## Debug |
+ | #openocd -f interface/ | ||
+ | openocd -f Debug/ | ||
- | ## Debug | + | |
- | + | | |
- | | + | |
- | + | #In GDB: | |
- | | + | |
- | tar ext :3333 | + | |
And debug as usual... | And debug as usual... |
/home/share/www/redox.ws/wiki/data/pages/rc/sw/fc/px4/build_from_source.txt · Last modified: 2023/11/24 21:55 by 127.0.0.1