Commit Graph

17692 Commits

Author SHA1 Message Date
Matthew Kennedy e859f65ef8 cherry pick hardfault volatile 2023-08-27 16:35:09 -07:00
Matthew Kennedy 2fb778145c forgot the h7 shared section 2023-08-27 16:32:46 -07:00
Matthew Kennedy 46efdde8b4 Merge branch 'master' of https://github.com/fome-tech/fome-fw 2023-08-27 16:25:58 -07:00
Matthew Kennedy f98cc33ae5 oops that doesn't work 2023-08-27 16:25:20 -07:00
GitHub gen-configs Action 488e4cb152 Auto-generated configs and docs 2023-08-27 23:09:12 +00:00
Matthew Kennedy ba78401609 dynamic bootloader size 2023-08-27 16:07:26 -07:00
Matthew Kennedy 717aae8ce2 extract STM32 flash common 2023-08-27 15:31:29 -07:00
Matthew Kennedy bfad2e45a1 Split F4/F7 vs H7 flash controllers 2023-08-27 15:20:11 -07:00
Matthew Kennedy 12b9a3e477 H7 uses 128k pages 2023-08-27 11:35:14 -07:00
Matthew Kennedy c8c536d96c guard 2023-08-27 11:00:56 -07:00
Matthew Kennedy abf312213c extract CAN config to its own file 2023-08-27 10:50:39 -07:00
GitHub gen-configs Action b2e00cb86b Auto-generated configs and docs 2023-08-27 17:31:44 +00:00
Matthew Kennedy 5813c20a32
OpenBLT-based USB serial bootloader (#228)
* flash layout

* bootloader builds

* output name

* hard fp

* strip out dfu

* bootloader gets hardfault

* loader gets USB but not MSD

* kinda usb?

* USB enumerates!

* cleanup

* shared params

* nonfunctional openblt

* stub flash

* flash.h

* openblt responds over USB!

* implement flash driver

* blt conf, linker

* boards no longer need specific openblt files

* no ccache

* common_make.sh

* cleanup

* delete bootloader crust

* simplifying linker logic

* script tweaks

* flash layout is handled entirely by FOME flash driver

* simplify memcpy

* format

* comment

* dead

* makefiles cleanup

* cleanup

* h7 linker script for bootloader

* h7 bootloader build

* build script
2023-08-27 10:30:02 -07:00
GitHub gen-configs Action 8b450caad2 Auto-generated configs and docs 2023-08-27 06:31:12 +00:00
Matthew Kennedy 3e39abbfd3 this button isn't useful as it just bricks the ECU 2023-08-26 23:29:21 -07:00
GitHub gen-configs Action 7e820525ee Auto-generated configs and docs 2023-08-27 06:25:38 +00:00
Matthew Kennedy 05086ed73f rename 2023-08-26 23:23:41 -07:00
GitHub set-date Action a7bc3f4fc0 Update date 2023-08-26 00:07:22 +00:00
Matthew Kennedy 16d3c5d8e7 no need to check 2023-08-25 15:54:10 -07:00
Matthew Kennedy 342f704a4c null terminate usb strings 2023-08-25 12:19:13 -07:00
Matthew Kennedy f68af45edb changelog 2023-08-25 11:25:53 -07:00
GitHub gen-configs Action a3680eb123 Auto-generated configs and docs 2023-08-25 18:25:48 +00:00
Matthew Kennedy 6788b4c0b1 add MSM IAT preset 2023-08-25 11:23:50 -07:00
GitHub gen-configs Action b43cd94a7a Auto-generated configs and docs 2023-08-25 18:20:10 +00:00
Matthew Kennedy cc271b5419 default prime pulse 2023-08-25 11:18:19 -07:00
GitHub set-date Action ef56538394 Update date 2023-08-20 00:08:13 +00:00
GitHub gen-configs Action 10e09f71d4 Auto-generated configs and docs 2023-08-19 14:19:16 +00:00
Matthew Kennedy 9ab71c1b58
separate ign bench parameters (#226) 2023-08-19 07:17:11 -07:00
GitHub gen-configs Action 3c4cf2188a Auto-generated configs and docs 2023-08-19 08:09:22 +00:00
GitHub set-date Action 46213e69f4 Update date 2023-08-17 00:07:34 +00:00
GitHub gen-configs Action 32e616c15e Auto-generated configs and docs 2023-08-16 16:52:50 +00:00
GitHub set-date Action afbb4ffe09 Update date 2023-08-07 00:09:17 +00:00
GitHub gen-configs Action 20e200ce4b Auto-generated configs and docs 2023-08-06 22:39:54 +00:00
Matthew Kennedy 89815e765e 16 bit bench test counter, compactify output bits #219 2023-08-06 15:38:04 -07:00
GitHub gen-configs Action abcde332e2 Auto-generated configs and docs 2023-08-06 09:20:55 +00:00
Matthew Kennedy f7bf589a8d bench test buttons for fuel pump on/off #219 2023-08-06 02:19:00 -07:00
GitHub gen-configs Action 572e106d04 Auto-generated configs and docs 2023-08-06 08:58:56 +00:00
Matthew Kennedy a2f19661cf rearrange bench test UI #219 2023-08-06 01:56:57 -07:00
Matthew Kennedy 3146db80b0 bench test gauge 2023-08-06 01:30:22 -07:00
GitHub set-date Action 2cb154bbe3 Update date 2023-08-06 00:08:46 +00:00
GitHub gen-configs Action 551a132ba2 Auto-generated configs and docs 2023-08-05 22:09:28 +00:00
Matthew Kennedy 631a16622f typo #219 2023-08-05 15:07:37 -07:00
Matthew Kennedy 96bf74b797 fix off time digits 2023-08-05 15:06:38 -07:00
GitHub set-date Action d7f5ad7275 Update date 2023-08-05 00:08:12 +00:00
Matthew Kennedy fb152d3790 bench test passes a struct to thread 2023-08-03 17:50:40 -07:00
Matthew Kennedy cfa8696437 accept T& in addition to T* 2023-08-03 17:39:59 -07:00
Matthew Kennedy eebef2788c Merge branch 'master' of https://github.com/fome-tech/fome-fw 2023-08-03 17:35:13 -07:00
Matthew Kennedy f21eee0cca bench test delay parameter is not useful 2023-08-03 17:34:55 -07:00
Matthew Kennedy 8af1d7cbce bench test has no need for pin AND pin #219 2023-08-03 17:24:49 -07:00
GitHub gen-configs Action e4a7e95dbd Auto-generated configs and docs 2023-08-04 00:22:07 +00:00
Matthew Kennedy 299d25a34e Merge branch 'master' of https://github.com/fome-tech/fome-fw 2023-08-03 17:19:37 -07:00
Matthew Kennedy 031bbc73dd bench cancel UI 2023-08-03 17:19:31 -07:00
Matthew Kennedy 2f7f4d88a0 bench test cancellation #219 2023-08-03 17:18:20 -07:00
GitHub set-date Action 1754acc9ca Update date 2023-08-04 00:08:25 +00:00
Matthew Kennedy ab8d3235aa gen_enum_to_string is part of gen_live_documentation 2023-08-03 11:50:00 -07:00
GitHub gen-configs Action e427037015 Auto-generated configs and docs 2023-08-03 07:54:14 +00:00
Matthew Kennedy 94c29d4cfb
simplify cam input single tooth modes (#178) 2023-08-03 00:52:19 -07:00
GitHub gen-configs Action 38a2bbd1ce Auto-generated configs and docs 2023-08-03 06:27:06 +00:00
Matthew Kennedy cc5c337197 allow more bench test count #219 2023-08-02 23:24:46 -07:00
GitHub set-date Action 2b851a8cb6 Update date 2023-08-02 00:08:03 +00:00
GitHub gen-configs Action 4e518f9fbe Auto-generated configs and docs 2023-08-01 00:20:33 +00:00
Matthew Kennedy 670684ca54 volatile isn't useful here 2023-07-31 17:18:44 -07:00
GitHub set-date Action 9ed7946373 Update date 2023-07-29 00:07:57 +00:00
Matthew Kennedy 54e3bb8b75 dead 2023-07-27 23:49:35 -07:00
GitHub set-date Action 891f311531 Update date 2023-07-28 00:08:22 +00:00
GitHub gen-configs Action 1a0d35f567 Auto-generated configs and docs 2023-07-27 23:14:25 +00:00
Matthew Kennedy 75aa569de9 unused 2023-07-27 16:12:03 -07:00
Matthew Kennedy 8c293d5cb7 stale config 2023-07-27 15:10:24 -07:00
Matthew Kennedy 42fd916e1d unnecessary OM_DEFAULT 2023-07-27 14:43:51 -07:00
GitHub gen-configs Action 7146c3ed5a Auto-generated configs and docs 2023-07-27 01:14:30 +00:00
GitHub set-date Action 556e10efe0 Update date 2023-07-27 00:08:06 +00:00
GitHub gen-configs Action bbeca0189f Auto-generated configs and docs 2023-07-26 17:41:42 +00:00
Matthew Kennedy f961a552cc poke 2023-07-26 10:39:49 -07:00
Matthew Kennedy 71552374ab reset scheduling used count on launch 2023-07-26 10:35:20 -07:00
Matthew Kennedy 1ecd35ba97 bad merge 2023-07-26 10:16:42 -07:00
Matthew Kennedy e8e69a171c
remove livedata (#206)
* remove live data ui

* allow null java name

* delete generated java files

* remove most javas

* checked in copies of C source, tests

* jars
2023-07-26 10:11:28 -07:00
GitHub gen-configs Action 5a410fc660 Auto-generated configs and docs 2023-07-26 08:48:24 +00:00
Matthew Kennedy 40a7321d36 ini cleanup 2023-07-26 01:35:59 -07:00
Matthew Kennedy 30f85245ec test lambda monitor response #75 2023-07-26 00:35:28 -07:00
GitHub gen-configs Action 6ef6de81b6 Auto-generated configs and docs 2023-07-26 07:01:58 +00:00
Matthew Kennedy 20ebd3a433 lambda monitor live data 2023-07-25 23:59:00 -07:00
Matthew Kennedy 600d39fd8c force bigBuffer alignment https://github.com/rusefi/rusefi/issues/5354 2023-07-25 23:46:28 -07:00
Matthew Kennedy b20e228eb3 Merge branch 'master' of https://github.com/fome-tech/fome-fw 2023-07-25 23:33:01 -07:00
Matthew Kennedy e0c3921983 we play a little fast and loose with Timer, ensure it gets no vtable 2023-07-25 23:32:49 -07:00
GitHub gen-configs Action e9fcc847e3 Auto-generated configs and docs 2023-07-26 06:28:13 +00:00
Matthew Kennedy 1d309460e7 CONFIG_RESET_SWITCH 2023-07-25 23:25:50 -07:00
GitHub set-date Action f2f3cb2395 Update date 2023-07-26 00:08:55 +00:00
Matthew Kennedy a752508f35 typo 2023-07-25 15:56:54 -07:00
GitHub gen-configs Action bdf81b76c0 Auto-generated configs and docs 2023-07-25 22:17:25 +00:00
Matthew Kennedy e7fd8f3259 avoid null deref in sd tooth logger 2023-07-25 15:15:15 -07:00
GitHub set-date Action 69d10c535b Update date 2023-07-22 00:08:25 +00:00
GitHub gen-configs Action dd8804d9eb Auto-generated configs and docs 2023-07-21 22:57:17 +00:00
Matthew Kennedy 6f4a4fc373
implement ignition timing clamping (#212)
* implement ignition timing clamping

* ui, improved comment

* wrap atdc timing correctly

* tests
2023-07-21 15:55:04 -07:00
GitHub gen-configs Action 8b6eb9d562 Auto-generated configs and docs 2023-07-21 09:54:59 +00:00
Matthew Kennedy 7fa3897142 wrong deadtime gauge name 2023-07-21 02:53:09 -07:00
Matthew Kennedy 61eefdcd74 dead 2023-07-21 02:52:28 -07:00
Matthew Kennedy 9c69b30303 miata vvt offset 2023-07-21 02:39:45 -07:00
Matthew Kennedy c7a7f7467c voltage compensated vvt #209 2023-07-21 02:30:58 -07:00
GitHub gen-configs Action 229a9d99dc Auto-generated configs and docs 2023-07-21 08:42:11 +00:00
Matthew Kennedy 3d1206f8d2 don't duplicate vvt position 2023-07-21 01:40:27 -07:00
GitHub gen-configs Action f67df0a666 Auto-generated configs and docs 2023-07-21 08:30:50 +00:00
mi-hol f746ddb202
fix link to CHANGELOG.rusefi.md (#204) 2023-07-21 01:28:55 -07:00
Matthew Kennedy fb8cb4987e
fan control is engine module (#203)
* fan is engine module

* mockable AC

* mockable AC

* mock AC controller in fan test

* constexpr fan livedata

* isPtr
2023-07-21 01:28:25 -07:00
GitHub set-date Action e3c4f51802 Update date 2023-07-21 00:08:25 +00:00
GitHub gen-configs Action f0b7dd733d Auto-generated configs and docs 2023-07-20 05:18:14 +00:00
Matthew Kennedy e2550105b8
vvt is engine module (#202)
* vvt refactoring

* vvt constexpr livedata

* format

* fix null deref
2023-07-19 22:16:29 -07:00
GitHub set-date Action 273867d2be Update date 2023-07-20 00:08:55 +00:00
Matthew Kennedy eb0a9da4ab s 2023-07-19 15:05:29 -07:00
Matthew Kennedy eb7707a878 put livedata intermediates in the TS folder 2023-07-19 15:05:13 -07:00
Matthew Kennedy 95efa01d8c dead 2023-07-19 14:54:47 -07:00
GitHub gen-configs Action 72177a2fe3 Auto-generated configs and docs 2023-07-19 21:54:14 +00:00
Matthew Kennedy daed623c82 unnecessary autoscales 2023-07-19 14:49:07 -07:00
GitHub gen-configs Action bc2021a444 Auto-generated configs and docs 2023-07-19 18:38:28 +00:00
Matthew Kennedy 010cc9c216 config typos 2023-07-19 11:36:05 -07:00
GitHub gen-configs Action 62ad0beb1d Auto-generated configs and docs 2023-07-19 07:23:44 +00:00
Matthew Kennedy bed48892aa
new parser touches all input files (#201)
* begin the resurrection

* use hw ci build script

* Revert "use hw ci build script"

This reverts commit e97e693eea.

* list serial ports

* bad merge

* Revert "list serial ports"

This reverts commit a29270405c.

* Revert "bad merge"

This reverts commit ea2541110e.

* unnecessary autoscales

* improve bad autoscale message

* bit group formatting

* formatting matching

* c struct writer mostly works

* tests and formatting alignment

* tests

* cherry pick potential hw ci fix

* format matching

* newparse reads live data files

* vvt scaling

* cleanup

* format matching

* format matching

* format matching

* format matching

* handle arrays of structs

* cleanup for merge

* jars
2023-07-19 00:21:41 -07:00
GitHub set-date Action 96381f4798 Update date 2023-07-19 00:10:45 +00:00
GitHub gen-configs Action 67769ce144 Auto-generated configs and docs 2023-07-18 18:41:20 +00:00
Matthew Kennedy c36840d0c3 nix gauge generation 2023-07-18 11:39:39 -07:00
GitHub gen-configs Action 9d5bfa705a Auto-generated configs and docs 2023-07-18 07:11:02 +00:00
Matthew Kennedy ec24e45c04
scattered read is not a primary scenario (#198) 2023-07-18 00:09:34 -07:00
Matthew Kennedy e4322d2bbc ant can go 2023-07-17 22:33:14 -07:00
GitHub gen-configs Action 61c1242090 Auto-generated configs and docs 2023-07-18 02:52:46 +00:00
GitHub set-date Action d3ce0b0c45 Update date 2023-07-18 00:11:03 +00:00
GitHub gen-configs Action e493d9a020 Auto-generated configs and docs 2023-07-17 09:37:13 +00:00
mi-hol 0975c783bd
fix apparent CopyPaste error assigning OBD fault (#194) 2023-07-17 02:35:35 -07:00
GitHub set-date Action a8cbf0e2d6 Update date 2023-07-10 00:10:10 +00:00
GitHub gen-configs Action 827bc3fd48 Auto-generated configs and docs 2023-07-09 20:23:38 +00:00
mi-hol 5b349c9bac
comment unused obd_error_codes (#186)
* comment unused  obd_error_codes

* remove duplicated values
2023-07-09 13:22:06 -07:00
GitHub set-date Action fd603f6929 Update date 2023-07-06 00:10:07 +00:00
GitHub gen-configs Action 25032c2a7e Auto-generated configs and docs 2023-07-05 07:05:06 +00:00
GitHub set-date Action 619ba3d08d Update date 2023-07-03 00:09:55 +00:00
GitHub gen-configs Action 29bf1767c8 Auto-generated configs and docs 2023-07-02 06:02:36 +00:00
Matthew Kennedy ab5c33154a not sure why injector model makes only sim unhappy 2023-07-01 23:01:53 -07:00
GitHub gen-configs Action 04acd2f092 Auto-generated configs and docs 2023-07-02 04:59:13 +00:00
Matthew Kennedy 75e90b57dc little bit of real vvt data 2023-07-01 21:58:40 -07:00
GitHub gen-configs Action b4ed123d04 Auto-generated configs and docs 2023-07-02 04:46:25 +00:00
Matthew Kennedy f8595f0ff8 happy java tests 2023-07-01 21:45:50 -07:00
Matthew Kennedy 1e63214824 Merge branch 'master' of https://github.com/fome-tech/fome-fw 2023-07-01 21:28:12 -07:00
Matthew Kennedy c59b7b3e99 move injector_model_s 2023-07-01 21:28:00 -07:00
GitHub gen-configs Action 931294bc59 Auto-generated configs and docs 2023-07-02 04:23:33 +00:00
GitHub gen-configs Action 1c3727442b Auto-generated configs and docs 2023-07-02 04:10:48 +00:00
Matthew Kennedy d17d902f24 stub vvt live data 2023-07-01 21:08:50 -07:00
GitHub gen-configs Action 406aeae039 Auto-generated configs and docs 2023-07-02 03:51:27 +00:00
Matthew Kennedy 565a5996c8 live data injector model 2023-07-01 20:51:01 -07:00
Matthew Kennedy 588ad5c5e2 only get outputs in non-test land 2023-07-01 20:50:21 -07:00
Matthew Kennedy cef8b61c7c sprinkle in some constexpr 2023-07-01 20:41:44 -07:00
GitHub gen-configs Action 21776d4182 Auto-generated configs and docs 2023-07-02 00:57:18 +00:00
Matthew Kennedy ab6d206673 lambdaProtectionRestoreRpm 2023-07-01 17:56:45 -07:00
GitHub set-date Action eeef11941f Update date 2023-07-01 00:11:14 +00:00
GitHub gen-configs Action 39c157711c Auto-generated configs and docs 2023-06-30 08:22:55 +00:00
GitHub set-date Action 5896c8c7b9 Update date 2023-06-30 00:08:56 +00:00
Matthew Kennedy 98a4d9eda8
bench test uses a semaphore instead of flags+sleep (#110)
* bench test uses a semaphore instead of sleeping

* s

* dead error code

* guards

* set priority

* comment
2023-06-29 14:14:07 -07:00
Matthew Kennedy 242d9e1e7d lambda protect defaults #75 2023-06-29 13:16:26 -07:00
Matthew Kennedy e03b240e19 wire up restoreConditionsMet #75 2023-06-29 00:10:36 -07:00
Matthew Kennedy 59430dfa91 wire up CAN bit for lambda protect 2023-06-29 00:10:18 -07:00
GitHub gen-configs Action e687adbdb8 Auto-generated configs and docs 2023-06-29 07:05:56 +00:00
Matthew Kennedy 615a45d79b duplicated field 2023-06-29 00:04:53 -07:00
GitHub gen-configs Action ce7989c374 Auto-generated configs and docs 2023-06-29 07:01:48 +00:00
Matthew Kennedy a4a0c5dee7 lambda cut restore config 2023-06-29 00:01:14 -07:00
Matthew Kennedy a0f4ac7cc4 Merge branch 'master' of https://github.com/fome-tech/fome-fw 2023-06-28 23:55:47 -07:00
Matthew Kennedy a63930a5c4 lambda monitor wiring 2023-06-28 23:49:50 -07:00
GitHub gen-configs Action ac3d1d4eb7 Auto-generated configs and docs 2023-06-29 06:35:41 +00:00
Matthew Kennedy 9caf52bbb1 add lambda protect cut code #75 2023-06-28 23:34:31 -07:00
Matthew Kennedy 51c31c217b stub lambda monitor #75 2023-06-28 23:31:53 -07:00
Matthew Kennedy 7ae11160d9 simplify adjustCrankPhase 2023-06-28 18:12:38 -07:00
GitHub set-date Action ee8efb39b2 Update date 2023-06-29 00:10:06 +00:00
GitHub gen-configs Action 276058c203 Auto-generated configs and docs 2023-06-28 23:50:06 +00:00
GitHub set-date Action 22a7567e47 Update date 2023-06-27 00:10:01 +00:00
Matthew Kennedy d9c9f6beeb good behavior in single point 2023-06-26 01:12:08 -07:00
GitHub gen-configs Action 22da651f3e Auto-generated configs and docs 2023-06-26 04:21:38 +00:00
GitHub set-date Action b16485e4d6 Update date 2023-06-26 00:09:45 +00:00
Matthew Kennedy b05c6ff2e1 Merge branch 'master' of https://github.com/fome-tech/fome-fw 2023-06-25 01:46:39 -07:00
Matthew Kennedy 1885f3eca3 make spark and fuel more similar 2023-06-25 01:46:33 -07:00
Matthew Kennedy ade14a956f make spark and fuel more similar 2023-06-25 01:37:45 -07:00
Matthew Kennedy e5ee320b67 make spark and fuel more similar 2023-06-25 01:31:30 -07:00
GitHub gen-configs Action 5ee3228b40 Auto-generated configs and docs 2023-06-25 03:55:37 +00:00
Matthew Kennedy b0c3357cba #23 and fix https://github.com/rusefi/rusefi/issues/5353 2023-06-24 20:14:37 -07:00
GitHub set-date Action 9e979e973b Update date 2023-06-24 00:09:57 +00:00
GitHub gen-configs Action cf4f779585 Auto-generated configs and docs 2023-06-23 09:14:48 +00:00
Matthew Kennedy 07f0360dd9 stub config for lambda protection #75 2023-06-23 02:14:13 -07:00
Matthew Kennedy 824c959a7c changelog for #111 #117 2023-06-23 01:31:08 -07:00
Matthew Kennedy abc979058c Inhibit sensor checker when battery voltage low #169 2023-06-23 01:29:51 -07:00
Matthew Kennedy d98e9d1d54 warn about fuel pressure sensor instead of error #111 #117 2023-06-23 01:27:24 -07:00
GitHub gen-configs Action ba51c44253 Auto-generated configs and docs 2023-06-23 08:19:24 +00:00
rusefillc a46ce9798c
code comment to match actual code (#170)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-06-23 01:17:38 -07:00
GitHub set-date Action c60383a789 Update date 2023-06-23 00:09:38 +00:00
GitHub gen-configs Action 6c451615ee Auto-generated configs and docs 2023-06-22 06:42:56 +00:00
Matthew Kennedy c05767ab03 inhibit ETB disable due to tps/pps intermittent 2023-06-21 23:42:36 -07:00
GitHub set-date Action 611ab63a68 Update date 2023-06-15 00:08:26 +00:00
GitHub gen-configs Action 77f720ff03 Auto-generated configs and docs 2023-06-14 09:03:50 +00:00
Piotr Rogowski 2f5c47e0bb
Update wiki links (#114)
* Update wiki links

* Add VR Discrete decoder URL

---------

Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2023-06-14 02:01:45 -07:00
GitHub set-date Action c2a99b3e91 Update date 2023-06-12 00:10:58 +00:00
GitHub gen-configs Action 6e816c4600 Auto-generated configs and docs 2023-06-11 03:14:02 +00:00
Matthew Kennedy 4542c259d2 semi-secret brz/frs pedal mode 2023-06-10 20:12:14 -07:00
GitHub set-date Action 89f672e2c5 Update date 2023-06-11 00:09:16 +00:00
GitHub gen-configs Action 3ca03dbc3f Auto-generated configs and docs 2023-06-10 20:37:32 +00:00
Matthew Kennedy ec8b054093 implement temp sensor pulldown mode #116 2023-06-10 13:36:03 -07:00
GitHub set-date Action c1cb45d15e Update date 2023-06-08 00:08:43 +00:00
GitHub gen-configs Action 62404d3674 Auto-generated configs and docs 2023-06-07 04:53:50 +00:00