Commit Graph

80 Commits

Author SHA1 Message Date
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
Benjamin Vedder 023d78679f Fixed flash CRC check 2019-04-18 22:30:01 +02:00
Maximiliano Cordoba 4a94d0ec4c Add command to connect a virtual motor with configurable parameters
This commit adds a motor model running within the vesc firmware,and
from the vesc terminal a user or a test script can set the
mechanical load torque, inertia, phase resistance, Lq and Ld phase
inductances (this generic model includes IPM motors), flux linkage
and battery voltage.

Virtual motor parameters set at the command line should match with
vesc configuration, for example phase resistance, inductance and
flux linkage should match and have the correct observer gain.
Observer works with the virtual motor, with some hiccups during
startup
For solid results its better to use sensored mode. If vesc is
configured to use an SPI encoder the virtual motor phase angle
will be injected as an encoder angle readout.

For safety PWM outputs are disabled during simulation.

Signed-off-by: Maximiliano Cordoba <mcordoba@powerdesigns.ca>
2019-04-06 10:36:00 -03:00
Benjamin Vedder 1161f8417c Added SWD programming support (based on Black Magic Probe) and open loop duty cycle control 2019-03-31 10:49:18 +02:00
Benjamin Vedder 39bb8a6b09 FW 3.53: Limit foc_current_filter_const range, 1Mbit/de NRF speed, lower detect f_sw for resistance, no temp_comp by default 2019-03-20 22:46:36 +01:00
Benjamin Vedder 65298263b6 75/300 R2 support, terminal sync cmd, IMU support, option to disable permanent UART, collected timer functions in one place 2019-03-10 14:57:42 +01:00
Benjamin Vedder 01e72eb555 Autogenerated config parsing with signatures, fixed previous PRs 2019-03-01 21:36:58 +01:00
Marcos Chaparro 32cf05629d Resolve merge conficts with major 2019 release
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2019-02-18 20:25:52 -03:00
Benjamin Vedder 123bb00ab4 Major 2019 update 2019-02-18 19:30:19 +01:00
Marcos Chaparro c59dd2b2fc Fix shadowed variables. Add -Wshadow.
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2019-01-28 16:52:02 -03:00
Benjamin Vedder bf27cb673e Removed software servo driver, fixed hw servo driver to work with all hardwares 2018-02-28 10:22:25 +01:00
Benjamin Vedder 79bfbe6234 FW3.28: dual throttle curves, ntc beta factor config, board file added 2017-09-06 21:13:28 +02:00
Benjamin Vedder f141157358 First official commit after the VESC Project release 2017-09-04 21:12:43 +02:00
Benjamin Vedder 5dbc94c525 FW 3.7 2016-11-04 15:18:34 +01:00