16 Commits

Author SHA1 Message Date
rusefillc
9e2cea57ab TS: send Ok response on Reset/Reboot commands to make TS happy (#285)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-11-15 00:36:22 -08:00
Matthew Kennedy
ffbc6140c3 f1 configuration typo 2023-11-13 02:21:58 -08:00
rusefillc
8646d10067 OpenBLT reset functionality (#259)
* ts: support reset and reset to OpenBLT commands

(cherry picked from commit 2f2fca401d7dc9a29e806013efec4d41570dd613)

* f1_xxx: ini: reset commands

(cherry picked from commit 628994ba0a70901edb9b59360646aa195b3307cf)

* typo

* f1_xxx: ini: update signature

(cherry picked from commit 7aa57fe09c6c684855838e36c9b65d8ae3618a7a)

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-06-11 12:51:41 -07:00
rusefillc
a454635612 TunerStudio: cleanup (#263) 2023-06-01 21:44:01 -07:00
rusefillc
bd4646d87c f1_port: handle MFS errors (#258)
(cherry picked from commit b23b04edf24fabfd99461e7ca38ea165836645e6)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 15:49:11 -07:00
rusefillc
9519ad51dd indication: advanced indication with per-channel status led (#235)
* indication: advanced indication with per-channel status led

(cherry picked from commit b486dfe682622c9835cf00457834cebf6e34da2f)

* f1_dual_rev1: enable advanced indication

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-03 13:18:05 -07:00
rusefillc
6364c7cb2c TS: use BOARD_NAME in Test and Version commands reply (#211)
* TS: use BOARD_NAME in Test and Version commands reply

* making source code two bytes smaller

* making source code two bytes smaller

* making source code two bytes smaller

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-03-06 21:18:54 -08:00
rusefillc
62520aee78 TS: dead code (#197)
(cherry picked from commit 3a4bd2c3f8796297dca20441ba93a810d52ea3e6)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-02-15 10:19:01 -08:00
rusefillc
2bb430d32b TS serial: do BT setup only after 30sec timeout (#199)
This will avoid BT module restart after MCU restart. This will keep
BT connection between MCU reboots.

(cherry picked from commit 12443d73a0fa2a1fd0de0dcae3231473016b9efb)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-02-15 10:17:54 -08:00
Andrey G
e5a7952db0 Ts dev (#175)
* Remove pageValueWrite command support

Move advanced pageChunkWrite is used

* Straight logic in validateOffsetCount(), simplify, move to tunerstudio.cpp

* Remove some more unused commands

* More unused defines

* Command defines cleanup

* Test command

* TS: fix signature

* pageIdentifier is optional

* pageActivate command is not used

* TS: extract offset and size from incoming packet only for packets with such data

* TS: cast to packet header

* TS: use page in commands

* TS: support scatteredOchGetCommand

* TS: incapsulation

* TS: scatter: optimization for CPU load

* More CPU load optimization

* Update libfirmware
2023-01-11 00:29:22 -08:00
Andrey G
a5fed4d23a tunerstudio: cleanup unused/commented code (#155) 2022-09-15 11:56:49 -07:00
rusefillc
3349361f6b tunerstudio: restore settings write command (#148)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-09-07 15:16:42 -07:00
rusefillc
268f8ddae7 TS: actually cal SaveConfig (#142)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-09-05 22:53:41 -07:00
Andrey G
63ef4b7a10 TS more and more (#123)
* TunerStudio: simplify enable magic

* TS integration: livedata, FragmentEntry

* f1_dual: reorder TS hooks

* f1_rev2: dummy settings for TS

* f1_rev2: TS signature

* f1_rev2: TS ini file

* Integrate with TS interface

* livedata: access adapters, no extern, make livedata static

* FragmentEntry: no FragmentEntry()

* livedata: struct not needed
2022-07-18 12:31:09 -07:00
Matthew Kennedy
6135464dc8 use libfirmware for crc, table lookup (#121)
* use libfirmware for crc

* kick

* bootloader

* bootloader

* use shared interpolate2d

* cleanup
2022-07-16 19:08:45 -07:00
rusefillc
55f65ad02d Ts top down (#104)
* TS top down

* TS top down

* TS top down

* TS top down

* Ts top down #104

removing the controversial part

* Ts top down #104

removing the controversial part

* docs

* fix build (switch to serial)

* f1_dual: UART->Serial

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-07-15 11:10:15 -07:00