Commit Graph

2341 Commits

Author SHA1 Message Date
rusefillc e1e03dbc74 only:hellen-honda-k
wow i should sleep more
2023-05-01 13:15:06 -04:00
rusefillc d8ec19db9a only:hellen-honda-k
dead
2023-05-01 12:18:48 -04:00
rusefillc 2ed5da2bed only:hellen-honda-k 2023-05-01 11:24:09 -04:00
rusefillc 339f088231 only:hellen-honda-k 2023-05-01 10:06:51 -04:00
Andrey 7695641cb7 sperry picking 2023-04-30 00:01:12 -04:00
Andrey 51d0f6e347 it's going to be painful 2023-04-29 00:44:00 -04:00
Matthew Kennedy 197d75395d don't need this line at all 2023-04-29 00:44:00 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
Matthew Kennedy 01f7e4068d rename obd_code_e -> ObdCode
(cherry picked from commit d6534157a03d19bb2e8aeece301642c053a081d0)
2023-04-29 00:44:00 -04:00
Matthew Kennedy 7396d466c4 cj125
(cherry picked from commit fd09ad7b4f2a9c450aedf4a535db4edd24bdcee1)
2023-04-29 00:15:54 -04:00
rusefillc b9d5053288 it's going to be painful 2023-04-28 23:11:40 -04:00
Matthew Kennedy bb49b22294 joystick, lcd
(cherry picked from commit 61c17791b89fc6b5ae17df96d9498c088afdb09f)
2023-04-28 22:32:37 -04:00
Andrey 7bfadd2daa whoever needs it should speak up 2023-04-28 20:18:03 -04:00
Andrey e43c6b0d06 only:todo 2023-04-22 11:28:50 -04:00
rusefillc 71f4e6ca40 dead line 2023-04-19 17:40:14 -04:00
rusefillc f817462657 No "Trigger #3" possible at the moment 2023-04-19 17:36:47 -04:00
rusefillc d31ba5f179 trigger layer start-up is a mess fix #5241
reducing complexity of conditional compilation
2023-04-19 17:30:52 -04:00
rusefillc 8fc2e0eb53 trigger layer start-up is a mess #5241
reducing code duplication: start actual pins only from best startHardware method
2023-04-19 17:27:47 -04:00
rusefillc d423bb063a trigger layer start-up is a mess #5241
reducing the mess: moving logic out of strange method
2023-04-19 17:25:43 -04:00
rusefillc dae865210a trigger layer start-up is a mess #5241
reducing the mess: reducing code duplication
2023-04-19 17:21:23 -04:00
rusefillc cb2d817da9 trigger layer start-up is a mess #5241
refactoring: just renaming method
2023-04-19 17:19:20 -04:00
rusefillc 408d4fecb9 trigger layer start-up is a mess #5241
WAT? no reason to stop pins onEcuStart
2023-04-19 17:17:04 -04:00
rusefillc 56ea0bbc08 trigger layer start-up is a mess #5241
refactoring: just renaming method
2023-04-19 17:16:19 -04:00
rusefillc cffad07458 trigger layer start-up is a mess #5241
refactoring: just renaming method
2023-04-19 17:07:36 -04:00
rusefillc 21ea057f70 reducing code duplication 2023-04-19 16:51:16 -04:00
rusefillc af93acc15b dead code 2023-04-19 16:49:02 -04:00
rusefillc b213dddcd6 style unification 2023-04-19 16:46:41 -04:00
rusefillc b149578bab style unification 2023-04-19 16:41:20 -04:00
Andrey Gusakov 33875a959a kline: hide under ifdef EFI_KLINE, signed vs unsigned 2023-04-07 04:08:07 -04:00
Andrey Gusakov d79ef84e40 Fix 'equality comparison with extraneous parentheses' warning/error 2023-04-07 03:47:56 -04:00
Andrey Gusakov 342e7d1ac6 adc: unused suppress 2023-04-07 03:47:52 -04:00
rusefillc 1eb4674c9f kline
only:hellen-honda-k
2023-04-04 22:42:40 -04:00
rusefillc 21ff76c61c kline
only:hellen-honda-k
2023-04-03 16:54:26 -04:00
rusefillc cddbcf003f kline
only:hellen-honda-k
2023-04-03 16:50:24 -04:00
rusefillc 20a5331713 kline
only:hellen-honda-k
2023-04-03 16:33:49 -04:00
rusefillc eb2ed168d8 kline
only:hellen-honda-k
2023-04-03 16:30:00 -04:00
rusefillc e270020855 kline
only:hellen-honda-k
2023-04-03 15:40:37 -04:00
rusefillc c7ac513f73 kline
only:hellen-honda-k
2023-04-03 14:51:26 -04:00
rusefillc b606a141e8 kline
only:hellen-honda-k
2023-04-03 14:10:07 -04:00
rusefillc 2a7436c090 kline
only:hellen-honda-k
2023-04-03 13:52:23 -04:00
rusefillc bbf756d941 kline
only:hellen-honda-k
2023-04-03 13:37:26 -04:00
rusefillc 7e7b2800e2 kline
only:hellen-honda-k
2023-04-03 12:41:17 -04:00
rusefillc fc76703e1f kline
only:hellen-honda-k
2023-04-03 11:51:11 -04:00
rusefillc 1f3b3e82fb
Lcd (#5217)
* WS2812 LED strip on TIM1_CH1_UP using pin PE9 and DMA.

* Applied suggestions

* linux and Windows have different approach

* linux and Windows have different approach

---------

Co-authored-by: benas-gavea <bbrazdziunas@gavea.co.uk>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-04-03 11:31:07 -04:00
rusefi ce59e17670 Revert "https://github.com/rusefi/alphax-4chan/issues/100"
This reverts commit 86d326893a.
2023-03-25 01:24:45 -04:00
rusefi 86d326893a https://github.com/rusefi/alphax-4chan/issues/100
https://github.com/rusefi/rusefi/pull/5196
2023-03-25 00:58:49 -04:00
rusefi fd3f08fdd0 https://github.com/rusefi/alphax-4chan/issues/100
flexibility
2023-03-24 23:39:20 -04:00
rusefillc 58b5764024 hellen81 does not approve
https://github.com/rusefi/rusefi/pull/5196

https://github.com/rusefi/alphax-4chan/issues/100
2023-03-24 21:08:08 -04:00
rusefillc ddacf77146 flexibility?
https://github.com/rusefi/rusefi/pull/5196

https://github.com/rusefi/alphax-4chan/issues/100
2023-03-24 19:54:03 -04:00
rusefillc ee5c1fd446 https://github.com/rusefi/rusefi/pull/5196
https://github.com/rusefi/alphax-4chan/issues/100
2023-03-24 19:42:52 -04:00
rusefi 7accc0eb9b https://github.com/rusefi/alphax-4chan/issues/100 2023-03-24 17:37:19 -04:00
rusefi ceeb819fc8 Indicator for injector HW issues #5189 2023-03-19 03:18:38 -04:00
rusefi 5878a5d310 docs 2023-03-19 02:17:30 -04:00
Andrey 34fddd44e0 K
only:hellen-honda-k
2023-03-12 12:01:51 -04:00
rusefi 546276e05b kine: read packets as packets #5171
progress!
only:hellen-honda-k
2023-03-11 08:42:15 -05:00
rusefi 4add0450e3 kine: read packets as packets #5171
i need a vacation or else
only:hellen-honda-k
2023-03-10 23:02:01 -05:00
Andrey d936b2b942 rusEFI needs K-line firmware support #3248
WOW it has been a while since I had a defect that lame
only:hellen-honda-k
2023-03-10 22:18:25 -05:00
Andrey 5ff4db0d65 rusEFI needs K-line firmware support #3248
something seems to not be working right, test time
2023-03-10 18:36:03 -05:00
Andrey 469ba23b88 rusEFI needs K-line firmware support #3248
only:hellen-honda-k
2023-03-10 16:58:45 -05:00
Andrey f0279177d3 rusEFI needs K-line firmware support #3248
only:hellen-honda-k
2023-03-10 15:56:08 -05:00
Andrey abfcbdd7bc rusEFI needs K-line firmware support #3248
only:hellen-honda-k
2023-03-10 09:09:49 -05:00
Andrey c897d98b04 rusEFI needs K-line firmware support #3248
only:hellen-honda-k
2023-03-09 19:11:36 -05:00
Andrey b385756ce5 rusEFI needs K-line firmware support #3248
only:hellen-honda-k
2023-03-09 18:56:26 -05:00
Andrey G a8ad6764a8
Enable kline on MRE (#5167)
* kline: allow settings override

* MRE: enable Kline/LIN interface
2023-03-09 17:25:03 -05:00
rusefi ad00e6a0f4 k-line
only:hellen-honda-k
2023-03-09 17:05:46 -05:00
Matthew Kennedy dc6f53bda5
extract newton's method implementation (#5157)
* move expected, update libfirmware

* hellen ID solver uses shared Newton's method

* comment shouldn't have been moved
2023-03-07 08:45:17 -05:00
rusefillc 73c6d7a349
sent
only:mre_f4
2023-03-06 19:30:29 -05:00
rusefillc d716245edc helping build
only:mre_f4
2023-03-05 09:27:06 -05:00
Andrey 82bcc9b42c progress: run more code in simulator
only:hellen-honda-k
2023-03-05 02:42:54 -05:00
Andrey 51c5c07432 progress: run more code in simulator
only:hellen-honda-k
2023-03-05 02:42:15 -05:00
Andrey eaba595519 progress: run more code in simulator
only:hellen-honda-k
2023-03-05 02:36:43 -05:00
Andrey 5854a5fc8b progress: run more code in simulator
only:hellen-honda-k
2023-03-05 02:35:36 -05:00
Andrey 6b4c4a5833 refactoring: vvt is not aux
only:hellen-honda-k
2023-03-05 02:07:47 -05:00
Andrey bd72aace92 progress: bringing simulator closer to real code
only:hellen-honda-k
2023-03-05 01:28:55 -05:00
Andrey 9cf426e3db progress: run more code in simulator
only:hellen-honda-k
2023-03-05 01:13:43 -05:00
Andrey 264f265420 CAN GPIO #4096
only:hellen-honda-k
2023-03-05 00:52:57 -05:00
Andrey 130a1eed14 CAN GPIO #4096
only:hellen-honda-k
2023-03-04 22:11:45 -05:00
rusefillc 2b45387eb1 CAN GPIO #4096 2023-03-04 20:50:22 -05:00
rusefillc 0e39ace44d todo? 2023-03-04 20:34:43 -05:00
rusefillc 180ae9b593 L9779WD driver L9779 #3768 2023-03-04 20:32:22 -05:00
rusefillc c42917a4dc k-line
only:hellen-honda-k
2023-03-03 22:03:00 -05:00
rusefillc 13eadd4195 default honda k firmware hangs up on any TS burn #5149
only:hellen-honda-k
2023-03-03 21:33:44 -05:00
rusefillc fd55cbd997 k-line 2023-03-03 21:27:48 -05:00
Andrey 157e5fcf9e K 2023-03-02 21:29:40 -05:00
rusefi 696f8d566b Native SENT TPS input #5079 2023-03-01 18:56:06 -05:00
rusefi d7778b258d Native SENT TPS input #5079
only:mre_f4
2023-03-01 15:47:37 -05:00
Andrey 68fee9905f Native SENT TPS input #5079
hasValidFast progress!

only:mre_f4
2023-03-01 15:23:38 -05:00
Andrey 28c3af682d Native SENT TPS input #5079
a bit of progress
2023-02-28 22:11:38 -05:00
Andrey 3f537a66fa docs 2023-02-28 22:11:38 -05:00
Andrey 395af95d1e random CAN clean-up 2023-02-26 20:25:24 -05:00
Andrey f5ba716c5b explicit errors are best 2023-02-26 20:25:24 -05:00
Andrey eb239f7278 separate status for separate state 2023-02-26 20:25:24 -05:00
Andrey b5c27f01a6 we have centralized SPI management? do we? 2023-02-26 20:25:24 -05:00
Andrey 3bff1ea14d placing board stuff into board folder, reducing hacky code 2023-02-26 20:25:24 -05:00
Andrey 818ff54948 adding flexibility 2023-02-26 20:25:24 -05:00
Andrey e6a4c66fa7 we have weird unconditional coupling with ST_STM32F4_DISCOVERY #5134 2023-02-26 17:18:39 -05:00
Andrey G 298830ed82
can msg tx: do not ignore bus argument (#5124)
bus argument was introduces in 12c899ddca
but was ignored.
2023-02-23 17:17:27 -04:00
Andrey G ddab1536de
Kline: do init from initHardware() and stop/start from applyNewHardwareSettings() (#5125) 2023-02-23 17:05:59 -04:00
rusefillc 8df963882a Native SENT TPS input #5079 2023-02-20 11:52:10 -05:00
rusefillc bb3b43f038 Native SENT TPS input #5079 2023-02-20 11:38:20 -05:00
Matthew Kennedy 12c899ddca
wideband on second can (#5108) 2023-02-20 11:29:25 -05:00
rusefi f849522474 random flexibility 2023-02-19 14:47:21 -05:00
rusefillc 659e3ae186 dear santa please fix my k-line 2023-02-18 23:13:24 -05:00
rusefillc 8d554bab71 Merge branch 'master' of https://github.com/rusefi/rusefi into master 2023-02-18 09:34:43 -05:00
andreika-git fa08a8cb6f https://github.com/rusefi/hellen125honda-issues/issues/27 2023-02-18 09:34:17 -05:00
rusefillc 4d14df108e rusEFI needs K-line firmware support #3248 2023-02-18 09:34:13 -05:00
Andreika b32b03af02
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 ed4fcf1ac6 rusEFI needs K-line firmware support #3248 2023-02-17 09:32:06 -05:00
rusefillc 1e37c54c5e rusEFI needs K-line firmware support #3248 2023-02-17 09:23:40 -05:00
rusefillc 11138a1c74 rusEFI needs K-line firmware support #3248 2023-02-17 08:18:50 -05:00
Matthew Kennedy 28babe5cc2
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 f99e480e66
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 73f4436397
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 5770c8a2aa
build f7 with -Os (#4996) 2023-01-30 07:38:59 -05:00
rusefillc 083bafb3ba Refactoring: less confusion macro names around serial/uart/etc in connectivity #4999 2023-01-23 05:09:32 -05:00
rusefillc 3862430aa3 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 a6ec708a6b
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 1fae27fcc2 The road to hell is paved with good intentions 2023-01-08 16:48:29 -05:00
rusefillc 5b159f0ff5 Support non-uniform dividers on ADC inputs #4938
maybe helping?
2023-01-08 15:37:51 -05:00
rusefillc e58d375244 external muxes for internal ADC #3350 2023-01-07 22:09:43 -05:00
rusefillc 558f88ce23 external muxes for internal ADC #3350 2023-01-07 21:56:12 -05:00
Matthew Kennedy 1eb00e5ec9
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 a4eea87440 external muxes for internal ADC #3350 2023-01-05 21:23:00 -05:00
Andrey G a300043f5d
Feed mapAveragingAdcCallback() with volts not adc raw values (#4940) 2023-01-05 12:14:48 -05:00
Andrey G f25edb646d
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 e989859cb8
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 1ddd871f8f
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 96b2195497
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 1f83047ddd tolerate no SPI device 2022-12-21 20:26:39 -05:00
Matthew Kennedy 87b903a2e3
nonblocking for TS, blocking for SD card (#4903) 2022-12-17 20:01:15 -05:00
rusefillc 89bf9fb423 kind of a fix? 2022-12-17 18:59:38 -05:00
rusefillc 85976ed63d guards 2022-12-17 15:23:32 -05:00
rusefillc fa4c69f6cf SDC_MODE flexibility 2022-12-16 20:22:48 -05:00
Matthew Kennedy 52884c64cb
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 9d8bfb834e
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 8ea5969607
fix warnings (#4840)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-27 10:11:14 -05:00
Matthew Kennedy ef53ff0104
period -> frequency (#4837)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-27 08:10:05 -05:00
Nathan Schulte 59406e83f3
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 8eaa901595
avoid ctime in GPS UART (#4824)
Co-authored-by: Nathan Schulte <nmschulte@desmas.net>
2022-11-23 13:20:36 -05:00
Nathan Schulte fd1115d01a
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 2a36880961
add /usr/sbin to PATH in create_ini_image*.sh (#4809) 2022-11-21 10:14:49 -05:00
Nathan Schulte 2afc9162eb RTC toggle in hardware.cpp 2022-11-21 09:36:28 -05:00
Nathan Schulte 80cfdc4e1a tidy hw_layer/rtc_helper gcc ifs 2022-11-21 09:35:24 -05:00
rusefillc 6c9f59fd56 big delete ICU #4270
random doc
2022-11-20 19:15:07 -05:00
rusefillc 87c3e957de docs 2022-11-20 16:20:01 -05:00
rusefillc a331cfa2c9 simpler SENT for now 2022-11-19 09:38:39 -05:00
Nathan Schulte d144248a6f
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 cb2477be6c.
2022-11-18 23:43:43 -05:00
Nathan Schulte 4cd649db86 firmware: digital_input logic depends e.g. HAL_USE_ADC 2022-11-18 23:24:54 -05:00
Nathan Schulte 51ecb95538 firmware: digital_input logic depends !EFI_SIMULATOR 2022-11-18 23:24:45 -05:00
Nathan Schulte 1da7242e06 firmware: digital_input logic depends on e.g. HAL_USE_ADC 2022-11-18 23:16:28 -05:00