Commit Graph

2872 Commits

Author SHA1 Message Date
rusefillc 7c942053b7 Stepper motor's reset function runs on MCU boot, not when battery voltage is present and can actually move the stepper #6458 2024-12-07 09:38:56 -05:00
Andrey Gusakov f267011daf SENT: count HW timer overcapture events
Currently only count.
TODO: handle
2024-12-06 17:12:09 -05:00
Andrey Gusakov 08fba63359 SENT: refactor 2024-12-06 16:18:49 -05:00
Andrey Gusakov eeb6f8e9cd SENT: support pause pulses 2024-12-06 16:18:49 -05:00
Andrey Gusakov 191e53dfaa SENT: less magic numbers 2024-12-06 16:18:49 -05:00
Andrey Gusakov b29a50e135 SENT: always report error, otherwise slow channel is not reset on error 2024-12-06 16:18:49 -05:00
Andrey Gusakov b83285ef73 SENT: avoid small data types 2024-12-06 16:18:49 -05:00
Andrey Gusakov 256ad9d198 SENT: simplify calibration logic 2024-12-06 16:18:49 -05:00
rusefillc a3c572320f
separating two different usages of variable (#7114) 2024-12-06 10:02:30 -05:00
Andrey Gusakov 0a30857f96 SENT: allow +/-20% tolerance on SYNC phase 2024-12-05 20:45:03 -05:00
rusefillc bbabc1335b sent: assert so that unit tests fail nicely 2024-12-05 20:05:57 -05:00
Andrey Gusakov eba393ccd2 SENT: support ICU channel 3 and channel 4 capturing 2024-12-05 19:11:27 -05:00
Andrey Gusakov 6e65eee29c SENT: dead 2024-12-05 19:11:18 -05:00
rusefillc 101784002b
helping hellen81 (#7112) 2024-11-30 20:10:19 -05:00
Matthew Kennedy e24781f899 h7 knock adc: remove timer cfg 2024-11-30 18:01:14 -05:00
Matthew Kennedy 217e948c42 init adc 3 2024-11-30 18:01:08 -05:00
Andrey G 57f7fb0992
Uaefi sent (#7100)
* SENT: TS settings for high pressure fuel sensor

* SENT: glue GM high pressure fuel sensor

* SENT: unit test guards

* SENT: unit test guards 2
2024-11-26 16:26:00 -05:00
rusefillc 2a2de932b3 only:helping sent unit tests 2024-11-26 10:16:39 -05:00
Andrey G 1987f497e2
Uaefi sent (#7099)
* SENT: typo

* SENT: separate menu for input configuration

* SENT: pass SENT input number to decoder function

* SENT: is optional

* SENT: move gauges to "Sensors - SENT" category

* SENT: gauges show first channels statsistic only

* SENT: channels abstraction

First we define gpios used for SENT channels
Then we glue sensors to SENT channels

* SENT: fix gauges

* SENT: guards
2024-11-26 10:01:07 -05:00
Matthew Kennedy 5b876677d6 more accurate SD card rate 2024-11-25 00:02:25 -05:00
Matthew Kennedy c62468df02 H7 knock 2024-11-23 12:02:27 -05:00
rusefillc 576fc084a5 NUCLEO-F767ZI STM32F767ZI 2mb flash firmware size fix #6242
only:alphax-4k-gdi
2024-11-22 21:57:11 -05:00
rusefillc b179e15e37 uaefi SENT 2024-11-22 16:31:07 -05:00
Andreika 45ac95e249
Use 1.5Mb for nucleo767 https://github.com/rusefi/rusefi/issues/6242 (#7092) 2024-11-22 13:56:16 -05:00
rusefillc ec83526370
modularize knock adc for h7 (#7086)
* modularize knock adc for h7
only:uaefi

* modularize knock adc for h7
only:uaefi
2024-11-20 09:18:28 -05:00
Matthew Kennedy 714c190093 h7 sdmmc clocking 2024-11-19 22:56:28 -05:00
Matthew Kennedy 977850e2b4 h7 adc3 2024-11-19 22:54:46 -05:00
rusefillc 0328c08f2b bugfix: hseFrequencyMhz was never assigned 2024-11-19 17:15:54 -05:00
rusefillc a7e9d0ce8e NUCLEO-F767ZI STM32F767ZI 2mb flash firmware size #6242
only:docs
2024-11-19 13:48:02 -05:00
rusefillc 0f95a9bc37 only:typo 2024-11-19 13:20:22 -05:00
rusefillc 004e02fa0d TIM1_CH4 ICU #7076 2024-11-18 21:08:55 -05:00
rusefillc ff656dc1c0 verboseCan TX improvement 2024-11-17 22:11:36 -05:00
rusefi f32ba1a907 lua script to turn a rusEFI into an IO-BOX for another rusEFI #7075
only:prototype
2024-11-15 22:28:23 -05:00
rusefi b4f78d194e msioinfo
only:alphax-4k-gdi
2024-11-15 21:31:14 -05:00
rusefillc b38277111b lua script to turn a rusEFI into an IO-BOX for another rusEFI #7075
only:alphax-4k-gdi
2024-11-15 20:06:33 -05:00
rusefillc 94512571a5 flexibility for SENT 2024-11-11 13:58:24 -05:00
rusefillc 15045d3272 only:analog docs 2024-11-08 23:14:30 -05:00
Diego b214a7b814
OBD2 CAN broken due to math base mismatch (#7053)
* updated can_msg_tx/obd2 code for unit tests, fixed supported pid error, WIP unit tests on obd2

* fix txCanBuffer not cleared after a tx can test

* simulator needs can header, add settings to respect code format on vscode, added more tests
2024-11-08 16:01:21 -05:00
rusefillc 1ba6ee3921 tle9201 diagOkCounter
only:ueefi
2024-11-08 13:36:45 -05:00
rusefillc bcae46abe7 reset_9201
only:hellen154hyundai_f7
2024-11-07 18:07:21 -05:00
rusefillc 2bdfdca824 better logging
only:hellen154hyundai_f7
2024-11-07 17:49:45 -05:00
rusefi 64cdab6a45 TLE9201 SPI driver 12v logic #7051
only:hellen154hyundai_f7
2024-11-07 14:59:56 -05:00
Andreika 7bd44fbfa3
TLE9201 SPI diag support https://github.com/rusefi/rusefi/issues/5058 (#7049) 2024-11-07 08:44:08 -05:00
Andrey Gusakov cbc2773f67 halconf: no need to have such a big TX USB buffers 2024-11-04 08:39:30 -05:00
Andrey G d9dcc40a54
6595 burn failed (#7031)
* halconf: SERIAL_USB_BUFFERS_RX_SIZE should be 64

Until we fix bug in OTGv1

* ChibiOS: update OTGv1

* usb_console: fix SERIAL_USB_BUFFERS_TX_SIZE vs BLOCKING_FACTOR check

Actually should be removed as we can write to USB serial more than
can fit into buffer. Write caller will be just waiting for space
available in buffer.
2024-11-03 17:22:17 -05:00
rusefi fcc77166fe only:CH_CFG_USE_DYNAMIC unused? 2024-10-31 22:24:26 -04:00
Andrey 25bf6d1725 only:typo 2024-10-23 00:31:08 -04:00
Andrey eb1ea1f828 only:typos 2024-10-23 00:28:28 -04:00
Andrey ddaa3a22e7 improving compilation guards
only:t-b-g
2024-10-22 06:14:09 -04:00
3er0.1ive 74908a9b54 - remove old output param m_frequency from knockController
- need some memory for f407
2024-10-22 05:33:17 -04:00