Commit Graph

2970 Commits

Author SHA1 Message Date
Andrey Gusakov 5758ea579d adc: minor code cleanups and re-orders 2024-06-25 10:34:22 -04:00
Andrey Gusakov 431e0ea56a ports: stm32: add ADC3 enums, add getAdcInternalChannel() helper 2024-06-25 10:34:22 -04:00
Andrey Gusakov 2a7f143104 ADC: extract on-chip driver code to separate file 2024-06-25 07:18:43 -04:00
Andrey Gusakov d1a1f4045a ADC: extend AdcToken 2024-06-25 07:18:43 -04:00
Andrey Gusakov 2ee8ef338a adc: incapsulate some private data 2024-06-25 07:18:43 -04:00
Andrey Gusakov 29d478235d gpio: core: dump gpiochips_debug() return void 2024-06-24 07:05:31 -04:00
Andrey Gusakov c4647511a4 gpio:tle9104: handle and reinit on WD and POR 2024-06-24 07:05:31 -04:00
Andrey Gusakov 986463cbb1 gpio: tle9104: implement debug() 2024-06-24 07:05:31 -04:00
Andrey Gusakov 3fa3f1ab8c gpio: core: implement debug() hook for gpio chips 2024-06-24 07:05:31 -04:00
Andrey Gusakov f1df6c8138 tle9104: add spi_rw_array 2024-06-24 07:05:31 -04:00
Andrey Gusakov 5322fc051c gpio: tle9104: fix for disabled spi 2024-06-22 11:37:16 -04:00
Andrey Gusakov 66db9f6a34 gpio: tle9104: fix simulator 2024-06-22 11:37:16 -04:00
Andrey Gusakov b7ca018a8c gpio: tle9104: dead code 2024-06-22 11:37:16 -04:00
Andrey Gusakov dfdd7aa6bd smart_gpio: tle9104 is smart gpio chip 2024-06-22 11:37:16 -04:00
Andrey Gusakov 73ad7a2b11 gpio: tle9104: fix parity calculation for RX data 2024-06-22 11:37:16 -04:00
Andrey Gusakov f9a45515a6 gpio: tle9104: minor cleanups 2024-06-22 11:37:16 -04:00
Andrey Gusakov f4321c065c gpio: tle9104: fix RW bit 2024-06-22 11:37:16 -04:00
Andrey Gusakov 61b48599ac gpio: tle9104: use __builtin_popcount() for parity calculation 2024-06-22 11:37:16 -04:00
Andrey Gusakov e3545bcdc4 gpio: tle9104: TODOs 2024-06-22 11:37:16 -04:00
Andrey Gusakov b9efa23c98 gpio: tle9104: add thread for periodic diagnostic update 2024-06-22 11:37:16 -04:00
Andrey Gusakov d4a44e035b gpio: tle9104: codestyle align with other gpio drivers 2024-06-22 11:37:16 -04:00
Andrey Gusakov 3f983f846c gpio: tle9104: cleanups 2024-06-22 11:37:16 -04:00
Andrey Gusakov 7f052f7e7b gpio: tle9104: handle communication errors 2024-06-22 11:37:16 -04:00
Andrey Gusakov 8a8463fc29 gpio: tle9104: support coexistance with other SPI devices
Release bus after use
2024-06-22 11:37:16 -04:00
Andrey Gusakov 80bf0205db ADC: FastAdcToken rename to AdcToken 2024-06-20 09:45:31 -04:00
Andrey Gusakov 3ac25a82fb ADC: AdcDevice::enableChannel: return channelAdcIndex or error
This value will be used as part of AdcToken for multi ADC support
2024-06-20 08:16:03 -04:00
Andrey Gusakov dbbe6ace0a ADC: AdcConfiguration.h rename to AdcDevice.h 2024-06-20 08:16:03 -04:00
rusefillc 69c0f95125 only:MAX3185X_REFRESH_TIME Ups. 0.1 sec. 2024-06-19 10:09:05 -04:00
Andrey 1131899755 https://github.com/rusefi/rusefi/pull/5394
only:nastyornot
2024-06-17 21:00:55 -04:00
Andrey 6714b63c08 https://github.com/rusefi/rusefi/pull/5394
only:nastyornot
2024-06-17 19:32:21 -04:00
Andrey e927de593e https://github.com/rusefi/rusefi/pull/5394
only:nastyornot
2024-06-17 18:32:56 -04:00
rusefillc ebf178e6ae https://github.com/rusefi/rusefi/pull/5394
only:nastyornot
2024-06-17 15:53:23 -04:00
rusefillc ede66011e5 only:initStartStopButton guard 2024-06-11 15:45:39 -04:00
Andrey 2d03accf4b SERIAL_USB_BUFFERS_SIZE flexibility
only:uaefi
2024-06-11 12:09:44 -04:00
Andrey ec3b767aaa compile-time enforcement of printf strings
only:uaefi
2024-06-11 06:57:27 -06:00
Andrey 53f99bd0a0 compile-time enforcement of printf strings
only:uaefi
2024-06-10 21:05:42 -04:00
Andrey dc6419f4c2 compile-time enforcement of printf strings
only:uaefi
2024-06-10 19:39:54 -04:00
Matthew Kennedy d79a258e23 actually reset the timer in case of <2US timing 2024-06-10 19:39:54 -04:00
Matthew Kennedy f9ba47c244 compile-time enforcement of printf strings 2024-06-10 19:24:45 -04:00
Andrey 782602b059 compile-time enforcement of printf strings
only:uaefi
2024-06-10 19:21:46 -04:00
Matthew Kennedy 27e0a80c82 compile-time enforcement of printf strings
only:uaefi
2024-06-10 19:11:35 -04:00
rusefillc f9faac21f9 only:flexibility 2024-06-07 03:35:44 -04:00
rusefillc a331b5873a dead & spelling 2024-06-07 02:43:31 -04:00
rusefillc e0cfb02ea3 F7 chip size flexibility 2024-06-07 02:28:26 -04:00
rusefillc 3c38230e4f Scheduled timestamp priming error #6588 2024-06-07 01:23:27 -04:00
Andrey 8bc5fbfbaa time for VCS_VERSION to go 2024-05-29 18:10:01 -04:00
Andrey Gusakov 421086a47e mass_storage: allow EFI_USE_COMPRESSED_INI_MSD override 2024-05-27 08:41:17 -04:00
Andrey Gusakov da7be76d66 mc33810: simplify update_output_and_diag() using array rw 2024-05-26 09:59:54 -04:00
Andrey Gusakov 9507af084c mx33810: add NOMI and MAXI settings 2024-05-26 09:59:54 -04:00
Andrey Gusakov d75cd67b4a mc33810: commencts, typos, data types 2024-05-26 09:59:54 -04:00
Andrey Gusakov 49183a53de mc33810: cleanup 08cd715dbf
Keep using isCor()
2024-05-26 09:59:54 -04:00
Andrey Gusakov 20fcd64087 mc33810: tabs please 2024-05-26 09:59:54 -04:00
Andrey 1c5dadeab5 only:helping build 2024-05-26 09:51:32 -04:00
rusefi d653826238 https://github.com/rusefi/hellen125honda-issues/issues/43
only:hellen-honda-k
2024-05-25 22:40:40 -04:00
Andrey a8543c01a7 only:fancy! 2024-05-24 12:26:42 -04:00
Andrey c45425b3ab only:cleaner defines 2024-05-24 12:09:28 -04:00
Andrey 0c9763425d cleaner defines 2024-05-23 18:24:16 -04:00
Andrey 051d619e16 cleaner defines 2024-05-23 18:24:12 -04:00
Andrey ed5ebf6f42 variable shadowing should be avoided in MSGPIO #5676 2024-05-23 11:36:30 -04:00
rusefillc f87926a2b2 only:variable shadowing should be avoided #5676 2024-05-23 10:57:09 -04:00
rusefi 41efca8539 only:hellen154hyundai_f7 2024-05-22 19:50:05 -04:00
rusefi 08cd715dbf only:33810 better error handling 2024-05-22 15:37:19 -04:00
Andrey Gusakov 42e271ed9b drivers: flash: add Winbond W25Q SPI flash driver 2024-05-18 18:04:37 -04:00
Andrey Gusakov a7068ba506 flash: sst26f: move to subfolder 2024-05-18 18:04:37 -04:00
rusefillc b0888cc8b5 https://github.com/rusefi/rusefi-hardware/issues/146
only: a note
2024-05-13 18:44:03 -04:00
Andrey Gusakov d6f3a842ba spi5: use another DMA stream, avoid conflict with ADC1 2024-05-12 19:52:55 -04:00
Andrey Gusakov 3b34f6b81e pins: STM32: extended debug information about on-chip pins 2024-05-12 13:17:44 -04:00
Andrey Gusakov 5837abb4f1 ADC: DMA buffers should be quilified volatile 2024-05-12 10:59:10 -04:00
Andrey Gusakov 75b3a26697 ADC: dead 2024-05-12 10:59:10 -04:00
Andrey Gusakov 5362dedd5b ADC: deduplicate counters, increment counter after conversion done 2024-05-09 17:05:27 -04:00
Andrey Gusakov d04f2cf723 ADC: more clean-up and rearrange 2024-05-09 17:05:27 -04:00
Andrey Gusakov 399cd3f5b7 ADC: dead 2024-05-09 17:05:27 -04:00
Andrey Gusakov 7b5a28f288 ADC: debug function valid input check 2024-05-09 17:05:27 -04:00
Andrey Gusakov f8817a8574 ADC: common definitions to common header 2024-05-09 13:08:29 -04:00
Andrey Gusakov 2ec44e4d39 ADC: no magic numbers 2024-05-09 13:08:29 -04:00
Andrey Gusakov 6a0eb0b0c8 ADC: encapsulation 2024-05-09 13:08:29 -04:00
Andrey Gusakov 123d66b29a adc: style 2024-05-09 13:08:29 -04:00
rusefi 6e84d0084f https://github.com/rusefi/rusefi/issues/3301
only: docs
2024-05-09 12:35:59 -04:00
Andrey Gusakov 1bf463b233 adc: more dead 2024-05-09 09:42:21 -04:00
Andrey Gusakov cb011a87d0 ADC: dead 2024-05-09 09:42:21 -04:00
Andrey Gusakov 4cb09d3179 adc: deduplicate debug code 2024-05-09 08:30:24 -04:00
Andrey Gusakov e8a0ee051a stm32_pins: botloader guards 2024-05-09 08:30:24 -04:00
Andrey Gusakov 207a3d8c98 adc: avoid two lookup tables 2024-05-09 08:30:24 -04:00
Andrey Gusakov 7e509c432e adc: dead 2024-05-09 08:30:24 -04:00
Andrey Gusakov eab5e16282 Store fast adc error for debug 2024-05-09 08:30:24 -04:00
Andrey Gusakov e562f0b540 stm32_adc: simplify 2024-05-09 08:30:24 -04:00
Andrey Gusakov 3777e78124 stm32_pins: simplify 2024-05-09 08:30:24 -04:00
Andrey f7d68b3e1c start/stop button improvements #6483
only: hello MISRA?
2024-05-08 22:52:31 -04:00
Andrey 1d249dc4ca start/stop button improvements #6483
only: global bad, let's carefully reset
2024-05-08 22:52:31 -04:00
rusefi 4b43cc3212 docs 2024-05-08 21:45:32 -04:00
Andrey Gusakov 5fb60bc351 adc_inputs: we have two methods doing same thing, keep simple one 2024-05-05 16:44:16 -04:00
Andrey Gusakov 6f5fe216db stm32_pins: const, save few bytes of RAM 2024-05-05 16:44:16 -04:00
rusefi 944a9375d3 EFI_CONFIGURATION_STORAGE reducing code duplication 2024-05-05 15:52:39 -04:00
Andrey Gusakov 0ce04c84cc Struct: designator initialization 2024-05-05 13:26:24 -04:00
Andrey Gusakov e2955fcb34 adc_inputs: code style 2024-05-05 13:26:24 -04:00
Andrey Gusakov 7a8f0cc511 adc_inputs: unify naming 2024-05-05 13:26:24 -04:00
Andrey Gusakov 6b265dd4f8 adc: introduce external adc channels 2024-05-05 13:26:24 -04:00
Andrey Gusakov fe3b6eb26b adc: simplify isAdcChannelValid() 2024-05-05 13:26:24 -04:00
Andrey Gusakov d7ec871e7c adc: rename EFI_ADC_LAST_CHANNEL to EFI_ADC_TOTAL_CHANNELS 2024-05-05 13:26:24 -04:00
3er0.1ive bdb997fe1a - clean commit with knock_analyzer 2024-05-04 10:51:46 -04:00
rusEFI LLC af913ef788 only: better file name 2024-05-01 19:45:14 -04:00
rusefillc c166edb0aa
calibrations_on_flash.mk (#6432)
* spi flash mk
2024-05-01 17:59:48 -04:00
Andrey Gusakov a4d9238a13 gpio: core: guards 2024-05-01 17:14:55 -04:00
Andrey Gusakov 6e85b753d5 MSIOBox: simplify PWM calculation 2024-05-01 17:14:55 -04:00
Andrey Gusakov f32c8e0d17 MSIOBox: support PWM 2024-05-01 17:14:55 -04:00
Andrey Gusakov 3544a8f25d MSIOBox: fix typo 2024-05-01 17:14:55 -04:00
Andrey Gusakov ec50d034bc gpio: core: support HW PWM on gpiochip outputs 2024-05-01 17:14:55 -04:00
Andrey Gusakov ca8a6638a7 drivers: gpio: add support for MSIOBox 2024-04-29 09:16:34 -04:00
rusEFI LLC 7cdb78d6fa only: TODO: use a timer instead 2024-04-25 20:32:40 -04:00
Matthew Kennedy 005d2eb21a distinguish between "timestamp" and "duration" 2024-04-25 18:57:11 -04:00
Matthew Kennedy d66b752173 only: migrating to Timer API 2024-04-25 18:50:18 -04:00
rusefi da34743332 only:minor progress 2024-04-25 17:45:14 -04:00
rusEFI LLC 93edf72814 todo: are those hibernating ports not well? 2024-04-25 15:17:35 -04:00
rusefi b133b88fdb Each bank of cam inputs should have individual edge selection fix #5333 2024-04-24 21:26:38 -04:00
rusefi 3e0fde22d2 linking to #6399 2024-04-23 16:34:22 -04:00
rusefi fae665ec5c hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only:sad but configurable
2024-04-22 19:52:30 -04:00
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