Commit Graph

2874 Commits

Author SHA1 Message Date
Matthew Kennedy 41c8f440c5
s (#3202)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-26 17:11:53 -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
GitHub build-firmware Action 879170c08b Auto-generated configs and docs 2021-08-24 20:20:36 +00:00
rusefillc 0303dd1905 154h 2021-08-24 15:51:43 -04:00
BeerMoneyMotorsports db07a46b6e
flex input (#3190)
flex class change to event_inputs
2021-08-24 11:41:15 -04:00
rusefillc 6a8c391c76 https://github.com/rusefi/hellen121vag/issues/47 2021-08-24 10:11:01 -04:00
GitHub build-firmware Action 95de5e8e0e Auto-generated configs and docs 2021-08-24 11:39:25 +00:00
Andrey 70209fbdb7 todo: think about it 2021-08-24 02:56:32 -04: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 build-firmware Action 81d6edccbe Auto-generated configs and docs 2021-08-22 04:11:34 +00:00
rusefillc f84e23752c VAG 1.8T default tune PPS fix #3178 2021-08-19 06:51:00 -04: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 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
GitHub build-firmware Action 4a8a35ccc8 Auto-generated configs and docs 2021-08-16 10:57:59 +00:00
GitHub build-firmware Action 048801e95e Auto-generated configs and docs 2021-08-15 19:38:17 +00:00
rusefillc 498f16817d HTML title for pinout pages fix #2882 2021-08-15 14:22:34 -04:00
GitHub build-firmware Action 8d1514c3f3 Auto-generated configs and docs 2021-08-15 06:47:39 +00:00
Andrey G 231fd6bed8
board subaru eg33: connector yaml: add Vbat sense pin (#3156) 2021-08-15 02:14:40 -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
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
GitHub build-firmware Action 81c9726ae0 Auto-generated configs and docs 2021-08-14 06:52:29 +00:00
GitHub build-firmware Action 4640807f97 Auto-generated configs and docs 2021-08-13 19:05:45 +00:00
shadowm60 a0da1e0fdd
Update board_configuration.cpp (#3147)
Added ETB defaults
2021-08-12 18:01:15 -04: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
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
rusefillc e07e44fc9a Nissan progress 2021-08-11 18:04:57 -04:00
GitHub build-firmware Action df0455a29e Auto-generated configs and docs 2021-08-11 06:07:34 +00: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 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 build-firmware Action c73782995f Auto-generated configs and docs 2021-08-09 20:40:28 +00:00
GitHub build-firmware Action 6930e019bf Auto-generated configs and docs 2021-08-09 20:12:40 +00:00
GitHub build-firmware Action 6995923436 Auto-generated configs and docs 2021-08-08 14:54:42 +00: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
GitHub build-firmware Action 5767ed38f8 Auto-generated configs and docs 2021-08-08 08:11:59 +00:00
Andrey 845962ec15 NB1 2021-08-07 16:43:31 -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 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 333fcfca8c Hellen72: Set the default pin states to input-pulldown instead of input-pullup #2525 2021-08-05 04:53:37 -04:00
rusefillc 2fc52e1af6 hellen154hyundai 2021-08-04 20:48:33 -04: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
rusefillc 3fe8d0c4cd hellen154hyundai 2021-08-03 22:50:06 -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
Andrey 694ca323bd hellen154hyundai 2021-08-03 20:03:59 -04:00
GitHub build-firmware Action d51990ae85 Auto-generated configs and docs 2021-08-03 09:34:13 +00:00
Andrey 450b6694da hellen154hyundai 2021-08-03 05:22:35 -04:00
rusefillc f3dcb1a76f boards file clean-up 2021-08-03 04:35:23 -04:00
Andrey faaf547e8b boards file clean-up 2021-08-03 04:06:06 -04:00
GitHub build-firmware Action a4a3c6fa29 Auto-generated configs and docs 2021-08-02 17:35:41 +00:00
GitHub build-firmware Action b692ba02e7 Auto-generated configs and docs 2021-08-01 01:24:39 +00:00
Andrey G 435f712e84
Remove outdated option CH_DBG_ENABLE_TRACE (#3087)
Not used since RT5
2021-07-31 07:51:13 -04:00
Andrey 838ec90d60 RUSEFI MSD to contain bundle-specific URL fix #2848 2021-07-30 22:33:56 -04:00
Andrey ffb30f4346 gen_config.sh code duplication #2451 2021-07-30 16:55:07 -04:00
Andrey 8cd674ac3b typos 2021-07-30 16:28:27 -04:00
rusefillc 87c5fb7f32 +x 2021-07-30 10:10:18 -04:00
Andreika b27254f0f3
Hellen81 initial (#3080)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-07-30 10:04:22 -04:00
GitHub build-firmware Action f93e59ea3d Auto-generated configs and docs 2021-07-28 20:57:59 +00: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 build-firmware Action a2ffc83e3e Auto-generated configs and docs 2021-07-27 21:37:24 +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 d2003d24a0
make build happy (#3067) 2021-07-26 09:08:05 -04:00
Matthew Kennedy ec4ffa6c3f
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
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
rusefi 5f2a01c318 Red test mule cranking to idling is weird #3050 2021-07-24 23:05:22 -04:00
GitHub build-firmware Action e07c7d30aa Auto-generated configs and docs 2021-07-24 23:25:25 +00:00
GitHub build-firmware Action 21facbf590 Auto-generated configs and docs 2021-07-24 17:28:25 +00:00
rusefi ee1426387b Red test mule cranking to idling is weird #3050 2021-07-24 11:56:29 -04:00
GitHub build-firmware Action 0ea66782fb Auto-generated configs and docs 2021-07-24 14:52:07 +00:00
Matthew Kennedy f70c844c60
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 65203040ae
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
GitHub build-firmware Action c0bd6985c6 Auto-generated configs and docs 2021-07-23 12:40:28 +00:00
Andrey 9266b1548c Nissan 2021-07-22 23:44:25 -04:00
rusefillc eb1e0eeaf7 Nissan 2021-07-22 22:44:11 -04:00
rusefi f67eefcc44 Nissan 2021-07-22 21:37:53 -04:00
GitHub build-firmware Action a94ac9a826 Auto-generated configs and docs 2021-07-22 04:20:26 +00:00
Andrey 24cfbeba35 Nissan VVT trigger decoder #2887 2021-07-21 23:08:56 -04:00
GitHub build-firmware Action 018d018b68 Auto-generated configs and docs 2021-07-22 00:30:24 +00:00