Samuel Sadok
2caf0d3c0e
fix compatibility with new fibre-cpp
2021-01-08 11:40:36 +01:00
Samuel Sadok
f4b312accb
fix various libfibre bugs
2020-12-04 20:11:21 +01:00
Samuel Sadok
21e19b9c18
Merge branch 'devel' into libfibre
2020-12-03 21:20:30 +01:00
Paul Guenette
dbb77fa7b6
Merge branch 'devel' into uart1
2020-10-30 22:51:21 -04:00
Samuel Sadok
e7f046d518
Add support for UART1
2020-09-24 19:59:14 +02:00
Samuel Sadok
a1c67e6ba1
refactor Fibre to AsyncStream architecture
...
The previous implementation was based on blocking calls, i.e. the
platform dependent output channel would block on a write operation and
by extension the Fibre decoder could also block when given data by an
input channel. The revised implementation in this commit is based around
a fully asynchronous (i.e. non-blocking) stream interface.
2020-09-15 12:57:39 +02:00
Oskar Weigl
b38fd2be9c
Only inline short functions
2020-09-05 15:25:32 -07:00
Samuel Sadok
8e15dab857
fix assert fault when config.enable_uart0 == false
2020-08-21 12:40:18 +02:00
Samuel Sadok
ebec752721
Merge remote-tracking branch 'origin/devel' into lowlevel-refactor
2020-08-19 11:51:08 +02:00
Samuel Sadok
6fa76e1de8
increase UART polling frequency from 1kHz to 8kHz
2020-08-07 15:56:38 +02:00
Samuel Sadok
b3ddadb360
further improve hardware independence
2020-07-21 12:55:10 +02:00
Samuel Sadok
93287acd42
fix UART hang-up, harden ASCII protocol code
2020-04-14 22:48:17 +02:00
Samuel Sadok
19ac132f51
fix UART error handling
2020-04-09 23:14:52 +02:00
Unknown
1bdea53ec8
Improve testability
2020-01-08 22:11:50 -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
ecf1ccd25e
Add stack_size vars, reduce stack usage
2019-09-25 22:47:40 -04:00
Oskar Weigl
c2cd26cc6e
change deadline style timeout for regular timeouts in USB and UART interfaces
2018-09-01 19:29:49 -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
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
a8267325ed
fix ascii protocol and add automated test for it
2018-05-15 21:37:49 -07:00
Samuel Sadok
0e32df329f
fix compilation when using stdout protocol
2018-05-14 16:25:31 -07:00
Samuel Sadok
4bf7e987a5
apply ODrive native protocol updates to fibre and switch to fibre
2018-05-13 18:53:44 -07:00
Samuel Sadok
535dbcf481
add system_stats to monitor resource usage
2018-04-23 19:03:55 -07:00
Samuel Sadok
741a51442f
split communication into multiple files
2018-04-20 23:44:55 -07:00