Samuel Sadok
219c818fdd
turn version.h into version.c
...
This speeds up the build process in many cases because this file is
refreshed on every build and by making it a code file much less off the
build graph depends on it.
2020-07-16 20:57:12 +02:00
Samuel Sadok
28f48e8fab
[interface autogen] remove hardcoded intf name
2020-05-25 18:11:16 +02:00
Samuel Sadok
e4d70a22b7
Initial implementation of interface autogenerator.
...
TODO:
- write to endpoints from float (for PWM/analog input)
- ascii protocol
2020-05-14 23:05:02 +02:00
Unknown
141d1edd35
Change UART baudrate via fibre
2020-05-12 01:30:40 -04:00
Samuel Sadok
50ecdef860
move DC overcurrent/undercurrent checks to update_brake_current()
...
The checks now take into account the brake current.
Expose ibus on fibre.
2020-05-05 18:16:06 +02:00
Samuel Sadok
1dc420a76d
various changes to update_brake_current:
...
- cleaner implementaiton of the overvoltage ramp with config variables separate from other functions
- explicit enable flag for overvoltage ramp (disabled by default)
- reinstate brake duty cycle NaN error
- add informational flag for brake resistor saturation
2020-05-04 12:54:34 +02:00
Oskar Weigl
d002a74d24
rename psu current fault levels
2020-05-01 16:37:20 -07:00
Unknown
c231928619
Merge branch 'feature/brake_current_fix' into RazorsFrozenTesting
2020-03-27 21:24:49 -04:00
Unknown
fb46103498
Add doctest, fix drv8301 warning
2020-03-27 21:22:04 -04:00
Unknown
42b6effedd
Implement a better brake resistor current handler
2020-03-26 17:20:32 -04:00
Unknown
1bdea53ec8
Improve testability
2020-01-08 22:11:50 -05:00
Unknown
a4664fbf5e
Merge branch 'RazorsEdge' into RazorsFrozen
2019-12-22 17:07:32 -05:00
Unknown
2c9f43c9ff
Add safety disarm in the stack overflow hook and increase stack sizes
2019-12-04 00:09:57 -05:00
Unknown
f127df72f1
Add stack_size vars, reduce stack usage
2019-10-26 14:28:06 -04:00
Unknown
1550170201
Merge branch 'CommsStackFix' into RazorsFrozen
2019-10-26 14:24:01 -04:00
Samuel Sadok
8ce66c6ec7
change power supply limit from watts to amps
2019-09-27 18:01:33 +02:00
Unknown
ecf1ccd25e
Add stack_size vars, reduce stack usage
2019-09-25 22:47:40 -04:00
Unknown
be48bef9cb
Merge branch 'CommsStackFix' into RazorsEdge
2019-09-24 21:04:43 -04:00
Unknown
f5a1235038
Construct the object tree outside of the comms task
2019-09-23 01:42:22 -04:00
Paul Guenette
d0533f7ebb
Merge branch 'feature/269-brake-current' into RazorsEdge
2019-05-25 14:14:37 +02:00
Paul Guenette
987a14b8c7
Merge branch 'feature/63-dc-bus-limit' into RazorsEdge
2019-05-25 14:14:20 +02:00
Paul Guenette
8cc30a687d
Add max_regen_current to protocol
2019-03-25 20:58:30 +01:00
Paul Guenette
7d318b9ee8
Add power_supply_wattage to board config on protocol
2019-03-25 20:54:38 +01:00
Paul Guenette
40ad2a0060
Merge branch 'devel' into feature/CAN
2019-03-01 22:56:11 +01:00
Oskar Weigl
cb77fd4112
Merge pull request #307 from durka/patch-1
...
Increase stack sizes
2019-02-11 18:59:40 -08:00
Alex Burka
add0dd954c
increase comms stack size again
2019-01-29 22:28:42 -05:00
Unknown
2acbc45001
Merge branch 'devel' into feature/CAN
2019-01-02 12:16:32 -05:00
Oskar Weigl
df2067c544
Merge branch 'pr/kalvdans/243' into devel
2018-12-17 13:54:32 -08:00
Oskar Weigl
921987a09f
increase comms stack size (we really need to refactor this)
2018-10-30 18:20:08 -07:00
Unknown
87f3a1b011
Bump comms thread stack space to 6000
2018-10-28 18:45:15 -04:00
Unknown
484da55150
Make interface_can a class, so it can be instantiated multiple times
2018-09-24 21:08:07 -04:00
Christian Häggström
cc0f083bf0
Poll analog inputs to drive a configured endpoint.
2018-09-13 14:28:49 +02:00
Oskar Weigl
cb84e11348
pwm in: only ch4 is available on odrive v3.2
2018-06-23 20:05:57 -07:00
Oskar Weigl
cd74a98b25
fix removed endpoint construction check
2018-06-21 23:22:06 -07:00
Oskar Weigl
a9b03dd4df
Merge branch 'devel' into powerwheels
2018-06-21 21:41:36 -07:00
Oskar Weigl
e52dc0732a
fix stdout
2018-06-08 21:21:15 -07:00
Oskar Weigl
6ff4445770
Merge branch 'devel' into sam_fibre
...
Conflicts:
Firmware/Tupfile.lua
Firmware/fibre/cpp/include/fibre/protocol.hpp
Firmware/fibre/python/fibre/discovery.py
Firmware/fibre/python/fibre/usbbulk_transport.py
tools/odrive/dfu.py
tools/odrive/shell.py
tools/odrive/utils.py
tools/odrivetool
2018-06-08 19:30:21 -07:00
Oskar Weigl
84e6f2386b
comment out can start for inert merge-in
2018-06-07 00:02:10 -07:00
Oskar Weigl
d403bc5ff5
Merge branch 'devel' into sam_can
2018-06-06 23:39:03 -07:00
Oskar Weigl
f8306741bc
Merge branch 'devel' into sam_user_adc
2018-06-05 23:40:50 -07:00
Oskar Weigl
2a7743ef0b
Merge branch 'devel' into fw4
2018-06-05 23:13:58 -07:00
Oskar Weigl
c95233a57b
make ascii protocol default on CDC interface, change some naming
2018-06-05 21:59:48 -07:00
Samuel Sadok
689fe1512c
add PWM channel 1 and 2 initialization, add pulldown, fix off-by-one
2018-05-15 23:58:55 -07:00
Oskar Weigl
c13bee09ed
Merge remote-tracking branch 'origin/pwm-in' into powerwheels
2018-05-15 16:55:46 -07:00
Samuel Sadok
d3105cfcaf
expose PWM mappings as endpoint_ref
2018-05-15 16:43:44 -07:00
Oskar Weigl
aefd331488
Merge branch 'pwm-in' into powerwheels
2018-05-15 10:48:18 -07:00
Oskar Weigl
3103eda5f9
Merge branch 'devel' into fw4
2018-05-15 10:22:19 -07:00
Samuel Sadok
359eab32f6
implement PWM input
2018-05-15 10:10:55 -07:00
Samuel Sadok
8339311c35
make ADC work
2018-05-14 19:06:09 -07:00
Samuel Sadok
1e47f5c3e8
Merge branch 'devel' into sam_user_adc
2018-05-14 17:40:18 -07:00