Commit Graph

2250 Commits

Author SHA1 Message Date
rusefi 935fe26ed9 Hyundai 2021-10-09 17:09:22 -04:00
rusefi 74ebebeb9e Hyundai 2021-10-09 16:51:07 -04:00
rusefi 36011bf718 Hyundai 2021-10-09 16:24:38 -04:00
Matthew Kennedy 0419e3489a per-MCU lua size (#3339)
* per-MCU lua size

* simulator happy
2021-10-09 09:02:30 -04:00
rusefi 48af2659aa dead file? 2021-10-08 23:14:11 -04:00
rusefillc 2ea171c1b9 Proteus yaml has issues about reserved pins fix #3291 2021-10-08 06:13:07 -04:00
rusefi e2c5209a88 https://github.com/rusefi/hellen128merc-issues/issues/29 2021-10-07 19:16:28 -04:00
rusefi 68742f5bd5 NB1 2021-10-07 18:02:48 -04:00
rusefi fd6756b6ba https://github.com/rusefi/hellen128merc-issues/issues/29 2021-10-07 17:48:01 -04:00
rusefi 6806410f97 export board-specific macro for stm32 pins based on board yaml #3298 2021-10-07 17:35:27 -04:00
Matthew Kennedy a4998ab7a8 Fast adc API (#3327)
* dead fast tps

* oooooh map avg on hh7

* adc v4 fast support

* new fast API

* hardware.cpp

* adc v2

* warning

* guard

* no check required

* stub cypress/kinetis

* kinetis and cypress stubs
2021-10-07 08:29:01 -04:00
BeerMoneyMotorsports ac9ec0c47a IAC (#3310) 2021-10-03 17:15:26 -04:00
rusefillc 73315d0cfc H7 fast ADC #3301 2021-10-03 15:45:26 -04:00
rusefillc 89a0bc1c43 export board-specific macro for stm32 pins based on board yaml #3298 2021-10-03 01:08:35 -04:00
rusefillc 9577a6122a export board-specific macro for stm32 pins based on board yaml #3298 2021-10-03 00:59:34 -04:00
rusefillc bc9d0c1976 export board-specific macro for stm32 pins based on board yaml #3298 2021-10-03 00:35:09 -04:00
rusefillc dd7a340696 export board-specific macro for stm32 pins based on board yaml #3298 2021-10-03 00:27:55 -04:00
rusefillc c10be2ebde export board-specific macro for stm32 pins based on board yaml #3298 2021-10-03 00:09:09 -04:00
rusefillc 6a3c4d5d3e export board-specific macro for stm32 pins based on board yaml #3298 2021-10-02 23:56:43 -04:00
rusefillc 8f71e735b5 export board-specific macro for stm32 pins based on board yaml #3298 2021-10-02 23:45:28 -04:00
rusefillc 1ff78646cc NB1 defaults #3299 2021-10-02 23:21:43 -04:00
rusefi 61220d5710 VrThresholdTest 2021-10-02 15:18:45 -04:00
rusefillc a8058a6ea4 proteus adapters 2021-10-02 13:25:40 -04:00
rusefillc 0511d02c45 proteus adapters 2021-10-02 13:20:19 -04:00
David Holdeman 176affe7c4 make 14 ground (#3297) 2021-10-02 12:46:29 -04:00
Matthew Kennedy 64c9bcd364 bye frequency map (#3285)
* bye freq map

* map.cpp

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-09-30 00:20:21 -04:00
BeerMoneyMotorsports d40f38f26c etb (#3283) 2021-09-29 19:59:02 -04:00
rusefillc fa2282ee9c https://github.com/rusefi/hellen-NB1-issues/issues/15 2021-09-29 12:22:38 -04:00
rusefi bcf8b80ff1 https://github.com/rusefi/hellen-NB1-issues/issues/15 2021-09-29 11:52:54 -04:00
rusefi 27019b3bd2 https://github.com/rusefi/hellen-NB1-issues/issues/15 2021-09-29 11:51:25 -04:00
rusefi b2ade224e2 https://github.com/rusefi/hellen-NB1-issues/issues/15 2021-09-29 11:47:16 -04:00
rusefillc 0d159abf79 https://rusefi.com/forum/viewtopic.php?p=42392#p42392
trying to allow VSS on AN-temp3 and 4
2021-09-28 16:21:57 -04:00
BeerMoneyMotorsports b3c4273120 flex fix? (#3281) 2021-09-28 14:25:24 -04:00
rusefillc 83e8dc6e28 https://github.com/rusefi/hellen-NB1-issues/issues/15
remaining references of na6 but those should not matter
2021-09-28 13:01:01 -04:00
rusefillc c9591f2d1f nb1 is 144 pin 2021-09-27 22:02:43 -04:00
rusefillc 53e93803db nb1 is 144 pin 2021-09-27 21:45:31 -04:00
BeerMoneyMotorsports 97a6a883ef Update main.yaml (#3279) 2021-09-27 17:32:37 -04:00
rusefillc 873ec4cb75 wow that was a bad setting name 2021-09-26 18:07:49 -04:00
Andrey 37dbc1ac2c vr threshold test configuration 2021-09-26 03:01:25 -04:00
Andrey 7eee8138b2 vr threshold test configuration 2021-09-26 02:21:21 -04:00
Matthew Kennedy 48da721c49 dead knock code (#3255)
* more unification

* hip stub

* comment

* guard

* channel idx

* include

* hip

* move in to engine

* hip9011

* dead stuff

* dead

* fsio

* lcd

* more dead
2021-09-21 20:40:20 -04:00
rusefillc 80be7e3d4a pinouts 2021-09-19 23:03:17 -04:00
rusefi c84559f542 merc128: engine config defaults #3236 2021-09-18 22:12:22 -04:00
rusefi b8c8bffa58 merc 2021-09-18 21:49:23 -04:00
rusefillc 1edf98dce2 merc128: engine config defaults #3236 2021-09-18 21:27:17 -04:00
rusefi 249f75b61b merc 2021-09-18 19:37:00 -04:00
rusefillc 89dfdcddfc M104 notes 2021-09-18 16:36:02 -04:00
rusefillc be244d29a7 M104 notes 2021-09-18 16:18:00 -04:00
rusefillc 910be68143 M104 notes 2021-09-18 15:31:15 -04:00
rusefillc 96dca359a9 merc128: engine config defaults #3236 2021-09-18 00:17:52 -04:00
rusefillc ba5a75c56d merc128: engine config defaults #3236 2021-09-18 00:02:56 -04:00
rusefillc a9622bfc4d merc128: engine config defaults #3236 2021-09-17 23:38:50 -04:00
rusefillc d678c02d88 nb1 folder 2021-09-17 22:52:23 -04:00
rusefillc ba1496195e merc128: engine config defaults #3236 2021-09-17 21:48:18 -04:00
rusefillc 885e4aee29 merc128: engine config defaults #3236 2021-09-17 21:23:54 -04:00
rusefillc d70a4f442f Nissan 2021-09-15 15:51:03 -04:00
rusefi f8ff0c31fa merc 2021-09-14 21:30:57 -04:00
rusefi 9f432abcc8 Nissan progress!!! 2021-09-14 19:28:40 -04:00
rusefi ae7766ca0b Nissan progress!!! 2021-09-14 17:13:09 -04:00
rusefillc 71774ba365 Nissan 2021-09-14 16:42:13 -04:00
rusefi 69f6e57ac7 Revert "Hellen Nissan defaults are no longer valid fix #3143"
This reverts commit 3f81d894
2021-09-14 15:51:58 -04:00
rusefi 3f81d89482 Hellen Nissan defaults are no longer valid fix #3143 2021-09-14 15:46:21 -04:00
rusefillc fad09634d2 Nissan 2021-09-13 21:30:45 -04:00
rusefillc 9a0eb33385 merc default tune 2021-09-13 21:21:18 -04:00
rusefi f98643e99d resolving pin configuration conflict 2021-09-13 12:32:42 -04:00
rusefillc 6a76f9629b op-amp notes 2021-09-11 16:19:58 -04:00
rusefillc 04bfe5ad5a trying to build CLK230 2021-09-11 16:19:45 -04:00
rusefillc 22a0c6650b Unable to change broken settings #3227 2021-09-05 20:03:08 -04:00
BeerMoneyMotorsports 9dc0514412 Update main.yaml (#3204)
TS NAME typo on boost control fix.
2021-08-27 07:12:48 -04:00
rusefillc 6247a50662 Revert "Revert "memory savings (#3195)""
This reverts commit 86cf9cf7
2021-08-27 06:18:05 -04:00
Andrey G a6fb12911d Board subaru: fix pinout. again and again (#3203) 2021-08-27 12:50:36 +03:00
rusefillc 86cf9cf7c9 Revert "memory savings (#3195)"
This reverts commit 1b485ca2
2021-08-27 02:32:31 -04:00
rusefillc fdd2beb952 docs 2021-08-27 02:31:48 -04:00
Matthew Kennedy e213fcaca5 s (#3202)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-26 17:11:53 -04:00
Matthew Kennedy 1b485ca2d8 memory savings (#3195)
* d

* dead code

* all your ram are belong to me

* turn off gpiochips we don't need

* save

* save by using the same file handle

* smaller stack ok

* these can be on the stack

* this is closer

* what about ccm?

* probing available

* now probe ccm

* ccm

* put stuff in ccm

* fsio

* memory usage

* memory
2021-08-26 23:05:31 +03:00
rusefillc 6cb6fb38e7 154h 2021-08-24 15:51:43 -04:00
BeerMoneyMotorsports 4cbafe9081 flex input (#3190)
flex class change to event_inputs
2021-08-24 11:41:15 -04:00
rusefillc 2e74a0aef1 https://github.com/rusefi/hellen121vag/issues/47 2021-08-24 10:11:01 -04:00
Andrey f050d8ddee todo: think about it 2021-08-24 02:56:32 -04:00
Matthew Kennedy 210aa31ef3 cleanup missing fsio stuff (#3189) 2021-08-24 08:19:03 +03:00
alxrMironov dd1b7ffa24 Vehicle speed switching to frequency sensor #3106 (#3148)
* Add vehicle_speed_converter.h with realization.

* Add test_vehicle_speed_converter.cpp with realization.

* Add test_vehicle_speed_converter.cpp to Makefile

* Edit "VehicleSpeedSensor" from function pointer sensor to frequency sensor

* Fix "VehicleSpeedSensor" init function args

* Remove "VehicleSpeedConverter" empty constructor

* Edit vehicle_speed_converter.h code style

* Fix args and engine injection in "VehicleSpeedSensor" initialization procedure

* Remove old "Vehicle Speed" module initialization

* Revert "Remove old "Vehicle Speed" module initialization"

This reverts commit 100b7caa8c615c20eed3d0c23a49824b4e556148.

* Remove old "Vehicle Speed" module initialization pieces

* Revert "Revert "Remove old "Vehicle Speed" module initialization""

This reverts commit f559a726f1f7f5a7acacd1b6517e571743e84327.

* Debug changes

* Revert "Debug changes"

This reverts commit f7e2be1a8a46c6f3f93f14f002b2f2db539da8e2.

* Another debug changes

* More debug changes

* And more debug changes.

* Revert "Another debug changes"

This reverts commit 914fbb1df42c37e4b5ecbb119bb45e7cffdf4064.

* Revert "More debug changes"

This reverts commit 0b2d96d461c3cd9b0f1ae97ed110b8effe6b0cc6.

* Revert "And more debug changes."

This reverts commit 06ae8daded0e6e1c025e4e5058b47283f4adfe92.

* Add "Vehicle Speed" sensor reconfiguration

* Revert "Add "Vehicle Speed" sensor reconfiguration"

This reverts commit a089a6d563dd710004ce1a7da1744b0b4b90c3b1.

* Revert "Revert "Add "Vehicle Speed" sensor reconfiguration""

This reverts commit 7b2bb8af4b3caa547236ca59e4c4bdb3ac1200cc.

* Debug changes

* Another debug changes

* Fix another debug changes

* Another debug changes 2

* Revert "Another debug changes 2"

This reverts commit cfad55141eec125b2f1d35fb95d9f46b54f666b6.

* Revert "Fix another debug changes"

This reverts commit 9bc2c74a3be6fd896827ff48cf4580e7657529c0.

* Revert "Another debug changes"

This reverts commit 4337ed8cad8dff508d093944eb3f75e9a69e4a77.

* Edit class  FrequencySensor, make it more RAII

* Debug changes

* Debug changes 2

* Debug changes 3

* Revert "Debug changes 3"

This reverts commit 52a7054c122b5157540fe45a055a84b57478d722.

* Revert "Debug changes 2"

This reverts commit dec79fb913344ccb4b8614910ad62e6c129a243e.

* Revert "Debug changes"

This reverts commit eb08d7a529b55ba397a7dd2c154b76eab42f212b.

* Revert "Edit class  FrequencySensor, make it more RAII"

This reverts commit 3a0bb1d3f1dd23c1b04e4cc1c526cfdc67ae86a3.

* Remove VSS pin definition in "Citroen Berlingo" engine config.

This reverts commit 3a0bb1d3f1dd23c1b04e4cc1c526cfdc67ae86a3.

* Remove VSS pin definition in "Dodge Neon" engine config

Co-authored-by: alxrMironov <330OMcorporative>
2021-08-24 00:55:41 -04:00
Andrey G fc17c63d51 Bunch of small fixes related to EG33 board (#3188)
* Typo fix

* flash_main: always allow to write settings to ext NOR while running

* mc33810: do not enable outputs right after undervoltage

Wait for next active signal

* QSPI flash: set correct dummy cycles for fast read command

* board subaru: fix connector pinout. again.

* board subaru: fix SDMMC pin configuration

* board subaru: fix DMA conflict SPI4_RX vs SDMMC2
2021-08-24 07:39:03 +03:00
rusefillc d90a6dbae4 VAG 1.8T default tune PPS fix #3178 2021-08-19 06:51:00 -04:00
shadowm60 ba680124f0 Update main.yaml (#3171)
minor correction to use all adc inputs
2021-08-18 00:31:42 +03:00
Andrey G bd7c73c109 qspi flash updates (#3169)
* ChibiOS QSPI updates

* board: subaru: speed up NOR flash

* QSPI: add fast read commands
2021-08-17 11:06:37 +03:00
rusefillc 174bec6e43 Nissan progress 2021-08-16 10:56:31 -04:00
Andrey 9075888e7b zero dwell warning at zero RPM #3153 2021-08-16 09:11:22 -04:00
Andrey 05b3a2ac18 zero dwell warning at zero RPM #3153 2021-08-16 09:00:43 -04:00
rusefillc a1553924ec HTML title for pinout pages fix #2882 2021-08-15 14:22:34 -04:00
Andrey G a36165f835 board subaru eg33: connector yaml: add Vbat sense pin (#3156) 2021-08-15 02:14:40 -04:00
Andrey G 859c4f3902 Settings ext storage (#3155)
* flash_main.cpp: reorder code for easy integration of ext storage

* Add EFI_STORAGE_INT_FLASH option

Default set to TRUE

* Add ChibiOS's Managed Flash Storage to build

* Add support for QSPI flash (SST26F064A tested)

* board: subaru: enable WSPI and NOR flash drivers

* Add option to save settings on ext flash MFS partition

* board: subaru: store settings on QSPI NOR flash
2021-08-14 09:36:08 -04:00
Andrey G 3f3587ad8d subaru board fixes (#3154)
* board: subaru: fix pinmuxes for QSPI interface

* board: subaru: switch to EXTI
2021-08-14 15:45:30 +03:00
shadowm60 083178e86e Update board_configuration.cpp (#3147)
Added ETB defaults
2021-08-12 18:01:15 -04:00
BeerMoneyMotorsports 010bf3f7ab Update options port usage and pin location (#3142)
* Update options port usage and pin location

Added all info for connector 2 along with pin locations.

* Update main.yaml

2k fix and recheck
2021-08-12 13:13:01 -04:00
shadowm60 2507aaff2c Hellen128 default (#3138)
* Update board_configuration.cpp

setSdCardConfigurationOverrides update

* Update main.yaml

update vBatt input

* Update main.yaml

fix nameing
2021-08-11 18:32:54 -04:00
rusefillc b54caa7140 Nissan progress 2021-08-11 18:29:35 -04:00
rusefillc 98ce0f1f88 Nissan progress 2021-08-11 18:04:57 -04:00
Matthew Kennedy 90c9c7d00c fix vss crash (#3130)
* don't deref null pointer

* error on invalid

* no logic analyzer

* print out function in case of error
2021-08-10 14:20:57 -04:00
rusefillc 16664ab19b NB2 36 2021-08-10 02:34:59 -04:00
rusefillc 61d40b45ae NB2 36 2021-08-10 02:17:33 -04:00
rusefillc ba446252c4 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 17:47:33 +03:00
Andrey 3bc6b2d73a Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 07:29:11 -04:00
Andrey 8a4831b1dc Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 07:04:18 -04:00
Andrey 76412dffde Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 06:16:19 -04:00
Andrey bb076e2578 NB1 2021-08-07 16:43:31 -04:00
rusefillc 02221aaac0 NB1 2021-08-07 02:46:35 -04:00
rusefillc 1e8f91a640 154hyundai 2021-08-07 02:44:17 -04:00
rusefillc 853b3f66a1 hellen154hyundai 2021-08-05 18:06:15 -04:00
rusefillc 49497dec6d Hellen72: Set the default pin states to input-pulldown instead of input-pullup #2525 2021-08-05 04:53:37 -04:00
rusefillc 196369c4a7 hellen154hyundai 2021-08-04 20:48:33 -04:00
rusefillc b3469802a4 hellen154hyundai 2021-08-04 20:00:10 -04:00
Matthew Kennedy 39388c75d8 even more pch (#3112)
* s

* more

* s

* f7
2021-08-04 19:30:52 -04:00
rusefillc 660e804347 hellen154hyundai
one day I will learn the spelling!
2021-08-04 19:13:28 -04:00
rusefillc bfd002b134 hellen154hyundai 2021-08-03 22:50:06 -04:00
Matthew Kennedy 4e6b61234f yet more pch (#3068)
* big pch energy

* put back ramdisk stub

* tests are happy

* h743 nucleo

* kinetis

* I love deleting code!

* make stepper happy

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-03 22:05:01 -04:00
Andrey 98e1a11ca7 hellen154hyundai 2021-08-03 20:03:59 -04:00
Andrey 3e3ed30be4 hellen154hyundai 2021-08-03 05:22:35 -04:00
rusefillc 7059eff691 boards file clean-up 2021-08-03 04:35:23 -04:00
Andrey G adede96583 Remove outdated option CH_DBG_ENABLE_TRACE (#3087)
Not used since RT5
2021-07-31 07:51:13 -04:00
Andrey 305efd4de1 RUSEFI MSD to contain bundle-specific URL fix #2848 2021-07-30 22:33:56 -04:00
Andrey 2bc09aca74 gen_config.sh code duplication #2451 2021-07-30 16:55:07 -04:00
Andrey c768113951 typos 2021-07-30 16:28:27 -04:00
rusefillc ca608c261a +x 2021-07-30 10:10:18 -04:00
Andreika 38385d5ac6 Hellen81 initial (#3080)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-07-30 10:04:22 -04:00
Matthew Kennedy 8ebb7b8f24 discrete VR threshold control (#3061)
* vr pwm

* rename

* scaling and ui

* hellen pin

* s

* math

* ooh, pch

* happy test

* not magic
2021-07-28 07:44:44 -04:00
rusefillc 32d2cf6aab 121 vag defaults have fatal error fix #3059 2021-07-26 16:40:11 -04:00
rusefillc 6184737d98 atlas https://github.com/rusefi/rusefi/blob/master/firmware/config/boards/readme.md 2021-07-26 11:43:32 -04:00
Matthew Kennedy c03c779703 make build happy (#3067) 2021-07-26 09:08:05 -04:00
Matthew Kennedy 9ea307a534 atlas build stub (#3065)
* add atlas configs

* script

* prepend

* s

* stubs

* apparently board.mk can't set cpu

* s
2021-07-26 01:04:58 -04:00
Matthew Kennedy f44a84b40c set up precompiled header (#2971)
* ignore

* set up precompiled header

* makefile

* fixes

* cleanup

* only depend cpp on pch

* efifeatures in pch

* f7 efifeatures

* consolidate

* simulator

* proteus build

* error handling is a good one

* bootloader pch

* don't auto include pch

* dirs

* delete on clean

* bootloader cleans

* clean.sh deletes pch

* disable in bl for now

* there was a typo so maybe it'll work now

* remove todo

* don't need that any more

* don't need these parts

* don't need this part

* undo changes

* use a different cpp as example

* s

* Revert "cleanup"

This reverts commit 8de8698490f5d09c2df753f00a89751aa898be9a.

* also unnecessary now

* buh

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-25 21:23:23 -04:00
rusefi 138cfde320 Red test mule cranking to idling is weird #3050 2021-07-24 23:05:22 -04:00
rusefi d7259789cb Red test mule cranking to idling is weird #3050 2021-07-24 11:56:29 -04:00
Matthew Kennedy 098469b88c H7 ADC triggered by hardware timer (#3028)
* config

* allow changing adc speed

* timer triggered ADC

* ICU on nucleo

* turn that off too

* 10khz

* make those default for all h7

* I can't type
2021-07-23 14:50:35 -04:00
David Holdeman c61d11e3d0 Pinout links (#3037)
* add support for links

* add undefined check and remove pdiv ref

* add MRE id

* clear search
2021-07-23 09:20:13 -04:00
Andrey 863ffb1a95 Nissan 2021-07-22 23:44:25 -04:00
rusefillc 85aa270c1d Nissan 2021-07-22 22:44:11 -04:00
rusefi 7e5fc89268 Nissan 2021-07-22 21:37:53 -04:00
Andrey 2a07c3df27 Nissan VVT trigger decoder #2887 2021-07-21 23:08:56 -04:00
Andrey da905f20a6 trailing spark outputs #2931 2021-07-21 19:55:14 -04:00
David Holdeman d2691c1ee9 Pinout Title and connector names (#3021)
* add page title and connector name

* try mre
2021-07-21 19:47:38 -04:00
BeerMoneyMotorsports 490183aefd Rev B STM pin changes (#3022)
1E, 3I and 2J
2021-07-21 19:43:25 -04:00
Andrey 51802334b8 Button to apply nDBANK #2996
consistency good inconsistency bad
2021-07-20 13:44:45 -04:00
Andrey 668c342b34 Button to apply nDBANK #2996 2021-07-20 13:20:34 -04:00
Andrey 9e111f856e +x into git 2021-07-20 12:49:40 -04:00
rusefillc 50f3f5ecba flipping presets logic in order to reduce duplication 2021-07-20 11:44:48 -04:00
rusefi 4a178ba26e hellen nb2 defaults 2021-07-18 21:03:01 -04:00
Andrey G 2551993321 board: subaru eg33: fix pinouts, add aux connector (#2986) 2021-07-18 14:58:22 -04:00
BeerMoneyMotorsports 121c29526b O2 input (#2985)
O2 input for front O2 but is using O2S2 since its easier to connect on revA
2021-07-18 12:13:13 -04:00
BeerMoneyMotorsports 40a30748f3 Sensor pins (#2977)
updated pinouts for merc
2021-07-17 11:54:06 -04:00
Andrey f69690a36a kaiju is asking for vq30de trigger wheel decoder #2974 2021-07-17 00:27:56 -04:00