31 Commits

Author SHA1 Message Date
Paul Guenette
86ff244b20 Fix a couple static analysis catches
Fixes #643
2021-11-16 17:39:54 -05:00
Samuel Sadok
68e5f1531c fix compile 2021-09-03 15:41:20 +02:00
Paul Guenette
054883707f Add brake_resistor_current variable to interface 2021-07-17 15:42:01 -04:00
PAJohnson
274225cfe5 Fixed drv/encoder spi collision when spi polarity changed between spi arbiter transactions 2020-12-21 22:37:34 -05:00
Samuel Sadok
88c1a3399a enable GPIO clocks on demand 2020-11-24 16:50:03 +01:00
Samuel Sadok
75577940f8 reorganize build system 2020-11-18 18:59:57 +01:00
Samuel Sadok
207426aa0f initial ODrive v4.0 support 2020-11-18 18:59:56 +01:00
Samuel Sadok
60b433700f fix uninitialized warning after CRITICAL_SECTION 2020-11-16 17:15:00 +01:00
Samuel Sadok
7e655aecbc minor tweaks to v3 code 2020-11-13 18:45:48 +01:00
Oskar Weigl
2040447174 change all did_ grammar to past tense instead 2020-11-05 21:48:36 -08:00
Samuel Sadok
5661a3b5ed Refactor control loop.
Please see https://github.com/madcowswe/ODrive/issues/472 for a detailed description.
2020-09-01 00:03:01 +02:00
Samuel Sadok
d021945686 fix compilation on GCC <= 7.x 2020-08-19 11:38:38 +02:00
Samuel Sadok
138ccaec34 optimize Stm32Gpio.read() 2020-08-05 17:04:14 +02:00
Samuel Sadok
c886b49dd1 code hardening of SPI arbiter 2020-07-30 17:42:13 +02:00
Samuel Sadok
b7283bf1e0 add instrumentation to monitor interrupts 2020-07-21 13:02:03 +02:00
Samuel Sadok
2d256f43cb more refactoring in perparation for new hardware 2020-07-21 13:02:03 +02:00
Samuel Sadok
b3ddadb360 further improve hardware independence 2020-07-21 12:55:10 +02:00
Samuel Sadok
1f3391c81b introduce GPIO modes 2020-07-21 12:55:10 +02:00
Samuel Sadok
c745983f95 define gpios as array of Stm32Gpio objects 2020-07-21 12:31:03 +02:00
Samuel Sadok
cc79c8eecb overhaul timer setup/synchronization
This new method is more flexible in the sense of what timers to
synchronize and also provides clearer guarantees with respect to
the repetition counter and prescaler.
2020-07-21 12:31:03 +02:00
Samuel Sadok
6377df4b1e move ext int subscribe logic to Stm32Gpio class 2020-07-21 12:31:03 +02:00
Samuel Sadok
b9b70b9c0a integrate SPI arbiter with SPI encoder 2020-07-21 12:31:03 +02:00
Samuel Sadok
856455077d refactor drv8301 driver 2020-07-21 12:31:03 +02:00
Unknown
fb46103498 Add doctest, fix drv8301 warning 2020-03-27 21:22:04 -04:00
Unknown
f98da473f1 Remove utils import from drv8301.c 2020-03-27 21:11:23 -04:00
Unknown
1bdea53ec8 Improve testability 2020-01-08 22:11:50 -05:00
Samuel Sadok
e41d11c1ba repair build 2018-02-26 14:52:19 -08:00
Samuel Sadok
99ca88a8c8 This replaces Makefile and at the same time prepares for future
build requirements (like multiple active board versions).

Developers will need to install tup, as described in the README.
A stub Makefile is still available for convenience, so the main
"make ..." commands can still be used.
2018-02-25 12:53:20 -08:00
Quincy Jones
aee5398ba2 Revert CPR back to default. Fix delay block times 2018-02-21 13:46:47 -06:00
Quincy Jones
ef0f8dbf85 Add microsecond delay functions.
Add DRV register/fault status reporting.
2018-02-21 13:41:42 -06:00
Oskar Weigl
2a89b0b31a Push firmware into Firmware folder 2017-10-14 23:33:58 -07:00