Commit Graph

6995 Commits

Author SHA1 Message Date
GitHub build-firmware Action e94052b35f Auto-generated configs and docs 2021-09-01 19:04:18 +00:00
GitHub build-firmware Action 9c9c66081f Auto-generated configs and docs 2021-09-01 11:59:13 +00:00
rusefillc 22a0b88872 my first Lua 2021-09-01 07:47:50 -04:00
GitHub build-firmware Action 258c080ed5 Auto-generated configs and docs 2021-09-01 06:47:17 +00:00
GitHub set-date Action 5aeac671c3 Update date 2021-09-01 01:02:19 +00:00
rusefillc f47320fd70 my first Lua 2021-08-31 12:32:05 -04:00
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
GitHub build-firmware Action aa99da9c11 Auto-generated configs and docs 2021-08-10 11:15:48 +00:00
rusefillc afcef0410d "Burn without flash" button #3127 2021-08-10 07:11:41 -04:00
rusefillc cc9b8ffa98 Implement auto knock threshold sampling #3033 2021-08-10 06:42:39 -04:00
GitHub build-firmware Action baa3986957 Auto-generated configs and docs 2021-08-10 10:00:43 +00:00
rusefillc e786af1c83 NB2 36 2021-08-10 02:34:59 -04:00
GitHub build-firmware Action ccfc764fa5 Auto-generated configs and docs 2021-08-10 06:22:39 +00:00
GitHub set-date Action 6b89e487b1 Update date 2021-08-10 00:59:51 +00:00
GitHub build-firmware Action 8c91910815 Auto-generated configs and docs 2021-08-09 21:12:58 +00:00
rusefillc 63e53aebc0 Implement auto knock threshold sampling #3033 2021-08-09 17:07:38 -04:00
GitHub build-firmware Action c73782995f Auto-generated configs and docs 2021-08-09 20:40:28 +00:00
rusefillc 4c7e8560e0 refactoring: reduce magic constant 2021-08-09 16:33:06 -04:00
GitHub build-firmware Action 6930e019bf Auto-generated configs and docs 2021-08-09 20:12:40 +00:00
GitHub set-date Action af15a1bbe6 Update date 2021-08-09 00:57:51 +00:00
GitHub build-firmware Action 6995923436 Auto-generated configs and docs 2021-08-08 14:54:42 +00:00
Andrey 0df437e749 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 07:04:18 -04:00
GitHub build-firmware Action 1dc26eb5af Auto-generated configs and docs 2021-08-08 10:20:17 +00:00
Andrey 08dff4ceb6 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 06:16:19 -04:00
Andrey 167f2dbba0 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 04:56:56 -04:00
Andrey a2d18fa0b7 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 04:45:40 -04:00
GitHub build-firmware Action 5767ed38f8 Auto-generated configs and docs 2021-08-08 08:11:59 +00:00
GitHub build-firmware Action 73230674ab Auto-generated configs and docs 2021-08-08 07:04:27 +00:00
GitHub set-date Action 341b0d8e04 Update date 2021-08-08 00:57:49 +00:00
GitHub build-firmware Action 463bb87a55 Auto-generated configs and docs 2021-08-07 09:32:36 +00:00
GitHub set-date Action e7c1448367 Update date 2021-08-07 00:52:27 +00:00
GitHub set-date Action 1bcf3d89c5 Update date 2021-08-06 01:01:29 +00:00
GitHub build-firmware Action d537b41216 Auto-generated configs and docs 2021-08-05 22:10:20 +00:00
GitHub set-date Action c891883ee7 Update date 2021-08-05 00:57:19 +00:00
GitHub build-firmware Action ef6fcd274f Auto-generated configs and docs 2021-08-05 00:52:42 +00:00
GitHub build-firmware Action a53c4b1d90 Auto-generated configs and docs 2021-08-05 00:03:53 +00:00
Matthew Kennedy d24f1462e2
even more pch (#3112)
* s

* more

* s

* f7
2021-08-04 19:30:52 -04:00
Matthew Kennedy 5ff7235040
don't "validate instant RPM" (#3095)
* don't "validate instant RPM"

* test actually tests the right thing

* test mode transition
2021-08-04 08:17:14 +03:00
GitHub build-firmware Action 5866348d53 Auto-generated configs and docs 2021-08-04 02:55:38 +00:00
rusefillc 3fe8d0c4cd hellen154hyundai 2021-08-03 22:50:06 -04:00
GitHub build-firmware Action 057de6d61b Auto-generated configs and docs 2021-08-04 02:30:09 +00:00
rusefillc c1275af29c reduce chance of invalid CAM setting fix #3105 2021-08-03 22:15:40 -04:00
Matthew Kennedy 25414ebdad
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
GitHub build-firmware Action 8cbb1e5b5a Auto-generated configs and docs 2021-08-04 01:56:55 +00:00
GitHub set-date Action 70fa8b3cd4 Update date 2021-08-04 00:56:41 +00:00
Andrey 8fe2d99254 unit test for vehicle_speed.cpp #3081 2021-08-03 19:48:24 -04:00
rusefillc 8cffec5c31 HELLEN_154_HYUNDAI 2021-08-03 13:51:33 -04:00
GitHub build-firmware Action d51990ae85 Auto-generated configs and docs 2021-08-03 09:34:13 +00:00
rusefillc c445392bda Honda K CAN packets #3098 2021-08-03 04:23:16 -04:00
GitHub set-date Action 09519208ef Update date 2021-08-03 01:01:43 +00:00
GitHub build-firmware Action a4a3c6fa29 Auto-generated configs and docs 2021-08-02 17:35:41 +00:00
Andrey e9faf06bfd Honda K CAN packets #3098 2021-08-02 13:30:51 -04:00
Matthew Kennedy a8eddbccf6
perform extra-step-prevention in the stepper driver itself (#3038)
* perform extra-step-prevention in the stepper driver itself

* isBusy flag

* I am unable to type

* the court of public opinion has decided that greater-equal is correct

* that sets target in steps, not percent

* correct var name

* mock stepper motor

* testable stepper

* build is happy

* helping build
2021-08-02 07:03:57 -04:00
Matthew Kennedy fcd6c3d520
fix the mess (#3094)
* test

* s
2021-08-01 23:21:53 -04:00
rusefillc ba2d2a0eac header dreaming about file summary comment 2021-08-01 21:52:58 -04:00
rusefillc 50b7bf6b67 typo 2021-08-01 21:51:24 -04:00
GitHub set-date Action 7be4e90eab Update date 2021-08-02 00:57:16 +00:00
Andrey G c091b18baf
Int flash fixes (#3089)
* STM32F7xx: flash write parallelism settings

Datasheed allows 32bit program operation only for 2.7..3.0
While RM defines wider range...

* Add parentheses to defines

* intFlash: show all errors to user

Currently only erase error was exported to user. Flash write error
was silent. Also define few additional error codes and show it to
user.
2021-08-01 18:26:42 -04:00
Matthew Kennedy 2b5b669807
refactor out frequency sensor (#3092)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-01 15:58:39 -04:00
Matthew Kennedy 250bd0670e
unit test vss segfault fix (#3090)
* enable feature

* dynoview

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-01 15:05:52 -04:00
Andrey 511b5c22dd unit test for vehicle_speed.cpp #3081 2021-08-01 12:09:53 -04:00
GitHub build-firmware Action b692ba02e7 Auto-generated configs and docs 2021-08-01 01:24:39 +00:00
Matthew Kennedy ab49f61a83
gppwm vbatt axis (#3088) 2021-07-31 21:20:19 -04:00
GitHub set-date Action 990e2d9f4c Update date 2021-08-01 01:05:17 +00:00
GitHub build-firmware Action 557b948659 Auto-generated configs and docs 2021-07-31 02:58:16 +00:00
GitHub build-firmware Action d066b4ee31 Auto-generated configs and docs 2021-07-30 21:18:57 +00:00
rusefillc 502df0d85b typo 2021-07-30 15:49:08 -04:00
Matthew Kennedy 0d983855b9
instant rpm uses full engine cycle (#3077)
* instant rpm uses full engine cycle

* turn off fast spinup for this test
2021-07-30 08:18:24 -04:00
GitHub build-firmware Action d78b884859 Auto-generated configs and docs 2021-07-30 05:15:34 +00:00
GitHub set-date Action 2a5f00a5f2 Update date 2021-07-30 00:58:59 +00:00
GitHub set-date Action e111cdef12 Update date 2021-07-29 00:56:45 +00:00
rusefillc d9cc35bd31 genesis coupe 2021-07-28 17:18:44 -04:00
GitHub build-firmware Action f93e59ea3d Auto-generated configs and docs 2021-07-28 20:57:59 +00:00
rusefillc cf0fe81e32 genesis coupe 2021-07-28 14:51:29 -04:00
GitHub build-firmware Action f08c59c8e6 Auto-generated configs and docs 2021-07-28 11:49:04 +00:00
Matthew Kennedy 5373594bb7
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
GitHub set-date Action dc4b4f0b5d Update date 2021-07-28 01:01:03 +00:00
GitHub build-firmware Action a2ffc83e3e Auto-generated configs and docs 2021-07-27 21:37:24 +00:00
GitHub set-date Action d1e2fbffd3 Update date 2021-07-27 00:58:54 +00:00
rusefillc c6dbd9caf7 121 vag defaults have fatal error fix #3059 2021-07-26 16:40:11 -04:00
GitHub build-firmware Action 98085430a2 Auto-generated configs and docs 2021-07-26 16:27:03 +00:00
rusefillc ac40974194 atlas https://github.com/rusefi/rusefi/blob/master/firmware/config/boards/readme.md 2021-07-26 11:43:32 -04:00
Matthew Kennedy b52d50bbf2
Use pch in lots of files (#3066)
* most engine.h

* most engine_configuration

* more

* more

* more

* more

* more

* moooooore

* ok I'm done for now

* oops
2021-07-26 01:05:17 -04:00
GitHub build-firmware Action ea9fd55686 Auto-generated configs and docs 2021-07-26 01:47:41 +00:00
Matthew Kennedy 3518da97a7
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
GitHub set-date Action 22f4a5eb93 Update date 2021-07-26 01:03:56 +00:00
Matthew Kennedy bd599ab374
cleanup for pch (#3062)
* cleanup

* d
2021-07-25 20:43:02 -04:00
Matthew Kennedy f6095b8339
fix nonlinear correction threshold (#3060)
* s

* macro

* test has to do the inverse
2021-07-25 20:42:26 -04:00
rusefi 07c3cc09d4 Red test mule cranking to idling is weird #3050 2021-07-24 23:25:00 -04:00
GitHub set-date Action a6efc08614 Update date 2021-07-25 00:59:22 +00:00
Andrey 2e3f37a771 Clutch switch inverted options do not invert detected pedal position
#3044
2021-07-24 19:32:50 -04:00
GitHub build-firmware Action e07c7d30aa Auto-generated configs and docs 2021-07-24 23:25:25 +00:00
GitHub build-firmware Action 995f76e95b Auto-generated configs and docs 2021-07-24 23:14:07 +00:00
Andrey eaeade5305 Clutch switch inverted options do not invert detected pedal position
#3044
2021-07-24 18:59:00 -04:00
Andrey 37247db383 Clutch switch inverted options do not invert detected pedal position
#3044
2021-07-24 18:44:13 -04:00
Matthew Kennedy 617c2886d9
adjust taper behavior (#3051)
* adjust taper behavior

* check that taper works in running state too
2021-07-24 16:12:07 -04:00
rusefillc ca34562d5d Clutch switch inverted options do not invert detected pedal position #3044 2021-07-24 15:54:51 -04:00
rusefillc 9c166d86fe Clutch switch inverted options do not invert detected pedal position #3044 2021-07-24 15:36:03 -04:00
GitHub build-firmware Action 21facbf590 Auto-generated configs and docs 2021-07-24 17:28:25 +00:00
GitHub build-firmware Action 005307c3d1 Auto-generated configs and docs 2021-07-24 16:53:52 +00:00
rusefi ee1426387b Red test mule cranking to idling is weird #3050 2021-07-24 11:56:29 -04:00
rusefillc 2cc0272047 Rename "2 wire wasted" in TS ignition settings fix #3048 2021-07-24 10:59:26 -04:00
GitHub build-firmware Action 0ea66782fb Auto-generated configs and docs 2021-07-24 14:52:07 +00:00
GitHub set-date Action d52c6d12ce Update date 2021-07-24 00:57:36 +00:00
rusefillc 23842bf143
safer NB2 progress (#3041)
* safer NB2 progress

* one step back
2021-07-23 16:43:24 -04:00
GitHub build-firmware Action a59179396f Auto-generated configs and docs 2021-07-23 13:22:21 +00:00
GitHub build-firmware Action c0bd6985c6 Auto-generated configs and docs 2021-07-23 12:40:28 +00:00
Matthew Kennedy 2368e90ae7
dead (#3016) 2021-07-23 08:31:23 -04:00
GitHub set-date Action 774e0525e3 Update date 2021-07-23 00:58:11 +00:00
rusefillc 4ae72f43f6 "prettyClose": some strange code inside idle controller? #3030 2021-07-22 15:30:32 -04:00
Andrey 0fc74038c0 Merge remote-tracking branch 'origin/master' 2021-07-22 01:12:31 -04:00
Andrey 6fc693aea2 VVT position of first cam is off on first cycle fix #2987 2021-07-22 01:02:37 -04:00
GitHub build-firmware Action a94ac9a826 Auto-generated configs and docs 2021-07-22 04:20:26 +00:00
Andrey 8b5dde5a8f trailing spark outputs fix #2931 2021-07-22 00:01:54 -04:00
Matthew Kennedy 76924be3d1
not setValue (#3026) 2021-07-21 23:36:46 -04:00
Andrey 24cfbeba35 Nissan VVT trigger decoder #2887 2021-07-21 23:08:56 -04:00
Andrey 2c7761801a VVT C++ magic - helping Kinetis 2021-07-21 23:06:35 -04:00
Andrey 41cd36b79e VVT C++ magic - helping Kinetis 2021-07-21 22:38:00 -04:00
Andrey 5ae7dcfaa0 VVT C++ magic 2021-07-21 22:28:35 -04:00
Andrey 867e618b84 VVT C++ magic 2021-07-21 22:21:59 -04:00
Andrey b6a5f777e6 VVT C++ magic 2021-07-21 22:14:21 -04:00
rusefi 07accb4ff5 VVT verbose fix 2021-07-21 21:35:26 -04:00
GitHub set-date Action cf4e45bbcb Update date 2021-07-22 01:20:37 +00:00
Andrey 2ec8c3090f trailing spark outputs #2931 2021-07-21 20:51:51 -04:00
GitHub build-firmware Action 018d018b68 Auto-generated configs and docs 2021-07-22 00:30:24 +00:00
GitHub build-firmware Action 544d39baa6 Auto-generated configs and docs 2021-07-22 00:20:12 +00:00
Matthew Kennedy d520d12490
adjust nb2 vvt sync (#3019)
* test existing implementation

* nb2 vvt pattern sync

* update test
2021-07-21 20:07:28 -04:00
Andrey a8afb6eb85 trailing spark outputs #2931 2021-07-21 19:55:14 -04:00
GitHub build-firmware Action bd8488594f Auto-generated configs and docs 2021-07-21 23:40:30 +00:00
Andrey f2cb242090 simplify quad vvt test #3018
better parameter name and explicit constraint clarification
2021-07-21 17:45:35 -04:00
GitHub build-firmware Action 0a3e20c2e5 Auto-generated configs and docs 2021-07-21 18:33:41 +00:00
GitHub build-firmware Action 1ddf2e2226 Auto-generated configs and docs 2021-07-21 03:28:30 +00:00
Matthew Kennedy 6f80bc72ae
fan indicators + test buttons (#3002)
* sd bits

* rusefi.input

* second fan bit

* fans
2021-07-20 23:26:06 -04:00
GitHub build-firmware Action 179ecb3f48 Auto-generated configs and docs 2021-07-21 02:11:53 +00:00
GitHub build-firmware Action 837baf0a0f Auto-generated configs and docs 2021-07-21 01:26:07 +00:00
Andrey 643aa672e4 VH41DE (Japaneese Y32 Variant) firing order 2021-07-20 21:16:51 -04:00
Andrey 6d958826c7 Nissan 360 CAS #3003
docs
2021-07-20 21:11:08 -04:00
GitHub set-date Action 85bc8f6f49 Update date 2021-07-21 01:04:42 +00:00
GitHub build-firmware Action efb83b26ea Auto-generated configs and docs 2021-07-21 00:56:16 +00:00
GitHub build-firmware Action 12bb9af50f Auto-generated configs and docs 2021-07-20 23:54:04 +00:00
Matthew Kennedy e2a01b4c3e
force init LEDs even with fatal (#2998) 2021-07-20 17:09:52 -04:00
Andrey 44d7c3605c Button to apply nDBANK #2996
docs
2021-07-20 14:23:57 -04:00
GitHub build-firmware Action f39be3b69e Auto-generated configs and docs 2021-07-20 17:47:01 +00:00
GitHub build-firmware Action 4bf16a9dda Auto-generated configs and docs 2021-07-20 17:33:15 +00:00
GitHub build-firmware Action f0b8f6d09d Auto-generated configs and docs 2021-07-20 17:23:21 +00:00
Andrey c93e7e7d3a Button to apply nDBANK #2996 2021-07-20 13:20:34 -04:00
GitHub build-firmware Action c5a7e43ab4 Auto-generated configs and docs 2021-07-20 16:00:12 +00:00
GitHub build-firmware Action 7c579ea442 Auto-generated configs and docs 2021-07-20 15:47:05 +00:00
GitHub build-firmware Action 26957b71ba Auto-generated configs and docs 2021-07-20 13:08:53 +00:00
GitHub set-date Action 73ac4d96e4 Update date 2021-07-20 01:01:30 +00:00
GitHub build-firmware Action d7d9400e66 Auto-generated configs and docs 2021-07-19 04:14:47 +00:00