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 revision | ||
| rc:sw:fc:px4:build_from_source [2016/05/23 22:28] – [Debug] redox | rc:sw:fc:px4:build_from_source [2023/11/24 21:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| ## Build | ## Build | ||
| - | ### Std cmake | + | ### Using CMake, manual |
| mkdir build/ | mkdir build/ | ||
| Line 22: | Line 22: | ||
| - | ## Recent stable/ | + | ### Using the Makefile, auto mode |
| You need a " | You need a " | ||
| Line 34: | 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` | ||
| - | Requires kconfig-mconf, | ||
| - | |||
| - | * `make BOARDS=yourtarget archives` | ||
| - | Build the NuttX OS archive for _yourtarget_ | ||
| - | |||
| - | * `make BOARDS=yourtarget yourtarget_default` | ||
| - | Build PX4 for _yourtarget_ | ||
| - | |||
| - | * `make BOARDS=yourtarget yourtarget_default upload` | ||
| - | Build PX4 and upload using PX4 Bootloader (USB) | ||
| - | |||
| - | ### 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 | ## Flash | ||
| - | ### DFU | ||
| - | |||
| - | * https:// | ||
| ### PX4 Bootloader | ### PX4 Bootloader | ||
| Line 71: | Line 43: | ||
| make -j2 -l2 sparky2_bl | make -j2 -l2 sparky2_bl | ||
| dfu-util -a 0 -d 0483:df11 -c 1 -i 0 -a 0 -s 0x08000000 -D sparky2_bl.bin | dfu-util -a 0 -d 0483:df11 -c 1 -i 0 -a 0 -s 0x08000000 -D sparky2_bl.bin | ||
| + | |||
| + | |||
| + | * https:// | ||
/home/share/www/redox.ws/wiki/data/attic/rc/sw/fc/px4/build_from_source.1464042499.txt.gz · Last modified: 2023/11/24 21:55 (external edit)