Andy Piper
5eca0c61c4
waf: add support for --enable-stats
2021-04-21 17:14:11 +10:00
Andrew Tridgell
ce95b7e81a
waf: added --enable-memory-guard option
2020-11-18 17:14:43 +11:00
Siddharth Purohit
b27092c651
Tools: waf: don't do uavcan build config for AP_Periph
2020-09-24 12:32:19 +10:00
Andrew Tridgell
6b242bf1db
waf: add flash_total to apj file
2020-09-10 07:41:25 +10:00
Siddharth Purohit
4e17f8a23e
waf: add CANManager library and use uavcan agnostic names CAN vars
2020-08-19 17:31:09 +10:00
bugobliterator
1f421edaf2
waf: chibios remove quotes from the default param filename
2020-04-10 07:04:21 +10:00
Andrew Tridgell
9f2c689ec8
waf: fixed build to produce consistent binary
...
this ensures that optimisation levels are added regardless of whether
clean is run before or after a configure
2020-03-28 15:28:03 +11:00
Andrew Tridgell
de791682e9
waf: fixed build on cygwin
...
this fixes a link error on cygwin with the new DSP libs
2020-02-22 22:41:24 +11:00
Andy Piper
88f0c26636
Tools: add CMSIS DSP module to waf for M4 ChibiOS and control inclusion of FFT based on HAL_WITH_DSP and GYROFFT_ENABLED. target appropriate ARM cpus
...
sophisticated autotest for Gyro FFT
2020-02-22 11:15:37 +11:00
Matt Lawrence
e6f32f4572
AP_HAL_ChibiOS: Fix waf --default-parameters
...
If a defaults.parm file was present in the hwdef, waf ignored the --default-parameters=xyz.parm command line argument. This will allow it to use that command line argument specified file.
2020-02-11 11:00:01 +11:00
Jaaaky
fb7c5e09e5
Tools: chibios.py remove duplicate fread from wraplist
2020-01-28 08:48:29 +11:00
Andrew Tridgell
82148607ee
Tools: add USBID to generated apj file
2020-01-06 09:55:26 +11:00
Andrew Tridgell
c5afc3ff99
Tools: use crc_crc32() in app descriptor
2019-10-21 19:12:01 +11:00
Andrew Tridgell
d572d630ed
waf: added generation of app descriptor
2019-10-21 19:12:01 +11:00
Andy Piper
1d11fe5377
Tools: add --upload-port option to waf
2019-10-01 18:12:04 +10:00
Andrew Tridgell
e9f8b91134
waf: fixed --build-dates option
...
and remove build_time from apj when --build-dates not used to avoid
changing apj file
2019-09-23 08:32:05 +10:00
Andrew Tridgell
c90b937972
waf: wrap more libc functions
2019-09-09 13:31:30 +10:00
Andrew Tridgell
c2b06a3293
waf: wrap vsnprintf
2019-09-09 13:31:30 +10:00
Andrew Tridgell
da15fb988c
waf: add a lot more wrapped functions
...
this allows us to catch accidential inclusion of libc functions that
we don't want
2019-08-27 15:40:43 +10:00
Peter Barker
813694894d
Tools: waf: add warning if bootloader not found
2019-08-26 11:08:11 +10:00
Peter Barker
be173a9514
Tools: waf: stop adding -Wno-error=suggest-override for CAN boards
2019-08-14 16:33:29 +10:00
Peter Barker
1574464543
waf: do not -Werror=suggest-override on uavcan-enabled boards
...
uavcan doesn't have all of the required override keywords
SITL will still die without the keyword
2019-08-13 23:19:45 +10:00
Siddharth Purohit
8de169b1ce
waf: remove redundant src includes for libuavcan drivers
2019-07-08 12:18:29 +10:00
Andrew Tridgell
d81bd6530c
waf: use make -j on build of ChibiOS core
...
using number of jobs from waf
2019-06-06 08:29:06 +10:00
Andrew Tridgell
3c9646dfef
waf: allow hwdef.dat to override build optimization
2019-02-26 16:18:26 +11:00
Andrew Tridgell
e71514c136
waf: allow for no param default support
...
this allows apj files to be built for example fw
2019-02-26 16:18:26 +11:00
Andrew Tridgell
85ca38b630
waf: fixed git hash in generated APJ file
2019-01-19 17:19:41 +11:00
Peter Barker
1d2f8555c0
Tools: ardupilotwaf: adjust for new location of uploader.py
2018-11-15 09:55:14 +11:00
Siddharth Purohit
6622c9b8fd
HAL_ChibiOS: wrap sscanf and snprintf methods
2018-09-19 12:14:15 +10:00
Siddharth Purohit
56afc44c56
ardupilotwaf: add support for controllers with different arm cortex and related configs
2018-09-19 12:14:15 +10:00
Siddharth Purohit
6fee72b0c0
waf: add flags for F1 controller support and more debug features
2018-09-19 12:14:15 +10:00
Andrew Tridgell
a4e50e1626
waf: use the current python interpreter for sub-commands
2018-08-07 14:40:36 +10:00
Andrew Tridgell
c5f3beb297
waf: added --enable-asserts option for ChibiOS
2018-08-03 13:44:59 +10:00
Stephen
651a7030aa
Tools: Add quotes in ChibiOS waf file
...
Without these quotes, the ChibiOS build fails if there are spaces in the Ardupilot path, ie ``C:\Stephen Dade\files\ardupilot``
2018-07-18 12:55:29 +10:00
Andrew Tridgell
1dece80c88
waf: fixed error with no ROMFS files
2018-07-03 14:05:37 +10:00
Andrew Tridgell
f78b84805c
waf: don't generate hex files if intelhex module not installed
2018-07-02 12:47:58 +10:00
Andrew Tridgell
8ba137bd9a
waf: moved ROMFS embed script into waf folder
2018-07-02 10:43:48 +10:00
Andrew Tridgell
8ae6b2e026
waf: fixed dependency of hwdef.h on hwdef.dat
2018-06-27 11:37:45 +10: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
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
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
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
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
c50359a5b5
waf: throw an error if hwdef.dat can't be processed
2018-04-07 09:10:29 +10:00