Commit Graph

24873 Commits

Author SHA1 Message Date
Matthew Kennedy 7633a4416a backport H7 FDCANv2 driver 2025-02-14 16:22:36 -08:00
Matthew Kennedy 04f82a16a6 switch to use FOME's ChibiOS fork 2025-02-14 16:15:59 -08:00
GitHub set-date Action 4ffee17989 Update date 2025-02-15 00:10:58 +00:00
Matthew Kennedy 1b3b86c2cd extract calculateSparkAngle 2025-02-14 12:58:44 -08:00
Matthew Kennedy 6f228a1222
Adjust fuel qty for mode at the last minute (#554) 2025-02-14 10:05:45 -08:00
GitHub gen-configs Action 79e7b52cc3 Auto-generated configs and docs 2025-02-14 09:42:49 +00:00
Matthew Kennedy c89b028d88 Add option for minimum cam sync rpm 2025-02-14 01:41:38 -08:00
Matthew Kennedy f6e4239bcb reset ignition schedule too on trigger loss 2025-02-13 23:19:34 -08:00
Matthew Kennedy c932c55693 overdwell test with IgnitionContext instead of event 2025-02-13 23:18:30 -08:00
Matthew Kennedy c49c9dd660 correct logicdata time scale 2025-02-13 23:16:48 -08:00
Matthew Kennedy fedf0db652 don't do fancy features when spark fired by overdwell protect 2025-02-13 23:16:40 -08:00
Matthew Kennedy 53aa7d55d2 fix nissan VQ test 2025-02-13 22:44:31 -08:00
Matthew Kennedy 97a4add1a5 Detect trigger loss faster, as a function of tooth count 2025-02-13 22:04:25 -08:00
Matthew Kennedy 1d6ca9f989 Reset injection schedule upon trigger sync loss 2025-02-13 22:03:30 -08:00
Matthew Kennedy 5eaa331b21 format 2025-02-13 22:03:19 -08:00
Matthew Kennedy 3cf2d07057 use GCC-mode bitfields on Windows simulator build #551 2025-02-13 21:39:53 -08:00
Matthew Kennedy 2ebd882722
Ignition outputs use a mask like fuel (#553)
* remove skipped spark check

* this test no longer does anything

* ignition mask outputs

* tests

* extract function to calculate mask

* don't even store the mask
2025-02-13 20:31:09 -08:00
GitHub gen-configs Action 419790d4b6 Auto-generated configs and docs 2025-02-14 01:56:00 +00:00
Matthew Kennedy ef9032bca4
Control injectors with a mask rather than pointers (#551)
* mostly implement

* tests

* tests

* tests

* properly handle single point injection

* fix tests

* fix tests

* scheduler

* format

* fix tests

* extract calculateInjectorOutputMask

* uncomment

* split injection just barely fits!

* provide a constructor so maybe mac is happy?

* don't bother storing the mask at all

* simplify

* make the pad bits predictable
2025-02-13 17:54:42 -08:00
GitHub set-date Action 277745c750 Update date 2025-02-14 00:15:12 +00:00
Matthew Kennedy dcfc53159e
enable stack guard on F7 (#549)
* enable stack guard on F7

* enable stack check on bootloader
2025-02-13 00:02:34 -08:00
Matthew Kennedy eb6f433c54 disable stack check on cm7 as it has MPU 2025-02-12 23:39:46 -08:00
Matthew Kennedy 13bec56987 turnSparkPinHigh: prioritize flipping the output 2025-02-12 22:43:07 -08:00
Matthew Kennedy eee942f2ab event_registry.cpp is dead 2025-02-12 22:32:30 -08:00
GitHub gen-configs Action 031e881fa7 Auto-generated configs and docs 2025-02-13 01:51:13 +00:00
Matthew Kennedy 2fd4cc4bc3 Merge branch 'master' of https://github.com/fome-tech/fome-fw 2025-02-12 17:49:20 -08:00
Matthew Kennedy e2fbbb2277 Add an option for "full sync on engine stim" 2025-02-12 17:44:43 -08:00
GitHub gen-configs Action 8ee91956f1 Auto-generated configs and docs 2025-02-13 01:39:41 +00:00
Nathan Schulte 8a091510c7
rm lgtm.yml (#550)
https://github.com/rusefi/rusefi/pull/1148
2025-02-12 17:38:33 -08:00
GitHub set-date Action 89de396722 Update date 2025-02-13 00:11:01 +00:00
Matthew Kennedy 6db1065750 use bit_cast for action_s constructor 2025-02-12 14:40:52 -08:00
Matthew Kennedy 98ef2f3f12 clearer conditions for stuck injector test 2025-02-12 12:03:34 -08:00
Matthew Kennedy 66ad2cf629 clearer conditions for stuck injector test 2025-02-12 11:59:42 -08:00
Matthew Kennedy 5110c5bb85 pass mode in to computeInjectionAngle 2025-02-12 10:30:42 -08:00
Matthew Kennedy 48d4191932 stash injectionmode in the event 2025-02-11 22:56:05 -08:00
Matthew Kennedy c63e16545c Merge branch 'master' of https://github.com/fome-tech/fome-fw 2025-02-11 19:12:43 -08:00
Matthew Kennedy 4165df2cb2 pull getInjectionModeDurationMultiplier out of base fuel math calc 2025-02-11 19:12:38 -08:00
GitHub gen-configs Action 379d95e8e1 Auto-generated configs and docs 2025-02-12 02:39:37 +00:00
Matthew Kennedy 31b16cdb45 trigger decoder: early bailout instead of long if 2025-02-11 18:36:33 -08:00
GitHub set-date Action 497840c29c Update date 2025-02-12 00:11:04 +00:00
GitHub gen-configs Action 4d6ccea37b Auto-generated configs and docs 2025-02-11 07:49:07 +00:00
Matthew Kennedy a57b56c944 EFI_SIMULATOR is always defined, so use #if ! instead of #ifndef 2025-02-10 23:47:48 -08:00
GitHub set-date Action 28a81dbbb3 Update date 2025-02-11 00:10:59 +00:00
Matthew Kennedy 8f83c77874
this is c, there is no nullptr 2025-02-10 14:37:58 -08:00
Matthew Kennedy 2d30ccb60d
safer read of the fault address 2025-02-10 14:34:58 -08:00
GitHub gen-configs Action aefa5afe28 Auto-generated configs and docs 2025-02-10 21:59:38 +00:00
Matthew Kennedy 357b2ae844
break at the beginning of the memmanage fault handler so we don't double fault 2025-02-10 13:58:28 -08:00
GitHub set-date Action 00941669ad Update date 2025-02-10 00:11:39 +00:00
GitHub gen-configs Action f3c0fdd8f1 Auto-generated configs and docs 2025-02-09 09:26:51 +00:00
Matthew Kennedy 212200d078 extract isHardRevLimit 2025-02-09 01:25:40 -08:00