Commit Graph
13 Commits
Author SHA1 Message Date
Samuel Sadok b8b483c9d6 Firmware hardening
- check return code of enqueue_modulation_timings
 - wrap all hardware access to safety critical hardware timer registers in safety_critical_ sections. These functions like the armed-ness of each PWM output to a corresponding armed state that can only be set at start or by the user
 - ensure NaN in any variables doesn't cause unpredictable behavior on the safety critical PWM outputs
2018-03-30 22:32:07 -07:00
Samuel Sadok 9486f9ed15 make stuff working again, improve state machine design, add underscore to member names 2018-03-09 13:37:07 -08:00
Samuel Sadok f5081352b3 refactor protocol 2018-03-08 12:56:24 -08:00
Oskar Weigl 2069462354 some minor formating and naming 2017-11-07 20:10:34 -08:00
Samuel Sadok 9fb0c9a839 minor comment clean-ups 2017-11-06 19:13:06 +01:00
Samuel Sadok 3cba81e6f7 make remote precedure calls work 2017-11-06 14:38:15 +01:00
Samuel Sadok ba46e5fb29 update test_communication.py to new backend, deferred USB processing, move CRC16 to stream based layer, some protocol refactoring 2017-10-30 23:39:21 +01:00
Oskar Weigl 692e9239fa add comments 2017-10-28 21:06:06 -07:00
Samuel Sadok d02f5fe808 make float read/write work 2017-10-24 00:51:14 +02:00
Samuel Sadok c19a693fe9 almost make new binary protocol work with python (up to fetching and parsing the JSON) 2017-10-23 23:15:56 +02:00
Samuel Sadok a8b5cef1d0 preliminary (untested) port of new protocol to python 2017-10-16 22:14:35 +02:00
Samuel Sadok db411bfa50 add binary protocol with CRC and acks 2017-10-16 19:30:00 +02:00
Oskar Weigl 34d4d837ba Push firmware into Firmware folder 2017-10-14 23:35:59 -07:00