Commit Graph

11020 Commits

Author SHA1 Message Date
GitHub build-firmware Action 7b49d3d2df Auto-generated configs and docs 2021-09-09 00:56:12 +00:00
rusefillc bbd5ce9593 SD-card log fields improvement (warning counter & last code) #3162 2021-09-08 20:52:11 -04:00
rusefillc 39138aba8f SD-card log fields improvement (warning counter & last code) #3162 2021-09-08 20:45:52 -04:00
GitHub build-firmware Action 4256a2329f Auto-generated configs and docs 2021-09-09 00:37:00 +00:00
rusefillc 6224a0a2f3 refactoring: just a better constant name 2021-09-08 20:32:50 -04:00
GitHub set-date Action 837f0e9eed Update date 2021-09-08 00:56:50 +00:00
Matthew Kennedy c6287aa326 more fuel info in verbose CAN (#3229)
* more fuel info

* missed a comma
2021-09-07 17:39:30 -04:00
GitHub build-firmware Action 1dd53bcbd8 Auto-generated configs and docs 2021-09-07 18:23:28 +00:00
Matthew Kennedy f125a14497 boost debug fields (#3228) 2021-09-07 14:07:47 -04:00
GitHub set-date Action 1d78fda4f5 Update date 2021-09-07 00:56:25 +00:00
rusefillc 68f94e8abc Smart ECU: misfire detection #936 2021-09-06 15:29:36 -04:00
rusefillc d4fd06db54 Smart ECU: misfire detection #936 2021-09-06 11:10:11 -04:00
GitHub build-firmware Action 558b28c4db Auto-generated configs and docs 2021-09-06 15:04:17 +00:00
rusefillc 1c825d1a04 refactoring: reducing code duplication 2021-09-06 10:57:04 -04:00
rusefillc 160d7810a4 Smart ECU: misfire detection #936 2021-09-06 10:35:26 -04:00
GitHub build-firmware Action 2754e86cfa Auto-generated configs and docs 2021-09-06 14:17:07 +00:00
rusefillc e1f7315705 Smart ECU: misfire detection #936 2021-09-06 10:03:26 -04:00
rusefillc dab0ee2b9d thank you Nik - dealing with false positive CUSTOM_OBD_LOW_FREQUENCY 2021-09-06 08:09:14 -04:00
rusefillc b7a61cd363 hysteresis for GPPWM #3222 2021-09-06 07:58:17 -04:00
rusefillc 32defc75bf hysteresis for GPPWM #3222 2021-09-06 07:21:17 -04:00
GitHub set-date Action 65d65a388c Update date 2021-09-06 01:03:48 +00:00
GitHub build-firmware Action 8e13d71c08 Auto-generated configs and docs 2021-09-06 00:26:59 +00:00
rusefillc 1d95957663 hysteresis for GPPWM #3222 2021-09-05 20:18:14 -04:00
rusefillc 0d1b6f3490 hysteresis for GPPWM #3222 2021-09-05 20:16:57 -04:00
rusefillc 22a0c6650b Unable to change broken settings #3227 2021-09-05 20:03:08 -04:00
rusefillc 807357505e Hellen Nissan defaults are no longer valid #3143 2021-09-05 19:29:40 -04:00
Andrey be221bb913 Hellen Nissan defaults are no longer valid #3143 2021-09-05 15:15:25 -04:00
GitHub build-firmware Action 5918912a36 Auto-generated configs and docs 2021-09-05 19:05:59 +00:00
Andrey 72bcbf79ec reducing FSIO 2021-09-05 15:02:07 -04:00
Andrey 536567cc13 SD-card log fields improvement (warning counter & last code) #3162 2021-09-05 14:43:35 -04:00
rusefillc a383d726de more details into CUSTOM_OBD_LOW_FREQUENCY message 2021-09-05 14:21:02 -04:00
GitHub build-firmware Action 7273a48b0d Auto-generated configs and docs 2021-09-05 18:08:59 +00:00
Andrey 752a4e815e reducing FSIO 2021-09-05 13:56:51 -04:00
Andrey 935ab7610d SD-card log fields improvement (warning counter & last code) #3162 2021-09-05 10:01:04 -04:00
Andrey e26ead3f57 SD-card log fields improvement (warning counter & last code) #3162 2021-09-05 09:16:35 -04:00
Andrey 4d6e94645f SD-card log fields improvement (warning counter & last code) #3162 2021-09-05 07:25:52 -04:00
Matthew Kennedy 98c4e71f03 enable address sanitizer (#3217)
* enable asan

* lua

* this is dead and leaky

* leaky nissan

* fix pwm generator use-after-stack

* initializers

* prevent problems in case of invalid trigger shape

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-09-05 05:56:59 -04:00
GitHub set-date Action 62a854f7d3 Update date 2021-09-05 01:00:12 +00:00
Andrey G aead310023 Subaru svx trigger update (not vvt) (#3210)
* trigger: subaru: SVX: some comments

* trigger: subaru: svx: fix crank 2 offset

* trigger: subaru: svx: rework a bit

* trigger: subaru: svx: fix dtc position
2021-09-04 11:42:12 -04:00
Matthew Kennedy 36d2c29667 start system lua VM (#3219)
* start system lua vm

* show used

* message

* null if script load fails
2021-09-04 07:57:58 -04:00
GitHub set-date Action 02e50b8b2f Update date 2021-09-04 00:57:30 +00:00
rusefillc 0b73150ea4 Lua timer (#3218)
* Lua: Timer class #3159

* Lua: Timer class #3159

* Lua: Timer class #3159

* Lua: Timer class #3159

* lua timer is happy (#3216)

* hooks are happy

* don't need that any more

* format

* update lib

* module

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2021-09-03 20:21:39 -04:00
GitHub build-firmware Action 66a9bc5ce7 Auto-generated configs and docs 2021-09-03 10:35:26 +00:00
Andrey 2dd88eb0dc SD-card log fields improvement (warning counter & last code) #3162 2021-09-03 06:30:21 -04:00
Andrey b8005132cf SD-card log fields improvement (warning counter & last code) #3162 2021-09-03 06:22:06 -04:00
Matthew Kennedy eeef1148d8 multiple lua heaps (#3215)
* multi lua heaps

* assert

* put it in a class

* put it in the class

* privacy
2021-09-03 03:45:23 -04:00
GitHub set-date Action 878d5f1325 Update date 2021-09-03 00:57:02 +00:00
rusefillc 2bf4755105 my first Lua 2021-09-02 10:46:15 -04:00
GitHub set-date Action 887af5e86a Update date 2021-09-02 00:58:14 +00:00
GitHub build-firmware Action fdd1e4131d Auto-generated configs and docs 2021-09-01 19:04:18 +00:00
Andrey G 3cb397ccfb Rusefi input fixes: make some tables more frienly looking (#3212)
* Avoid fractional numbers on axis of few tables

Idle Advance Angle, Idle VE, Cranking Advance Angle

* No need to have RPM up to 8000 on idle and cranking tables

2500 is enougth
2021-09-01 22:00:05 +03:00
GitHub build-firmware Action d74fa5b43a Auto-generated configs and docs 2021-09-01 11:59:13 +00:00
rusefillc 1ac86f50a2 my first Lua 2021-09-01 07:47:50 -04:00
GitHub build-firmware Action ba45192959 Auto-generated configs and docs 2021-09-01 06:47:17 +00:00
rusefillc c850bdf02b my first Lua 2021-09-01 02:43:03 -04:00
rusefillc d005cd6891 my first Lua 2021-09-01 02:37:36 -04:00
GitHub set-date Action cd26da7999 Update date 2021-09-01 01:02:19 +00:00
rusefillc cbdd36df92 my first Lua 2021-08-31 12:32:05 -04:00
rusefillc 0acd49da3b my first Lua 2021-08-31 11:37:43 -04:00
rusefillc 67eb6d9936 Subaru svx vvt #3210
helping or not
2021-08-31 06:05:57 -04:00
rusefillc dff71b0764 Subaru svx vvt #3210
helping or not
2021-08-31 05:54:04 -04:00
GitHub build-firmware Action 8d3e795c2c Auto-generated configs and docs 2021-08-31 09:06:02 +00:00
rusefillc 07ac5049f4 docs 2021-08-31 04:27:31 -04:00
rusefillc f20c5272df Subaru svx vvt #3210
helping or not
2021-08-31 04:15:01 -04:00
GitHub set-date Action bd04908ad7 Update date 2021-08-31 00:58:13 +00:00
GitHub set-date Action 0b19092aef Update date 2021-08-30 00:55:24 +00:00
GitHub set-date Action 4c54ff89f3 Update date 2021-08-29 00:58:59 +00:00
Matthew Kennedy f6e269a3ab remove old vss implementation (#3208)
* dead vss

* remove
2021-08-28 01:39:55 -04:00
rusefillc 2cc3170931 ## August 2021 Release - "Lottery Day" 2021-08-28 01:36:26 -04:00
GitHub set-date Action 72e8f7a32c Update date 2021-08-28 00:53:18 +00:00
GitHub build-firmware Action 5e7fa0a36b Auto-generated configs and docs 2021-08-27 22:03:24 +00:00
Matthew Kennedy df5f7552f2 disable closed loop boost below MAP threshold (#3206)
* boost minimum map

* changelog
2021-08-27 17:54:08 -04:00
rusefillc 43346e1a4a Revert "partial rollback was requested to revive HW CI"
This reverts commit a460e588
2021-08-27 12:42:53 -04:00
GitHub build-firmware Action 5aa10d4385 Auto-generated configs and docs 2021-08-27 11:16:03 +00: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
GitHub build-firmware Action d39a329223 Auto-generated configs and docs 2021-08-27 09:54:15 +00:00
Andrey G a6fb12911d Board subaru: fix pinout. again and again (#3203) 2021-08-27 12:50:36 +03:00
Matthew Kennedy ad205cb15e detect "not scheduled" faster (#3200)
* fatal if not found

* handle not-scheduled

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-27 11:46:01 +03:00
Matthew Kennedy 9d437474b2 add cancel to scheduler (#3201)
* fw

* for tests

* simulator

* sim

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-27 11:30:06 +03:00
Matthew Kennedy a56d2d9e0e s (#3207) 2021-08-27 11:07:33 +03:00
Matthew Kennedy 0b648f5960 init the timer before we try to use it (#3205)
* init the timer before we try to use it

* format

* guard
2021-08-27 10:59:00 +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
GitHub set-date Action 47c524aec3 Update date 2021-08-27 01:00:17 +00:00
Matthew Kennedy e213fcaca5 s (#3202)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-26 17:11:53 -04:00
rusefillc a460e588ef partial rollback was requested to revive HW CI 2021-08-26 17:04:27 -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
Matthew Kennedy 7a4a0bb608 add & test remove from linked list (#3199) 2021-08-26 23:03:09 +03:00
GitHub set-date Action d59d6c4a75 Update date 2021-08-26 00:54:08 +00:00
Matthew Kennedy ae84ec2044 simpler way for limp manager to handle engine stop (#3194)
* simpler

* why would we lie about spinning?
2021-08-25 11:29:20 +03:00
GitHub set-date Action 6f7537b3ee Update date 2021-08-25 00:56:06 +00:00
Matthew Kennedy fe74ace049 missed a little bit (#3192) 2021-08-24 17:00:14 -04:00
Matthew Kennedy df48806ec0 start allowing ADC change while running (#3100)
* allow re-register of the same sensor

* add api to unsubscribe

* do it for tps

* clear the pin

* happy test

* maybe make afr happy for now

* tests build

* happy simulator

* active configuration

* check valid

* we need vbatt now

* manage all pin init in init_sensors.cpp

* don't need that

* cleanup

* thermistors

* do two phase reinit in the right place

* config vs engine

* finally the tests are happy
2021-08-24 16:41:16 -04:00
GitHub build-firmware Action c865438788 Auto-generated configs and docs 2021-08-24 20:20:36 +00:00
rusefillc 0feb5329a0 less confusing name for vag hellen preset 2021-08-24 16:07:20 -04:00
rusefillc 7ff980eb5c 94/95 miata presets #3191 2021-08-24 16:03:50 -04:00
GitHub build-firmware Action e98482d7e3 Auto-generated configs and docs 2021-08-24 19:55:16 +00:00
rusefillc 6cb6fb38e7 154h 2021-08-24 15:51:43 -04:00
GitHub build-firmware Action d177c41d7a Auto-generated configs and docs 2021-08-24 15:44:43 +00:00
BeerMoneyMotorsports 4cbafe9081 flex input (#3190)
flex class change to event_inputs
2021-08-24 11:41:15 -04:00
GitHub build-firmware Action e254ee5319 Auto-generated configs and docs 2021-08-24 14:14:57 +00:00
rusefillc 2e74a0aef1 https://github.com/rusefi/hellen121vag/issues/47 2021-08-24 10:11:01 -04:00
rusefillc f9b7861f11 firing order for some 911 2021-08-24 07:48:02 -04:00
GitHub build-firmware Action e3264c5986 Auto-generated configs and docs 2021-08-24 11:39:25 +00:00
rusefillc f33132af9e firing order for some 911 2021-08-24 07:31:55 -04:00
rusefillc 76dc085abf firing order for some 911 2021-08-24 07:28:56 -04:00
GitHub build-firmware Action e58c3c1e25 Auto-generated configs and docs 2021-08-24 07:02:08 +00:00
Andrey f050d8ddee todo: think about it 2021-08-24 02:56:32 -04:00
GitHub build-firmware Action bea353d32d Auto-generated configs and docs 2021-08-24 05:23:27 +00: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
GitHub build-firmware Action bf85ee1815 Auto-generated configs and docs 2021-08-24 04:42:40 +00: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
GitHub set-date Action 7bdeeac531 Update date 2021-08-24 01:04:00 +00:00
GitHub set-date Action 0a814e6764 Update date 2021-08-23 00:52:29 +00:00
Andrey e6ac41f5ba my first Lua 2021-08-22 01:41:54 -04:00
GitHub build-firmware Action 9d05d54cf1 Auto-generated configs and docs 2021-08-22 04:11:34 +00:00
Andrey c0f55292f1 Lua analog inputs 2021-08-22 00:05:51 -04:00
Andrey 94fcb15506 my first Lua 2021-08-22 00:00:20 -04:00
GitHub set-date Action daf7bad539 Update date 2021-08-22 00:55:30 +00:00
CrazyStriker 5ca71121e0 updated OEM map sensor values for Mazda 1 bar (#3185)
according to measurements
2021-08-21 18:31:05 +03:00
Matthew Kennedy feae377acb de init frequency sensor (#3183)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-21 09:02:05 +03:00
GitHub set-date Action af277ac9bf Update date 2021-08-21 00:54:54 +00:00
GitHub set-date Action 754deba01f Update date 2021-08-20 00:55:08 +00:00
rusefillc 8632f28f5a more detailed message 2021-08-19 15:51:33 -04:00
Matthew Kennedy ec242f92de lua pass alloc and script (#3179)
* pass alloc and script

* pass in all the spots
2021-08-19 15:14:02 -04:00
GitHub build-firmware Action d61a354d2f Auto-generated configs and docs 2021-08-19 10:55:01 +00:00
rusefillc d90a6dbae4 VAG 1.8T default tune PPS fix #3178 2021-08-19 06:51:00 -04:00
Matthew Kennedy a71c2f5139 fix ETB PWM (#2870)
* iwpm

* dc motor has configure

* consume

* format

* use fake PWM to save one SimplePwm instance

* comments

* not sure why I changed that

* init the pins otherwise

* typo

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-19 08:33:33 +03:00
GitHub set-date Action 544495257d Update date 2021-08-19 00:50:19 +00:00
Matthew Kennedy a02c8dc7c3 lua & fsio cleanup (#3175) 2021-08-18 15:25:46 -04:00
GitHub set-date Action 8f43f72912 Update date 2021-08-18 00:57:22 +00:00
GitHub build-firmware Action 07edd06300 Auto-generated configs and docs 2021-08-17 21:35:02 +00: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
GitHub build-firmware Action 8f82e94801 Auto-generated configs and docs 2021-08-17 00:59:17 +00:00
rusefillc b75b50b961 SD-card log fields improvement (warning counter & last code) #3162 2021-08-16 20:54:41 -04:00
Lenar Khannanov a334f0d23f Hotfix some java_tools gradle configs (#3165)
* fix: deleted mavenRepositories declaration

* fix: deleted unnecessary settings.gradle for enum_to_string

* fix: dependencies for junit, annotations, jsr305; feat: added new dependency for jsr305; fix: deleted settings.gradle for logging; fix: moved enum_to_string tests to test folder

* fix: deleted mavenRepositories declaration

* fix: deleted unnecessary settings.gradle for enum_to_string

* fix: dependencies for junit, annotations, jsr305; feat: added new dependency for jsr305; fix: deleted settings.gradle for logging; fix: moved enum_to_string tests to test folder

* fix: placed test classes to test folder in enum_to_string; feat: get updates from master
2021-08-16 23:52:52 +03:00
Matthew Kennedy cf4f012c79 longer wbo timeout (#3164) 2021-08-16 15:11:26 -04: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
Andrey 655c47b4d7 zero dwell warning at zero RPM #3153 2021-08-16 07:21:07 -04:00
rusefillc a5a3ec3f13 zero dwell warning at zero RPM #3153 2021-08-16 07:00:17 -04:00
GitHub build-firmware Action ba81c89bd1 Auto-generated configs and docs 2021-08-16 10:57:59 +00:00
rusefillc 5edd78d856 enlarging Lua script in configuration 2021-08-16 06:52:29 -04:00
rusefillc 0fa1451fba enlarging Lua script in configuration 2021-08-16 04:22:51 -04:00
rusefillc 47c20c95dd zero dwell warning at zero RPM #3153 2021-08-16 04:20:32 -04:00
GitHub set-date Action 472e0295e4 Update date 2021-08-16 00:56:44 +00:00