Commit Graph

2804 Commits

Author SHA1 Message Date
rusEFI LLC 2519b3fa53 hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only: work-around
2024-04-22 18:27:26 -04:00
rusEFI LLC 60d163207c hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only: more madness
2024-04-22 13:33:18 -04:00
rusEFI LLC 078376fe71 hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only: more madness
2024-04-22 12:45:19 -04:00
rusEFI LLC ea7cb49777 hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only: let's not trust anyone
2024-04-22 10:57:14 -04:00
rusefillc 337f2ea588 hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only: allowing override if we ever need it
2024-04-22 09:16:05 -04:00
rusefillc d0e959ea92 only: dead define 2024-04-22 09:15:11 -04:00
Andrey 5a0761f533 hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only:saving sensorVolts
2024-04-21 20:56:36 -04:00
rusefillc f981d04c44 hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only:saving sensorVolts
2024-04-21 20:15:56 -04:00
rusefillc 9105d5e17a docs 2024-04-21 19:40:40 -04:00
GitHub gen-configs Action 3f37d6a6a6 Auto-generated configs and docs 2024-04-20 12:29:19 +00:00
Andrey Gusakov aff9381a94 can_category: MEGASQUIRT 2024-04-20 08:19:51 -04:00
rusefi e72be7feae only:making TM_ID_GetFlashSize more available 2024-04-18 19:28:59 -04:00
rusefi 088a11b6de moving OpenBLT IDs a bit up to reduce chance of conflict on random OEM, take two
only:small-can-board
2024-04-15 00:55:54 -04:00
rusefi 3a311a4c55 moving OpenBLT IDs a bit up to reduce chance of conflict on random OEM, take two
only:small-can-board
2024-04-15 00:44:21 -04:00
rusefi 2a3757b729 moving OpenBLT IDs a bit up to reduce chance of conflict on random OEM
only:small-can-board
2024-04-13 19:48:12 -04:00
rusefillc 7d650e1387 only: preparing to reduce magic number duplication 2024-04-13 13:49:04 -04:00
rusefillc 4ddb23cda9 only: power management for SD card MSD 2024-04-13 12:11:19 -04:00
rusefillc eaf2f7844f only: wait until board has turned itself on 2024-04-12 21:43:07 -04:00
rusefi 93b3759a42 only: ButtonDebounce inverted API 2024-04-12 00:28:13 -04:00
rusefillc a261df644b stepper parking times into logs 2024-04-11 12:24:29 -04:00
rusefillc 02cd55bb8f only: docs 2024-04-10 19:41:03 -04:00
rusefi d594502594 only: 'void'? 2024-04-06 21:23:02 -04:00
rusefi d40e7d3d04 only: making "spi loopback test failed" less annoying 2024-04-04 23:56:37 -04:00
rusefi c9b3534999 only: making "spi loopback test failed" less annoying 2024-04-04 22:36:49 -04:00
rusefillc 969887b87e EFI_DFU_JUMP 2024-04-03 08:29:45 -04:00
rusefillc d96b267eed CanTxMessage::setArray 2024-04-03 00:06:42 -04:00
Matthew Kennedy 4696848ad4 we often mean inline when we say static 2024-03-29 11:56:52 -04:00
rusefillc 2a114b4f95 PUBLIC_API_WEAK 2024-03-24 22:06:58 -04:00
Andrey Gusakov 4c7cd85f8b OpenBLT: shared: commit data cache on SharedParamsWriteByIndex() 2024-03-24 15:54:59 -04:00
andreika-git b3084a4207 delay=0 for 2chan https://github.com/rusefi/rusefi/issues/6246 2024-03-22 09:09:17 -04:00
andreika-git d5f2e98b1d Allow to connect to OpenBLT in normal boot mode https://github.com/rusefi/rusefi/issues/6246 2024-03-22 09:09:17 -04:00
rusefillc a5278476a4 only:cleaner guards 2024-03-15 22:26:36 -06:00
Andrey cc161fb029 better guards 2024-03-15 19:04:46 -06:00
Andrey cd74860f37 only: better guards 2024-03-15 18:50:01 -06:00
rusefillc 8a5ba90692 cleaner guards 2024-03-15 14:15:53 -06:00
rusefillc 826bf8e308 only:cleaner guards 2024-03-15 11:46:56 -06:00
rusefillc 8f08aee62f cleaner guards 2024-03-15 08:49:09 -06:00
Matthew Kennedy ee4b0af655 WiFi tweaks
* batch all wifi in to one write

* writeCrcPacket already chunks the response, so we don't really need it, but limit maximum TCP write size

* format cleanup

* don't cache wifi stuff (for now)

* h7 fiddling
2024-03-12 20:18:26 -04:00
Andrey Gusakov f9e0dddc4c max3185x: compare not assign 2024-03-12 19:45:18 -04:00
Andrey Gusakov 8972fedb41 max3185x: show device type 2024-03-12 19:45:18 -04:00
andreika-git 094ca97373 Enable CAN for OpenBLT https://github.com/rusefi/rusefi/issues/6043 2024-03-12 09:13:30 -04:00
Andrey Gusakov c13897a2d1 max3185x: human indexing 2024-03-11 16:54:58 -04:00
Andrey Gusakov 33adccc038 max3185x: typo fix 2024-03-11 16:54:58 -04:00
Andrey Gusakov 247bf24a20 max3185x: restart driver thread on settings change 2024-03-11 16:54:58 -04:00
Andrey Gusakov cfdb571515 max3185x: improve debug output 2024-03-11 16:54:58 -04:00
rusefillc b089ddae5a only: minor EGT 2024-03-10 18:40:11 -04:00
rusefillc 0da2644ea8 minor EGT 2024-03-10 15:20:49 -04:00
Andrey Gusakov 9f187ef455 max3185x: fix negative values for max31856 2024-03-10 12:56:03 -04:00
Andrey Gusakov 38d7430362 max3185x: lower SPI clock, fix divider 2024-03-10 12:56:03 -04:00
Andrey Gusakov 56d46e5fbe max31855: also support max31856 2024-03-10 12:56:03 -04:00
Andrey Gusakov 8b63ff269e max31855: temperatures can be negative 2024-03-10 12:56:03 -04:00
Andrey Gusakov 9fc1806ed6 max31855/egt: migrate to SensorType framework 2024-03-09 08:55:29 -05:00
Andrey Gusakov b7d0dbd327 max31855: cleanups 2024-03-09 08:55:24 -05:00
Andrey Gusakov 452c600b18 max31855: typo fix 2024-03-09 08:02:43 -05:00
Andrey Gusakov 82784a3b8b max31855: report EGT with 0.25C resolution 2024-03-09 06:24:26 -05:00
Andrey Gusakov fd417db528 max31855: incapsulate 2024-03-09 06:24:26 -05:00
rusefillc 9565918780 only:flexibility fix 2024-03-08 22:54:39 -05:00
rusefillc b464f32bc9 flexibility 2024-03-08 21:56:11 -05:00
Andrey Gusakov b79b6cf74b trigger_input_exti: fix comment position 2024-03-05 17:09:10 -05:00
Andrey Gusakov 8871bd18b8 adcTriggerTurnOnInputPin: isBrainPinValid() checked at caller 2024-03-05 17:09:10 -05:00
Andrey Gusakov 983b2222af trigger_input_adc: respect efiExtiEnablePin() ret value 2024-03-05 17:09:10 -05:00
Andrey Gusakov 83d6d9e7d8 extiTriggerTurnOnInputPin: respect efiExtiEnablePin() return value 2024-03-05 17:09:10 -05:00
Andrey Gusakov f4cd6de86d efiExtiEnablePin: return status to caller 2024-03-05 17:09:10 -05:00
Andrey Gusakov b499c8b519 ports: chconf_stm32.h for stm32, add its location to includes path 2024-03-03 13:02:38 -05:00
Andrey Gusakov e5041792a2 at3@: use STM32's chconf.h 2024-03-03 13:02:38 -05:00
Andrey Gusakov 68e07a6341 stm32: common ChibiOS config 2024-03-03 13:02:38 -05:00
Andrey Gusakov 26452365c8 stm32: mcuconf_community.h no longer used? 2024-03-03 12:26:33 -05:00
Andrey Gusakov adc9c4fc8a spi initialization: clean-up, rework, no logic changes 2024-03-03 11:37:19 -05:00
Andrey Gusakov 5068f99863 spi pin helpers: common for all ports, extend for SPI4,5,6 2024-03-03 11:37:19 -05:00
Andrey Gusakov de96d8ba06 one-based indexing enums is not cool
Fixes possible out of array bounds introduced in 5af710ff73
2024-03-02 15:50:27 -05:00
Matthew Kennedy 24c1b78ecd implement TS console over ATWINC1500 WiFi 2024-03-01 20:26:35 -05:00
pchmura4 cde34fe61e Fixes 2024-02-28 12:17:17 -05:00
rusefillc c6d883cf5b flexibility 2024-02-27 15:09:39 -05:00
rusefillc 2fb21c81c6 support spi4/5/6 2024-02-26 18:45:19 -05:00
rusefillc 5af710ff73 magic constant bad 2024-02-26 18:37:53 -05:00
Matthew Kennedy 3627276f58 support spi4/5/6 2024-02-26 18:36:26 -05:00
rusefillc cfbcedfe2a CanTxMessage::setShortValueMsb 2024-02-26 18:25:14 -05:00
pchmura4 c81f22ac90 Added missing code to enable SPI4/5/6 2024-02-26 14:51:51 -05:00
pchmura4 1e76efdb1a Reverted change in common area 2024-02-26 14:51:51 -05:00
pchmura4 881a8905d4 Changes to enable SPI4, SPI5 and SPI6 2024-02-26 14:51:51 -05:00
rusefillc 8bd5e5c6f5 only: https://www.youtube.com/watch?v=T6JFTmQCFHg 2024-02-26 14:51:01 -05:00
Andrey 9bd8ed1e08 we do not use dynamic threads 2024-02-25 16:25:35 -05:00
rusefillc 536f1d61ec only:boardInitHardwareExtra 2024-02-24 18:28:20 -05:00
Andrey Gusakov 8e45c4982b TODO for H7 2024-02-24 08:48:21 -05:00
Andrey Gusakov 2644147655 Stop microsecond TIM clock when CPU is halted by debuger
To avoid "gap in time" error during debug
2024-02-24 08:48:21 -05:00
David Holdeman b6ad92faba replace SHORT_BOARDNAME with SHORT_BOARD_NAME 2024-02-12 20:08:57 -05:00
rusefillc 96d63adf4a only:making technical debt more obvious 2024-02-12 10:00:08 -05:00
rusefillc 30c903e9ca only:accelerometer refactoring & docs 2024-02-12 10:00:08 -05:00
Andrey Gusakov 89e17fe083 accelerometers: hide variables under guard 2024-02-12 09:49:05 -05:00
Andrey Gusakov 11c0b96c7d accelerometer: add support for lis302dl and lis3dsh, autodetection 2024-02-12 09:49:05 -05:00
Andrey Gusakov da8244a97a Styling 2024-02-12 09:49:05 -05:00
Andrey 5a258a69c4 refactoring: explicit struct for error-related info 2024-02-08 22:03:35 -05:00
Andrey a9dbd1bbf7 only:cypress 2024-02-08 10:14:36 -05:00
Matthew Kennedy 69bef3ab92 enum class-ify 2024-02-07 21:27:19 -05:00
rusefillc 08019344ba only:few dead lines 2024-02-07 21:24:38 -05:00
Andrey Gusakov c75ef47076 can_msg_tx: fix canChannel unused 2024-02-05 10:14:17 -05:00
Andrey Gusakov 483056746c gpio diagnostic: use PIN_UNKNOWN for pins with no diagsotic 2024-02-05 07:56:10 -05:00
rusefillc 21a2033574 Possible bug around _OpenBLT_Shared_Params on F7? fix #5905 2024-02-04 08:53:14 -05:00
Andrey Gusakov 94f08047df EGT: max31855: run driver as a thread instead of slow callback
So do not call SPI communication from ISR context.
Also fix minor bus in driver:
 - one spi config struct for all chips
 - init spi config struct with some valid data (to be tested)
2024-02-02 23:17:56 -05:00
Andrey Gusakov 84ac47c4af ports: add initSpiCs helper that does not mak pin used 2024-02-02 23:17:56 -05:00
Matthew Kennedy 46a7cae403 oops missed mcuconf 2024-02-02 14:51:06 -05:00
rusefillc 324378f252 LUA code and EGT makes ECU to hang fix #5889 2024-01-30 17:39:50 -05:00
rusefi 4f27dc8e77 this helps bootloader? 2024-01-29 20:38:21 -05:00
rusefillc 9b7b97cf04 this helps bootloader? 2024-01-29 20:03:19 -05:00
rusefillc cccb580de1 this helps bootloader? 2024-01-29 19:34:35 -05:00
andreika-git 49e1a5f95b Disable upload for OpenBLT 2024-01-24 10:53:42 -05:00
Matthew Kennedy 3315aa9434 unused parameters 2024-01-07 22:36:20 -05:00
Andrey Gusakov 63f8755820 mc33810: diagnostic for GPGD mode, comments, ops number two 2024-01-04 12:09:12 -05:00
Andrey Gusakov 0a4d330483 mx33810: ups 2024-01-04 12:09:12 -05:00
Andrey Gusakov bf67476c9c mc33810: reset command 2024-01-03 16:40:52 -05:00
Andrey Gusakov 5935811a66 mc33810: GPGD/Ignition, recovery settings to TS 2024-01-03 16:40:52 -05:00
Andrey Gusakov 9abe6085ce mc33810: dwell settings 2024-01-03 16:40:52 -05:00
Andrey Gusakov 87280dcc11 mc33810: check replies 2024-01-03 16:40:52 -05:00
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
andreika-git 04779c374f move causeHardFault() to arm_common.cpp 2023-11-14 15:28:07 -06:00
andreika-git aa7265a5bf causeHardFault() function for different ports 2023-11-14 15:28:07 -06:00
Andrey Gusakov 814b94dd4b AT32: definetly not isStm32F42x() 2023-11-12 13:08:25 -06:00
Andrey Gusakov e08a311fa7 guards: EFI_BACKUP_SRAM 2023-11-12 13:08:25 -06:00
Andrey Gusakov 4634a741c2 at32: at32_common: reuse some parts from STM32
This is temporally, some parts are quite different and need rework
2023-11-12 13:08:25 -06:00
Andrey Gusakov 5a11a2a2b4 stm32_common: divide into parts for easy reuse 2023-11-12 13:08:25 -06:00
Andrey Gusakov 5faa4304ab ports: at32: allow boards to disable OTG ports 2023-11-11 16:12:29 -05:00
Andrey Gusakov 1ff029a6fb port: at32: allow STM32_SERIAL_USE_USART1 override from board 2023-11-11 16:12:29 -05:00
Andrey Gusakov fa1aeb700a port: at32: we do not like UART mode for console 2023-11-11 16:12:29 -05:00
Andrey a1e407706d Something kia rio starter 4chan #5701
definitely better multithreading behaviour and better readability
2023-11-09 00:33:16 -05:00
rusefi b856e5306d Something kia rio starter 4chan #5701
only:alphax-4chan_f7
2023-11-08 23:31:56 -05:00
rusefillc ec6e711745 Something kia rio starter 4chan #5701
another last step before debugger?
2023-11-08 22:21:51 -05:00
rusefi 9a5ec27c54 only:cleaner defines 2023-11-05 18:20:12 -05:00
rusefi e82fe52ac1 https://github.com/rusefi/alphax-8chan/issues/122
only:alphax-8chan
2023-11-05 13:32:06 -05:00
Andrey Gusakov bb161be8e8 AT32: say RAM size 2023-11-05 07:16:57 -05:00
rusefillc 5e1f66c1b9 only:Unit Tests on Windows 2023-11-04 18:48:46 -04:00
rusefi 1bbff802a6 only:Unit Tests on Windows 2023-11-04 13:30:57 -04:00
rusefillc 23fbc3f8f4 only:Unit Tests on Windows 2023-11-04 13:18:55 -04:00
rusefillc c5c62a42c0 better guards 2023-11-04 13:05:08 -04:00
rusefillc 2d9b835768 better guards 2023-11-04 09:45:22 -04:00
rusefillc 12e6c18c4e better guards 2023-11-04 09:45:14 -04:00
rusefillc 3d48982b1f only:Unit Tests on Windows 2023-11-04 09:42:49 -04:00
andreika-git 525d8355b3 trigger_input_comp is now ready for unused-vars 2023-11-03 15:47:40 -04:00
Andrey G ed8af771ac
at_start_f435: enable MFS for internal flash (#5687)
* Rename EFI_INTERNAL_FLASH to EFI_STORAGE_INT_FLASH

This define enables use of RE custom flash driver for storing
settings to internal flash.

* at_start_f435: enable MFS for settings storing in internal flash

* MRE: fix special build

* kinetis: fix flash_int.cpp vs flash_int.c mess

* at32: allow allowFlashWhileRunning()

* flash_main: supress warning
2023-11-03 13:08:35 -04:00
Andrey 4eefedcec2 unused-variable is a nice error message to have #5683 2023-11-02 20:48:57 -04:00
Andrey b70f8f0b92 unused-variable is a nice error message to have #5683 2023-11-02 18:31:03 -04:00
Andrey cdfee38284 clean-up 2023-11-02 11:26:29 -04:00
rusefillc b13a243af7 only:variable shadowing should be avoided #5676 2023-11-01 17:02:24 -04:00
rusefillc 54297824e0 only:variable shadowing should be avoided #5676 2023-11-01 16:25:30 -04:00
rusefillc e384914c95 only:variable shadowing should be avoided #5676 2023-11-01 13:02:20 -04:00
rusefillc 35e57475a4 only:variable shadowing should be avoided #5676 2023-11-01 12:12:50 -04:00
rusefillc 91ba507d4b only:variable shadowing should be avoided #5676 2023-11-01 12:07:00 -04:00
rusefillc 781a236885 only:shall we be just a little less Toyota 2023-11-01 10:32:53 -04:00
rusefillc 2e62e6fc91 only:shall we be just a little less Toyota 2023-11-01 10:21:27 -04:00
rusefillc 198c9e8f57 only:shall we be just a little less Toyota 2023-11-01 10:09:04 -04:00
rusefi 6b97f23eae pursuit of truth 2023-10-31 09:36:45 -04:00
Stefan de Kraker 4b64e0e087 Fixed CAN data bus selection
* Fixed CAN data bus selection

* Made canChannel non-optional
2023-10-31 01:42:47 -04:00