Commit Graph

2541 Commits

Author SHA1 Message Date
Andrey Gusakov 86f2295151 mc33810: divide chip_init() into chip_init() and chip_init_data()
First one is called for chip reinit. Second one called only once
on start to parse config data.
2024-01-03 16:40:52 -05:00
Andrey Gusakov 7dc1c78bf5 mc33810: tabs please
and other styling
2024-01-03 16:40:52 -05:00
Andrey Gusakov 1cf0380356 gpio: core: fix comments 2024-01-03 07:45:32 -05:00
rusefillc ad247db155 only: bad pasta 2024-01-02 23:08:34 -05:00
rusefillc dd0606fc76 RAMDISK_INVALID guard 2023-12-30 21:48:13 -05:00
andreika-git 7c86c0d7d3 fix logHardFault for BL and cleanup 2023-12-30 16:22:30 -05:00
andreika-git 13b02d1184 port makefiles 2023-12-30 16:22:30 -05:00
andreika-git 7abb91631a USB for BL is on RS232 2023-12-30 16:22:30 -05:00
andreika-git 3118bbe0d0 more port-specific files for BL 2023-12-30 16:22:30 -05:00
andreika-git a572407e03 port-specific files for BL 2023-12-30 16:22:30 -05:00
rusefillc 18f4f96c93 bootloader 2023-12-30 16:22:30 -05:00
andreika-git 1585cb2137 Fix subaru_eg33 for OpenBLT 2023-12-30 16:16:10 -05:00
rusefillc a3f3f536e8 openblt preparation 2023-12-29 17:55:50 -05:00
andreika-git e695fa6778 BL doesn't know efiPrintf 2023-12-29 17:15:57 -05:00
rusefi 6f6b21472c only:mc33810maxDwellTimer 2023-12-26 19:54:27 -05:00
rusefi 53e1b0531a only:MC33810 periodic check of comms 2023-12-26 18:58:36 -05:00
rusefi 42315a55e6 only:MC33810 extracting check_comm() method 2023-12-26 18:57:15 -05:00
rusefi f402e0519b only:MC33810_FAILED usage 2023-12-26 17:45:20 -05:00
rusefillc 8c201022b7 bootloader 2023-12-26 15:27:30 -05:00
Matthew Kennedy 054375c838 bootloader 2023-12-26 15:19:39 -05:00
rusefi 80edd13485 only:one step less verbose mc33810 2023-12-25 21:46:26 -05:00
Andrey ab6011aa8b only:explicit error if attempting to write unknown smart pin 2023-12-25 17:40:18 -05:00
rusefillc 3b5438fa0b only:explicit error if attempting to write unknown smart pin 2023-12-25 16:22:11 -05:00
rusefillc ef254f1a3a only:code style and verbose 2023-12-25 16:13:15 -05:00
rusefillc 55ed9eee93 smart chips in QC 2023-12-24 21:34:31 -05:00
rusefi 943b9dcc14 only:smart chips in QC 2023-12-24 19:44:38 -05:00
rusefillc 9b4f96feee only: mc33810: only bind pins once 2023-12-24 11:51:27 -05:00
rusefi 86ce6a73d7 only:smart chip observability 2023-12-21 01:20:27 -05:00
rusefillc 0052b6a2cd mc33810 mark for reinit if fails 2023-12-20 13:24:04 -05:00
rusefillc 435b38cd7b mc33810: moving init to thread 2023-12-20 13:24:04 -05:00
rusefillc 5d7d97ff7d only:mc33810 renames 2023-12-20 08:55:15 -05:00
rusefillc 91987ba8fb only: code style 2023-12-19 23:47:19 -05:00
rusefillc 7721518418 progress 2023-12-19 14:51:58 -05:00
rusefillc b9a0aea64a typo 2023-12-19 14:51:53 -05:00
rusefillc f11e52a402 only: pulling most useful fields up 2023-12-19 13:50:27 -05:00
rusefi 922defde35 only: smart chips: having pins mark as used helps with troubleshooting 2023-12-18 22:39:51 -05:00
Andrey Gusakov 6b957e33b7 IMU: select CAN vs SPI 2023-12-18 12:00:48 -05:00
rusefillc f54d7d56bc only:nicer error message 2023-12-18 00:39:05 -05:00
rusefi b141199292 some logging and some setting safety 2023-12-17 08:51:56 -05:00
Andrey Gusakov 54e6e12936 Accelerometer: no annoing printf 2023-12-16 11:50:34 -05:00
Andrey Gusakov 10093dca6e CodeQL ? 2023-12-16 11:50:34 -05:00
Andrey Gusakov 92030fb5a0 mmc_card: use blk* wrappers 2023-12-16 11:50:34 -05:00
Andrey Gusakov 99e3b21da0 mmc_card: no not lock SPI if MMC_USE_MUTUAL_EXCLUSION enabled 2023-12-16 11:50:34 -05:00
Andrey Gusakov 846e2391d1 Accelerometer: add support for LIS2DH12 (LSM303AGR driver) 2023-12-16 11:50:34 -05:00
Andrey Gusakov a5c7895528 sensors: accelerometer: use ChibiOS's lis2dw12 driver 2023-12-16 11:50:34 -05:00
Andrey Gusakov e80c57fa5f EFI_MEMS -> EFI_ONBOARD_MEMS 2023-12-16 11:50:34 -05:00
rusefillc 6e945f60b6 stm32 own build-in watchdog #1339
only:mre_f4
2023-12-14 10:54:21 -05:00
andreika-git 62077e4c85 Enable WDG only for F4 2023-12-14 02:04:48 -05:00
andreika-git 27bddc7dc5 disable WDG for Cypress & Kinetis 2023-12-14 02:04:48 -05:00
andreika-git 06aaef0b0d enable STM32_WDG_USE_IWDG for H7 and AT32 2023-12-14 02:04:48 -05:00
andreika-git 8ff9b63022 Enable watchdog (see https://github.com/rusefi/rusefi/pull/5751) 2023-12-14 02:04:48 -05:00
Andrey Gusakov c7fe53e107 Rename LIS302DLCsPin to accelerometerCsPin 2023-12-14 00:31:46 -05:00
andreika-git f6e30ba38c help compiler 2023-12-13 09:01:41 -05:00
andreika-git bdbebeef55 Reset Cause for H7 2023-12-13 09:01:41 -05:00
andreika-git a64fda548f EFI_PROD_CODE guards 2023-12-13 09:01:41 -05:00
andreika-git cc00e948ad more flexible #define STM32_WDG_USE_IWDG 2023-12-13 09:01:41 -05:00
andreika-git 65b9ee94aa reset cause stub for other archs 2023-12-13 09:01:41 -05:00
andreika-git 60a2aae2e1 Reset cause for STM32 2023-12-13 09:01:41 -05:00
rusefillc c7b155d97f small-can FW is not well #5787
seems to be about EFI_ENGINE_CONTROL guarding too much of default settings
only:small-can-board
2023-12-13 00:15:43 -05:00
rusefillc c0b635936e detailed unhappy message
only:mre_f4
2023-12-12 21:20:46 -05:00
rusefillc de22b4c09b better logging
only:mre_f4
2023-12-12 18:24:42 -05:00
rusefillc 6b8f8a2dd9 explicit happy message
only:mre_f4
2023-12-12 16:13:36 -05:00
Andrey Gusakov 4aa779eaca Style 2023-12-12 15:06:56 -05:00
rusefillc 699d588849 https://github.com/rusefi/alphax-4chan/issues/166
only:alphax_4chan
2023-12-12 14:10:57 -05:00
rusefillc 28a273cae7 refactoring: better method name 2023-12-10 11:48:48 -05:00
rusefillc 1dc5788a2e H7?
only:hellen81
2023-12-06 19:18:05 -05:00
Andrey Gusakov 15790593e2 Guards for H7 2023-12-06 19:18:05 -05:00
Andrey Gusakov b87f1e8174 CAN: show low-level error counters and flags
STM32 only
2023-12-06 19:18:05 -05:00
rusefi 70f7f856bb only:typos 2023-12-02 12:44:04 -05:00
rusefillc 2e7d1e6ddb reusing existing magic 2023-12-02 12:09:34 -05:00
andreika-git f534d11f9e Move X_CALLBACK_PERIOD_MS to engine_controller.h 2023-11-29 09:59:15 -05:00
andreika-git 74b2ff6468 code smell: watchdog magic constants https://github.com/rusefi/rusefi/issues/5758 2023-11-29 09:59:15 -05:00
andreika-git 0e90a5c9c8 use Timer for watchdog reset 2023-11-28 15:49:12 -05:00
andreika-git da9d83ec8b watchdog stub for cypress/kinetis 2023-11-28 15:49:12 -05:00
andreika-git 955ff6cea6 Simulator watchdog stub 2023-11-28 15:49:12 -05:00
andreika-git 585ca0c829 Initial support for watchdog 2023-11-28 15:49:12 -05:00
Matthew Kennedy d31f535ca3 sanity in IMU data names/ranges 2023-11-27 14:59:21 -05:00
Andrey Gusakov b6c76b21c0 gpio: mc33810: properly configure gpios for OUTEN, DIN* and GIN* 2023-11-24 16:30:40 -05:00
rusefi d359c15075 only:same 'chip.drv_state = MC33810_WAIT_INIT;' twice 2023-11-24 15:19:34 -05:00
Andrey 375d10fb46 only: one step back for unit tests 2023-11-24 15:04:51 -05:00
rusefillc f329f29bc5 much more visible failure in case of failed chip init 2023-11-24 14:41:17 -05:00
rusefillc 101df2cf92 only:better method name 2023-11-24 14:37:01 -05:00
rusefillc 7c68d7a304 only:minor simplification 2023-11-24 14:35:56 -05:00
rusefi 9bf07b500f bench test 33810 module #5745
only:f407-discovery
2023-11-24 11:59:04 -05:00
rusefi 318fc8c358 bench test 33810 module #5745
only:f407-discovery
2023-11-24 11:36:09 -05:00
rusefi 84650679d8 bench test 33810 module #5745
only:f407-discovery
2023-11-23 22:27:08 -05:00
rusefillc aa90ca7f66 bench test 33810 module #5745
only:f407-discovery
2023-11-23 20:51:35 -05:00
rusefi e1a36c3390 bench test 33810 module #5745
only:f407-discovery
2023-11-23 11:57:37 -05:00
rusefi b0361f8884 bench test 33810 module #5745
only:f407-discovery
2023-11-23 11:38:08 -05:00
rusefi b92c57e34d bench test 33810 module #5745
only:f407-discovery
2023-11-23 11:06:49 -05:00
rusefillc ea58a0f2f7 bench test 33810 module #5745 2023-11-23 09:21:56 -05:00
rusefi 27051ade0c only:typo? 2023-11-22 21:19:14 -05:00
rusefillc 6e9f981120 only:todo mc33972 2023-11-21 11:15:56 -05:00
Andrey Gusakov c9c7adbdbc CAN configs are platform specific
Move STM32's configs to stm32_can.cpp
Create AT32's configs in at32_can.cpp
2023-11-19 16:20:11 -05:00
Andrey Gusakov 84cb2aee8d AT32: CAN helpers 2023-11-19 16:20:11 -05:00
Andrey Gusakov 54274d8022 CAN: we need both Rx and Tx pins to be valid 2023-11-19 16:20:11 -05:00
Andrey Gusakov 2cacc1b65c L9779: fix initialization 2023-11-19 16:20:11 -05:00
Andrey Gusakov 19e8d86845 ports: AT32: SPI AF tables, helpers, init code 2023-11-18 11:14:46 -06:00
rusefillc afa1e36f46 only:driver for mc33972 replacement #5733 2023-11-17 12:35:57 -05:00
rusefillc c50be9ecdd undoing noise
only:proteus_f7
2023-11-16 22:36:38 -05:00