Commit Graph

2140 Commits

Author SHA1 Message Date
rusefi a28ddec4cc random flexibility 2023-02-19 14:47:21 -05:00
rusefillc 3314be5397 dear santa please fix my k-line 2023-02-18 23:13:24 -05:00
rusefillc 623056e396 Merge branch 'master' of https://github.com/rusefi/rusefi into master 2023-02-18 09:34:43 -05:00
andreika-git de539d0261 https://github.com/rusefi/hellen125honda-issues/issues/27 2023-02-18 09:34:17 -05:00
rusefillc dc4b115889 rusEFI needs K-line firmware support #3248 2023-02-18 09:34:13 -05:00
Andreika 799040c13a rusEFI needs K-line firmware support #3248 (#5094)
Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2023-02-17 09:36:48 -05:00
andreika-git ad57100098 rusEFI needs K-line firmware support #3248 2023-02-17 09:32:06 -05:00
rusefillc f80e7d5513 rusEFI needs K-line firmware support #3248 2023-02-17 09:23:40 -05:00
rusefillc 873d6a1f91 rusEFI needs K-line firmware support #3248 2023-02-17 08:18:50 -05:00
Matthew Kennedy cfe0aeef29 add 50/83.3/125kbit CAN (#5072)
* fix CAN

* add 83/125 too

* bump config version
2023-02-13 17:13:57 -05:00
Nathan Schulte 9f1d4c4bdd enable LSE (via: LSE max wait patches) (#4944)
* enable LSE (via: LSE max wait patches)

* ChibiOS: LSE patches
2023-02-12 16:01:03 -05:00
Matthew Kennedy cc6cadfdd6 deduplicate $(BOARD_DIR) in makefiles (#5024)
* calculate BOARD_DIR exactly once

* deduplicate board scripts

* unit tests

* make passes variables to openblt build properly

* was this an intentional omission?

* s

* prometheus

* prometheus
2023-02-01 14:41:27 -05:00
Matthew Kennedy 0647e44f9b build f7 with -Os (#4996) 2023-01-30 07:38:59 -05:00
rusefillc 3aa9ffca60 Refactoring: less confusion macro names around serial/uart/etc in connectivity #4999 2023-01-23 05:09:32 -05:00
rusefillc cea05b7418 specific PN F7 boards bricking on incremental flash due to ST bug #3566
let me try
2023-01-11 11:43:11 -05:00
Andrey G e086176fc1 Support non-uniform dividers on ADC inputs (#4938)
* adc: support per-channel dividers

* S105: non-uniform analog dividers

* adc: default weak getAnalogInputDividerCoefficient() implementation

* adc: fix emulator compilation
2023-01-08 17:29:29 -05:00
rusefi d2ee2cbff9 The road to hell is paved with good intentions 2023-01-08 16:48:29 -05:00
rusefillc 33884f1f82 Support non-uniform dividers on ADC inputs #4938
maybe helping?
2023-01-08 15:37:51 -05:00
rusefillc 66866553e2 external muxes for internal ADC #3350 2023-01-07 22:09:43 -05:00
rusefillc b612c27917 external muxes for internal ADC #3350 2023-01-07 21:56:12 -05:00
Matthew Kennedy 96880543ca adc resubscription of the same sensor (#4947)
* adc resubscription of the same sensor

* overload function name

* fix logic

* thermistors and map
2023-01-06 08:09:17 -05:00
rusefillc ba5144181a external muxes for internal ADC #3350 2023-01-05 21:23:00 -05:00
Andrey G a274b1f777 Feed mapAveragingAdcCallback() with volts not adc raw values (#4940) 2023-01-05 12:14:48 -05:00
Andrey G 8718ca076e ADC and HIP: feed callback with voltage, not raw adc values (#4939)
* hip9011: use adcToVoltsDivided() helper

* hip9011: feed callback with volts, not raw adc value
2023-01-05 12:00:23 -05:00
Andrey G 9ef8a8ab69 S105: more support (#4937)
* s105: ts_name for battery input

* flash: allow one copy for devices with 512K of flash

* s105: all outputs are open drain
2023-01-04 16:39:17 -05:00
Andrey G bfbcb5ffb4 Support boards with no HSE (#4931)
* ENABLE_AUTO_DETECT_HSE: allow override from board config or board.mk

* Cleanup comments references to removed rtcWorks variable

* Allow board with no HSE oscillator
2023-01-03 15:01:51 -05:00
Nathan Schulte 76bc7f22fd misc tidy (#4926)
* FrequencySensor: code-style

* smart_gpio: fix indent, tidy BOARD_EXT_GPIOCHIPS

tidy _GPIOCHIPS for #pragma message(STRING(BOARD_EXT_GPIOCHIPS output

* obd_error_codes: fix indent
2023-01-01 15:51:31 -05:00
Matthew Kennedy 568320b12d tolerate no SPI device 2022-12-21 20:26:39 -05:00
Matthew Kennedy aadb09233b nonblocking for TS, blocking for SD card (#4903) 2022-12-17 20:01:15 -05:00
rusefillc 940352b077 kind of a fix? 2022-12-17 18:59:38 -05:00
rusefillc b7409470f9 guards 2022-12-17 15:23:32 -05:00
rusefillc 72bd537598 SDC_MODE flexibility 2022-12-16 20:22:48 -05:00
Matthew Kennedy 2e35013d1d SD card tooth log (#4897)
* adjust tooth logger api

* mmc card writes tooth log

* changelog
2022-12-15 08:34:10 -04:00
Matthew Kennedy b74ba44cff Basic trigger scope implementation (#4885)
* big buffer

* mostly hooked up big buffer

* bad merge

* s

* sneak preview of trigger scope

* s

* constness

* channel limits

* s

* unnecessary

* efilib

* TcpServerSandbox

* includes fix

* binary format

* tooth logger uses big buffer

* dead config

* config

* implement basic trigger scope

* good behavior

* enable on other alphax

* flag to enable second channel

* use 8 bit mode on the ADC for less memory use

* changelog
2022-12-10 23:00:12 -05:00
Matthew Kennedy 9e60b52ed4 fix warnings (#4840)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-27 10:11:14 -05:00
Matthew Kennedy 431eb0e832 period -> frequency (#4837)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-27 08:10:05 -05:00
Nathan Schulte 0057d0d2f4 avoid ctime, use UTC ISO 8601 for CMD_DATE format (#4764)
* java_console: use UTC ISO 8601 for CMD_DATE format

* ChibiOS RTC avoids ctime

* firmware: controller sets time via ISO 8601

* avoid ctime in CAN dash
2022-11-23 16:53:16 -04:00
rusefillc 261222bb04 avoid ctime in GPS UART (#4824)
Co-authored-by: Nathan Schulte <nmschulte@desmas.net>
2022-11-23 13:20:36 -05:00
Nathan Schulte d4cc3caeab code style, GPS fixes (test, firmware) (#4822)
* tidy NMEA

* const in nmea

* correct gps test output

* fix GPS UART print statements

* cleanup feature toggles in settings

* fix comment typos, misc whitespace
2022-11-23 07:01:34 -04:00
Nathan Schulte 58b2ba8fc6 add /usr/sbin to PATH in create_ini_image*.sh (#4809) 2022-11-21 10:14:49 -05:00
Nathan Schulte 57a8c29cc6 RTC toggle in hardware.cpp 2022-11-21 09:36:28 -05:00
Nathan Schulte dceda2276f tidy hw_layer/rtc_helper gcc ifs 2022-11-21 09:35:24 -05:00
rusefillc fae84c2a61 big delete ICU #4270
random doc
2022-11-20 19:15:07 -05:00
rusefillc 4383d5a08a docs 2022-11-20 16:20:01 -05:00
rusefillc e3bad2649e simpler SENT for now 2022-11-19 09:38:39 -05:00
Nathan Schulte 877fa21bd8 fix simulator build (via MinGW) (#4799)
* firmware: kill -9 dead hipLastExecutionCount

* firmware: pin_repository C includes efi_gpio.h

* firmware: controllers: tidy #endif comments

* firmware: primary_pins logic depends EFI_GPIO_HARDWARE

* firmware: only print ADC info if HAL_USE_ADC

* firmware: digital_input: tidy #endif comments

* firmware: digital_input logic depends on e.g. HAL_USE_ADC

* firmware: digital_input logic depends !EFI_SIMULATOR

* firmware: digital_input logic depends e.g. HAL_USE_ADC

* simulator: Makefile includes RUSEFI_LIB_C as CSRC

* Revert "GHA/build-firmware: pin agents to Ubuntu 20.04 (#4793)"

This reverts commit 51e368245b.
2022-11-18 23:43:43 -05:00
Nathan Schulte 036018ee0d firmware: digital_input logic depends e.g. HAL_USE_ADC 2022-11-18 23:24:54 -05:00
Nathan Schulte 1340f52627 firmware: digital_input logic depends !EFI_SIMULATOR 2022-11-18 23:24:45 -05:00
Nathan Schulte b19b88f236 firmware: digital_input logic depends on e.g. HAL_USE_ADC 2022-11-18 23:16:28 -05:00
Nathan Schulte 2da02f6d96 firmware: digital_input: tidy #endif comments 2022-11-18 23:16:19 -05:00