Commit Graph

93 Commits

Author SHA1 Message Date
Kenn Sebesta b186478bff [Makefile] `make all_fw_package_clean` target
This uses the package_firmware.py script to package all the firmware, and
then deletes the several GB of build cruft.

NOT TESTED ON WINDOWS
2022-03-07 09:12:59 -05:00
Kenn Sebesta 6a28d76161 [Makefile] Create `make package` target
This uses the package_firmware.py script to package all the firmware, and
then deletes the several GB of build cruft.
2022-03-07 08:43:57 -05:00
Benjamin Vedder e42dfecc51 Updated package script 2022-03-06 00:09:11 +01:00
Kenn Sebesta f926673417 [Makefile][Hw] Look for `no_limits` tag 2022-03-02 16:56:18 -05:00
Kenn Sebesta d732a503f2 [Makefile] Scan all hw_conf directories for hw_*.h targets
This will look for all targets which match hw_"*.h, except for hw_*_core.h
files.
2022-03-02 16:56:18 -05:00
Kenn Sebesta b7f1d9db41 [Make][Qt] Add `qt_install` recipe 2022-03-02 16:56:18 -05:00
Kenn Sebesta 8ca667a4e0 [Make] Include Qt SDK install in help 2022-03-02 16:56:18 -05:00
Kenn Sebesta a65b4dae49 [Makefile][OS-agnostic] Configure makefiles for macOS/Linux/Windows 2022-03-02 16:56:18 -05:00
Kenn Sebesta bf3f6409e4 [Makefile] programmatically build and flash binaries 2022-03-02 16:56:18 -05:00
Kenn Sebesta 146bc62073 [Makefile] Rename TARGET_NAMES-->ALL_BOARD_NAMES 2022-03-02 16:56:18 -05:00
Kenn Sebesta 463647e8aa [Makefile] Modify output location and name
Build each binary in its own directory, and label them with their git hash,
and signalling if it is dirty.
2022-03-02 16:56:18 -05:00
Kenn Sebesta 73bcf7f57f [Makefile] Print build target 2022-03-02 16:56:18 -05:00
Kenn Sebesta 4046eec756 [Makefile][ALL] Add rule for making all targets
Note, the artifacts from these targets are not preserved.
2022-03-02 16:56:18 -05:00
Kenn Sebesta 02dba21647 [Makefile] Update firmware rules to autogenerate build targets 2022-03-02 16:56:17 -05:00
Kenn Sebesta 455e0a67f3 [Makefile] Add support for `size` Makefile recipe
Untested.

C.f. https://github.com/vedderb/bldc/pull/377/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R45
2022-03-02 16:56:17 -05:00
Kenn Sebesta 96fd43f8bf [Make] Add unit testing
This adds the Makefile scaffolding, as well as the tool installer.
2022-03-02 16:56:17 -05:00
Kenn Sebesta 44c355fdbf [Make] Create new Makefile which can be used to manage the project
Before, the Makefile only built the firmware
2022-03-02 16:56:17 -05:00
Kenn Sebesta e64c404dba [Make] Move makefile to a firmware specific makefile 2022-03-02 16:56:17 -05:00
Benjamin Vedder 2e0a95e5ea Renaming and refactoring 2022-02-19 21:00:52 +01:00
Benjamin Vedder 468c4f6353
Merge branch 'encoder_split' into master 2022-02-19 15:21:13 +01:00
rodale75 48875f2a78 Makefile: Added newline separations on openocd commands.
This to reduce the line-lengths and also prefixed the openocd
invoking with "@" (suppress the command line in make).
2022-02-10 13:27:20 +01:00
dnordahl83 324d2d4a29 makefile: Added make rule to perform stm32 mass erase.
Also, removed some trailing spaces in makefile.
2022-02-10 13:27:14 +01:00
Benjamin Vedder 9527f94cf8 First lisp integration with vesc tool and enabled lisp by default 2022-01-29 03:36:34 +01:00
Jakub Tomczak da4b3e0edd Merge branch 'master' into dev_fw_5_03 2022-01-21 15:07:44 +01:00
Benjamin Vedder 4f0388d507 Added lispbm test module (disabled by default) 2022-01-13 14:50:19 +01:00
Benjamin Vedder 16385f1706 Renamed compression to lzo, added observer offset parameter 2022-01-12 12:27:45 +01:00
Jakub Tomczak 2a120615be encoders to encoder refactor 2022-01-09 17:10:40 +01:00
Jakub Tomczak 4743194894 old encoder files deleted 2021-12-20 14:18:51 +01:00
Jakub Tomczak cc769c858b TS5700N8501 added 2021-12-17 13:13:11 +01:00
Jakub Tomczak 6507a47bf1 SINCOS added 2021-12-15 16:48:23 +01:00
Jakub Tomczak ce7b3f7805 makefile sources 2021-12-15 13:41:33 +01:00
Björn Mellström 18398553d6 make: Added size-rule.
Change-Id: I78fe451e994832850c138b757bc5911c9f53b7ee
2021-11-12 11:10:15 +01:00
Björn Mellström 5b73873b74 make: Default to non-verbose compilation output.
Change-Id: Ic08eef4ba9771789e31cb24f87c6143ea6d1cf05
2021-11-12 11:10:06 +01:00
Benjamin Vedder f81093922a Added event logging 2021-06-15 12:56:38 +02:00
Benjamin Vedder 5cdebf6358 Added app_custom_mkfile to makefile, removed outdated hardware 2021-06-06 14:00:51 +02:00
Benjamin Vedder 77af43935a Removed outdated LED-support 2021-05-11 09:57:27 +02:00
Benjamin Vedder 5767b703b7 Custom UI support 2021-04-24 22:36:00 +02:00
CTSchorsch 331494291d - move lora files from hwconf/ to lora/
- modify Makefile and add lora/lora.mk
- hopefully have all idents fixed
- restore commands.c and add new function again
- fix memory leak bug in gesc.c
- rfm95w.c add delay in while loop
- add gesc to build_all / rebuild all works
2021-03-27 21:13:24 +01:00
Benjamin Vedder e6cfffe825 Added comment on how to specify toolchain path 2021-01-11 11:49:36 +01:00
Benjamin Vedder 04dc98dffe Move upload rules to end 2020-12-24 14:10:22 +01:00
Benjamin Vedder 6509065ca2 Added BMS module 2020-10-22 08:32:51 +02:00
Benjamin Vedder c77f92470b IO board support, initial bms support, more openloop parameters, removed D current injection, added new HWs 2020-10-09 21:08:48 +02:00
Esben Rasmussen 66d9bcac7f Added BMI160 SPI support 2020-07-02 12:00:12 +02:00
Benjamin Vedder 2f19819d27 Fixed conflicts with master merge 2020-04-04 22:35:29 +02:00
Kezi Olio 3dbff533d1 fix build on arch 2020-03-31 16:42:11 +02:00
Benjamin Vedder dd16cb7761 Updated ChibiOS to 3.0.5 2020-03-21 20:14:20 +01:00
Benjamin Vedder 52e17059e5 Major restructuring for dual motor support, and added unity hw files 2020-03-16 18:32:39 +01:00
Marcos Chaparro 4dc8d877d8 Add miniLZO lossless compressor/decompressor source files
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2019-10-25 17:37:35 -03:00
Benjamin Vedder 602db7435b FW3.59. Many updates, see changelog for details 2019-09-03 20:39:05 +02:00
Benjamin Vedder 3ac3a4acdd Added make rule to clear option bytes 2019-05-19 10:16:12 +02:00