Matthew Kennedy
526f1f97a0
Assorted todos ( #2762 )
...
* gpiochip todos
* fuel computer
* this was already done
2021-05-30 19:23:29 -04:00
Matthew Kennedy
6d19adb24f
remove old config override ( #2763 )
2021-05-30 13:31:36 +03:00
Andrey G
c81b01b47a
mc33810: set ignition outputs to GP mode ( #2756 )
...
IGN mode does not want to fire Subaru ignitor
2021-05-29 05:07:04 -04:00
Matthew Kennedy
080d901222
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
Andrey G
dbfe0e0fbc
Flash fix erase check ( #2750 )
...
* Fix flash erase error formating
* Flash F7: do magic calculation with local copy of sector number
* Falsh stm32: simplify
* typo?
2021-05-28 20:35:54 +03:00
Andrey
112370ae6c
mkfs.fat phase kills gen_config #2736
2021-05-24 15:35:35 -04:00
Andrey
54343b7d74
mkfs.fat phase kills gen_config #2736
2021-05-24 09:04:37 -04:00
David Holdeman
6d4060d824
Doxygen titles ( #2728 )
...
* move addRow call
* undo submo bump
* add header titles
2021-05-22 22:10:58 +03:00
Matthew Kennedy
20cef63d32
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
Andrey
ba758dd5cb
refactoring magic constant STOICH_RATIO
2021-05-20 02:36:55 -04:00
Matthew Kennedy
2d5353b3d5
actually fix F7 flash this time ( #2719 )
...
* f7 sector sizes
* loop dsb
* correct sector index on f7
2021-05-18 17:40:59 -04:00
Matthew Kennedy
0ea1f15ca3
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
Andrey G
8ac3de90fd
Hw layer rearrangement ( #2705 )
...
* Fix simulator compilation
* HW_SENSORS_SRC -> HW_SENSORS_CPP
2021-05-16 14:11:28 +03:00
Andrey G
710a512fe7
Hw layer rearrangement ( #2703 )
...
* max31855: move to sensors
* uart GPS driver: move to sensors and rename
* i2c_bb: move to drivers
* LCD HD44780: move to drivers
* ping?
2021-05-16 06:01:00 -04:00
Matthew Kennedy
c2cdc382a3
don't expose private state ( #2696 )
...
* don't expose private state
* fix tle init
2021-05-14 14:56:45 -04:00
rusefillc
08de271407
hiding 8888 mess under the rug
...
making LPS25 one step more available to Hellen
2021-05-14 10:54:40 -04:00
Andrey G
62cbc6db91
Adc fixes ( #2691 )
...
* ADC: save few bytes
* ADC: fix limit checking, add note for futher users
* ADC: not used anymore
2021-05-13 15:51:18 -04:00
Andrey G
4178ac61c6
mc33810 ( #2684 )
...
* mc33810: ENABLE outputs
* mc33810: enable Dwell time control
2021-05-11 18:17:06 -04:00
Matthew Kennedy
f7581b1869
s ( #2683 )
2021-05-11 15:45:35 -04:00
Matthew Kennedy
370eb0d5a5
no sd if early fatal ( #2680 )
2021-05-10 14:31:40 -04:00
Matthew Kennedy
5ba7577496
move FSIO aux analog inputs to sensor model ( #2669 )
...
* sensor entries
* init
* non-explicit for list init to work
* switch fsio
* no longer need this lua hook
* init
2021-05-09 19:47:37 -04:00
rusefillc
540bb8e327
Revert "lua on f407 ( #2646 )"
...
This reverts commit e8855263
2021-05-09 18:25:50 -04:00
Matthew Kennedy
e885526308
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
3f36d488bf
move ADC pin initialization ( #2660 )
...
* set the pin in adc subscription land
* remove from adc_inputs
* more subscriptions
* use our lib instead
2021-05-09 14:36:11 -04:00
Matthew Kennedy
e0cd96d06d
ini drive contents update ( #2665 )
...
* add shortcuts
* move readme
* nozip version of readme
* scripts
* set the filename
2021-05-09 12:18:55 -04:00
Matthew Kennedy
155bfd9aeb
Support STM32F7 1MB devices ( #2659 )
...
* modify linker script for 1MB devices
* handle null flash address
* actually support 1MB F7
* comment
2021-05-09 09:19:20 -04:00
Andrey G
e18ba01fe5
hip9011 ( #2658 )
...
* hip9011: isolate debug stuff
* hip9011: renames
* hip9011: start sensing knockDetectionWindowStart degres from fire
* engine: more realistic values for knock window
* hip9011: remove magic CS toggling
* hip9011: EFI_HIP_9011_DEBUG should depend on EFI_HIP_9011
2021-05-08 18:43:55 -04:00
Andrey G
15811a6ff0
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
Andrey G
afcc8848c5
hip9011 update ( #2653 )
...
* hip9011: add check for SPI reply in advanced mode
* hip9011: read value over SPI in advanced mode
2021-05-08 09:50:28 -04:00
Matthew Kennedy
8b30776016
remove stateChangeCallback from simplepwm ( #2644 )
...
* remove callback parameter from cj125
* remove from ext
* remove stateChangeCallback
* alt doesn't need that
* demorgan
* remove call
* bad cut/paste
* check the actual pin in the test
2021-05-07 09:38:41 -04:00
Matthew Kennedy
ca7308e910
move some stuff in to ccm ( #2645 )
...
* stuff in ccm
* used memory
2021-05-07 09:35:57 -04:00
Andrey G
e6cf82845b
Kill warnings ( #2623 )
...
* dead code
* rtc_helper: clean-up warnings
* kill unused
2021-05-04 18:55:27 -04:00
Matthew Kennedy
8ae8484dd9
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
0f4de02223
ADC: internalIndex should be used as getAvgAdcValue argument ( #2618 )
...
* ADC: internalIndex should be used as getAvgAdcValue argument
-plus output messages re-formated
* ADC: logger -> efiPrintf
2021-05-03 16:44:19 -04:00
rusefi
92958f1959
Proteus QC build
2021-04-30 13:57:33 -04:00
Matthew Kennedy
830575a306
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
6d6dca8d07
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
Andrey G
8ba38a8a63
Mc33972 update ( #2599 )
...
* MC33972: update
-per-instance thread
-enable pull-ups for enabled pins only
* smart-gpio: mc33972: uses 8-bit spi frames
3 bytes are sent to make 24-bit frame
2021-04-28 18:29:35 -04:00
Matthew Kennedy
742ea83bfa
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
Matthew Kennedy
17719c5da0
prep for lua ( #2589 )
...
* thread priority
* build
* makefile prep
* call startup
* s
2021-04-27 07:57:08 -04:00
rusefillc
5b2b77fc50
F429 MCU says it's too cold #2552
2021-04-25 09:11:57 -04:00
shadowm60
61446a6170
Handle can message cyclicity ( #2573 )
...
* Handle can message cyclicity
update of canDash to support different cyclicity of messages
* review updates
2021-04-23 20:16:27 -04:00
rusefi
3e44135947
improving QC process
2021-04-22 21:23:20 -04:00
Andrey G
a867b3e286
HD44780: start pins on init ( #2576 )
...
This fixes bug introduced in 7803968621
Sorry!
2021-04-21 15:33:58 -04:00
Matthew Kennedy
a70f113b77
finish it off: remove scheduleMsg ( #2575 )
...
* finish it off
* one more logger ptr
* fwd decl
* Revert "one more logger ptr"
This reverts commit a21fb0087ddc748978d716db2710800cf26e437b.
* unused
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 15:33:40 -04:00
Matthew Kennedy
c26987b96b
Destroy all shared logger ( #2574 )
...
* most of shared logger
* a few more
* one more
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 14:28:48 -04:00
Matthew Kennedy
ad71016862
rip the bandaid: find-replace most of scheduleMsg ( #2572 )
...
* biiiig find replace
* more trivial find replace
* pwm
* almost all of them
* few more
* gpio
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 12:53:13 -04:00
Matthew Kennedy
bd1c84fa62
Logging remove 3 ( #2568 )
...
* ts logger
* sensors
* wideband too
* missed one
* init
* motors, pid, etc
* vvt
* more
* idle
* missed one
* dynoview
* launch
* can
* console IO
* s
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-20 14:09:41 -04:00
Matthew Kennedy
bbb6b6dd14
remove simple cases of LoggingWithStorage ( #2569 )
...
* remove simple cases
* more simple
* serial
* s
* more
* try memory
* easy
* mmc acc
* that's how much memory
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-19 08:11:59 -04:00
Matthew Kennedy
5145ee4b62
logging cleanup 2: sensors, pid, etb, etc ( #2567 )
...
* ts logger
* sensors
* wideband too
* missed one
* init
* motors, pid, etc
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-18 20:02:32 -04:00