Tom Pittenger
1944894b76
Tools: remove warning for WSL2 --upload on python.exe 3.10.x, it works fine
2022-10-07 09:35:20 -07:00
Andrew Tridgell
7a57fc8c5d
waf: ensure we don't try to use non-implemented functions
2022-10-06 10:45:49 +11:00
Andrew Tridgell
b55ee297d8
waf: allow setting signing key as part of configure with --private-key
...
makes for faster development with signed bootloaders
2022-09-05 12:35:37 +10:00
bugobliterator
3f951c3e0b
waf: add support for secure bootloader
2022-08-30 10:51:06 +10:00
bugobliterator
0c78f8bac2
AP_HAL_ChibiOS: add support for booting into DFU
2022-08-30 10:51:06 +10:00
bugobliterator
3c30991153
waf: ensure we don't apply app desc step on BL
2022-08-16 16:49:30 +10:00
Andrew Tridgell
df75c1796a
waf: added --enable-check-firmware option
2022-08-15 09:18:34 +10:00
Tom Pittenger
c60f7bff91
Tools: Enable uploader.py and waf --upload to work on WSL2
2022-07-22 09:12:01 +10:00
Pierre Kancir
2cca370a74
Tools: ardupilotwaf: remove useless shebang on non exec files
2022-06-08 08:16:42 +09:00
Siddharth Purohit
5e54871d82
ardupilotwaf: set flags for CANFD support as applicable
2022-03-11 18:13:54 +11:00
Andy Piper
fdaaa589e5
waf: move external flash binaries to regular name to aid publishing
2022-03-01 11:15:52 +11:00
Andy Piper
2beb9cfc7d
waf: rename EXTERNAL_PROG_FLASH_MB to EXT_FLASH_SIZE_MB
2022-02-09 12:47:55 +00:00
Peter Barker
43b4f86485
waf: use GIT_VERSION from env if available
...
This allows for reproducible builds to be produced
2022-01-18 11:30:41 +11:00
Peter Barker
d6f4f54c0a
Tools: include brand name and manufacturer in APJ file, use for manifest
2022-01-07 22:46:52 +11:00
bugobliterator
9eb3a976bc
waf: allow build with ardupilot as a module
2021-12-20 12:47:25 +11:00
bugobliterator
6adfcd4957
waf: disable building CrashCatcher for non 2M boards
2021-10-30 19:24:57 +11:00
bugobliterator
eee7e6cadf
waf: add defines for use in CrashCatcher Flash dump
2021-10-30 19:24:57 +11:00
bugobliterator
c5dd02fb2b
waf: compile in crash catcher library
2021-10-30 19:24:57 +11:00
Andrew Tridgell
00491275e0
waf: added image_maxsize to apj files
...
this allows the px4_uploader.py script to load apj files
2021-10-12 15:47:51 +11:00
bugobliterator
948a0012c5
waf: fix build issue on cygwin after changes for external flash
2021-09-06 18:04:48 +10:00
Siddharth Purohit
f15f5e9334
waf: create separate image sections for internal and external flash
2021-09-01 17:10:53 +10:00
Siddharth Purohit
7a2c460496
waf: remove cast-align disable flags from CXXFLAGS
2021-07-15 07:50:12 +10:00
bugobliterator
a5d3dade67
waf: allow overriding uploader script with custom uploader script
2021-07-09 18:19:04 +10:00
Andrew Tridgell
d6088539b7
waf: use new syntax for chibios_hwdef.py
2021-07-01 09:33:16 +10:00
willpiper
15cd9d502d
waf: added --extra-hwdef option
2021-07-01 09:33:16 +10:00
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