Commit Graph

552 Commits

Author SHA1 Message Date
Mario Hüttel 88360fe307 close config parser after use for reading calibration 2020-11-01 21:03:00 +01:00
Mario Hüttel 57308e18e3 Delete cmsis math library. It is not needed anymore 2020-11-01 21:00:47 +01:00
Mario Hüttel 731cb4fec3 Remove cmsis dsp library from project 2020-11-01 20:59:17 +01:00
Mario Hüttel 8ff276e30d see last commit 2020-11-01 20:58:32 +01:00
Mario Hüttel 1166477a6c Calibration routines adapted
* Implement custom mean and std functions
* Use standard deviation in calibration measurment instead of peak-peak noise.
2020-11-01 20:55:57 +01:00
Mario Hüttel 7aa0b62012 Implement saftey memory dump feature and increase heap space 2020-11-01 20:43:59 +01:00
Mario Hüttel 10596cdbf0 Add base64 library to Makefile 2020-11-01 18:03:52 +01:00
Mario Hüttel fc6fb1aee0 Add base 64 library 2020-11-01 18:01:28 +01:00
Mario Hüttel 1eeaf3d892 Use new config parser for calibration 2020-11-01 00:59:46 +01:00
Mario Hüttel a3778fcb6e Change double numbers to float in order to prevent unwanted double to float conversion 2020-10-31 01:11:17 +01:00
Mario Hüttel 86f153bf69 Fix code style 2020-10-31 01:10:46 +01:00
Mario Hüttel 3ca5e41602 Implement config read function 2020-10-30 23:12:39 +01:00
Mario Hüttel dcec366b0a Implement config_parser_reset_to_start() 2020-10-30 22:24:03 +01:00
Mario Hüttel 14b7bdbf19 Start config parser 2020-10-30 22:21:31 +01:00
Mario Hüttel af9845cbba Improve style 2020-09-27 23:23:44 +02:00
Mario Hüttel 034ecaa60f Fix bug in menu 2020-09-27 23:02:38 +02:00
Mario Hüttel ae91affc30 issue #5: Implement safety weight checking in control loop 2020-09-27 22:54:06 +02:00
Mario Hüttel 5fd2db319d Configure safety weight defaults 2020-09-27 22:22:54 +02:00
Mario Hüttel eec15df271 Fix code style 2020-09-27 22:13:49 +02:00
Mario Hüttel 84c747c81c silence compiler warning about unused parameter 2020-09-22 23:47:18 +02:00
Mario Hüttel b869ed9c45 Improve comments and doxygen headers 2020-09-22 23:45:22 +02:00
Mario Hüttel 42f6d0270d Issue #6: Implement safety flag ack in shell command safety-flags 2020-09-21 21:51:00 +02:00
Mario Hüttel e8f59b6dc6 Implement automatic resotre of error mem corrupt flag 2020-09-21 21:10:26 +02:00
Mario Hüttel d91a1b1da0 Fix #15: Make safety controller use CRC checked settings arrays for weights and persistencies. Weights not yet checked. 2020-09-08 21:46:57 +02:00
Mario Hüttel 004be4ea5c Move safety weights and persistencies to config file 2020-09-08 21:15:23 +02:00
Mario Hüttel a838bf3af8 Add new Flag: ERR_FLAG_SAFETY_TAB_CORRUPT 2020-09-08 20:15:40 +02:00
Mario Hüttel 1c1d1c4c97 Issue #18: Store correct flag number in error memory 2020-09-08 19:23:14 +02:00
Mario Hüttel e0f61af709 Issue #18: Protect safety memory heder with CRC 2020-09-08 18:24:10 +02:00
Mario Hüttel b619fc5600 Restructure panic mode and hardfault calls 2020-09-08 18:23:47 +02:00
Mario Hüttel 2f6590416d Improve documentation of Stack Checking 2020-09-07 23:52:34 +02:00
Mario Hüttel a877ef5f28 Merge branch 'issue/18-Backup-RAM' into issue/15-safety-controller-hardening 2020-09-07 21:58:25 +02:00
Mario Hüttel af555aba21 Issue #20: Move stack checker to safety folder 2020-09-07 21:56:04 +02:00
Mario Hüttel dd0ee47d86 Issue #20: Add stack checking based on protection area between stack and heap 2020-09-07 21:52:53 +02:00
Mario Hüttel 452abfdd5c Merge branch 'issue/18-Backup-RAM' into issue/20-implement-better-stack-checking 2020-09-07 21:04:37 +02:00
Mario Hüttel ba41c0911d Add necessary sections for stack protection area and implement fill function 2020-09-07 21:03:37 +02:00
Mario Hüttel cbbd97e1bd Issue #20: Implement driver for RNG 2020-09-07 20:47:56 +02:00
Mario Hüttel ab8228f712 Fix bug in doxygen xml generation for sphinx regarding the IN_SECTION() macro 2020-09-06 22:14:06 +02:00
Mario Hüttel 20e2a2b84b Doxygen: Fix bug of IN_SECTION macro and __atribute__ 2020-09-06 22:13:51 +02:00
Mario Hüttel 039a35522e Fix bug in doxygen xml generation for sphinx regarding the IN_SECTION() macro 2020-09-06 22:11:12 +02:00
Mario Hüttel 72668472a0 Doxygen: Fix bug of IN_SECTION macro and __atribute__ 2020-09-06 22:09:14 +02:00
Mario Hüttel 569d42bbe9 Issue #18: Fix wrong documentation 2020-09-06 21:12:57 +02:00
Mario Hüttel c7ebe441c7 Merge branch 'issue/15-safety-controller-hardening' into issue/18-Backup-RAM 2020-09-06 21:10:30 +02:00
Mario Hüttel 403786e0c6 Issue #15: Implement safety weight table
* CRC protected flag weight table.
* Currently only filled with dummy values. Has to be finished in issue #5
* Config overrides from safety memor ynot yet implemented
2020-09-06 21:05:00 +02:00
Mario Hüttel 192bcf01f6 Merge branch 'issue/18-Backup-RAM' into issue/15-safety-controller-hardening 2020-09-06 19:54:09 +02:00
Mario Hüttel 9880c701b1 Issue #15: Introduce safety weigths 2020-09-06 19:52:44 +02:00
Mario Hüttel 910037a562 Issue #18: Write doxygen headers for safety memory 2020-09-06 19:45:45 +02:00
Mario Hüttel 6232e2f330 Issue #18: Store permanent errors in safety backup RAM 2020-09-06 01:40:10 +02:00
Mario Hüttel 7ea0e73869 Merge branch 'issue/15-safety-controller-hardening' into issue/18-Backup-RAM 2020-09-05 20:31:23 +02:00
Mario Hüttel c4fe006efa Issue #15: Implement redundancy for error flags 2020-09-05 20:29:21 +02:00
Mario Hüttel b2b1702670 Issue #15: add redundant invers error flag 2020-09-05 20:17:35 +02:00