Commit Graph

734 Commits

Author SHA1 Message Date
Mario Hüttel 1300fe88a4 Shorten wtchdog trigger interval to 1.25 seconds nominal. This will ensure the internal watchdog triggers before the external one 2023-06-09 00:04:32 +02:00
Mario Hüttel df593e2ab2 Merge pull request 'misc-crc-monitor' (#55) from misc-crc-monitor into dev
Reviewed-on: #55
2023-05-23 19:07:21 +02:00
Mario Hüttel 34ad930bd8 Fix mask for misc crc cfg monitor 2023-05-23 19:03:50 +02:00
Mario Hüttel 1c1874abf1 Make safety flag ERR_FLAG_CFG_CRC_MISC trigger panic mode 2023-05-23 18:46:27 +02:00
Mario Hüttel fd2994f9b9 Add err flag cfg crc misc to flag list 2023-05-23 18:32:03 +02:00
Mario Hüttel b6befa70a2 Implement misc CRC monitor to supervise clocks and other system settings 2023-05-23 18:30:27 +02:00
Mario Hüttel dd6a7bef18 Merge pull request 'Pre-Release v0.5' (#54) from dev into master
Reviewed-on: #54
2023-01-03 16:37:53 +01:00
Mario Hüttel a005afaa13 Merge pull request 'Update FatFS in Firmware and Updater RAM Blob' (#53) from update-fatfs into dev
Reviewed-on: #53
2023-01-03 16:32:21 +01:00
Mario Hüttel cadd33d5a4 #48: Update FatFS in RAM code of updater 2023-01-03 15:08:57 +01:00
Mario Hüttel da132028b1 Issue #48: Update FatFS of main firmware to R0.15 2023-01-03 15:02:48 +01:00
Mario Hüttel 2cd4847a57 Merge pull request 'version-rework' (#52) from version-rework into dev
Reviewed-on: #52
2023-01-01 21:23:32 +01:00
Mario Hüttel e335cb42ac Add comment to cmake build step 2023-01-01 21:16:36 +01:00
Mario Hüttel 34c1c3db4e Rework UI to use newly created version handling 2023-01-01 21:12:19 +01:00
Mario Hüttel df70238b36 Remove git_ver define from updater 2023-01-01 21:12:00 +01:00
Mario Hüttel 2c2e4c1484 Add compile date and time to version.c 2023-01-01 21:07:10 +01:00
Mario Hüttel 767aa75c25 Make git a required build dependency 2023-01-01 21:04:03 +01:00
Mario Hüttel 745e7db78f Add version c file that includes a generated file during build 2023-01-01 21:02:49 +01:00
Mario Hüttel 9c0cbb107b Add script to generate header file containing version and commit hash 2023-01-01 20:45:57 +01:00
Mario Hüttel d48ccf1612 Fix #50: Enable core cycle counter 2023-01-01 20:18:39 +01:00
Mario Hüttel fd12faff75 Merge pull request 'Update develop. Ready for pre-release v0.4' (#49) from dev into master
Reviewed-on: #49
2022-12-31 20:39:51 +01:00
Mario Hüttel 5ad1d574ff Fix #46: Fix update bug of GUI. Works now 2022-12-31 20:38:22 +01:00
Mario Hüttel f95ad1729e Fix buf on sd mounting handling 2022-12-31 20:29:22 +01:00
Mario Hüttel b18186423f Fix #46: Add SD status to GUI 2022-12-31 20:22:41 +01:00
Mario Hüttel ec2d3da4cb Add missing header file required for memset() 2022-12-31 20:22:08 +01:00
Mario Hüttel 5e00441d99 Add separate source file handling the mounting of the SD card. This will give proper access to the GUI to check whether an SD is mounted 2022-12-31 20:18:34 +01:00
Mario Hüttel e91b33f379 Remove old CRC patcher 2022-12-31 19:56:33 +01:00
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