Commit Graph

350 Commits

Author SHA1 Message Date
Marcos Chaparro df9097a0a3 Show no_hw_limits as FW_NAME for builds with disabled limits
FW_NAME can still be overridden at hwconf level

Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2022-05-03 11:23:20 -03:00
Marcos Chaparro d290f61ddf Send FW_NAME
See https://github.com/vedderb/vesc_tool/pull/229

Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2022-05-03 09:54:36 -03:00
Benjamin Vedder 9cfd1e44ee Unity stack overflow fix 2022-05-01 20:06:47 +02:00
Benjamin Vedder f06574fbdd Added 60_75_mk2 2022-04-26 02:37:43 +02:00
Benjamin Vedder 8355a8fab0 HFI integrator windup protection based on estimated speed 2022-04-25 22:27:49 +02:00
Benjamin Vedder 0d2cab34dc Changed hw60 default f_zv 2022-04-10 20:39:47 +02:00
Benjamin Vedder 3c2d330283 Added 60_mk6 hw 2022-03-28 02:05:05 +02:00
Kenn Sebesta cf6f32332d [Utils] Update the header includes 2022-03-23 20:25:37 -04:00
Benjamin Vedder 58b5c85a69 Changed ADC sampling order on some phase shunt hardwares 2022-03-23 22:53:30 +01:00
Benjamin Vedder d8e8be51de Fixed silent hfi current offset, added high performance hfi mode, changed vesc6 current sampling, only use HT interrupt if the currents are first in the ADC vector 2022-03-23 22:26:05 +01:00
Benjamin Vedder c348120325 High-performance and silent HFI 2022-03-23 15:04:30 +01:00
adilrepas c8e64589c1
Create hw_410_005ohm.h 2022-03-08 00:57:57 +08:00
Benjamin Vedder dcfcca8e42 Added HW4 targets 2022-03-06 01:33:46 +01:00
Benjamin Vedder e42dfecc51 Updated package script 2022-03-06 00:09:11 +01:00
Kenn Sebesta dc9f552202 [HW] No hardware limits
These targets have no hardware limits on current, voltage, etc... The user
is free to immolate the hardware, if so desired.
2022-03-02 16:56:19 -05:00
Kenn Sebesta 2c7ec0450a [HW][Trampa] Move Trampa 100_500 hardware to a dedicated folder
This uses the `_core.h` approach in order to avoid duplicated code.
2022-03-02 16:56:18 -05:00
Kenn Sebesta 5cf397c082 [HW][Trampa] Move VESC4 to dedicated directory 2022-03-02 16:56:18 -05:00
Kenn Sebesta 8d6112e9c0 [HW][Trampa] Move 75_300 to dedicated directory and use `core` approach 2022-03-02 16:56:18 -05:00
Kenn Sebesta f569432d2e [HW][Stormcore] Move Stormcore hardware to a dedicated folder
This uses the `_core.h` approach in order to avoid duplicated code.
2022-03-02 16:56:18 -05:00
Kenn Sebesta 4c20be9d54 [HW][TP & Victor_R1] Remove as per Benjamin Vedder's request 2022-03-02 16:56:18 -05:00
Kenn Sebesta 57832238b4 [HW][TeamTriforceUK] Move TeamTriforceUK hardware to a dedicated folder
This uses the `_core.h` approach in order to avoid duplicated code.
2022-03-02 16:56:18 -05:00
Kenn Sebesta 26b83329df [HW][Trampa] Move Trampa VESC6 hardware to a dedicated folder
This uses the `_core.h` approach in order to avoid duplicated code.
2022-03-02 16:56:18 -05:00
Benjamin Vedder fca4395b6e hw40 build fix 2022-02-28 19:00:29 +01:00
Benjamin Vedder 9d1926a130
Merge pull request #416 from tensorfield-ag/master
Fix SPI NSS PORT and PIN for MKV
2022-02-20 17:58:37 +01:00
Benjamin Vedder a446b355af Sincos cleanup 2022-02-20 12:12:40 +01:00
Benjamin Vedder 3bd5545c3e Fixed build on all hardwares 2022-02-19 19:40:42 +01:00
Cheehan 6fbe22eb40 Fix SPI NSS PORT and PIN for MKV 2022-02-14 10:53:29 -08:00
dnordahl83 7fc94b8375 hw_resc: Added resc hw support. 2022-02-10 14:38:32 +01:00
rodale75 599595089d hw_rd2: Defined CAN controller ID.
This to make sure to have a deterministic & same
CAN controller id for all Radinn VESC:s.
2022-02-10 14:38:32 +01:00
rodale75 1ecc5b9457 hw_rd2: Macro adjustments and cleanup.
* Removed commented-out code.
* Removed legacy HW75_300_VEDDER_FIRST_PCB switches/sections.
* Removed un-needed undef.
* Removed un-needed #ifndef switch-checks. In the current vesc config setup,
  conf_general.h overrides all the underlying default configurations (strict
  include-order).
* Indentation adjustments.
2022-02-10 14:38:17 +01:00
rodale75 c6fa4e2d02 hw_rd2: Added APPCONF_CHUK_CTRL_TYPE config. 2022-02-10 14:26:51 +01:00
Benjamin Vedder aac4e940fb Added hw75_600 and hw_60_75 2022-02-05 19:00:49 +01:00
Benjamin Vedder 24b076bdc4 Fixed stormcore stack issues 2022-02-05 01:04:56 +01:00
Benjamin Vedder d61fc474fc Added support for second AUX port 2022-01-25 20:59:15 +01:00
Benjamin Vedder 7cde2e950c Merge branch 'release_5_03' 2022-01-25 10:26:10 +01:00
Benjamin Vedder d5407fee66 Fixed hw name string 2022-01-25 10:21:32 +01:00
Benjamin Vedder 473b7170f5
Merge pull request #404 from CTSchorsch/pull_request
update hwconf to new hardware version (hw7)
2022-01-24 01:26:27 +01:00
Benjamin Vedder 4958a91670 Added support for custom NTC and PTC motor temperature sensors 2022-01-24 00:36:53 +01:00
CTSchorsch 786cf09889 update hwconf to new hardware version (hw7) 2022-01-20 13:22:39 +01:00
Benjamin Vedder 9c484d01e4 Decreased stack sizes to save ram 2022-01-16 21:57:12 +01:00
Benjamin Vedder 38566313e7 Added hw_60v2alva 2022-01-13 01:12:52 +01:00
Benjamin Vedder 9ed0456031 Added support for CAN2 and hardware with dual CAN. Added sensor port voltage change macro. This has no effect on hardware without these things. 2022-01-13 01:00:40 +01:00
Jeffrey M. Friesen 0ad58b446a Merge branch 'dev_fw_5_03' of https://github.com/vedderb/bldc into dev_fw_5_03 2022-01-11 12:29:18 -08:00
Jeffrey M. Friesen 40ddb64d91 fix some config things for stormcore 2022-01-11 12:29:16 -08:00
Benjamin Vedder 88a360162e
Merge branch 'dev_fw_5_03' into dev_fw_5_03 2022-01-09 20:23:39 +01:00
Benjamin Vedder 768a9a633a Added deprecation warning 2022-01-06 22:54:27 +01:00
Benjamin Vedder 648b8a33d5 MCCONF_FOC_F_SW backwards-compatibility 2022-01-06 22:47:46 +01:00
Benjamin Vedder a092ea99d2 More consequences of the f_sw renaming 2022-01-06 21:34:22 +01:00
Benjamin Vedder aeda17e38e Moved luna appconf 2022-01-02 22:53:19 +01:00
Marcos Chaparro a1dd7f4c73 bbshd: include appconf
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2021-12-31 10:52:47 -03:00
Benjamin Vedder ab0aa126d6 Collected luna-files in one place, removed some old files 2021-12-31 12:27:36 +01:00
Marcos Chaparro d6fc739899 bbshd: Support display, assist levels, PTC temp sensor, wheel speed sensor, gearshift sensor, custom UI
Signed-off-by: Marcos Chaparro <mchaparro@powerdesigns.ca>
2021-12-28 11:17:53 -03:00
Jeffrey M. Friesen 796c122fc2 Merge branch 'dev_fw_5_03' of https://github.com/vedderb/bldc into dev_fw_5_03 2021-12-20 14:33:47 -08:00
Jeffrey M. Friesen f8ba78c03a fixed power switch on 60dxs 2021-12-20 14:33:44 -08:00
Benjamin Vedder 4eec52d5c0 Fix NaN-problem after lost tracking on some motors 2021-12-19 23:55:03 +01:00
Euan Mutch 5e6110189e
Tweak settings for A50S hardware
Limited duty cycle and lowered default switching frequency to reduce impact of using 2 low side shunts. 
Cleaned up formatting.
2021-11-28 23:59:26 +00:00
Jeffrey M. Friesen 78b3cd00c3 fixed GPIO mapping for phase filters on SC 2021-11-23 09:37:53 -08:00
rodale75 80d504edaf hw_rd2: Adjustments of guard- & get-temperature function-naming.
And also, some minor adjustments of the configuration parameters.

Change-Id: Ic56430dcf13cc47e6d6df1fcc19e09941b2e6d91
2021-11-12 11:16:00 +01:00
Benjamin Vedder c3f3c9512e Parameter update 2021-11-10 13:56:59 +01:00
Benjamin Vedder 9046e4644b
Merge pull request #363 from TechAUmNu/dev_fw_5_03
Add A50S 6S and 12S hardware
2021-10-24 18:14:17 +02:00
Benjamin Vedder f1c4e713d7 Added MTPA modes 2021-10-24 18:10:00 +02:00
Euan 49cfd795a3 Add A50S 6S and 12S hardware
Adds A50S.h/c and build script.
2021-10-20 10:57:11 +01:00
Benjamin Vedder d8a99fd0f1 Inductance and resistance measurement and scaling fixes, various other fixes 2021-10-15 22:25:07 +02:00
Tharon Rivera 11ad3f862f Support for Spintend ubox single 2021-09-24 20:58:55 -04:00
Benjamin Vedder e7d22911f8 More stormcore power switch fixes 2021-09-15 18:46:08 +02:00
Benjamin Vedder bec2534559 Fixed stormcore CAN shutdown 2021-09-15 17:49:09 +02:00
Benjamin Vedder d898d3bf9a Lowered default switching frequency 2021-09-15 17:48:44 +02:00
Benjamin Vedder 91e299a593
Merge pull request #334 from surfdado/zescboards
ZESC HW Support: Raiden7 and Warrior6
2021-08-20 19:08:14 +02:00
Benjamin Vedder 36c9db6718 Dual motor shutdown fix 2021-08-20 14:59:36 +02:00
Dado Mista 5a56e8bd57 ZESC Raiden7 Support
Signed-off-by: Dado Mista <dadomista@gmail.com>
2021-08-19 15:57:15 -07:00
Dado Mista cd1e37dfe8 ZESC Warrior6 Support
Signed-off-by: Dado Mista <dadomista@gmail.com>
2021-08-19 15:57:15 -07:00
Benjamin Vedder c34856b4a2 DRV8323S oc latch shutdown by default 2021-08-19 18:57:04 +02:00
Benjamin Vedder debd1ed4aa Configuration updates 2021-08-16 15:02:20 +02:00
Jeffrey M. Friesen 49c94ef90a Fixed bug where unity/stormcore could be powered off too soon and freeze 2021-08-12 19:21:23 -07:00
Jeffrey M. Friesen 817936f5c9 Updates to stormcore configs 2021-08-11 10:58:48 -07:00
Benjamin Vedder 5cdebf6358 Added app_custom_mkfile to makefile, removed outdated hardware 2021-06-06 14:00:51 +02:00
Benjamin Vedder 1f935c6ca7 Merge branch 'master' into dev_fw_5_03 2021-05-29 14:24:15 +02:00
Jeffrey M. Friesen 422e348c1a Added things for 100D_V2 hardware variant 2021-05-29 12:41:59 +02:00
Benjamin Vedder 6dd35cbbc3 Updated er-app 2021-05-26 22:09:50 +02:00
Benjamin Vedder 2c2238f76a Unified DRV fault reset interface, reset DRV faults after fault stop time ends 2021-05-14 11:24:01 +02:00
Benjamin Vedder 24b8a6f100 Change default DRV OC mode for HD60 and HD75 2021-05-07 09:49:01 +02:00
Benjamin Vedder 5767b703b7 Custom UI support 2021-04-24 22:36:00 +02:00
rpasichnyk c1ad9b2b4f Tabs vs spaces and some formatting 2021-04-21 09:03:08 +02:00
rpasichnyk 0d2610c9bc Prevent CAN ID collision with DieBieMS / FlexiBMS 2021-04-21 08:55:52 +02:00
Benjamin Vedder ca8e7b4f05
Merge pull request #271 from CTSchorsch/dev_05_03
- Add driver for SX1278 LoRa boards, eg. HopeRF RFM95W (driver by Woj…
2021-04-12 09:35:38 +02:00
CTSchorsch aa4e0567a7 git trouble 2021-04-11 12:18:54 +02:00
CTSchorsch 10fa9f9550 bugfixes 2021-04-11 11:05:41 +02:00
Benjamin Vedder 5e02197459 Increased 75/300 dead time 2021-04-08 22:34:23 +02:00
CTSchorsch 4f048442d0 cleanup spaces 2021-03-31 19:46:31 +02:00
Benjamin Vedder fcb7e12158 Made servo output a config option 2021-03-31 16:28:46 +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
CTSchorsch cdb8e82c32 - Add driver for SX1278 LoRa boards, eg. HopeRF RFM95W (driver by Wojciech Domski, https://github.com/wdomski/SX1278)
- Add a simple bool isInitialized() to commands.c, to check if commands are initialzied
- Add hwconf for GESC, hobby open source ESC (https://github.com/CTSchorsch/gesc) including a simple double pulse test function
- Add app_dpv.c to read out a simple I2C magnetic field sensor and two hall sensors to control a underwater scooter
2021-03-27 14:15:22 +01:00
Jaime d76dffbc44 Update UAVCAN drivers, Add UAVCAN boot loader support. Add UAVCAN parameter support. Update get node info responses 2021-03-25 16:58:45 -06:00
Benjamin Vedder 3b4e601f61 Offset calibration update 2021-03-22 12:13:19 +01:00
Benjamin Vedder bdb7b0bf7b Added KTY84 temp sensor support 2021-03-17 11:54:42 +01:00
Benjamin Vedder 134c0bbd80 Decreased default OC DRV limit for HD75 2021-03-13 11:37:40 +01:00
Mitch Lustig 1afcc5b082 Little bug fixy fix 2021-03-09 00:14:41 -08:00
Benjamin Vedder e877c43158 Added CAN ID to BMS packet 2021-03-04 10:34:39 +01:00
Benjamin Vedder 4c029e33e1
Merge pull request #254 from Mitchlol/focer_fixes
Match Focer hardware names to firmware directories
2021-02-28 21:32:43 +01:00
Benjamin Vedder 8900c41c34 First phase filter and offset calibration attempt 2021-02-28 20:36:02 +01:00