Matthew Kennedy
cb032fb1ea
(void) -> () ( #3550 )
...
* static functions with (void)
* more
* Revert "more"
This reverts commit 246e53441f935451437df186ac92d7df26b62fb6.
* s
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-15 13:02:34 +01:00
Matthew Kennedy
145316c497
less macro, more c++ ( #3549 )
...
* less macro
* s
2021-11-15 12:44:40 +01:00
Andrey
3ed50dbea7
SD-card log fields improvement (warning counter & last code) #3162
2021-09-05 14:43:35 -04:00
Andrey
f8233b11b5
SD-card log fields improvement (warning counter & last code) #3162
2021-09-05 10:01:04 -04:00
Andrey
8c5dab5bd6
SD-card log fields improvement (warning counter & last code) #3162
2021-09-05 09:16:35 -04:00
Matthew Kennedy
25414ebdad
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
Matthew Kennedy
b52d50bbf2
Use pch in lots of files ( #3066 )
...
* most engine.h
* most engine_configuration
* more
* more
* more
* more
* more
* moooooore
* ok I'm done for now
* oops
2021-07-26 01:05:17 -04:00
Matthew Kennedy
09192cfc4d
fast adc callback ( #3031 )
...
* fast adc callback
* guard
* missed one
* now cypress will be happy
2021-07-23 14:19:59 -04:00
Matthew Kennedy
2ce7777865
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
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
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
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
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
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
5e2e18d2b9
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
rusefillc
f877d32be4
engine sniffer into unit tests
2021-04-04 22:48:48 -04:00
rusefillc
cb1f9b4b61
engine sniffer into unit tests
2021-04-04 22:04:59 -04:00
Matthew Kennedy
4e3e95db2d
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
Andrey G
2af32084f4
gpio helper ( #2195 )
...
* gpios: isBrainPinValid helper
* LCD HD44780: do not touch pins if DM_NONE or invalid gpio
* Fix isEnabled checks for GPS and Joystick
* LCD HD44780: writePad use this method wider
2021-01-08 20:01:26 -05:00
shadowm60
92247c58db
Logic analyzer ts report ( #2080 )
...
* Logic analyzer
progress of integration with debug channels
* Update logic_analyzer.cpp
fixed duty report in %
* Update logic_analyzer.cpp
* Update logic_analyzer.cpp
fix for setting one channel to unused, and use the same pin for another channel. this way we clear out hw pointer and we do not have the risk of reporting wrong values.
2020-12-15 14:52:48 -05:00
rusefillc
96c29840ce
basic hw in the loop - pwm self validation #2028
2020-12-07 20:42:47 -05:00
rusefillc
aca471273d
basic hw in the loop - pwm self validation #2028
2020-12-07 20:26:47 -05:00
rusefillc
6712c63160
basic hw in the loop - pwm self validation #2028
2020-12-07 20:01:05 -05:00
rusefillc
8739e192f5
basic hw in the loop - pwm self validation #2028
2020-12-06 18:39:50 -05:00
Matthew Kennedy
f3b7a1d9da
Remove lockAnyContext, replace with CriticalSectionLocker ( #1938 )
...
* switch to CriticalSectionLocker
* that's just about all
* clean up last usage
* include hpp for sim
* need the cpp wrappers in the makefile too
* include dir
* include
2020-11-19 06:56:02 -05:00
Matthew Kennedy
d992bab241
Move all DECLARE_ENGINE_PTR etc to one place ( #1937 )
...
* restructure
* guard c++
* idle too
* status_loop.h
2020-11-11 19:06:04 -05:00
Matthew Kennedy
a68cbae0dc
Remove trigger listener list ( #1886 )
...
* avoid 64b on hot path
* no tooth log when fast
* use crit section locker
* final
* only flip pins if not also self stim
* only trace if doing work
* slightly drop lateDelay
* trace if not bailing out
* remove listener array
2020-10-17 08:00:11 -04:00
rusefillc
14ddec0336
docs
2020-10-12 09:18:36 -04:00
Matthew Kennedy
aad5d987a2
pwm perf ( #1858 )
...
* pwm perf
* this trace is now redundant
2020-10-05 08:23:30 -04:00
rusefillc
e2ca642f97
60/2 perf grab #1850
2020-10-04 00:15:40 -04:00
Matthew Kennedy
97cb9f45bd
logging simplification: switch bare functions to member functions: try the second ( #1794 )
...
* first pass
* first pass
* const means we don't have to check!
* static
* test fixup
* fix sniffer
2020-09-13 11:49:25 +03:00
rusefi
256a4a2637
Revert "logging simplification: switch bare functions to member functions ( #1788 )"
...
This reverts commit d941bdc5
2020-09-12 04:36:24 -04:00
Matthew Kennedy
d941bdc502
logging simplification: switch bare functions to member functions ( #1788 )
...
* first pass
* first pass
* const means we don't have to check!
* static
* test fixup
2020-09-12 03:08:11 +03:00
Matthew Kennedy
1a55085bb6
Software knock detection ( #1730 )
...
* s
* science
* set pin mode
* turn stuff off so it fits
* filtering maybe
* filtering actually works
* generate filter parameters internally
* shorter window
* guard behind enable flag
* use checked in filter
* add biquad reset
* tracing
* const
* exec order
* do it from a thread
* smaller buffer, comment
* configure with header
* only for proteus
* oops
* unused
* not needed
* guards
* pin config
* don't need that include
* precook filter steady state
* define sample rate
* config enable switch
2020-08-28 21:13:50 -04:00
rusefi
72290df894
a bit of flexibility
2020-08-26 23:08:48 -04:00
rusefi
1aef47030d
:(
2020-08-26 22:59:47 -04:00
rusefi
aa2ee8a776
TS SD integration #1653
2020-08-02 17:58:57 -04:00
Matthew Kennedy
978fa20916
Merge remote-tracking branch 'upstream/master' into remove-plain-maf
2020-07-31 14:56:29 -07:00
Matthew Kennedy
132ee12974
cleanup
2020-07-30 21:20:10 -07:00
Matthew Kennedy
fc112d2526
dead code
2020-07-29 02:32:48 -07:00
Matthew Kennedy
38d3641c00
trace global lock/unlock ( #1582 )
...
* trace global lock/unlock
* bootloader stub
* add to java
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-07-10 23:27:27 -04:00
rusefi
50e01b4041
connecting time units
2020-05-26 01:08:21 -04:00
rusefi
1dd2e68908
progress
2020-05-25 23:38:15 -04:00
Matthew Kennedy
4252ed8d78
fix unlock bug ( #1384 )
2020-04-29 16:42:55 -04:00
Matthew Kennedy
1f16228bdb
Perf Trace Improvements ( #1383 )
...
* add tid field to thread
* change perf trace format
* trace consumers
* Update java parsing
* guard for test + kinetis
* stubs
* ram
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-29 10:53:35 -04:00
rusefi
3badb5dbfb
typo
2020-04-27 08:09:14 -04:00
Matthew Kennedy
a8f466c615
trigger emulator refactoring ( #1358 )
...
* trigger gen refactoring
* missed one
* fix makefile
* commentary
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-24 14:00:06 -04:00
Matthew Kennedy
ff867b9301
fix warnings ( #1282 )
...
* warnings
* don't need to template those
2020-04-12 09:39:14 -04:00
Matthew Kennedy
0ca63356c0
improve pin error messages ( #1252 )
...
* improve error msg
* emulator pin names too
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-03 15:00:59 -04:00
rusefi
a47dce4025
code style
2020-04-01 21:32:21 -04:00
rusefi
907b80efa9
code style
2020-04-01 19:00:56 -04:00
Matthew Kennedy
8fd9842310
cleanup extern mess ( #1237 )
...
* cleanup
* move outside define
2020-03-29 19:06:03 -04:00
Matthew Kennedy
2c809e4475
Remove old monitoring timestamps ( #1217 )
...
* remove monitoring timestamps
* adv map
* fuel calc
* map avg
* printing
* spark logic
* hip 9011
* new traces
* s
* missed a few
2020-03-24 20:19:19 -04:00
Matthew Kennedy
9f26e6d894
fix icu trigger polarity ( #1177 )
...
* fix polarity
* fix confusing names
2020-03-08 08:57:21 -04:00
Matthew Kennedy
397907a06f
Support disabling most/all features ( #1162 )
...
* this flag did nothing
* guard features properly
2020-02-26 18:16:35 -05:00
rusefi
0c3f73c2b4
code style
2020-01-21 01:47:58 -05:00
rusefi
bb217b01dd
happy new year unification
2020-01-13 21:57:43 -05:00
Matthew Kennedy
a6a1335adb
Require tooth reference time for scheduleByAngle ( #1091 )
...
* injection
* injectors
* add edge timestamp to ShaftPositionListener
* scheduleByAngle require edgeTimestamp
* schedule with nt not us
* oops, these were missing from this branch
2020-01-09 23:45:13 +03:00
rusefi
b83a5310be
happy new year
2020-01-08 00:02:40 -05:00
rusefi
84e732846b
replacing probably unused engineSnifferHisto with new perf_trace
2019-12-23 20:22:17 -05:00
rusefi
73a4a92891
functional testing should not be that darn slow #1076
...
hopefully progress?
2019-12-21 23:27:54 -05:00
rusefi
fde9a449cf
random refactoring: hopefully not changing byte size of any variables but clarifying/fixing type between ticks, US and MS
2019-12-21 21:11:09 -05:00
rusefi
31f4d3ade9
a bit of dead code
2019-12-21 20:35:13 -05:00
rusefi
b78e1b7a00
refactoring & docs update
2019-12-21 19:59:33 -05:00
rusefi
af4f20551b
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
Matthew Kennedy
37473bd26e
Move slow ADC to thread #630 ( #1042 )
...
* adc with thread
* enable
* check result
* stacktual embiggenment
* tracing
* let's be type safe
* improve assert
* format, comment
* remove EFI_INTERNAL_SLOW_ADC_PWM fully
2019-12-11 09:28:11 -05:00
rusEfi
a44a0cad99
Merge branch 'master' of https://github.com/rusefi/rusefi
2019-12-10 23:18:44 -05:00
rusEfi
35c518dcc9
just in case
2019-12-10 22:18:37 -05:00
rusefi
97b1c1ff33
straightening enum reuse
2019-12-10 21:18:35 -05:00
rusefi
813b6aa6ce
The Big Refactoring of 2019: folder structure #723
2019-12-04 01:11:10 -05:00
rusefi
0dd517bcc7
The Big Refactoring of 2019: folder structure #723
2019-12-04 00:22:34 -05:00
rusefi
6555e4b305
"sensor chart" for aux fast analog input
2019-12-02 20:31:49 -05:00
Matthew Kennedy
2bedb3ad8c
Perf trace housekeeping ( #1038 )
...
* use default params
* fix that mess
* format
2019-12-02 19:18:00 -05:00
rusefi
c39eb0c08d
perf trace progress but things still do not look right
2019-12-01 20:31:18 -05:00
rusefi
603f7e9ecb
PerfTraceTool
2019-11-25 00:57:36 -05:00
Matthew Kennedy
1ad5b55dbb
s ( #1023 )
2019-11-21 23:45:16 -05:00
rusefi
4b4678074b
Perf trace maybe fix - "We were trying to trace before the os was awake"
2019-11-21 15:31:55 -05:00
rusefi
d3da33517f
making F4 and else happier with perf_trace, also maybe missing 'break'?
2019-11-19 20:36:47 -05:00
rusefi
3af49796a5
Merge remote-tracking branch 'remotes/mck1117/perf-tracing'
...
# Conflicts:
# firmware/development/development.mk
2019-11-19 20:26:56 -05:00
rusEfi
1991437f77
development into unit tests, makefile cleanup
2019-11-19 20:05:12 -05:00
Matthew Kennedy
93d24dfc0b
Merge remote-tracking branch 'origin/master' into perf-tracing
2019-11-19 16:28:58 -08:00
rusefi
e33798c214
looks like this part of refactoring is good?
2019-11-12 23:38:02 -05:00
rusefi
4b1c1e72ab
time to panic and revert more
2019-11-12 21:42:44 -05:00
rusefi
0ae6084301
refactoring: time to unify digital pin API
2019-11-12 00:56:51 -05:00
rusefi
3c57c3d216
refactoring: time to unify digital pin API
2019-11-11 23:32:09 -05:00
rusefi
f082ac48b1
refactoring: time to unify digital pin API
2019-11-11 23:04:27 -05:00
rusefi
9cbdbb794e
pieces of #971
2019-11-03 22:02:52 -05:00
Matthew Kennedy
d6e065f99e
Merge remote-tracking branch 'upstream/master' into perf-tracing
2019-10-14 23:45:39 -07:00
Matthew Kennedy
fe82bc8468
hook up TS commands
2019-10-14 23:41:15 -07:00
Matthew Kennedy
d76670d946
trace all the things
2019-10-14 23:34:12 -07:00
rusefi
12137fc7cd
preparing for #974
...
code comments & refactoring
2019-10-14 06:18:08 -04:00
Matthew Kennedy
f52bdecb80
profile all the things
2019-10-13 13:14:08 -07:00
Matthew Kennedy
763b17fb50
experiment
2019-10-11 17:43:21 -07:00
rusefi
4574aaccce
I got carried away, but DEAD CODE?!
2019-10-08 03:14:21 -04:00
rusefi
42dc9e3662
fancy C++ s/NULL/nullptr/
2019-10-08 01:26:35 -04:00
rusefi
2bacf53c0d
HardFault related to auto r = convertFromInputValue(inputValue); #948
...
wow, it's a miracle anything ever worked!
2019-09-23 01:55:23 -04:00
rusEfi
7a7dbb8c30
refactoring: engine sniffer magic constants
2019-08-18 15:04:02 -04:00
rusefi
636970c0e5
removing a pointless thread
2019-07-13 10:36:31 -04:00