Commit Graph

708 Commits

Author SHA1 Message Date
Mario Hüttel b621c66378 Update Flag Weights
* Fix #47: Update flash and data CRCs to trigger panic mode
* Update meas ADC CRC flag to stop PID
* Update safety ADC CRC flag to trigger panic mode
2022-12-31 19:53:45 +01:00
Mario Hüttel 8ff402caaa Merge branch 'dev' of git.shimatta.de:mhu/reflow-oven-control-sw into dev 2022-12-31 19:43:41 +01:00
Mario Hüttel aade3288eb Update doxygen headers in config parser 2022-12-31 19:43:37 +01:00
Mario Hüttel 049afbd66f Merge pull request 'Use patchelfcrc program for CRC patching.' (#45) from port-to-patchelfcrc into dev
Reviewed-on: #45
2022-12-31 19:42:54 +01:00
Mario Hüttel 240b1ffc8f Update gitignore for use with vscode and clangd 2022-12-31 19:25:55 +01:00
Mario Hüttel f46044e5fc Remove mthumb-interwork from GCC command line. It is not neededfor CM4 cores 2022-12-31 19:24:27 +01:00
Mario Hüttel 354c26ca67 Change Build step to use pathcelfcrc program instead of python script 2022-10-25 21:23:02 +02:00
Mario Hüttel 6570d217c7 Separate flash CRC checker from safety controller and implement shell command to calculate CRCs 2022-09-22 21:16:41 +02:00
Mario Hüttel aeffb9df99 Update C file generator script 2022-09-22 21:16:07 +02:00
Mario Hüttel ad3de6e6b7 Improve HW version detect code. Funtionally equivalent 2022-08-09 00:23:55 +02:00
Mario Hüttel ab5fd6433e Rename python file to snake case 2022-08-09 00:23:23 +02:00
Mario Hüttel 35542f56cb Add pylintrc and fix style problems in crc patcher 2022-08-09 00:21:57 +02:00
Mario Hüttel f9b9a3c685 Add compile error for configuration mistake 2022-07-30 16:45:26 +02:00
Mario Hüttel aaed95cc95 Restructure safety handle function. Now returns worst flag state set. Used to blink LED 2022-07-30 16:04:46 +02:00
Mario Hüttel 6ac108e1b2 make LED blink if error that stop the PID are present 2022-07-30 15:53:04 +02:00
Mario Hüttel 7a36b597be Add comment to function 2022-07-30 15:52:47 +02:00
Mario Hüttel 00b8d1f48e Fix style issues in config-parser.c 2022-07-16 15:14:35 +02:00
Mario Hüttel 8ac1d52240 Fix style issues in spi-eeprom.c/h 2022-07-16 15:09:41 +02:00
Mario Hüttel 3e82cf69b4 Fix style in settings-sd-card.c 2022-07-16 15:07:33 +02:00
Mario Hüttel 62b256fd18 Fix style in settings-sd-card.c 2022-07-16 15:07:01 +02:00
Mario Hüttel 74111826a0 Fix style in settings-eeprom.c 2022-07-16 15:04:09 +02:00
Mario Hüttel 69d7724c8f Fix style problems in settings.c 2022-07-16 14:46:44 +02:00
Mario Hüttel 48f69d0fb5 Fix style issues in watchdog.c 2022-07-16 14:44:55 +02:00
Mario Hüttel 8fd924829e Fix style problems in stack-check.c 2022-07-16 14:43:29 +02:00
Mario Hüttel ba8072c21d Fix style problems in safety-memory.c 2022-07-16 14:40:54 +02:00
Mario Hüttel 5ddae7efee Fiy style issues 2022-07-16 13:01:38 +02:00
Mario Hüttel 14ea4d22fe Fix style issues in STM peripheral drivers 2022-07-16 12:46:52 +02:00
Mario Hüttel d5780500f3 Update C-style checker 2022-07-16 12:38:37 +02:00
Mario Hüttel d4d654e8dd Add additional debug info to version command and add CPU cycle counter to cc instruction's output 2022-07-13 19:47:16 +02:00
Mario Hüttel 8a62ed2ea7 Fix wrong short shell command for setting baudrate 2022-06-09 18:44:39 +02:00
Mario Hüttel 7d43b4130c Add connector info to LCD GUI. So TX and RX of UART can be found without looking at the schematic. 2022-06-09 18:18:30 +02:00
Mario Hüttel 835faf7e4e Merge pull request 'enhancement/39-digio-cmd-profile-language' (#44) from enhancement/39-digio-cmd-profile-language into dev
Reviewed-on: #44
2021-12-26 21:20:15 +01:00
Mario Hüttel 2957a42cef Fix indetation in header file 2021-12-26 20:59:08 +01:00
Mario Hüttel 1e45c8b5d7 Issue #39: Implement DIGIO profile commands 2021-12-26 20:54:04 +01:00
Mario Hüttel 3bb4607798 digio: Make digio check if an port to set is an output port. 2021-12-26 20:40:28 +01:00
Mario Hüttel a8a622df25 Make temperture profile executer reset the DIGIO settings after profile execution/abort 2021-12-26 20:36:49 +01:00
Mario Hüttel 45f91a7c5a Add commands for DIGIO channels to profile parser and add base construct to the profile interpreter 2021-12-26 20:27:20 +01:00
Mario Hüttel bf6a222c9d Merge branch 'feature/42-update-fatfs' of mhu/reflow-oven-control-sw into dev 2021-12-16 20:55:34 +01:00
Mario Hüttel ef534746f8 Update updater to newest fatfs and enable exfat support 2021-12-16 20:47:08 +01:00
Mario Hüttel 8cd47aeed5 Add new FatFS implementation 2021-12-16 20:41:10 +01:00
Mario Hüttel 1291b0fb6a Add FatFS license 2021-12-16 20:28:39 +01:00
Mario Hüttel b6a2790a59 cleanup code and write a little documentation 2021-11-28 23:40:43 +01:00
Mario Hüttel 7bfa0732db Fix wrong register bit in flash writer. This actually didn't result in an error but it's better to fix it either way. 2021-11-28 23:11:40 +01:00
Mario Hüttel 0dace23021 Bugfix: Fix null pointer access in temp profile parser 2021-11-27 19:24:51 +01:00
Mario Hüttel c78477296a Bugfix: Fix hardfault when update menu is opened and no hex file is located on disk 2021-11-27 18:47:17 +01:00
Mario Hüttel 96e0931c9f Add a bunch of stuff: Add baudrate reconfig command to shell and move the uart to separate C file 2021-11-27 17:41:11 +01:00
Mario Hüttel 6b9b7d78a0 Add v1.3.1 to supported hardware revisions 2021-10-24 21:59:44 +02:00
Mario Hüttel 22bb227bc7 Add a few comments 2021-10-24 14:50:07 +02:00
Mario Hüttel 78f24f7338 Add LCD output to shell function 'Emulate UI' 2021-10-24 14:47:52 +02:00
Mario Hüttel e3a552248d Make a wrong size of the flashcrc struct an error becuase it might lead to misaligned CRCs in the structure 2021-10-23 21:26:01 +02:00