rusefillc
781a236885
only:shall we be just a little less Toyota
2023-11-01 10:32:53 -04:00
Andrey
ba66fdcf82
reducing code duplication around assert
2023-09-05 21:28:39 -04:00
rusefi
e8c45a2e7d
refactoring: reducing code duplication. Also, do we even care for critical error codes?!
2023-08-20 22:23:44 -04:00
Matthew Kennedy
61e5b4b1ad
change ObdCode to enum class builds firmware
2023-04-29 00:44:00 -04:00
rusefillc
cef341235f
Full Optimized – High Speed #4818
...
refactoring: extract method
2022-11-24 21:41:20 -05:00
rusefillc
d4d2aaea05
/*isEndOfPacket*/
2022-10-16 01:21:44 -04:00
Andrey
ab4b451195
os_access.h dead?
2022-09-07 15:56:45 -04:00
rusefillc
5d9a26c483
refactoring
2022-07-30 12:07:36 -04:00
rusefillc
d0074ec695
dead code?
2022-07-30 11:53:20 -04:00
rusefillc
97c73b3a4e
hard requirement for console version match #4187
2022-05-29 14:42:08 -04:00
rusefillc
11cea53c36
refactoring
2022-04-15 09:47:12 -04:00
Matthew Kennedy
32d29d1134
s ( #4070 )
2022-04-15 09:01:04 -04:00
rusefillc
fb75cd995f
logging of live data structs was: data points #3614
...
YES! we now expose fragments
2022-04-14 22:41:46 -04:00
rusefi
eed821a159
logging of live data structs was: data points #3614
2022-04-14 02:01:34 -04:00
Matthew Kennedy
2f1957cc0c
Chunk outputchannels ( #3916 )
...
* executeCommand knows about opcodes
* kick
* remove allowLongResponse
* unused
* chunk output channel reads
* add api in firmware instead
* test size
* bad merge
* firmware missed a spot
* bad merge
* fix logic
* haha we have to disable it
* we can remove the TODO from #3917
2022-02-11 17:24:08 -05:00
Matthew Kennedy
35c4c0bfba
move allowLongResponse option to ECU side ( #3917 )
...
* executeCommand knows about opcodes
* kick
* remove allowLongResponse
* add api in firmware instead
* test size
* bad merge
* firmware missed a spot
* fix logic
* haha we have to disable it
2022-02-11 16:03:20 -05:00
rusefillc
06797c4fac
docs
2022-02-10 23:17:42 -05:00
rusefillc
d23b029b5c
tune via CAN #3361
...
a couple of flush() were missing, also improving readability
2021-12-06 22:19:30 -05:00
Matthew Kennedy
e4c34e016a
last packet optimization ( #3363 )
...
* last packet optimization
* comment
* test
* missed one
* set tcp mss
2021-10-18 19:59:08 -04:00
rusefillc
847fb75a23
TS channel names for nicer console messages
2021-09-18 15:33:14 -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
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
5a5f25244a
make the simulator usable ( #2717 )
...
* these start themselves now
* dead
* configure ports
* start serial
* dead
* minimal pins
* simulator logging works
* why not enable lua
* speeeeeed
* start lua
* spammy print
2021-05-17 12:44:02 +03: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
599a9b0183
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
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
248e9636db
extract CAN TS channel ( #2469 )
...
* extract CAN channel
* this is gross
2021-03-17 08:39:13 -04: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
Andrey G
777979c3ca
Chibi os 20 ( #2212 )
...
* Update ChibiOS
* Fix Makefiles includes paths
* halconf.h: remove flash hack
* mcuconf: fix EXTI ptiorityes
* Digital Input: ICU: use designated initializers, initialize 'arr'
* ChibiOS: lis302dl fix
* ADC: update to new API
* UARTConfig: timeout_cb field, formating
* ChibiOS: remove _exit, _kill, _getpid
* Fix lis302dl
* Bump config versions
* chconfig_common: cosmetic changes
* stm32f4ems: commulative config update
* Update Simulator
* ALLCSRC already contain all needed ChibiOS files.
Same for ALLINC and ALLCPPSRC
* ChibiOS fix for Simulator
* ChibiOS: port lock/unlock hook and MMC over SPI timeout
* STM32F7: update configs
* STM32F7: update linker file
* Cypress: port ADC lld to ChibiOS-20
* Cypress: port SPI lld to ChibiOS-20
* Cypress: port CAN lld to ChibiOS-20
* Cypress: fix include path for rules.ld
* Cypress: update chconf.h and halconf.h for ChibiOS-20
* Kinetis: update ADC lld to ChibiOS-20
* Kinetis: update SPI lld to ChibiOS-20
* Kinetis: update UART lld driver for ChibiOS-20
* Kinetis: update chconf.h and halconf.h for ChibiOS-20
* Kinetis: fix include path for rules.ld
* Nucleo F746: update ld script
* Nucleo F746: fix compile
* Bootloader: fix compilation with ChibiOS-20, cleanup
* Bootloader: add way to pass crosscompiler using CROSS_COMPILE
* Debug build arguments
* Simulator: fix windows compilation
Exclude syscalls_cpp.cpp from compilation
2021-01-19 15:20:35 -05:00
rusefillc
44a0bade05
occasional tunerstudio CRC errors #1943
...
third time a charm?
2020-11-17 23:47:35 -05:00
rusefillc
c561fae005
occasional tunerstudio CRC errors #1943
...
one step back
2020-11-15 21:41:38 -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
rusefillc
43c5c7ff83
occasional tunerstudio CRC errors #1943
...
unit test progress
2020-11-15 12:36:07 -05:00
rusefillc
a42077bef8
occasional tunerstudio CRC errors #1943
...
now with a bit of a unit test
2020-11-15 12:27:47 -05:00
rusefillc
286fa10b15
occasional tunerstudio CRC errors #1943
...
getting ready for unit test
2020-11-15 11:55:26 -05:00
rusefillc
842372e69a
Re-applying part of "fix CRC errors #1944"
2020-11-15 10:28:23 -05:00
rusefillc
0a4b409810
fix CRC errors #1944
...
partial rollback in order to isolate the defect
2020-11-15 10:02:40 -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
andreika-git
6e5a3fbbe9
Hellen says fix cypress build ( #1818 )
...
* fix compilation
* fresh generated files
* more files
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-09-23 14:06:22 -04:00
rusefi
cf90ed125e
Hellen says let's fix master
2020-09-11 07:05:32 -04: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
rusefi
5d2e212498
Hellen says merge #1772 helping merge
2020-09-09 15:08:01 -04:00
rusefi
3910cafbcc
Revert "reducing confusion?"
...
This reverts commit bd30d7d8
this was NOT reducing the confusion
2020-08-28 21:03:01 -04:00
rusefi
bd30d7d8ec
reducing confusion?
2020-08-28 08:58:51 -04:00
Matthew Kennedy
4e81b67ca3
harmonize blocking factor ( #1709 )
...
* harmonize blocking factor
* static assert
2020-08-21 14:12:28 -04:00