Commit Graph

9699 Commits

Author SHA1 Message Date
GitHub build-firmware Action d1e86436dd Auto-generated configs and docs 2021-04-04 00:31:15 +00:00
Matthew Kennedy b20ead8d18 More binary log fields (#2518)
* gauge names

* binary log

* it only takes scaled channel
2021-04-03 20:28:55 -04:00
rusefi 53689d91aa explicit status for MSD SD mode 2021-04-03 19:42:54 -04:00
GitHub set-date Action 8e17acdab9 Update date 2021-04-03 01:01:42 +00:00
rusefillc d5a3f70ac3 https://github.com/rusefi/hellen72/issues/19 2021-04-02 14:08:59 -04:00
GitHub set-date Action c8fe69a952 Update date 2021-04-02 01:10:09 +00: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
rusefi 1d9ba89273 SD init: document or fix unlock SPI fix #2516 2021-04-01 16:21:19 -04:00
rusefi da64802066 SD init: document or fix unlock SPI #2516 2021-04-01 16:20:08 -04:00
Matthew Kennedy d6c9f1d84f aux temp (#2515) 2021-03-31 22:54:59 -04:00
Matthew Kennedy 8aed80c332 not all listeners are sensors (#2514)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-31 22:51:49 -04:00
GitHub set-date Action e12f07ffc0 Update date 2021-04-01 01:03:41 +00: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
GitHub set-date Action cd03d83c2b Update date 2021-03-31 00:57:56 +00: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
Matthew Kennedy 9810406fa6 fix (#2511) 2021-03-30 07:28:22 -04:00
Matthew Kennedy ff12c4d214 speed up boot by 48 ms (#2506)
* speed up boot

* two
2021-03-29 22:59:38 -04:00
GitHub set-date Action 23c73791bd Update date 2021-03-30 01:00:14 +00:00
GitHub build-firmware Action 96d59b4629 Auto-generated configs and docs 2021-03-29 13:06:35 +00:00
Matthew Kennedy f24c15a9a2 More gppwm and fsio (#2509)
* gppwm aux temp

* fsio fuel flow rate and oil pressure

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-29 08:57:37 -04:00
GitHub set-date Action 32cedfd08d Update date 2021-03-29 01:03:37 +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
GitHub build-firmware Action 87a8cb9a78 Auto-generated configs and docs 2021-03-28 12:41:23 +00: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
GitHub build-firmware Action ccac435c92 Auto-generated configs and docs 2021-03-28 12:09:36 +00:00
Matthew Kennedy 71a74fd233 slow down fuel level (#2505) 2021-03-28 08:01:08 -04:00
Matthew Kennedy 204aa33e9a goodbye ignitionOffset (#2503)
* remove

* set the timing map to do what the offset used to do

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 08:00:09 -04:00
GitHub set-date Action 947d335a20 Update date 2021-03-28 01:01:53 +00:00
GitHub build-firmware Action ead0e378e8 Auto-generated configs and docs 2021-03-27 23:02:46 +00:00
rusefillc bc3cf715c9 Shall we drop "ignitionOffset" feature? #2500
dead code and TS progress
2021-03-27 19:00:35 -04:00
Andrey G 5fda278503 hip9011: get callback from spark on each cylinder (#2499)
* hip9011: get callback from spark on each cylinder

* hip9011: cleanup unused
2021-03-27 14:12:49 -04:00
GitHub set-date Action 7de5e303a3 Update date 2021-03-27 01:00:23 +00:00
Matthew Kennedy ce142907a0 replace print/printMsg with scheduleMsg (#2497)
* start cleaning

* disabled feature means don't print that it's disabled

* cli

* usages

* printMsg -> scheduleMsg

* this is alllll dead now

* no crlf please

* all hope is lost if you manage to hit this line

* tests

* tests

* ok we did actually need that part

* sim

* d

* kinetis

* it did ifdef, not if

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-26 17:23:26 -04:00
Matthew Kennedy 00f726713a Init order h7 (#2495)
* init order

* s
2021-03-25 21:12:19 -04:00
GitHub set-date Action 743d7ffa90 Update date 2021-03-26 00:53:17 +00:00
Matthew Kennedy cc566744be write flash on separate thread for H7 (#2490)
* write flash on separate thread for H7

* cleanup

* getting the parameters in the correct order generally helps

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 18:44:41 -04:00
Matthew Kennedy 368415972e read configuration from flash exactly once (#2481)
* early hw init

* s

* read configuration exactly once

* cleanup

* housekeeping

* test friendly

* ugh bad merge

* that is a noop

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 18:16:26 -04:00
Matthew Kennedy 2839c6f069 use cpp (#2493) 2021-03-25 18:12:17 -04:00
Matthew Kennedy 67925a98fc +x (#2492) 2021-03-25 17:16:25 -04:00
Matthew Kennedy 0e6f60ee8f setup script tweak path (#2491)
* fix

* setup script

* chmod

* gdb

* use path instead of symlink
2021-03-25 16:22:16 -04:00
Matthew Kennedy 53a579abbf move some initialization steps earlier (#2480)
* early hw init

* s

* Revert "s"

This reverts commit 10d3039168613cfb2b0cf1c960d2f18894745ce3.

* bor

* I can't type

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 16:22:03 -04:00
Matthew Kennedy 4e1d30f86d plumbing for multiple vvt (#2488)
* plumb multiple vvt

* fix test

* s

* fix barra while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 07:39:23 -04:00
Matthew Kennedy a97a2393d9 add setup script for linux environment (#2486)
* fix

* setup script

* chmod

* gdb
2021-03-24 21:39:49 -04:00
GitHub set-date Action 904717b77b Update date 2021-03-25 00:29:25 +00:00
GitHub set-date Action 59c589a177 Update date 2021-03-24 00:49:15 +00:00
GitHub build-firmware Action 00f7b19e0d Auto-generated configs and docs 2021-03-24 00:29:05 +00:00
Matthew Kennedy 89cdb7fe89 fix (#2485) 2021-03-23 20:27:10 -04:00
GitHub build-firmware Action 7cdd6f8228 Auto-generated configs and docs 2021-03-23 19:20:23 +00:00
Matthew Kennedy 9b5ec4bdef vvt ui (#2484) 2021-03-23 15:18:36 -04:00
GitHub set-date Action e9cd88a926 Update date 2021-03-23 00:48:35 +00:00
Matthew Kennedy 92d249918b rename setBoardConfigurationOverrides (#2479)
* rename

* proteus

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-22 14:15:09 -04:00
GitHub build-firmware Action 335d55b48d Auto-generated configs and docs 2021-03-22 11:54:44 +00:00
Matthew Kennedy db7856523c barra vvt cam pattern (#2483)
* barra vvt cam pattern

* two tooth sync

* I think this needs to be here too
2021-03-22 07:48:29 -04:00
GitHub set-date Action 77b0b8f5d2 Update date 2021-03-22 00:49:10 +00:00
Matthew Kennedy e38aa3aa8c fix (#2478) 2021-03-20 22:07:52 -04:00
GitHub set-date Action 0b021cf416 Update date 2021-03-21 00:51:23 +00:00
rusefillc 1162e5e75b time_since_boot should be used in MAIN_RELAY_LOGIC #2258
safer implementation for now
2021-03-20 12:47:02 -04:00
Andrey G aa05ff195d Hip9011 and cleanups (#2477)
* hip9011: move hipCs out of EnginePins to hip9011 driver

* hip9011: cleanup debug output, save few RAM bytes

* Supress few signed vs unsigned warnings
2021-03-20 08:40:36 -04:00
GitHub set-date Action 3cfbd336e2 Update date 2021-03-20 00:48:31 +00:00
Matthew Kennedy d65190b8a5 embiggen MSD stack (#2475) 2021-03-19 19:56:47 -04:00
GitHub build-firmware Action 1144514671 Auto-generated configs and docs 2021-03-19 21:20:54 +00:00
Matthew Kennedy 7cdad67f3f USB uses its own channel, add implementations for serial channels (#2472)
* USB uses its own channel

* revise channels

* put serial ports in their own file

* h7 uart incompatible for now

* guard for sim
2021-03-19 17:05:04 -04:00
Matthew Kennedy 2bf833a1ee Usable fuel consumption data/gauges (#2474)
* fuel consumption

* gauge names

* consumers

* obd

* binary logging

* doesn't need explicit constructor

* getters

* it works

* correct for injections per cycle

* datalog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 17:04:42 -04:00
GitHub build-firmware Action 62c38de068 Auto-generated configs and docs 2021-03-19 12:41:10 +00:00
Matthew Kennedy 5e6746c3aa Implement nonlinear fuel level sender (#2473)
* table function

* config fields

* sensor type

* switch consumers

* init the sensor

* ui

* 1mv resolution

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 08:39:08 -04:00
GitHub set-date Action c16757b75a Update date 2021-03-19 00:49:12 +00:00
Matthew Kennedy cb33bb77ae Dedicated code path for USB console/TS (#2465)
* new apis

* dedicated USB path

* move decl

* init

* don't init usb twice

* guard

* check that we're initialized before using TS

* comment

* guard

* guard USB

* brain doesn't go good

* make tests happy

* dead define

* cypress

* ifdef != if

* s

* include priority

* don't start a thread we know we don't need

* bad-ish merge

* const

* why did this code exist...?

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-18 14:07:22 -04:00
Matthew Kennedy d9f58c2993 fix (#2471) 2021-03-18 04:02:32 -04:00
GitHub set-date Action 058046ceb0 Update date 2021-03-18 00:48:10 +00:00
Matthew Kennedy 925a6ca086 harden against various no-boot scenarios (#2468)
* zero length trigger

* validate config

* validate cylinder count

* wrong type on cylinder count

* invalid comment

* invalid SPI
2021-03-17 09:24:13 -04:00
Matthew Kennedy 34b678728a extract CAN TS channel (#2469)
* extract CAN channel

* this is gross
2021-03-17 08:39:13 -04:00
GitHub set-date Action d32e1bba4f Update date 2021-03-17 00:48:26 +00:00
Andrey G 4b9181a5cd Enable trigger stimulation after HW timer initialized (#2466)
To avoid 'CRITICAL error: hwTimer not alive' error
2021-03-16 17:31:30 -04:00
GitHub set-date Action 2dc0c9306f Update date 2021-03-16 00:47:02 +00:00
Matthew Kennedy 2d4b434534 more 2021-03-15 17:12:34 -04:00
Matthew Kennedy a4da2322ef this syntax was technically illegal 2021-03-15 17:12:30 -04:00
Matthew Kennedy a26002bc02 type signature, guards 2021-03-15 17:11:11 -04:00
rusefillc d9a3638dc6 Potato Chip Day 2021 Release 2021-03-15 13:57:47 -04:00
Matthew Kennedy c168c748ea dead code, warnings (#2461) 2021-03-15 10:23:19 -04:00
Matthew Kennedy 10a5d1fd76 set 50% target for ETB autotune (#2459)
* 50% target for autotne

* pass target in

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-15 08:54:55 -04:00
rusefillc 876382d529 VAG MQB 2021-03-14 21:20:02 -04:00
GitHub set-date Action d84c4e28f3 Update date 2021-03-15 00:48:29 +00:00
Matthew Kennedy 910f46267f VVT uses closed loop controller framework (#2453)
* vvt uses framework

* builds

* rename, update headers

* s

* testable

* write some basic tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-14 19:31:46 -04:00
Matthew Kennedy 540b9000d5 implement ads1015 driver (#2458)
* first approximation of ads1015

* fix ads

* misc

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-14 19:02:42 -04:00
rusefillc 7b66ec5cf3 VAG MQB 2021-03-14 17:40:33 -04:00
GitHub build-firmware Action 8fd70f63a1 Auto-generated configs and docs 2021-03-14 21:30:08 +00:00
rusefillc 99787df047 VAG MQB 2021-03-14 17:27:26 -04:00
GitHub build-firmware Action 3d9483144a Auto-generated configs and docs 2021-03-14 21:22:47 +00:00
Matthew Kennedy 4171ab2d11 Add set wideband index buttons (#2455)
* update wideband firmware

* implement index set

* bench test, error on failure

* guard wideband
2021-03-14 17:20:50 -04:00
rusefillc 30d3358d84 fix error/warning buffer overflow #2456 2021-03-14 09:53:15 -04:00
rusefillc 212b9d6684 fix error/warning buffer overflow #2456 2021-03-14 09:52:27 -04:00
Matthew Kennedy 962e0b32e7 fix error/warning buffer overflow (#2456)
* fix error printing overflow

* make the worst offender shorter

* error as warning

* these don't need that flag set
2021-03-14 09:31:11 -04:00
GitHub set-date Action 55b7a60f06 Update date 2021-03-14 00:50:10 +00:00
rusefillc 242d173e5a poke 2021-03-13 16:33:05 -05:00
Matthew Kennedy 5cc2efc3e5 use full memory on STM32F42x (#2450)
* linker script

* hook it up
2021-03-13 07:26:58 -05:00
Matthew Kennedy 19e77b31f4 put back (#2452) 2021-03-13 06:59:33 -05:00
rusefillc 344844745f false positive GHA drama #2446
poke #4
2021-03-12 23:39:31 -05:00
rusefillc 7c1a414673 false positive GHA drama #2446
poke #3
2021-03-12 23:39:10 -05:00
Matthew Kennedy 765895d913 Fuel pressure sensor checks (#2449)
* test for missing sensor

* test negative pressure delta checking logic

* test new hasSensor logic
2021-03-12 23:32:41 -05:00
rusefillc 94f974f229 false positive GHA drama #2446
poke#2
2021-03-12 23:23:14 -05:00
rusefillc 19078969a4 false positive GHA drama #2446
poke
2021-03-12 23:22:52 -05:00
GitHub build-firmware Action da272532ff Auto-generated configs and docs 2021-03-13 04:21:15 +00:00
rusefillc 35fb69e920 is gen_config invoked too often now? #2387 2021-03-12 23:15:18 -05:00
GitHub build-firmware Action 8e9c938434 Auto-generated configs and docs 2021-03-13 03:33:50 +00:00
rusefillc b425804843 is gen_config invoked too often now? #2387 2021-03-12 22:27:16 -05:00
rusefillc 8ba2658406 is gen_config invoked too often now? #2387 2021-03-12 22:25:03 -05:00
GitHub build-firmware Action c9c39ed728 Auto-generated configs and docs 2021-03-13 02:26:53 +00:00
rusefillc 2086f073da false positive GHA drama #2446
test poke
2021-03-12 21:22:48 -05:00
GitHub set-date Action ce848c06a6 Update date 2021-03-13 00:46:26 +00:00
GitHub build-firmware Action d5e0f7a016 Auto-generated configs and docs 2021-03-12 05:52:29 +00:00
rusefillc 6f5b625ec2 Merge remote-tracking branch 'origin/master' into master 2021-03-12 00:50:08 -05:00
rusefillc 3651883bcf test_timer 2021-03-12 00:43:48 -05:00
GitHub build-firmware Action 5b25a39955 Auto-generated configs and docs 2021-03-12 05:18:18 +00:00
Matthew Kennedy 72214b8b77 default config, UI tweaks (#2444)
* s

* fix this while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-12 00:16:24 -05:00
GitHub build-firmware Action 17c2ecc227 Auto-generated configs and docs 2021-03-12 04:19:00 +00:00
rusefillc 9f90387d09 vBatt -> SensorType::vBatt fix #2260 2021-03-11 23:07:18 -05:00
rusefillc 98eae45094 vBatt -> SensorType::vBatt #2260 2021-03-11 22:52:34 -05:00
rusefillc 416c65b475 vBatt -> SensorType::vBatt #2260 2021-03-11 22:44:59 -05:00
rusefillc a0a6e445dd Merge remote-tracking branch 'origin/master' into master 2021-03-11 22:44:11 -05:00
rusefillc 5d6db3fbc5 my bad 2021-03-11 22:42:59 -05:00
GitHub set-date Action ffb55722fb Update date 2021-03-12 00:47:42 +00:00
GitHub build-firmware Action d94ed8a45a Auto-generated configs and docs 2021-03-11 19:11:45 +00:00
rusefillc b56bc1f167 "onTime above limit %dus", TOO_FAR_INTO_FUTURE_US 2021-03-11 14:05:15 -05:00
GitHub build-firmware Action 08081f179f Auto-generated configs and docs 2021-03-11 13:40:39 +00:00
Matthew Kennedy ce3878949c stop trigger emulator PWM when disabled (#2443)
* simplify trig emulator

* spelling is hard

* fix various builds

* spelling again

* add command/button for external stimulation

* enable hw stim for HW-in-loop test

* s

* I does spelling good

* clear flag when disabled

* generate enough for console build

* don't disable that

* this test needs external stimulation enabled

* import

* ui improvements

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-11 08:38:52 -05:00
GitHub build-firmware Action 55caa17ac8 Auto-generated configs and docs 2021-03-11 04:22:28 +00:00
rusefillc 219ef5afa9 Merge remote-tracking branch 'origin/master' into master 2021-03-10 23:20:36 -05:00
rusefillc db836754dd Life in the Cracks 2021 Release 2021-03-10 23:20:22 -05:00
GitHub build-firmware Action 035d783120 Auto-generated configs and docs 2021-03-11 02:16:35 +00:00
rusefillc 6f93430d47 Merge remote-tracking branch 'origin/master' into master 2021-03-10 21:11:16 -05:00
rusefillc bae33a1230 changelog update 2021-03-10 19:56:30 -05:00
GitHub build-firmware Action 20ec3009ee Auto-generated configs and docs 2021-03-11 00:54:18 +00:00
Matthew Kennedy 66fa7be31b fix h7 adc (#2442) 2021-03-10 19:52:39 -05:00
GitHub set-date Action 91ec7c1536 Update date 2021-03-11 00:48:02 +00:00
GitHub build-firmware Action fa1f266012 Auto-generated configs and docs 2021-03-10 22:31:48 +00:00
Matthew Kennedy b3d132278d accurate bench test (#2441)
* accurate bench test

* allow shorter pulses
2021-03-10 17:30:13 -05:00
GitHub set-date Action a4687d7c5a Update date 2021-03-10 00:47:24 +00:00
GitHub build-firmware Action 73cb28a291 Auto-generated configs and docs 2021-03-09 23:55:38 +00:00
Matthew Kennedy dafd28d751 enable CAN on H7 (#2393)
* enable

* guard correctly

* h7 bit timing

* allow longer frames

* allow data smaller than maximum

* mcu temperature

* typo

* tx message

* testing

* check for CAN or FDCAN

* don't need that any more

* h7 bitrate config

* undo testing

* h7-ify msg tx

* comment

* break out SID/EID macros

* guard differently

* update ChibiOS

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-09 18:54:01 -05:00
GitHub build-firmware Action d9d05c99e9 Auto-generated configs and docs 2021-03-09 13:45:05 +00:00
Matthew Kennedy 943e6078c8 logging cleanup before refactor (#2438)
* minor cleanup

* more cleaning

* signature

* spelling

* doy
2021-03-09 08:43:29 -05:00
GitHub set-date Action 3a291058c5 Update date 2021-03-09 00:46:44 +00:00
GitHub build-firmware Action c3647b12c8 Auto-generated configs and docs 2021-03-09 00:20:19 +00:00
Matthew Kennedy 64a36a8003 ETB uses error accumulator (#2435)
* error accumulator

* makefile

* accumulate ETB error

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-08 19:18:35 -05:00
GitHub build-firmware Action a52c5c67af Auto-generated configs and docs 2021-03-08 19:52:22 +00:00
Matthew Kennedy c111d23b3d ADC cleanup, enable oversampling on H7 (#2437)
* cleanup v2 adc

* simplify

* oversample on h7

* output 16b result

* port-ify ADC_MAX_VALUE

* simplify include

* guard for cypress

* make sim/tests happy

* 16x oversample + comment

* this check is uesless

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-08 14:50:50 -05:00
GitHub build-firmware Action 94910b7387 Auto-generated configs and docs 2021-03-08 12:42:18 +00:00
Matthew Kennedy ff5bf3e3c3 error accumulator (#2434)
* error accumulator

* makefile
2021-03-08 07:40:46 -05:00
GitHub build-firmware Action 867d144649 Auto-generated configs and docs 2021-03-08 05:02:53 +00:00
rusefillc c954803292 TDC Trigger Position #2428
any single-tooth primary trigger should automatically run with "useOnlyPrimaryForSync = true;"
2021-03-08 00:00:48 -05:00
rusefillc d12e12fe8c Merge remote-tracking branch 'origin/master' into master 2021-03-07 23:46:03 -05:00
rusefillc 1b1bd0065d removing dead code - initialize() sets 'true' already 2021-03-07 23:37:54 -05:00
GitHub build-firmware Action edfc6b334c Auto-generated configs and docs 2021-03-08 04:23:16 +00:00
GitHub build-firmware Action 34a0a10ddd Auto-generated configs and docs 2021-03-08 01:23:25 +00:00
Matthew Kennedy e6d24d3010 avoid various "no connect" scenarios (#2432)
* init mmc and USB earlier

* connect USB faster
2021-03-07 20:21:42 -05:00
GitHub build-firmware Action 6b4b5c0b64 Auto-generated configs and docs 2021-03-08 01:20:20 +00:00
Matthew Kennedy d7536bf059 finish off vbatt -> sensor model (#2433)
* more vbatt

* s

* goodbye voltage

* makefile

* apparently that part was in use

* include

* mocking
2021-03-07 20:18:32 -05:00
GitHub set-date Action fc5aa6b690 Update date 2021-03-08 00:47:40 +00:00
GitHub build-firmware Action 908b313bc2 Auto-generated configs and docs 2021-03-08 00:27:34 +00:00
Matthew Kennedy 506fb55f5c Store ini filesystem in compressed block device (#2420)
* add module

* implement compressed block device

* enable for f7/h7

* script

* stub compressed image

* implement

* call the script

* headers, comments, fix init bug

* set msd options

* update chibios-contrib

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 19:25:34 -05:00
GitHub build-firmware Action 5b35f69e84 Auto-generated configs and docs 2021-03-07 22:33:47 +00:00
Matthew Kennedy 2dcfb0c272 avoid aliasing (#2431)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 17:32:04 -05:00
GitHub build-firmware Action f9483cb999 Auto-generated configs and docs 2021-03-07 22:13:26 +00:00
Matthew Kennedy a7a82b1aab remove lastTriggerToothEventTimeNt (#2430)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 17:11:50 -05:00
GitHub build-firmware Action b47718226f Auto-generated configs and docs 2021-03-07 21:45:17 +00:00
Matthew Kennedy 792de13069 build h7 proteus (#2429)
* build h7

* scripts

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 16:43:00 -05:00
GitHub build-firmware Action c0a06bcb57 Auto-generated configs and docs 2021-03-07 21:37:29 +00:00
Matthew Kennedy d5bc14719e trigger decoder timer (#2427)
* part 2

* stale comment

* include

* why was this a macro

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 16:35:58 -05:00
GitHub build-firmware Action 6d3b1bb096 Auto-generated configs and docs 2021-03-07 20:34:10 +00:00
Matthew Kennedy abdce83190 virtual zero timer (#2426)
* virtual zero timer

* it would help to call the correct function

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 15:32:41 -05:00
GitHub set-date Action b43b22c8dc Update date 2021-03-07 00:49:24 +00:00
GitHub build-firmware Action 5ee8983422 Auto-generated configs and docs 2021-03-06 17:57:53 +00:00
slowriot b70e39d425 update all compile scripts to use available cores rather than a hardcoded value (#2425)
* fix typos, spelling

* add two V8 firing orders

* use the available number of CPU cores, not just 4

* add new firing orders to config

* updating generated files to include new v8 firing orders

* reverting update of auto-generated files

* correct firing order labels for new firing orders

* update all compile scripts to use available cores rather than a hardcoded value
2021-03-06 12:55:46 -05:00
GitHub build-firmware Action 76b1bb5f4d Auto-generated configs and docs 2021-03-06 02:45:40 +00:00
GitHub build-firmware Action 4d21cde18b Auto-generated configs and docs 2021-03-06 02:41:20 +00:00
GitHub build-firmware Action bd58c2cdc0 Auto-generated configs and docs 2021-03-06 02:09:06 +00:00
GitHub build-firmware Action 80d6a84ddd Auto-generated configs and docs 2021-03-06 01:48:51 +00:00
GitHub build-firmware Action ea78c87b0f Auto-generated configs and docs 2021-03-06 01:45:12 +00:00
GitHub build-firmware Action 382d45c18c Auto-generated configs and docs 2021-03-06 01:34:46 +00:00
rusefillc bb197e7ad2 Merge remote-tracking branch 'origin/master' into master 2021-03-05 20:17:14 -05:00
rusefillc ea8bed584c is gen_config invoked too often now? #2387
London is the start of time
2021-03-05 20:16:59 -05:00
GitHub build-firmware Action 306737f17d Auto-generated configs and docs 2021-03-06 01:00:28 +00:00
rusefillc e0e8ec7309 Merge remote-tracking branch 'origin/master' into master 2021-03-05 19:56:03 -05:00
GitHub set-date Action 05e34512dd Update date 2021-03-06 00:46:28 +00:00
GitHub build-firmware Action b2a3b3b1b2 Auto-generated configs and docs 2021-03-06 00:30:16 +00:00
rusefillc 0d3d4acf17 Merge remote-tracking branch 'origin/master' into master 2021-03-05 19:29:23 -05:00
slowriot 9a8c2516ee Add two new V8 firing orders (#2423)
* fix typos, spelling

* add two V8 firing orders

* use the available number of CPU cores, not just 4

* add new firing orders to config

* updating generated files to include new v8 firing orders

* reverting update of auto-generated files

* correct firing order labels for new firing orders
2021-03-05 19:28:17 -05:00
GitHub build-firmware Action b8dc34493c Auto-generated configs and docs 2021-03-05 22:44:12 +00:00
Matthew Kennedy ce360e8c36 don't update ramdisk image in master (#2422)
* put back the default file

* gitignore
2021-03-05 17:42:22 -05:00
GitHub build-firmware Action 960afe1514 Auto-generated configs and docs 2021-03-05 03:41:12 +00:00
Matthew Kennedy 122f31fe4a hook up lps25 on proteus (#2418)
* hook up lps25

* it would help to include all the files

* unguard some stuff

* unguard more

* guarding

* s

* guard

* only register if init worked

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-04 22:39:20 -05:00
GitHub build-firmware Action 7430bad8d7 Auto-generated configs and docs 2021-03-05 02:01:14 +00:00
Matthew Kennedy caa161db42 STM32H7 Slow ADC (#2421)
* extract

* guard

* put some back

* put back

* slow is actually 500hz so slow is fine here

* no magic

* fix printFullAdcReport

* cast

* implement h7 adc ish

* analog switches

* bad merge

* no map avg on h7

* fix master while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-04 20:58:56 -05:00
Matthew Kennedy b9e0d4db47 Extract slow adc (#2402)
* extract

* guard

* put some back

* put back

* slow is actually 500hz so slow is fine here

* no magic

* fix printFullAdcReport

* cast

* if we turn those off is it happy

* stub cypress/kinetis

* guard fast stuff better

* bad merge

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-04 19:55:09 -05:00
GitHub set-date Action 3ed32baf46 Update date 2021-03-05 00:47:05 +00:00
GitHub set-date Action 625f0fd121 Update date 2021-03-04 00:46:46 +00:00
Matthew Kennedy 8edb115113 Embed ini (#2417)
* replace null device with rusefi ini

* comment

* warning

* stub ramdisk for when we don' thave an image

* maybe generate the image with a build

* install mtools

* fail on error

* install deps _before_ we need them

* embed a little readme

* oops
2021-03-03 07:50:53 -05:00
GitHub build-firmware Action ccbc4f2a2a Auto-generated configs and docs 2021-03-03 12:32:56 +00:00