Commit Graph

2790 Commits

Author SHA1 Message Date
Andrey Gusakov 78ba473c2a lps25: get 3 register in one access
After e7c3223151 fix it is possible
to read more than one register in one transaction.
2024-07-14 19:44:03 -04:00
Andrey Gusakov aed819170e i2c_bb: GUARD!!! 2024-07-14 13:55:31 -04:00
Andrey Gusakov 8af5f51fc7 i2c_bb: add deinit() 2024-07-14 13:55:31 -04:00
Andrey Gusakov e85179f465 i2c_bb: simplify writeRead 2024-07-14 13:55:31 -04:00
Andrey Gusakov e7c3223151 i2c_bb: release SDA after sending ACK bit while reading
This fixes contiues read of more than one byte
2024-07-14 13:55:31 -04:00
rusefi d895f4dfa4 hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only:clean-up
2024-07-13 19:45:55 -04:00
Andrey Gusakov 7ffb594f5b fastAdc: validate that channels is enabled 2024-07-13 18:18:23 -04:00
Andrey Gusakov 2689978341 ADC: adcHwChannelMode fix array size
adcHwChannelMode defines ADC type for each of adc_channel_e element
Use EFI_ADC_TOTAL_CHANNELS for array size.
Get rid of HW_MAX_ADC_INDEX that previously was defining total
ADC input count for MCU. With ADC mux, external ADCs and so on this
is no longer correct.
2024-07-13 18:18:23 -04:00
Andrey Gusakov 589d98ca85 mmc_card: RD and WR indicators 2024-07-13 05:55:53 -04:00
Andrey Gusakov a6bc530fba mmc_card: misc 2024-07-13 05:55:53 -04:00
Andrey 2d9601bd7e alwaysWriteSdCard #6703
only:uaefi
2024-07-12 17:24:57 -04:00
rusefi cdab259efa hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only:hellen154hyundai_f7
2024-07-11 09:37:06 -04:00
rusefi 46907c3ea6 hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only:hellen154hyundai_f7
2024-07-10 18:03:28 -04:00
Andrey 97acf15a41 only:AdcSubscription::ResetFilters() 2024-07-07 00:21:21 -04:00
rusEFI LLC 5e3a2cb40d typo 2024-07-06 23:15:51 -04:00
rusEFI LLC ae2533c2d9 only:boardAdjustVoltage 2024-07-06 22:50:53 -04:00
rusEFI LLC 07b49363c1 only:getAnalogInputDividerCoefficient 2024-07-06 22:00:56 -04:00
Andrey Gusakov 299ea0dc82 hip9011: fix reinitialization, typos 2024-06-27 09:56:44 -04:00
Andrey Gusakov 98e2e89f9c hardware: no need to access fastAdc 2024-06-25 16:54:21 -04:00
Andrey Gusakov 37e8d38ec7 adc: some comments 2024-06-25 16:54:21 -04:00
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