Commit Graph

6839 Commits

Author SHA1 Message Date
rusefillc 4e47e7bdb9 my first Lua 2021-08-31 11:37:43 -04:00
rusefillc 526340de78 Subaru svx vvt #3210
helping or not
2021-08-31 06:05:57 -04:00
rusefillc 1a1b7f95c0 Subaru svx vvt #3210
helping or not
2021-08-31 05:54:04 -04:00
GitHub build-firmware Action b4841d3714 Auto-generated configs and docs 2021-08-31 09:06:02 +00:00
rusefillc 6ea76921f4 docs 2021-08-31 04:27:31 -04:00
GitHub set-date Action 45b3d43239 Update date 2021-08-31 00:58:13 +00:00
GitHub set-date Action 5f9f12ebd4 Update date 2021-08-30 00:55:24 +00:00
GitHub set-date Action 47fc8858a5 Update date 2021-08-29 00:58:59 +00:00
Matthew Kennedy 730b26d034
remove old vss implementation (#3208)
* dead vss

* remove
2021-08-28 01:39:55 -04:00
GitHub set-date Action 195604f749 Update date 2021-08-28 00:53:18 +00:00
GitHub build-firmware Action 5e1701df6a Auto-generated configs and docs 2021-08-27 22:03:24 +00:00
Matthew Kennedy 6407e74ae2
disable closed loop boost below MAP threshold (#3206)
* boost minimum map

* changelog
2021-08-27 17:54:08 -04:00
rusefillc 22158cbc4a Revert "partial rollback was requested to revive HW CI"
This reverts commit 6834d0dd
2021-08-27 12:42:53 -04:00
GitHub build-firmware Action bcef98598b Auto-generated configs and docs 2021-08-27 11:16:03 +00:00
rusefillc 48a009fc33 Revert "Revert "memory savings (#3195)""
This reverts commit 0b3ef5f5
2021-08-27 06:18:05 -04:00
GitHub build-firmware Action 31696af765 Auto-generated configs and docs 2021-08-27 09:54:15 +00:00
Matthew Kennedy da5aaeda2b
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 0c6297e926
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 6c7b48b319
s (#3207) 2021-08-27 11:07:33 +03:00
Matthew Kennedy 98a98e920d
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 0b3ef5f553 Revert "memory savings (#3195)"
This reverts commit 52a24ee7
2021-08-27 02:32:31 -04:00
GitHub set-date Action 8051ee4b0c Update date 2021-08-27 01:00:17 +00:00
rusefillc 6834d0dd65 partial rollback was requested to revive HW CI 2021-08-26 17:04:27 -04:00
Matthew Kennedy 52a24ee773
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 cf5d4cbe1c
add & test remove from linked list (#3199) 2021-08-26 23:03:09 +03:00
GitHub set-date Action 3fd6eb6f85 Update date 2021-08-26 00:54:08 +00:00
Matthew Kennedy 87e4e7e4cf
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 3cfb4b7675 Update date 2021-08-25 00:56:06 +00:00
Matthew Kennedy a18b86a09b
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 879170c08b Auto-generated configs and docs 2021-08-24 20:20:36 +00:00
rusefillc 767496f3f4 94/95 miata presets #3191 2021-08-24 16:03:50 -04:00
GitHub build-firmware Action 18518168e3 Auto-generated configs and docs 2021-08-24 19:55:16 +00:00
GitHub build-firmware Action 96633a92a5 Auto-generated configs and docs 2021-08-24 15:44:43 +00:00
GitHub build-firmware Action 5ae1b438c4 Auto-generated configs and docs 2021-08-24 14:14:57 +00:00
GitHub build-firmware Action 95de5e8e0e Auto-generated configs and docs 2021-08-24 11:39:25 +00:00
rusefillc 6b6c8abfc4 firing order for some 911 2021-08-24 07:31:55 -04:00
rusefillc 24ff3a5cd5 firing order for some 911 2021-08-24 07:28:56 -04:00
GitHub build-firmware Action 8ee165c0b2 Auto-generated configs and docs 2021-08-24 07:02:08 +00:00
GitHub build-firmware Action 9dab37d12c Auto-generated configs and docs 2021-08-24 05:23:27 +00:00
Matthew Kennedy d2b54428c0
cleanup missing fsio stuff (#3189) 2021-08-24 08:19:03 +03:00
alxrMironov f926d2ccba
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 9be0985079 Auto-generated configs and docs 2021-08-24 04:42:40 +00:00
Andrey G 780e91f38a
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 e6bd9cbf68 Update date 2021-08-24 01:04:00 +00:00
GitHub set-date Action 468280d4e4 Update date 2021-08-23 00:52:29 +00:00
Andrey 7ab8986bd2 my first Lua 2021-08-22 01:41:54 -04:00
GitHub build-firmware Action 81d6edccbe Auto-generated configs and docs 2021-08-22 04:11:34 +00:00
Andrey d29529cbdd my first Lua 2021-08-22 00:00:20 -04:00
GitHub set-date Action 2f2f12a079 Update date 2021-08-22 00:55:30 +00:00
CrazyStriker 2a5acfb807
updated OEM map sensor values for Mazda 1 bar (#3185)
according to measurements
2021-08-21 18:31:05 +03:00
Matthew Kennedy ec9dcce377
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 044ed3272f Update date 2021-08-21 00:54:54 +00:00
GitHub set-date Action 2bf161da2d Update date 2021-08-20 00:55:08 +00:00
Matthew Kennedy 0731dbb479
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 be29b11d05 Auto-generated configs and docs 2021-08-19 10:55:01 +00:00
Matthew Kennedy 50889671c0
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 0885536098 Update date 2021-08-19 00:50:19 +00:00
Matthew Kennedy 559656bdc2
lua & fsio cleanup (#3175) 2021-08-18 15:25:46 -04:00
GitHub set-date Action 7296018fd1 Update date 2021-08-18 00:57:22 +00:00
GitHub build-firmware Action e106ac7a7c Auto-generated configs and docs 2021-08-17 21:35:02 +00:00
Andrey G 3961c6ad84
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 b01c3fc9ce Auto-generated configs and docs 2021-08-17 00:59:17 +00:00
Lenar Khannanov 47b5bd1f9d
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 2cfd9dddd0
longer wbo timeout (#3164) 2021-08-16 15:11:26 -04:00
Andrey 03ffa82d8e zero dwell warning at zero RPM #3153 2021-08-16 09:11:22 -04:00
Andrey 4652c478aa zero dwell warning at zero RPM #3153 2021-08-16 07:21:07 -04:00
rusefillc 6d3b2c5b00 zero dwell warning at zero RPM #3153 2021-08-16 07:00:17 -04:00
GitHub build-firmware Action 4a8a35ccc8 Auto-generated configs and docs 2021-08-16 10:57:59 +00:00
GitHub set-date Action 791ca789f1 Update date 2021-08-16 00:56:44 +00:00
Matthew Kennedy 70dfd4af78
inhibit sensor timeout during flash (#3146)
* inhibit timeout during flash

* do it up a level

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-15 23:04:58 +03:00
GitHub build-firmware Action 048801e95e Auto-generated configs and docs 2021-08-15 19:38:17 +00:00
GitHub build-firmware Action b8622a931f Auto-generated configs and docs 2021-08-15 18:33:32 +00:00
GitHub build-firmware Action 8d1514c3f3 Auto-generated configs and docs 2021-08-15 06:47:39 +00:00
Matthew Kennedy 68e2b93dff
don't print the wrong number (#3158)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-15 02:10:28 -04:00
GitHub set-date Action bcd54a7cd9 Update date 2021-08-15 00:56:40 +00:00
rusefillc 063ab4af35 dead FSIO 2021-08-14 11:52:41 -04:00
GitHub build-firmware Action 2f57dcee33 Auto-generated configs and docs 2021-08-14 15:26:24 +00:00
Andrey G c23e02c582
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
Matthew Kennedy 045db15dac
implement adc unsubscription (#3149)
* allow re-register of the same sensor

* adc unsub
2021-08-14 15:41:27 +03:00
GitHub build-firmware Action 81c9726ae0 Auto-generated configs and docs 2021-08-14 06:52:29 +00:00
Matthew Kennedy 2ad4a9df1e
actually remove FSIO idle stuff (#3150)
* debug mode

* pid cleanup

* more dead

* more dead

* wow more dead

* much dead many death wow
2021-08-14 09:48:45 +03:00
rusefillc e445d9724e dead idle FSIO 2021-08-14 01:48:03 -04:00
GitHub set-date Action 870ce23912 Update date 2021-08-14 00:53:14 +00:00
GitHub build-firmware Action 4640807f97 Auto-generated configs and docs 2021-08-13 19:05:45 +00:00
GitHub build-firmware Action e6d6e1fb54 Auto-generated configs and docs 2021-08-13 15:08:24 +00:00
GitHub set-date Action 57eab2370c Update date 2021-08-13 00:57:01 +00:00
GitHub build-firmware Action a7878b7b68 Auto-generated configs and docs 2021-08-12 22:42:47 +00:00
rusefillc 4ad584d3cc dead idle FSIO 2021-08-12 18:34:06 -04:00
alxrMironov 7ebebd6922
Begin "vehicleSpeed" refactoring. Module switched to "FunctionalPointerSensor" class. #3106 #3107 #3108. (#3132)
* Add new sensor type "VehicleSpeed"

* Add "Vehicle speed" sensor to name list

* Add Vehicle speed sensor initialization with function pointer sensor.

* Add init_vehicle_speed_sensor.cpp to Makefile

* Replace dependencies from "getVehicleSpeed" to OOP-like "Sensor::get()"

* Add warning and TODO to "mock vehicle speed" call

* Replace get & mock "VehicleSpeed" methods in tests

* Remove #warning directive (cause error by current settings)

* Remove stray tab

* Remove explicitly type casting.

* Add "InitVehicleSpeedSensor" function declaration to init.h

* Add "VehicleSpeedSensor" initialization call into "InitNewSensors"

Co-authored-by: alxrMironov <330OMcorporative>
2021-08-12 22:16:51 +03:00
GitHub build-firmware Action 32467de332 Auto-generated configs and docs 2021-08-12 17:24:33 +00:00
GitHub set-date Action 6bed70ef49 Update date 2021-08-12 00:58:15 +00:00
GitHub build-firmware Action 4a7ddc567e Auto-generated configs and docs 2021-08-11 22:49:24 +00:00
GitHub build-firmware Action 0633ce5a0d Auto-generated configs and docs 2021-08-11 22:08:32 +00:00
Matthew Kennedy 90a0e47b04
skip etb init if no primary sensor (#3136)
* skip init if no primary sensor

* specific test
2021-08-12 00:45:44 +03:00
rusefillc 3d4ff9083b Pavel says there are issues 2021-08-11 04:16:51 -04:00
rusefillc c34db37dfb Pavel says there are issues 2021-08-11 04:00:37 -04:00
GitHub build-firmware Action df0455a29e Auto-generated configs and docs 2021-08-11 06:07:34 +00:00
GitHub set-date Action c3f55cdee5 Update date 2021-08-11 00:58:18 +00:00
GitHub build-firmware Action fdbb096e65 Auto-generated configs and docs 2021-08-10 19:43:42 +00:00
rusefillc 490d8c1f8e "Burn without flash" button #3127 2021-08-10 07:30:12 -04:00