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
0f0b84a6db
remove TS file read ( #3004 )
...
* remove
* more defines
* test
* lots of java
* s
2021-07-21 14:24:53 -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
rusefi
0808372d34
longer error message in 't' response
2021-07-14 12:42:35 -04:00
rusefi
4c0184e509
't' comammand to return fatal error text
2021-07-13 22:53:11 -04:00
Andrey G
0afd3c83df
Fix swap macro ( #2904 )
...
* convert swap macroses to inline functions
* clean-up workarounds
2021-07-04 18:03:17 -04:00
Andrey G
08747d036e
TS communication minor fixes ( #2847 )
...
* console: noone use this
* console: do not stop blinking if TS command executes too long
Set and clear flag from the same place
Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2021-06-23 04:36:55 -04:00
Andrey
8d0046b0de
removing dead code
2021-06-23 04:26:32 -04:00
Andrey
498358247e
performance optimization by dron0gus
2021-06-21 09:27:09 -04:00
Andrey
4182eccbf3
random trick
2021-06-12 13:48:37 -04:00
Matthew Kennedy
e3fcbdc7c0
ts logger ( #2566 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-18 19:13:48 -04:00
Matthew Kennedy
f0cf4f38ff
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
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
Matthew Kennedy
6491c83f73
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
d7698f6703
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
a931928a61
type signature, guards
2021-03-15 17:11:11 -04:00
rusefillc
cf4068f54a
fix error/warning buffer overflow #2456
2021-03-14 09:52:27 -04:00
Matthew Kennedy
b56a31143e
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
Matthew Kennedy
990c3649ae
logging cleanup before refactor ( #2438 )
...
* minor cleanup
* more cleaning
* signature
* spelling
* doy
2021-03-09 08:43:29 -05:00
Matthew Kennedy
b1873b3d8b
set all thread priorities in the same place ( #2412 )
...
* unify thread priority
* header
* mmc
2021-02-28 07:30:45 -05:00
Matthew Kennedy
9226f483a8
yet more TS sanity ( #2382 )
...
* ts cleanup part 1
* move more stuff in to the class
* extract base class
* switch to TsChannelBase where we can
* dfu
* more to TsChannelBase
* bad merge
* another bad merge
* bootloader
* bluetooth
* format
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-20 02:11:39 -05:00
Matthew Kennedy
a50d1d5ee3
start making tunerstudio more sane: part 2 ( #2381 )
...
* ts cleanup part 1
* move more stuff in to the class
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-19 20:48:21 -05:00
Matthew Kennedy
bc85adc74e
start making tunerstudio more sane: part 1 ( #2378 )
...
* ts cleanup part 1
* unused unused
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-19 07:40:59 -05:00
Matthew Kennedy
187c4d00f7
USB mass storage tweaking ( #2352 )
...
* disable TS in case of USB MSD
* housekeeping while we're here
* enable on MRE
* changelog
2021-02-14 15:03:07 -05:00
Matthew Kennedy
99b9391ae8
start peeling out ts commands ( #2045 )
...
* start peeling out commands
* guard
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-09 02:23:02 -05:00
Matthew Kennedy
cc59a42e3f
start making TS protocol testable ( #2043 )
...
* start pulling out a class
* pull function out of loop
* there we go
* ok there we go for real
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-08 03:05:43 -05:00
rusefi
2a1b585bfe
Revert "Revert "Split ETB in to interface + implementation headers ( #2040 )""
...
This reverts commit 4f4bb957
2020-12-07 01:27:27 -05:00
rusefi
4f4bb95770
Revert "Split ETB in to interface + implementation headers ( #2040 )"
...
This reverts commit d9a82c09
2020-12-07 01:11:19 -05:00
Matthew Kennedy
d9a82c09af
Split ETB in to interface + implementation headers ( #2040 )
...
* split etb interface
* mocks
* fix master while we're at it
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-07 00:29:09 -05:00
rusefillc
3917324f21
sporadic crc error #1943
...
un-removing, one step forward
2020-11-17 15:24:00 -05:00
rusefi
7cba09b3fa
occasional tunerstudio CRC errors #1943
...
second step back
2020-11-15 22:41:04 -05:00
Matthew Kennedy
5b0a178605
Fix crc again, for real this time ( #1948 )
...
* re enable
* changelog
* fix
* fix test
* put some tests back
2020-11-15 16:59:02 -05:00
Matthew Kennedy
866d645b11
fix large response packets ( #1947 )
...
* fix console text mode
* oops I should actually write the crc
2020-11-15 07:14:50 -05:00
Matthew Kennedy
11e77b7780
fix CRC errors ( #1944 )
...
* fix crc mismatch
* cleanup
* use size_t, add null check
* bounds check for good measure
* rename to scratchBuffer
* comment
2020-11-14 19:21:29 -05:00
Matthew Kennedy
f9357d209a
fatal error + inhibit read on TS preset ( #1922 )
...
* fatal error + inhibit read on preset
* inhibit more stuff when flag is set
* don't need that message
* extract function, improve msg
* changelog entry
2020-11-03 19:03:46 -05:00
rusefi
98fa9dd6de
Merge remote-tracking branch 'origin/Hellen_fork_point' into master
...
# Conflicts:
# firmware/console/binary/tunerstudio_io.cpp
# firmware/console/console_io.cpp
2020-09-11 05:54:21 -04:00
rusefi
4463253a6d
Hellen says merge #1772 TS
2020-09-11 05:50:48 -04:00
Matthew Kennedy
a73d5718a7
Ts error codes ( #1706 )
...
* correct TS errors
* tidy
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-21 08:24:31 -04:00
Matthew Kennedy
66b404fc59
improve ( #1702 )
2020-08-18 22:37:08 -04:00
rusefi
ea7fed6a16
TS SD integration #1653
2020-08-06 01:15:41 -04:00
Matthew Kennedy
51804a4eb9
no more setFuelMap
2020-08-03 12:14:11 -07:00
rusefi
10b8da525d
TS SD integration #1653
2020-08-02 22:31:11 -04:00
rusefi
73f07d6efc
TS SD integration #1653
2020-08-02 21:38:32 -04:00
rusefi
4280e3327f
Stack usage is still all over the place #1662
2020-08-02 10:52:52 -04:00
rusefi
a4155bc554
analog temperature inputs validation for quality control
2020-07-27 22:49:59 -04:00
Matthew Kennedy
a1d39b8de6
more spots
2020-07-20 00:55:45 -07:00
rusefi
677d5888ed
EFI_IDLE_INCREMENTAL_PID_CIC should be a runtime parameter #806
2020-07-12 18:11:10 -04:00
rusefi
42541da76c
more on wipeString
2020-07-05 14:09:43 -04:00
rusefi
015293ee43
wipe strings in configuration images
2020-07-05 11:16:07 -04:00
rusefi
c0bb907aa3
idle_min through FSIO not working as intended #1553
...
FSIO debug outputs progress
2020-07-04 21:32:12 -04:00
rusefi
45b81d5def
detailed error message
2020-07-04 17:46:16 -04:00
rusefi
bd2f4736fa
detailed error message
2020-07-04 17:22:27 -04:00
andreika-git
1e8bebd5b3
Gen config refactor 2 ( #1560 )
...
* gen_config refactor, part II
* short board defines
* oops
* comment & undef
* define QUOTE
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-07-02 12:33:31 -04:00
rusefi
35e68da3b0
REO progress
2020-06-20 18:36:58 -04:00
rusefi
685ebf1f40
making dead code!
2020-06-13 11:54:19 -04:00
rusefi
bd9a601ce6
extracting protocol constants
2020-05-30 12:23:27 -04:00
rusefi
a20a1b5fe4
composite logger for console
2020-05-30 11:31:18 -04:00
Matthew Kennedy
105460dada
Remove old thermistor implementation ( #1458 )
...
* remove test clt/iat
* remove warning since this code is nearly dead
* remove old therm impl
* tests & live doc
* not quite right
2020-05-28 17:51:33 -04:00
rusefi
347413e44b
console composite logger
2020-05-26 22:30:53 -04:00
rusefi
6fdbefe844
better location, better command name
2020-05-25 13:12:15 -04:00
rusefi
a4329169e9
better file name
2020-05-25 13:02:05 -04:00
rusefi
9ab7507e67
BUG? handleCrc32Check does not use 'offset' parameter #1429
2020-05-21 00:14:08 -04:00
rusefi
416855c2f1
HW_CHECK_MODE
2020-05-20 22:15:47 -04:00
rusefi
6882764221
steps towards BT
2020-05-03 01:43:39 -04:00
Matthew Kennedy
8fd9842310
cleanup extern mess ( #1237 )
...
* cleanup
* move outside define
2020-03-29 19:06:03 -04:00
Matthew Kennedy
61ee03ee06
Show fatal error text in TS (the right way) ( #1232 )
...
* enable TS error readout
* friendlier text for common errors
* improve comment
2020-03-29 07:27:36 -04:00
rusefi
6f5468d3ea
critical error usability improvements
2020-03-28 20:14:17 -04:00
Matthew Kennedy
53679fab54
Finally rename injector_central to bench_test ( #1229 )
...
* bench test rename
* rename consumers
* good lord what are all of these externs doing
* fix tests
2020-03-26 08:03:55 -04:00
rusefi
ff7438162b
In case of incompatible firmware and console we have a vague error message fix #1180
2020-03-10 19:12:37 -04:00
rusefi
9a170bda58
better message
2020-03-08 09:17:55 -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
bd029e27da
remove concept of TS pages ( #1075 )
...
* remove pages
* unify validation
* these need to be unsigned or we can still overrun
2020-01-07 07:56:45 -05:00
rusefi
236d952335
progress towards ETB controller mocking
2019-12-13 13:52:34 -05:00
rusefi
af4f20551b
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
Matthew Kennedy
0e674f7eca
ETB Encapsulation & C++ Conventions ( #1049 )
...
* encapsulate etb stuff, c++ conventions
* remove DECLARE_ENGINE_PTR/INJECT_ENGINE_REFERENCE
* reduce include dependencies
* Revert "reduce include dependencies"
This reverts commit c529bbbf757cd9070f6e00616f84b1229eeb768e.
* Revert "remove DECLARE_ENGINE_PTR/INJECT_ENGINE_REFERENCE"
This reverts commit ca98b18cd4dae24b993d1263a18daf509dcd54b9.
2019-12-10 19:37:04 -05:00
andreika-git
2a39c69f51
iacPidMultTbl + EFI_IDLE_PID_CIC + kinetis_hysteresis ( #1043 )
...
* rename EFI_IDLE_INCREMENTAL_PID_CIC -> EFI_IDLE_PID_CIC
* Impl. IacPidMultTable
* Kinetis: Trigger Comparator Hysteresis settings (+adaptive mode)
2019-12-04 00:37:32 -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
07f71c8dfa
steps towards dual ETB
2019-11-28 15:24:30 -05:00
rusefi
067aa0aeee
steps towards dual ETB
2019-11-27 22:07:36 -05:00
Matthew Kennedy
1ad5b55dbb
s ( #1023 )
2019-11-21 23:45:16 -05:00
rusefi
d3da33517f
making F4 and else happier with perf_trace, also maybe missing 'break'?
2019-11-19 20:36:47 -05:00
Matthew Kennedy
93d24dfc0b
Merge remote-tracking branch 'origin/master' into perf-tracing
2019-11-19 16:28:58 -08:00
rusefi
7dfdfc6378
docs & code formatting
2019-11-19 18:17:03 -05:00
rusefi
08e3dd835d
reducing warnings
2019-11-17 08:44:07 -05:00
rusefi
d2e24cf2e5
evil manual merge of https://github.com/DonaldBecker/rusefi
2019-11-06 20:33:40 -05:00
Matthew Kennedy
10a6d6eb8b
fix wwae ( #980 )
2019-10-17 00:06:54 -04:00
Matthew Kennedy
fe82bc8468
hook up TS commands
2019-10-14 23:41:15 -07:00
Matthew Kennedy
f52bdecb80
profile all the things
2019-10-13 13:14:08 -07:00
Matthew Kennedy
29804cbc8a
move tsOutputChannels to header ( #970 )
2019-10-08 21:02:51 -04:00
rusefi
f32b29f318
Live Data: trigger current gap
2019-09-03 19:30:51 -04:00
rusefi
ebcb0cdf4c
Live Data: more Idle & ETB data points!
2019-09-01 15:46:40 -04:00
rusefi
1ffaa8eea2
Live Data progress
2019-09-01 13:56:46 -04:00
rusefi
7ce9b2890e
live data: consistent naming
2019-08-31 23:39:30 -04:00
rusefi
bfc4392dcd
refactoring: extracting common magic constant
2019-08-18 12:30:59 -04:00
rusefi
efeb6eeadc
ETB live docs
2019-08-15 21:01:04 -04:00
rusefi
e5b953db84
trigger counters to formula, docs & improvements
2019-07-20 14:56:56 -04:00
rusefi
30899abb1b
longer field names
2019-07-13 10:32:36 -04:00
rusefi
95b6b296dd
fixing build
2019-07-13 09:01:27 -04:00
rusefi
9e461e7c27
Annotations in C++ code to produce formulas in rusEfi console #807
2019-07-13 09:00:03 -04:00
rusefi
788e69aadc
More than one aux pid #866
...
refactoring
2019-07-07 19:59:48 -04:00
rusefi
d0d546e500
EFI_TOOTH_LOGGER
2019-07-07 15:22:46 -04:00
Matthew Kennedy
d708f3e038
Implement TS tooth logger ( #873 )
...
* FW changes
* config changes
* whitespace
* comment
* simplify
2019-07-06 20:48:58 -04:00
Matthew Kennedy
a50fc33bc5
Tunerstudio.cpp cleanup ( #871 )
...
* convert to switch, cleanup
* undo if constexpr
2019-07-05 18:16:32 -04:00
rusefi
83ad64eade
Refactoring: OS access should be explicit #867
2019-07-04 03:57:21 -04:00
Matthew Kennedy
e790dadfe5
Add "Reset ECU" button ( #857 )
...
* add reset button
* fix signed/unsigned bug
* goodbye degree symbols
2019-06-23 09:18:54 -04:00
rusefi
717af8a681
TPS Live Documentation
2019-06-17 21:37:11 -04:00
rusefi
a8f456b807
Annotations in C++ code to produce formulas in rusEfi console #807 ( #847 )
...
* Annotations in C++ code to produce formulas in rusEfi console #807
firmware part of the change
* removing unneeded stuff & fixing unit test compilation
* not complete better unit test compilation fix :(
* better C++ usage
2019-06-17 12:18:55 -04:00
rusefi
f1b37bbad1
removing dead code related to text to binary switch
2019-06-15 19:46:42 -04:00
rusefi
2ac7d748ac
refactoring
2019-05-27 18:58:43 -04:00
andreika-git
b80d95578d
EFI_CONSOLE_UART_DEVICE, flash->hw_ports, Fix TLE6240 and misc.fixes ( #793 )
...
* rename EFI_CONSOLE_UART_DEVICE -> EFI_CONSOLE_SERIAL_DEVICE
* Impl. EFI_CONSOLE_UART_DEVICE
* Move flash source files to ports/stm32/ & hw_ports.mk
* Fix TLE6240
* Fix EFI_NO_CONFIG_WORKING_COPY
* EFI_PRINT_MESSAGES_TO_TERMINAL
2019-05-05 11:06:27 -04:00
rusefi
edb4e37505
docs
2019-05-02 17:52:48 -04:00
rusefi
c6c47392d7
electrical noise during tuning ETB causes full tune reset fix #775
2019-04-25 22:28:46 -04:00
rusefi
d8281626df
defined(__DOXYGEN__) ? fix #748
2019-04-12 22:10:57 -04:00
rusefi
f3d748917f
rusEfi settings editor is broken for one byte enums fix #709
2019-04-08 11:57:16 -04:00
rusefi
aaf6fcdf6a
The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
...
sweet progress!
2019-04-01 14:18:21 -04:00
rusefi
7e3ff76fff
The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
...
more dead code
2019-04-01 12:11:57 -04:00
rusefi
17ad43e443
The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
...
few lines of dead code
2019-04-01 11:39:25 -04:00
andreika-git
f1ec34f032
More portability and smaller RAM footprint possible ( #722 )
...
* EFI_NO_CONFIG_WORKING_COPY
* EFI_CONSOLE_NO_THREAD
* EFI_SHAFT_POSITION_INPUT
* #ifndef UTILITY_THREAD_STACK_SIZE
* fix printf() -> print()
2019-03-30 22:41:46 +01:00
rusefi
dd3f5b8668
TS command to reset firmware
2019-03-12 20:33:13 -04:00
rusefi
acc4b2f384
idle bench test from TS
2019-01-13 19:41:39 -05:00
rusefi
aeea2b95d0
warning code refactoring related to
...
Question: something strange trigger errors #662
2019-01-11 09:58:48 -05:00
rusefi
57993ff1b4
The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
2019-01-09 22:16:30 -05:00
Matthew Kennedy
a12a62b57a
TunerStudio Cleanup ( #649 )
...
* TS cleanup
* remove fl_protocol
* fix build
2019-01-05 07:55:21 -05:00
rusefi
3b87b725d1
refactoring
2018-09-16 22:25:17 -04:00
rusEfi
bcab3336cf
minor bugfix: periodic version status message via TTL
2018-04-01 23:49:57 -04:00
rusefi
5a41cdfdbe
#365
2018-01-24 15:08:10 -05:00
rusefi
096abaac5b
Feature 463 ( #464 )
...
* #463
* #463
* default .LD filename
* #463
* fixing start-up by disabling LSE until rusEfi patch is applied
* simulator compiles now
* latest ChibiOS 17 with FatFS 0.13
2018-01-23 21:17:30 -05:00
rusefi
1d31067d19
happy new year
2018-01-20 20:55:31 -05:00
rusefi
c454380352
docs
2017-11-19 16:56:54 -05:00
andreika-git
bd2894f198
Added support for Bluetooth SPP-C module ( #483 )
2017-11-02 18:10:00 -04:00
rusefi
c9726a1fff
#416
2017-07-26 22:52:13 -04:00
rusefi
03280ed116
fix #307
2017-07-24 22:26:41 -04:00
Andrei
96f0624c36
Bluetooth HC-05 draft
2017-06-05 01:07:02 +03:00
Andrei
06b345c9ef
Bluetooth setup code integration
2017-06-04 15:50:31 +03:00
rusefi
82cfb4bb75
fixed #429
2017-05-27 09:05:08 -04:00
rusefi
273ee75200
#429
2017-05-27 09:00:18 -04:00
andreika-git
9e0834cf0a
Update tunerstudio.cpp
2017-05-23 22:09:48 +03:00
andreika-git
eac21efb6a
Merge branch 'master' into uart_dma2
2017-05-23 21:54:40 +03:00
rusefi
ed0c796b85
extracting method & better method names
2017-05-23 14:37:03 -04:00
andreika-git
19be269f87
Merge branch 'master' into uart_dma2
2017-05-23 21:19:48 +03:00
rusefi
f8844a85b7
spelling
2017-05-23 14:14:46 -04:00
Andrei
896059e267
recieved
2017-05-23 21:05:46 +03:00
Andrei
d473fbf94f
Working UART-DMA v2.0
2017-05-23 20:10:43 +03:00
rusefi
74a359077c
better macro name
2017-05-15 23:33:22 -04:00
rusefi
d26e9e0c96
counter for T command
2017-05-09 15:32:14 -04:00
rusefi
3accb42d4d
counter for test command
2017-05-09 12:07:52 -04:00
rusefi
66ec33f0e4
#365
2017-05-07 08:20:23 -04:00
rusefi
8f9a0bfe49
#365
2017-05-06 22:37:43 -04:00