Commit Graph

2257 Commits

Author SHA1 Message Date
BeerMoneyMotorsports 010bf3f7ab 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 2507aaff2c 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 b54caa7140 Nissan progress 2021-08-11 18:29:35 -04:00
rusefillc 98ce0f1f88 Nissan progress 2021-08-11 18:04:57 -04:00
Matthew Kennedy 90c9c7d00c 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 16664ab19b NB2 36 2021-08-10 02:34:59 -04:00
rusefillc 61d40b45ae NB2 36 2021-08-10 02:17:33 -04:00
rusefillc ba446252c4 Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 17:47:33 +03:00
Andrey 3bc6b2d73a Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 07:29:11 -04:00
Andrey 8a4831b1dc Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 07:04:18 -04:00
Andrey 76412dffde Nissan 4 cylinder QR trigger wheel #3118 2021-08-08 06:16:19 -04:00
Andrey bb076e2578 NB1 2021-08-07 16:43:31 -04:00
rusefillc 02221aaac0 NB1 2021-08-07 02:46:35 -04:00
rusefillc 1e8f91a640 154hyundai 2021-08-07 02:44:17 -04:00
rusefillc 853b3f66a1 hellen154hyundai 2021-08-05 18:06:15 -04:00
rusefillc 49497dec6d Hellen72: Set the default pin states to input-pulldown instead of input-pullup #2525 2021-08-05 04:53:37 -04:00
rusefillc 196369c4a7 hellen154hyundai 2021-08-04 20:48:33 -04:00
rusefillc b3469802a4 hellen154hyundai 2021-08-04 20:00:10 -04:00
Matthew Kennedy 39388c75d8 even more pch (#3112)
* s

* more

* s

* f7
2021-08-04 19:30:52 -04:00
rusefillc 660e804347 hellen154hyundai
one day I will learn the spelling!
2021-08-04 19:13:28 -04:00
rusefillc bfd002b134 hellen154hyundai 2021-08-03 22:50:06 -04:00
Matthew Kennedy 4e6b61234f 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 98e1a11ca7 hellen154hyundai 2021-08-03 20:03:59 -04:00
Andrey 3e3ed30be4 hellen154hyundai 2021-08-03 05:22:35 -04:00
rusefillc 7059eff691 boards file clean-up 2021-08-03 04:35:23 -04:00
Andrey G adede96583 Remove outdated option CH_DBG_ENABLE_TRACE (#3087)
Not used since RT5
2021-07-31 07:51:13 -04:00
Andrey 305efd4de1 RUSEFI MSD to contain bundle-specific URL fix #2848 2021-07-30 22:33:56 -04:00
Andrey 2bc09aca74 gen_config.sh code duplication #2451 2021-07-30 16:55:07 -04:00
Andrey c768113951 typos 2021-07-30 16:28:27 -04:00
rusefillc ca608c261a +x 2021-07-30 10:10:18 -04:00
Andreika 38385d5ac6 Hellen81 initial (#3080)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-07-30 10:04:22 -04:00
Matthew Kennedy 8ebb7b8f24 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
rusefillc 32d2cf6aab 121 vag defaults have fatal error fix #3059 2021-07-26 16:40:11 -04:00
rusefillc 6184737d98 atlas https://github.com/rusefi/rusefi/blob/master/firmware/config/boards/readme.md 2021-07-26 11:43:32 -04:00
Matthew Kennedy c03c779703 make build happy (#3067) 2021-07-26 09:08:05 -04:00
Matthew Kennedy 9ea307a534 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
Matthew Kennedy f44a84b40c 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 138cfde320 Red test mule cranking to idling is weird #3050 2021-07-24 23:05:22 -04:00
rusefi d7259789cb Red test mule cranking to idling is weird #3050 2021-07-24 11:56:29 -04:00
Matthew Kennedy 098469b88c 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 c61d11e3d0 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
Andrey 863ffb1a95 Nissan 2021-07-22 23:44:25 -04:00
rusefillc 85aa270c1d Nissan 2021-07-22 22:44:11 -04:00
rusefi 7e5fc89268 Nissan 2021-07-22 21:37:53 -04:00
Andrey 2a07c3df27 Nissan VVT trigger decoder #2887 2021-07-21 23:08:56 -04:00
Andrey da905f20a6 trailing spark outputs #2931 2021-07-21 19:55:14 -04:00
David Holdeman d2691c1ee9 Pinout Title and connector names (#3021)
* add page title and connector name

* try mre
2021-07-21 19:47:38 -04:00
BeerMoneyMotorsports 490183aefd Rev B STM pin changes (#3022)
1E, 3I and 2J
2021-07-21 19:43:25 -04:00
Andrey 51802334b8 Button to apply nDBANK #2996
consistency good inconsistency bad
2021-07-20 13:44:45 -04:00
Andrey 668c342b34 Button to apply nDBANK #2996 2021-07-20 13:20:34 -04:00
Andrey 9e111f856e +x into git 2021-07-20 12:49:40 -04:00
rusefillc 50f3f5ecba flipping presets logic in order to reduce duplication 2021-07-20 11:44:48 -04:00
rusefi 4a178ba26e hellen nb2 defaults 2021-07-18 21:03:01 -04:00
Andrey G 2551993321 board: subaru eg33: fix pinouts, add aux connector (#2986) 2021-07-18 14:58:22 -04:00
BeerMoneyMotorsports 121c29526b O2 input (#2985)
O2 input for front O2 but is using O2S2 since its easier to connect on revA
2021-07-18 12:13:13 -04:00
BeerMoneyMotorsports 40a30748f3 Sensor pins (#2977)
updated pinouts for merc
2021-07-17 11:54:06 -04:00
Andrey f69690a36a kaiju is asking for vq30de trigger wheel decoder #2974 2021-07-17 00:27:56 -04:00
Andrey fd41bc0140 docs 2021-07-16 23:17:45 -04:00
Matthew Kennedy e3849b95d5 don't require EXTERN_ENGINE in every file (#2969)
* move enginePins

* no more extern engine

* uses

* more

* extern config too

* put this where it belongs

* include correct header

* merge
2021-07-16 18:13:33 -04:00
Andrey 539c60d4fd Nissan 2021-07-15 17:53:38 -04:00
Andrey f2acdf72c8 Nissan 2021-07-15 17:49:58 -04:00
Andrey 85d6d6c70d trigger signal debug pins - logic level output #2959
test driven development is still amazing
2021-07-15 09:29:14 -04:00
Andrey b5f92e6722 trigger signal debug pins - logic level output #2959 2021-07-14 22:35:29 -04:00
rusefi d73768b46c FATAL on NB2 tune jim stim input signal #2965 2021-07-14 21:15:11 -04:00
Andrey 47f285c50c FATAL on NB2 tune jim stim input signal #2965 2021-07-14 16:03:00 -04:00
Andrey 13fdd79df7 refactoring 2021-07-13 20:10:31 -04:00
Andrey f4f02b984f progress - reducing code duplication 2021-07-12 21:31:40 -04:00
Matthew Kennedy 15931dd56c auto detect HSE clock speed (#2952)
* detect hse

* implementation

* these boards don't need to set their own HSECLK

* assertions

* name

* tweaks

* how did this compile?

* s

* biiiig comment

* this script doesn't need to set 25mhz any more

* ....or PLLM

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-12 20:51:35 -04:00
Matthew Kennedy 7eba706d2e s (#2946)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-11 11:26:19 -04:00
rusefi 30ed950d4d VAG canned tunes 2021-07-09 13:23:29 -04:00
Jimmy Luntzel ff20840a78 Update main.yaml (#2936)
removed blank spaces at the end of each line
2021-07-09 11:51:47 -04:00
rusefi 5418c9065b extra state validation is needed 2021-07-09 00:31:21 -04:00
Andrey 6065ec3995 VAG canned tunes 2021-07-08 22:55:45 -04:00
Andrey cbe407f465 VAG canned tunes 2021-07-08 20:42:35 -04:00
BeerMoneyMotorsports 6bfc3b6303 Update main.yaml (#2929) 2021-07-08 19:32:53 -04:00
Jimmy Luntzel 1aca9c9f7b main.yaml (#2930)
* Update main.yaml

Added ID, class, ts_name, type, and color to each pin.

* Update main.yaml

Ive filled out as much as I know how to for now, BMM recommended doing a PR.

What I was not able to complete were C24, C25, E23, E29, E31, E34, E45, E47, D8, D9 

I am sorry If I am wasting peoples time -____________-

* Update main.yaml
2021-07-08 19:22:09 -04:00
rusefi 76003ca393 VAG canned tunes 2021-07-08 16:35:58 -04:00
rusefi e2d7f7f20f small mess 2021-07-08 16:08:08 -04:00
GitHub build-firmware Action ca59ff5b56 Auto-generated configs and docs 2021-07-08 03:49:03 +00:00
rusefillc 509a8d0030 Update readme.md 2021-07-07 14:06:44 -04:00
rusefillc e1ddb6078f Create readme.md 2021-07-07 14:06:30 -04:00
rusefillc a50bf43a33 Update readme.md 2021-07-07 14:05:56 -04:00
rusefillc 5e0f68e649 Create readme.md 2021-07-07 14:05:38 -04:00
rusefillc 513b1e8ad9 Create readme.md 2021-07-07 14:05:21 -04:00
rusefillc 1a8f741213 Create readme.md 2021-07-07 14:05:06 -04:00
rusefillc 6f14242c50 Create readme.md 2021-07-07 14:03:32 -04:00
Matthew Kennedy 717d4dd7ac Unified cyl count macro (#2914)
* update test framework

* eh

* hey look it's fewer warnings

* unwind

* fix

* config

* configs

* logic

* even java had some

* console needs help
2021-07-06 20:14:08 -04:00
Andrey 54133f21f8 Option to log VVT target #2913 2021-07-06 20:00:53 -04:00
Matthew Kennedy 0abbf182d3 hellen 128 defaults (#2912)
* all the pins

* s

* ign
2021-07-06 01:03:07 -04:00
Andrey 9629484bb3 duplication within same file 2021-07-06 00:09:13 -04:00
Andrey bb181ac8fd Nissan VVT trigger decoder #2887
another bug - improper handling of three-times-symmetrical
2021-07-05 23:15:44 -04:00
Andrey 7ec3ef4b28 Nissan VVT trigger decoder #2887
that's all very strange
2021-07-05 22:17:26 -04:00
Andrey 59e33b3577 restore testQuadCam #2911 2021-07-05 21:04:09 -04:00
rusefi de750354a2 Nissan progress!!! 2021-07-05 20:29:49 -04:00
rusefi 4190657fa2 Nissan 2021-07-05 19:53:55 -04:00
rusefi 81a887afce https://rusefi.com/s/hellen128merc 2021-07-05 18:58:08 -04:00
rusefillc 32a813339d Nissan 2021-07-05 18:37:53 -04:00
rusefi 342727bdd2 Nissan 2021-07-05 17:58:31 -04:00
Matthew Kennedy 9d41a19adc misc (#2899)
* dead fields

* defaults

* ui

* configs
2021-07-04 09:22:42 -04:00
rusefillc c80a0288d3 5v/GND nissan details 2021-07-04 00:25:43 -04:00
Andrey b474a6685f https://github.com/rusefi/rusefi/issues/2848
per-board URL into project help
2021-07-03 23:47:23 -04:00
Andrey c0cbe626b6 Nissan VVT trigger decoder fix #2887
TDD is amazing we are done here!
2021-07-03 12:43:01 -04:00
Andrey e34b04bd46 Nissan VVT trigger decoder #2887 2021-07-03 12:02:00 -04:00
BeerMoneyMotorsports 5caf438930 Update main.yaml (#2896) 2021-07-02 17:52:16 -04:00
BeerMoneyMotorsports 7fc8e4342d F12 fix (#2895)
fixed f12 duplication
2021-07-02 16:41:58 -04:00
BeerMoneyMotorsports cfbd57a897 1l and 1r fix (#2894)
1l and 1r are tied to the same pin and rely on the same id.  removed the id and TS name from 1r and removed pin designation from 1L TS name to avoid confusion.  Now just "Radiator Fan"
2021-07-02 16:35:55 -04:00
Andrey 7ffe09aa96 Nissan progress 2021-07-02 16:31:10 -04:00
Andrey 8013e598df Nissan progress 2021-07-02 16:26:23 -04:00
Andrey ab24b8e5f3 Nissan progress 2021-07-02 14:56:12 -04:00
rusefillc 11c00db119 H64 uses GPIOD_12 twice why does it not fail? #2877
poke
2021-07-02 13:17:14 -04:00
Andrey fd3aa4ec18 Nissan VVT trigger decoder #2887 2021-07-01 21:48:47 -04:00
Andrey 6c7d2700b3 Nissan VVT trigger decoder #2887 2021-07-01 17:28:52 -04:00
Andrey af01242555 Nissan VVT trigger decoder #2887 2021-07-01 17:03:17 -04:00
Andrey f6aa1b8415 https://github.com/rusefi/hellen121nissan-issues/issues/2
oh that's pigtail color not pinout color
2021-06-30 15:10:11 -04:00
Andrey 316c83101c https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-30 14:59:06 -04:00
Andrey 819eb8c92e https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-29 17:22:43 -04:00
Andrey 403cb3a96c https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-29 17:20:36 -04:00
Andrey ea4b7029a7 https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-29 16:51:53 -04:00
Andrey a125ba8210 https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-29 01:04:39 -04:00
Andrey dd4990b3f1 https://github.com/rusefi/hellen121nissan-issues/issues/2 2021-06-28 23:39:24 -04:00
Andrey 309b630480 Review default H64 tune #2815 2021-06-28 19:47:11 -04:00
Andrey b09a66e51b Hellen is the way 2021-06-28 19:24:35 -04:00
Andrey b4d10caf45 Review default H64 tune #2815 2021-06-28 17:36:02 -04:00
Andrey 3ae6835964 DRAM SDRAM #2551 2021-06-27 12:31:18 -04:00
Andrey 0708934be1 DRAM SDRAM #2551 2021-06-27 12:14:53 -04:00
Andrey a5b64cd6cf DRAM SDRAM #2551 2021-06-27 02:13:52 -04:00
Andrey b73eb20a2a DRAM SDRAM #2551 2021-06-27 02:06:57 -04:00
Andrey fef89328d3 helping build? 2021-06-25 11:48:17 -04:00
Andrey 839539abc4 fan2 bench 2021-06-23 17:16:11 -04:00
Andrey 7153a47e76 H72 default progress 2021-06-23 16:58:34 -04:00
Andrey eaf1348650 H72 default progress 2021-06-23 14:44:50 -04:00
David Holdeman d2c60e30d5 Fix class (#2841)
* switch to switch_inputs

* switch output to outputs

* add missing s
2021-06-20 22:38:17 -04:00
Andrey G 77b9a9a99d Fixes eg33 (#2838)
* CAN HW: use designated initizalization

* board subaru eg33: set CAN transceiver EN to active state constantly

While FW does not handle CAN transceiver's EN signal
2021-06-20 08:18:16 -04:00
David Holdeman c7fb082ae8 switch to switch_inputs (#2837)
* switch to switch_inputs

* switch output to outputs
2021-06-19 09:12:54 -04:00
David Holdeman de1d35d882 change digital_input to digital_inputs (#2833) 2021-06-18 20:43:30 -04:00
rusefillc 96d28a1029 typo & clarification 2021-06-17 11:38:36 -04:00
Andrey 1965de7c1e Review default H64 tune #2815 2021-06-13 21:28:57 -04:00
Andrey 66de546bc9 Review default H64 tune #2815 2021-06-13 21:27:03 -04:00
Andrey b4fe83a17d Review default H64 tune #2815 2021-06-13 21:17:22 -04:00
Matthew Kennedy 322f69474f remove cranking dwell angle (#2814)
* config & impl

* settings

* engines & boards

* this test doesn't do anything interesting
2021-06-13 07:52:07 -04:00
Matthew Kennedy 0c0957f52a apply open loop idle when in automatic mode (#2745)
* always apply open loop in closed loop

* simplify flags

* comment

* move

* comment

* missed one

* config for fan bump

* adjust miata defaults

* test fan/ac open loop

* idle CL tests

* test coasting

* test integration case

* fix merge

* put back reset logic for now

* s

* don't need that part

* I guess use OL as baseIdlePosition

* reset condition
2021-06-12 14:21:11 -04:00
GitHub build-firmware Action 65780182bf Auto-generated configs and docs 2021-06-12 18:07:43 +00:00
GitHub build-firmware Action 82ec23f37d Auto-generated configs and docs 2021-06-12 04:03:50 +00:00
Andrey 3f1f32fa50 h121 progress 2021-06-11 23:47:12 -04:00
rusefillc f9d00a16a0 https://github.com/rusefi/hellen121vag/issues/44 2021-06-11 12:23:21 -04:00
BeerMoneyMotorsports 9dc5aff335 Update main.yaml (#2809)
AC comp relay output change to GPIOH_15
2021-06-10 19:45:56 -04:00
BeerMoneyMotorsports a97f56e257 Update main.yaml (#2804)
update for AC
2021-06-10 03:39:17 +03:00
rusefi d21c1b50dc h121 pps1 pin conflict #2801 2021-06-08 07:52:44 -04:00
Andrey 5ceb3dcdec https://github.com/rusefi/rusefi/wiki/Hellen121VAG 2021-06-06 11:05:47 -04:00
Andrey 17c07a0828 s/controlPin1/controlPin/ 2021-06-05 16:19:01 -04:00
Andrey 9e7242befd https://github.com/rusefi/hellen121vag/issues/38 2021-06-05 16:07:30 -04:00
Andrey 33b72b23de https://github.com/rusefi/hellen121vag/issues/38 2021-06-05 15:41:35 -04:00
Andrey 821db8bee2 https://github.com/rusefi/rusefi/wiki/Hellen121VAG 2021-06-05 06:58:13 -04:00
Matthew Kennedy 925399168a defaults cleanup: base engine & fuel (#2790)
* build

* fuel and base

* fix build

* cleanup

* extern

* tps/tps

* alternator

* tps

* iat timing

* cranking RPM

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-03 00:50:07 +03:00
Matthew Kennedy cc0547217c Cranking defaults (#2787)
* defaults

* more

* cranking fuel

* cranking timing

* cranking time digits

* ugh these tests shouldn't depend on defaults
2021-06-02 08:21:36 +03:00
Andrey G 078b65edd9 Subaru svx (#2777)
* Revert "hiding 3rd channel for now"

This reverts commit 00c5c786c7.

* trigger subaru SVX: disable cranck #2 channel

* Board subaru-eg33: fix D10 pin defined twice

* Board subaru-eg33: renumber ignition ouput according cylinder order

* board subaru eg33: use common_make.sh to get dfu files

* board subaru-eg33: update default configuration
2021-05-31 04:25:57 -04:00
Matthew Kennedy ca625e7935 non blocking flash on f7 dual bank 2MB (#2749)
* f7 dual bank flash

* only start thread if necessary
2021-05-29 08:05:29 +03:00
GitHub build-firmware Action c4a62e489f Auto-generated configs and docs 2021-05-28 07:41:15 +00:00
rusefillc 01212aeabf some 121 coordinates 2021-05-27 05:44:48 -04:00
Andrey 16df446fde MRE pinout improvement CAN polarity 2021-05-26 06:49:08 -04:00
BeerMoneyMotorsports e0209d50f8 Update main.yaml (#2738)
AC and Flex fixes
2021-05-25 08:56:35 +03:00
BeerMoneyMotorsports 9250ca673d Update main.yaml (#2737)
MAF input change, Boost control change.
2021-05-24 17:05:04 -04:00
David Holdeman 68da5c279e Doxygen titles (#2728)
* move addRow call

* undo submo bump

* add header titles
2021-05-22 22:10:58 +03:00
rusefillc daee2d31f8 some 121 coordinates 2021-05-21 17:40:27 -04:00
rusefillc 5642623dd8 some 121 coordinates 2021-05-21 17:17:03 -04:00
rusefillc 6f9faa80dc some 121 coordinates 2021-05-21 16:12:50 -04:00
rusefillc 04298ac9a3 some 121 coordinates 2021-05-21 15:57:16 -04:00
rusefillc 79eb44fa73 some 121 coordinates 2021-05-21 15:45:38 -04:00
BeerMoneyMotorsports 49fb00f8b8 Update main.yaml (#2727)
All relevant pins mapped but no coordinates done yet
2021-05-21 12:13:53 -04:00
Matthew Kennedy 68ad12da53 convert a table to scaled_channel (#2724)
* scaled VE table

* use setTable

* efi::clear

* ratio -> struct
2021-05-20 20:00:32 -04:00
rusefillc 382b6afac5 progress? 2021-05-20 19:06:50 -04:00
Matthew Kennedy c7cc5471ad Lua on f407, try again (#2725)
* lua on f4

* move perf trace to efifeatures

* check that it's defined

* cypress and kinetis

* it would help to define the correct thing

* disable buffer if not used

* we can work with 2k

* turn off ramdisk on mre qc

* wow strncpy is useless for truncated strings

* turn off for bootloader

* lto bootloader

* memory

* memory
2021-05-20 23:05:18 +03:00
BeerMoneyMotorsports 9c50380af9 Update main.yaml (#2722)
More pins added but no work has been done to the pin XY coordinates.
2021-05-20 21:31:25 +03:00
BeerMoneyMotorsports 9108676379 Update main.yaml (#2720)
initial addition of some pins from 121vag.
2021-05-19 20:34:51 +03:00
rusefillc 0cb4705a7e Improve default H64 tune #2709 2021-05-19 03:50:28 -04:00
Matthew Kennedy 4b69e7d441 compile gpiochips as cpp (#2702)
* rename

* core

* structing

* more

* makefile

* structing

* 6240 compiles

* explicit cast instead of implicit narrowing

* 8888

* no extern C

* fix tests build

* extern "C"

* 33810

* 8860

* 33810

* linker

* unbreak master

* don't need that if compiling as C++

* bump config

* fix test

* tests

* unit tests bad merge

* build

* move subaru logic to cpp file

* cpp goodness

* hpp include

* this is probably the right thing to do

* simulator
2021-05-17 08:42:56 +03:00
rusefillc bba4588e47 Hellen GDI 2021-05-14 11:00:18 -04:00
BeerMoneyMotorsports eaa46454c1 Update main.yaml (#2690)
fixes for mixed IO naming.
2021-05-12 18:51:58 -04:00
BeerMoneyMotorsports ed24ca8429 Update main.yaml (#2688) 2021-05-11 20:40:17 -04:00
BeerMoneyMotorsports 67bc1325aa Update main.yaml (#2686)
Added Boost control, Flex input and knock input to options connector.
2021-05-11 18:35:05 -04:00
BeerMoneyMotorsports 35117fad14 Update main.yaml (#2685)
Major pinout update.
2021-05-11 17:35:54 -04:00
BeerMoneyMotorsports 386b9ac39b Update main.yaml (#2682)
update to fix tachout.  Testing a change to GPIO pin
2021-05-11 11:50:49 -04:00
Matthew Kennedy 1aed5c6ae2 remove intermediate buffer (#2668)
* remove define

* goodbye intermediate logging buffer

* free ram! woo!
2021-05-10 08:01:24 -04:00
rusefillc 591b2b3c6c Revert "lua on f407 (#2646)"
This reverts commit e35e99f5
2021-05-09 18:25:50 -04:00
Matthew Kennedy e35e99f52d lua on f407 (#2646)
* lua on f4

* move perf trace to efifeatures

* check that it's defined

* cypress and kinetis

* it would help to define the correct thing

* disable buffer if not used

* we can work with 2k

* turn off ramdisk on mre qc

* wow strncpy is useless for truncated strings

* turn off for bootloader

* lto bootloader
2021-05-09 16:25:38 -04:00
Matthew Kennedy 0af7a9cb2d shrink canned tables (#2651)
* helper

* use it miata

* do type safe copy

* miata vvt

* etb

* default iat correction

* magic is afoot here

* hunchback

* misc

* neon

* neon

* aspire

* citroen

* neon

* missed one

* dead

* festiva

* remove andreyism

* very dead

* no need for copy of that function

* cleanup
2021-05-09 14:37:16 -04:00
Matthew Kennedy c17e4af490 Proteus legacy vs. non-legacy F7 (#2657)
* proteus f7 is not necessarily legacy

* script

* don't need that any more

* yaml and script

* rename
2021-05-08 18:44:19 -04:00
Andrey G ea870c4869 hip9011 (#2654)
* Move HIP states enum out of rusefi_enums.h

-this is internal driver stuff. No need to have it defined globaly.

* Auto-generated configs and docs
2021-05-08 10:08:18 -04:00
rusefillc 18131c13e2 testing yaml automation 2021-05-07 15:34:48 -04:00
rusefillc 28a84669d2 spaces are evil 2021-05-06 15:26:08 -04:00
BeerMoneyMotorsports e37d45fc10 intMAP fix (#2630)
intMAP a15 fix
2021-05-06 14:34:34 -04:00
BeerMoneyMotorsports 70aa6eb23b Update main.yaml (#2626)
CLT pin fix
2021-05-06 09:38:53 -04:00
Matthew Kennedy 3e4674500b hellen na6 yaml tweaks (#2625)
* cleanup

* all pins have pin number
2021-05-06 08:05:02 -04:00
GitHub build-firmware Action 370180965e Auto-generated configs and docs 2021-05-04 14:14:18 +00:00
Matthew Kennedy 6e1212f3ca use setTable (#2621) 2021-05-04 10:03:41 -04:00
Matthew Kennedy 0117dc2dd4 use static buffer for lua heap, enable on f429 (#2619)
* static buffer for lua

* enable lua for 429
2021-05-04 01:03:17 -04:00
Matthew Kennedy 088ed3c28e interactive lua (#2614)
* interactive lua

* unnecessary pop

* print return value

* enable f7 lua

* match f7 chconf
2021-05-03 17:46:12 -04:00
Andrey G e6e5303e87 Subaru board update (#2616)
* board: subaru_eg33: move to connectors yaml

* engine: subaru EG33: TPS is not inverted

* board: subaru_eg33: fix gen_config script

* board: subaru_eg33: update default settings
2021-05-03 09:32:14 -04:00
rusefillc 12b00e4889 h64 progress 2021-05-02 23:46:09 -04:00
rusefillc becf33b240 2021 is the year of Hellen 2021-05-02 23:45:39 -04:00
rusefillc 59c8ef582f 2021 is the year of Hellen 2021-05-02 19:02:30 -04:00
rusefillc 60ab58c1c8 2021 is the year of Hellen 2021-05-02 18:52:33 -04:00
rusefillc 247ff18c04 https://github.com/rusefi/hellen72/issues/40 2021-05-02 11:30:13 -04:00
rusefillc bfaad4c1b2 code duplication between hellen boards #2611
it has to get worse before it gets better
2021-05-01 19:45:09 -04:00
rusefillc 88a1389af8 code duplication between hellen boards #2611
it has to get worse before it gets better
2021-05-01 19:15:23 -04:00
rusefillc 84441c1dcb h64 more better error handling 2021-05-01 15:40:27 -04:00
rusefillc e0e92a29e4 h64 actually vbatt an analog input 2021-05-01 15:23:04 -04:00
rusefillc 0fa93d4ae7 h64 progress 2021-05-01 15:18:59 -04:00
BeerMoneyMotorsports 03c98e2504 Update main.yaml (#2612) 2021-05-01 14:49:34 -04:00
rusefillc fce1497c51 h64 progress 2021-05-01 14:46:26 -04:00
GitHub build-firmware Action d15d721006 Auto-generated configs and docs 2021-04-30 05:39:53 +00:00
GitHub build-firmware Action f3f5e4215d Auto-generated configs and docs 2021-04-30 05:10:36 +00:00
rusefillc dfd4ba2b5f http://www.yamllint.com/ is our friend 2021-04-29 21:49:02 -04:00
BeerMoneyMotorsports f0b961bde0 Update main.yaml (#2608) 2021-04-29 21:40:52 -04:00
Matthew Kennedy a470c1eec1 lua 5.4 (#2590)
* thread priority

* build

* makefile prep

* call startup

* lua 5.1

* mk

* 5.3

* mk

* I guess lua does something?

* extract hooks, builds for tests

* a bit of error handling

* guard

* bootloader makefile

* remove lua

* submodule

* submodule update

* builds with submodule

* disabled by default

* h7 chconf

* tweaks

* add a useful hook

* move luaconf

* perf trace lua

* test helpers

* lua unit tests

* include to satiate clang
2021-04-28 22:41:25 -04:00
Andrey G 605378f829 Subaru board update (#2600)
* board: subaru eg33: linker script: stack, bss and heap to ram0

* Board: Subaru EG33: clean-up configs

* board-subaru-eg33: fix board config

* engine: subaru: eg33: fixes
2021-04-28 20:25:33 -04:00
rusefillc 33d17be8aa hellen wbo 2021-04-28 19:14:02 -04:00
Matthew Kennedy 7c8c14fee2 Baro config (#2591)
* adjust API to allow i2c init to fail

* init

* proteus config

* 🎠🎠🎠

* buh

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-27 15:29:22 -04:00
David Holdeman e9ef2dfca2 MRE reuse pins (#2587)
* try adding a reuse pin

* try
2021-04-26 23:25:11 -04:00
rusefi 06c46ba835 improving QC process 2021-04-23 00:03:21 -04:00
rusefi 6c75a3d7b4 improving QC process 2021-04-22 22:04:39 -04:00
rusefi be0f2210c5 improving QC process 2021-04-22 21:23:20 -04:00
rusefillc f94fbcbec0 Switch default idle mode to AUTO #2577
at least all NB2 should be auto idle
2021-04-21 16:21:55 -04:00
rusefillc 2853f74808 better Hellen defaults 2021-04-21 16:15:47 -04:00
rusefillc 82b821ce83 EFI_SOFTWARE_KNOCK for hellen 2021-04-21 09:56:46 -04:00
rusefillc 9cd73caaf5 EFI_SOFTWARE_KNOCK for hellen 2021-04-20 22:07:09 -04:00
rusefillc 2c0c5b0ace more correct tachPulseDurationAsDutyCycle tooltip and other boring details 2021-04-19 23:48:03 -04:00
rusefillc 305d38dabf hellen64 scripts and pinout #2565 2021-04-18 22:03:43 -04:00
rusefillc 959a63d7de hellen64 scripts and pinout #2565 2021-04-18 10:42:50 -04:00
rusefillc 3c0a9ebd5e hellen64 scripts and pinout #2565 2021-04-18 10:15:06 -04:00
GitHub build-firmware Action a8bfcacc53 Auto-generated configs and docs 2021-04-15 05:23:00 +00:00
rusefillc d7087ccdb1 let's see if Jesse BeerMoneyMotorsports is the winner 2021-04-14 20:18:55 -04:00
rusefillc 3849725586 MAP3 (A15) Not available for input in TS #27 2021-04-13 21:16:44 -04:00
Matthew Kennedy d7e95cd31f improve sensor chart flush behavior (#2545)
* disable sensor chart

* type signature, guards

* we can't log the message as that confuses the parser

* dead

* this syntax was technically illegal

* more

* turn it back on

* remove config

* api

* implement

* ui

* java ui
2021-04-12 14:05:52 -04:00
rusefi c3ec4a940e MAP3 (A15) Not available for input in TS #27 2021-04-12 00:00:21 -04:00
rusefillc 5968149584 https://github.com/rusefi/hellen72/issues/25 2021-04-10 23:30:36 -04:00
rusefillc 067bdc188f https://github.com/rusefi/hellen72/issues/25 2021-04-10 23:22:25 -04:00
David Holdeman b655b70f58 quote proteus pins with # (#2539) 2021-04-10 08:35:00 -04:00
rusefillc 06ada8562b Kawasaki KX450F trigger wheel #2538 2021-04-08 22:16:14 -04:00
Andrey G a0053d5845 hip9011 and friends (#2527)
* engine math: extrant getFiringOrderTable for reuse

* engine math: getNextFiringCylinderId helper

* introduce knock_logic: first member is getCylinderKnockBank()

moved from software_knock.cpp

* hip9011: support two inputs/banks

* fix CI

* Board Subaru EG33: populated with TPIC8101 with Advanced mode

* hip9011: test communication in advanced mode

* hip9011: handle situation when chip is already in advanced mode

* Board Subaru EG33: cylinder to knock bank mapping

* hip9011: count spi transactions in advansed mode too

* hip9011: reset incalid responce counter after chip initialization

* hip9011: make debug output more structured
2021-04-04 18:13:21 -04:00
andreika-git 56375c88ee Set the default pin states to input-pulldown instead of input-pullup for Hellen72 (#2525)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-04-04 10:29:05 -04:00
rusefillc d5a3f70ac3 https://github.com/rusefi/hellen72/issues/19 2021-04-02 14:08:59 -04:00
rusefi f8b0de9123 reuse of TPS calibration 2021-04-01 17:05:01 -04:00
rusefi a1018cf269 engineConfiguration->vbattAdcChannel = EFI_ADC_5; // 4T 2021-04-01 16:47:20 -04:00
Matthew Kennedy 761e65c710 make board config override actually usable (#2508)
* new function

* hellen

* MRE

* proteus

* put those function declarations in a reasonable place

* put the comment back

* weak

* move that to a reasonable place

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-31 14:46:50 -04:00
Andrey G 112b4d1182 Hip9011 (#2512)
* hip9011: coexistance with other spi devices

* hip9011: rework so SPI transfer is invoked from thread

also use polling spi exchange to avoid cache problems

* hip9011: move calculations from ADC callback to thread

* hip9011: big cleanup

* hip9011: simplify spi communication

* No need to set knockBandCustom if it is not custom

HIP9011 calculates knockBand from cylinderBore same way

* hip9011: make unit test happy

* hip9011: fix unit test

* hip9011: remove duplicated initialization, reorder

* hip9011: just renames and data type adjustments

* hip9011: rename BAND() to HIP9011_BAND()

* hip9011: move some code from lookup.cpp to logic.cpp

* hip9011: move initEngineNoiseTable to engine_configuration.cpp

* hip9011: move lookup tables to hip9011_logic.c

* hip9011: remove empty files

* hip9011: additional checks
2021-03-30 10:56:25 -04:00
GitHub build-firmware Action 96d59b4629 Auto-generated configs and docs 2021-03-29 13:06:35 +00:00
Matthew Kennedy 1b69ae320e enable serial pins on proteus (#2507)
* enable serial on proteus

* make h7 happy
2021-03-28 17:03:14 -04:00
Matthew Kennedy 72dac58f9b fix multi-serial-port insanity (#2476)
* carve out UART specific

* implement channel

* config cleanup

* use new config

* bootloader

* dead code

* s

* h7 inherits f7

* oops

* ok now it's right

* tests

* cleanup

* call setup

* put that in its own file

* cleanup

* format

* guard

* not needed

* improve guarding

* portable

* allow override of uart mode

* fixes for bootloader

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 09:06:36 -04:00
Matthew Kennedy fddd376a3f various TS project improvements, dead config fields (#2504)
* after start enrichment limits

* rework menus and VVT page

* multispark language

* dead fuel pressure field

* vw

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 08:39:26 -04:00