Andrew Tridgell
a7ecbf29aa
waf: define CHIBIOS_BOARD_NAME
2018-06-29 20:27:36 +10:00
Andrew Tridgell
95b2587c76
waf: use ardupilot uploader for HAL_PX4
2018-06-29 08:17:38 +10:00
Andrew Tridgell
8ae6b2e026
waf: fixed dependency of hwdef.h on hwdef.dat
2018-06-27 11:37:45 +10:00
Andrew Tridgell
d12cf0ab59
waf: added -Werror on signed comparison
2018-06-27 11:37:45 +10:00
Lucas De Marchi
49d08ba72a
Global: remove minlure
...
Minlure is a port of ArduPilot to Minnow Board connected to daughter
board. Very few of those were produced and nobody is flying with it.
It served its purpose and all the the improvements to ArduPilot remain
regardless of it not being supported anymore. Now it's just adding
maintenance work with no clear benefit, so pull the plug.
2018-06-26 07:32:08 -07:00
Andrew Tridgell
1c73c133a9
waf: fixed binary generation order
2018-06-24 20:24:06 +10:00
Andrew Tridgell
623a30be55
waf: build hex file with and without bootloader
...
this allows for DFU tools without losing parameters
2018-06-24 16:47:23 +10:00
Andrew Tridgell
f73ca2a6ba
waf: speed up the bootloader build
...
don't need to build all libraries
2018-06-24 15:57:51 +10:00
Andrew Tridgell
5b46adf3fb
waf: fixed chibios upload
2018-06-23 17:06:53 +10:00
Andrew Tridgell
338ff6ae64
waf: automatically build intel hex fw when possible
...
this combines the bootloader and application code into a single binary
2018-06-23 17:06:38 +10:00
Peter Barker
b94e31b21a
Tools: remove warning about native clang builds
...
These appear to be stable now
2018-06-22 16:49:05 +10:00
Andrew Tridgell
290f050575
waf: enable gccdeps, using gcc dependencies
...
this is considerably faster than the way dependency system
2018-06-22 11:13:03 +10:00
Andrew Tridgell
ad49f4fdbf
waf: fixed declaration of ap_romfs_embedded.h
2018-06-22 11:13:03 +10:00
Andrew Tridgell
14f66461a7
HAL_ChibiOS: shrink build size for bootloader
...
thanks to @sh83 for the idea
2018-06-22 08:00:31 +10:00
Andrew Tridgell
0ae25787c0
waf: added a --bootloader configure option
...
this selects hwdef-bl.dat instead of hwdef.dat, allowing for
bootloader config to be kept in the same directory as the main
hwdef.dat
2018-06-22 08:00:31 +10:00
Andrew Tridgell
6771a3d65a
waf: support Hex USB IDs in px_uploader.py
2018-06-22 08:00:31 +10:00
Peter Barker
e9a07bdd6f
Tools: create CHIBIOS_GIT_VERSION build-time define
2018-06-18 19:10:37 +01:00
Peter Barker
09a9abb3a8
Tools: include AP_RTC in all waf builds
2018-06-15 08:01:22 +10:00
Peter Barker
684482295e
Tools: include Gripper in all builds
2018-06-11 19:07:39 +01:00
Eugene Shamaev
68ec9f4119
Tools: add CAN bus declaration for the intel aero board
2018-05-25 13:53:17 +10:00
Lucas De Marchi
2916a3f40c
build: add --apstatedir for Linux boards
...
This is the --localstatedir that is found on other
buildsystems/programs + the package directory. We could provide a
--localstatedir instead to be similar to the others, but I thought it
would be too confusing for the help message.
2018-05-24 08:00:33 -07:00
Francisco Ferreira
ddb45a0813
waf: move skyviper-v2450-px4 definitions to board config
2018-05-22 08:35:01 +09:00
Michael du Breuil
82d486add0
Tools: Add proximity as a common library
2018-05-16 23:21:41 +01:00
Andrew Tridgell
cc931e9a2a
waf: allow F4Light USB ID to be recognised
2018-05-16 20:24:23 +10:00
Lucas De Marchi
997d9f58de
build: invert default for header checks
...
In the end the build time is always almost the same, but it's a pain to
change one header and have it check the world. CI continues to use the
check so we can get any mistake before merging.
2018-05-04 11:47:04 -07:00
Lucas De Marchi
73edda697d
build: align help options
...
While it's aesthetically nice to start the help message in a new line
looking at the code, the first \n screws the output leaving them not
aligned.
2018-05-04 11:47:04 -07:00
Lucas De Marchi
9342bc5050
build: invert default for lttng
...
Since it's a debug option, particularly for the scheduler, leave it
disabled by default and let the user enable on demand.
2018-05-04 11:47:04 -07:00
Lucas De Marchi
4697089a82
build: move Linux configuration options to its own sections
2018-05-04 11:47:04 -07:00
Peter Barker
4e53d9e1a8
Tools: correct flashing under Linux
2018-05-04 18:37:14 +10:00
stephen.dade
76cc014245
waf: Allow spaces in paths when compiling for ChibiOS targets
2018-05-04 12:47:06 +10:00
Andrew Tridgell
835484429d
waf: don't build ChibiOS with debug by default
...
this makes builds (and rebuilds with ccache) faster
2018-05-04 12:17:12 +10:00
Andrew Tridgell
5fb8fe927c
waf: added AP_ROMFS to build
2018-04-17 08:44:44 +10:00
Andrew Tridgell
02f20b4114
HAL_ChibiOS: first version of OMNIBUSF7V2 board support
...
first F7 based board
2018-04-12 11:50:44 +10:00
Andrew Tridgell
827108617a
waf: only generate an abin file when needed
...
this saves on user confusion
2018-04-11 15:09:49 +10:00
Andrew Tridgell
8eaac031af
waf: added AP_BLHeli
2018-04-07 09:10:29 +10:00
Andrew Tridgell
c50359a5b5
waf: throw an error if hwdef.dat can't be processed
2018-04-07 09:10:29 +10:00
Andrew Tridgell
98ab1c13db
Tools: fixed call to apj_tool in skyviper build
2018-03-24 16:11:50 +11:00
Peter Barker
6dfdb19711
Tools: include VisualOdom in common vehicle libraries
2018-03-23 09:28:07 +09:00
Peter Barker
44a063e818
Tools: ardupilotwaf: chibios: change directory before running make_abin.sh
...
Any waf build which is done outside of the git checkout will fail to create the abin without this, as it attempts to invoke git.
An example of this is the autotest system
2018-03-23 11:06:24 +11:00
Peter Barker
edd0f74ec0
Tools: ardupilotwaf: chibios: hand apj tool an absolute path to parameters
...
Any waf build specifying an --out which is not at the same level as the default "build" will fail without this
2018-03-23 11:06:24 +11:00
Peter Barker
b26d140316
Tools: ardupilotwaf: remove redundant --no-trigraph
2018-03-05 13:28:03 +00:00
Andrew Tridgell
ba55f99419
waf: fixed python3 pickle error
2018-03-05 09:50:27 +11:00
Andrew Tridgell
b6c0e65dee
waf: set CYGWIN_BUILD on cygwin for px4
...
helps with missing/cmath
2018-03-03 13:35:39 +11:00
Andrew Tridgell
3e9f0f83f0
waf: fixed cygwin build for ChibiOS
...
keep path lengths to linker short
2018-03-02 17:11:31 +11:00
Andrew Tridgell
706a0c1b2f
waf: define CYGWIN_BUILD for ChibiOS under cygwin
...
and for SITL
2018-03-02 17:11:31 +11:00
Andrew Tridgell
43f1b43b6c
waf: auto-generate board targets for ChibiOS
...
this allows porting to a new board by just adding the hwdef.dat, with
no other changes
2018-03-02 12:52:50 +11:00
Andrew Tridgell
2075a3da7d
waf: use pre_build hook for ChibiOS
...
this fixes dynamic uavcan building
2018-03-02 12:52:50 +11:00
Andrew Tridgell
7d5ed1bc9b
waf: simplify board classes for ChibiOS
...
rely in hwdef.dat
2018-03-02 12:52:50 +11:00
Andrew Tridgell
fed1579187
waf: auto-enable CAN for ChibiOS builds
...
use presence of CAN pins in hwdef.dat to automatically enable if
available
2018-03-02 12:52:50 +11:00
Andrew Tridgell
89430793dd
waf: allow env variable overrides in hwdef.dat
...
this allows hwdef.dat to control files that are built and flags to the
build
2018-03-02 12:52:50 +11:00