Commit Graph

11225 Commits

Author SHA1 Message Date
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
shadowm60 329a8773c8
Update main.yaml (#3171)
minor correction to use all adc inputs
2021-08-18 00:31:42 +03: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
rusefillc bedf692e99 SD-card log fields improvement (warning counter & last code) #3162 2021-08-16 20:54:41 -04: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
rusefillc cd4afcc01e Nissan progress 2021-08-16 10:56:31 -04:00
Andrey 03ffa82d8e zero dwell warning at zero RPM #3153 2021-08-16 09:11:22 -04:00
Andrey d07f422caf zero dwell warning at zero RPM #3153 2021-08-16 09:00:43 -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
rusefillc ebc1842b8e enlarging Lua script in configuration 2021-08-16 06:52:29 -04:00
rusefillc 528b5d939f enlarging Lua script in configuration 2021-08-16 04:22:51 -04:00
rusefillc 32a650ebe8 zero dwell warning at zero RPM #3153 2021-08-16 04:20:32 -04: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
rusefillc 22e24da6c0
reducing FSIO in order to enlarge Lua (#3160)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2021-08-15 22:27:07 +03:00
GitHub build-firmware Action b8622a931f Auto-generated configs and docs 2021-08-15 18:33:32 +00:00
rusefillc 498f16817d HTML title for pinout pages fix #2882 2021-08-15 14:22:34 -04:00
rusefillc 9b84fc4eaf Tooth logger to use engineSnifferRpmThreshold #3161
more refactoring also removing obsolete comment
2021-08-15 14:14:13 -04:00
rusefillc f74e63fa34 Tooth logger to use engineSnifferRpmThreshold #3161
use configurable limit
2021-08-15 13:59:18 -04:00
rusefillc c18ea4a439 Tooth logger to use engineSnifferRpmThreshold #3161
refactoring
2021-08-15 13:55:28 -04:00
GitHub build-firmware Action 8d1514c3f3 Auto-generated configs and docs 2021-08-15 06:47:39 +00:00
rusefillc 5db8254eb7 dead FSIO 2021-08-15 02:28:10 -04:00
Andrey G 231fd6bed8
board subaru eg33: connector yaml: add Vbat sense pin (#3156) 2021-08-15 02:14:40 -04: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
rusefillc 2ee27df8bb Nissan progress 2021-08-14 11:21:56 -04: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 d9adba2024
everybody is pulldown (#3131) 2021-08-14 09:34:13 -04:00
Andrey G a4a6f251ed
subaru board fixes (#3154)
* board: subaru: fix pinmuxes for QSPI interface

* board: subaru: switch to EXTI
2021-08-14 15:45:30 +03: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
rusefillc e72277c863 No pins should be restarted for no reason during config change #3151 2021-08-14 06:15:29 -04:00
rusefillc 82da6e43fd No pins should be restarted for no reason during config change #3151 2021-08-14 05:20:12 -04:00
rusefillc b141f83a88 No pins should be restarted for no reason during config change #3151 2021-08-14 04:58:10 -04:00
rusefillc bd410d0c1b No pins should be restarted for no reason during config change #3151 2021-08-14 04:35:43 -04: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
rusefillc 36bb91f93f dead idle FSIO 2021-08-13 15:01:14 -04:00
GitHub build-firmware Action e6d6e1fb54 Auto-generated configs and docs 2021-08-13 15:08:24 +00:00
rusefillc 84d0ca41f5 smarter field disable 2021-08-13 11:03:40 -04: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
shadowm60 a0da1e0fdd
Update board_configuration.cpp (#3147)
Added ETB defaults
2021-08-12 18:01:15 -04:00
rusefillc 5e663200fd Hellen Nissan defaults are no longer valid #3143 2021-08-12 17:46:10 -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
rusefillc 5bf52023e7 Hellen Nissan defaults are no longer valid #3143 2021-08-12 13:44:54 -04:00
GitHub build-firmware Action 32467de332 Auto-generated configs and docs 2021-08-12 17:24:33 +00:00
BeerMoneyMotorsports 0503223df8
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
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
shadowm60 0a65839582
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 d48ed47fb9 Nissan progress 2021-08-11 18:29:35 -04:00
GitHub build-firmware Action 0633ce5a0d Auto-generated configs and docs 2021-08-11 22:08:32 +00:00
rusefillc e07e44fc9a Nissan progress 2021-08-11 18:04:57 -04: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
rusefillc ada209fb1f Pavel says there are issues 2021-08-11 02:03:19 -04:00
GitHub set-date Action c3f55cdee5 Update date 2021-08-11 00:58:18 +00:00
rusefillc e91702c656 Pavel says there are issues 2021-08-10 15:57:34 -04:00
GitHub build-firmware Action fdbb096e65 Auto-generated configs and docs 2021-08-10 19:43:42 +00:00
rusefillc 0f01edb0a7 nice talking to Martin 2021-08-10 15:31:42 -04:00
Matthew Kennedy 0422392ba9
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 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 14c45c610e Implement auto knock threshold sampling #3033 2021-08-10 05:56:04 -04: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
rusefillc 4d12224590 NB2 36 2021-08-10 02:17:33 -04: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
rusefillc f9dfcc8b9a Implement auto knock threshold sampling #3033 2021-08-09 16:27:31 -04:00
GitHub build-firmware Action 6930e019bf Auto-generated configs and docs 2021-08-09 20:12:40 +00:00
rusefillc 1c8fd98036 https://rusefi.com/forum/viewtopic.php?p=41803#p41803 2021-08-09 16:07:38 -04: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
rusefillc 5959a2e0ac Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 17:49:31 +03:00
rusefillc 0764ba66e1 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 17:47:33 +03:00
Andrey 63c2eff76e Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 07:29:11 -04: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
Andrey 2541b70c30 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 04:06:13 -04:00
rusefillc 4372c2a298 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 04:00:51 -04:00
GitHub build-firmware Action 73230674ab Auto-generated configs and docs 2021-08-08 07:04:27 +00:00
rusefillc bce20c7859 trigger debug to full pinout 2021-08-08 02:59:23 -04:00
GitHub set-date Action 341b0d8e04 Update date 2021-08-08 00:57:49 +00:00
rusefillc 2eb46c5504 moving two lines closer 2021-08-07 17:13:54 -04:00
Andrey 845962ec15 NB1 2021-08-07 16:43:31 -04:00
Matthew Kennedy e50dcb94b0
oops (#3116) 2021-08-07 22:56:59 +03:00
rusefillc 8234975ec0 would H7 work? 2021-08-07 12:36:39 -04:00
GitHub build-firmware Action 463bb87a55 Auto-generated configs and docs 2021-08-07 09:32:36 +00:00
rusefillc 3341d9ebfc NB1 2021-08-07 05:29:13 -04:00
rusefillc 8fb8ffa7ad TS file read #3004 2021-08-07 05:13:16 -04:00
rusefillc afc1409795 NB1 2021-08-07 02:46:35 -04:00
rusefillc 242156801f 154hyundai 2021-08-07 02:44:17 -04: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
rusefillc c9c4b3a5e8 hellen154hyundai 2021-08-05 18:06:15 -04:00
rusefillc f3b29de32f hellen-nb-1 2021-08-05 18:05:53 -04:00
rusefillc 333fcfca8c Hellen72: Set the default pin states to input-pulldown instead of input-pullup #2525 2021-08-05 04:53:37 -04: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
rusefillc 2fc52e1af6 hellen154hyundai 2021-08-04 20:48:33 -04:00
GitHub build-firmware Action a53c4b1d90 Auto-generated configs and docs 2021-08-05 00:03:53 +00:00
rusefillc 7bb184e6e8 hellen154hyundai 2021-08-04 20:00:10 -04:00
Matthew Kennedy d24f1462e2
even more pch (#3112)
* s

* more

* s

* f7
2021-08-04 19:30:52 -04:00
rusefillc a5e708c2b0 hellen154hyundai
one day I will learn the spelling!
2021-08-04 19:13:28 -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 f1c39bfd93 hellen154hyundai 2021-08-03 22:26:33 -04: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
rusefillc 3b7894b4a2 reduce chance of invalid CAM setting #3105 2021-08-03 21:52:05 -04:00
GitHub set-date Action 70fa8b3cd4 Update date 2021-08-04 00:56:41 +00:00
Andrey fe0ae21a16 unit test for vehicle_speed.cpp fix #3081 2021-08-03 20:22:48 -04:00
Andrey 694ca323bd hellen154hyundai 2021-08-03 20:03:59 -04: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
Andrey 54b3a40c50 hellen154hyundai 2021-08-03 05:24:09 -04:00
Andrey 450b6694da hellen154hyundai 2021-08-03 05:22:35 -04:00