Commit Graph

502 Commits

Author SHA1 Message Date
Andrey G 1aa7c661f6
f1_rev and threads (#173)
* f1_rev3: high speed (strenght) for heater PWM output

* threads: set name for all thread

* f1_dual: enalbe CH_CFG_USE_REGISTRY so GDB can see thread

* f1_rev3: enalbe CH_CFG_USE_REGISTRY so GDB can see thread
2022-12-12 19:29:32 -08:00
Matthew Kennedy 1e3a227f50 add ESR, fix datalog section 2022-12-06 17:05:49 -08:00
Matthew Kennedy 387c03a4d7 avoid bogus temperature with disconnected sensor 2022-12-06 17:00:20 -08:00
Matthew Kennedy a7961e178f bad signature copypaste 2022-12-06 16:59:36 -08:00
Matthew Kennedy d0434da08f ini updates 2022-12-06 16:58:28 -08:00
Matthew Kennedy 4d37f3748a oops snuck in 2022-12-06 16:57:03 -08:00
Matthew Kennedy 3807bb20e2 ini updates 2022-12-06 16:46:07 -08:00
Matthew Kennedy 36c0c3e4ab spelling 2022-12-06 15:53:36 -08:00
Matthew Kennedy 85365bcb68
faster f1 clocks (#172)
* faster f1 clocks

* PWM happy
2022-12-03 17:23:02 -08:00
Matthew Kennedy e015576e71 disable aux out dac PWM primary outputs as it conflicts with serial 2022-12-03 02:00:52 -08:00
Matthew Kennedy 1543561ed2 Revert "Revert "turn off unused OS features""
This reverts commit e48fa2cbba.
2022-12-03 01:35:20 -08:00
Matthew Kennedy e48fa2cbba Revert "turn off unused OS features"
This reverts commit cc25a0f94f.
2022-12-03 01:15:01 -08:00
Matthew Kennedy 3c0f930508 ini updates 2022-12-02 23:31:32 -08:00
Matthew Kennedy 6d0c971ec9 typo 2022-12-02 22:34:26 -08:00
Matthew Kennedy 448ce5c98c rtos=auto 2022-12-02 22:24:33 -08:00
Matthew Kennedy 17ea0edc9a remove test 2022-12-02 21:10:10 -08:00
Matthew Kennedy 2ca25dfe9c list deps 2022-12-02 21:02:10 -08:00
Andrey G 94c348b88b
Jdy33 (#171)
* tunerstudio: support JDY33 BT module init on UART

* tunerstudio: BT: try most popular baudrates first

* tunerstudio: BT: protect from overflow

* tunerstudio: BT: limit retries

* tunerstudio: BT: directly do chprintf() to SD device

* TS: serial: make BT setup optional
2022-12-02 14:08:11 -08:00
Matthew Kennedy cc25a0f94f turn off unused OS features 2022-12-02 13:20:35 -08:00
Matthew Kennedy 320efe05a5 memory savings 2022-12-02 02:07:21 -08:00
Matthew Kennedy f654cbd14b don't keep two or three copies of the config 2022-12-02 01:46:23 -08:00
Matthew Kennedy 75d48dfe8e tweak uart debug text 2022-12-02 00:58:03 -08:00
Matthew Kennedy 91c989dc9a speed tuning 2022-12-01 23:41:19 -08:00
Matthew Kennedy 0870981763 minor cleanup 2022-12-01 22:55:55 -08:00
Matthew Kennedy 4223319657 f1 build/launch configs 2022-12-01 19:15:30 -08:00
Matthew Kennedy 91677672bf
use gcc 11.3 (#166)
* use gcc 11.3

* does the full image work?

* does this work?
2022-12-01 16:15:05 -08:00
Matthew Kennedy 3518b4397a save f0 memory, turn off OS features 2022-12-01 15:59:30 -08:00
Matthew Kennedy 36a2fc0a14 save ram 2022-12-01 15:52:03 -08:00
Matthew Kennedy 1584b1ff4d save ram 2022-12-01 15:51:21 -08:00
Matthew Kennedy fa00aa0ad4 save ram 2022-12-01 15:51:01 -08:00
Matthew Kennedy 2737e710d4 auxout 2022-12-01 15:42:21 -08:00
Matthew Kennedy a2a019dbac add config 2022-12-01 15:40:36 -08:00
Matthew Kennedy 5824028b54
update libfirmware (#169)
* update

* fragments

* livedata

* livedata
2022-12-01 13:50:21 -08:00
Matthew Kennedy d2f676c704 hand merge 2022-12-01 13:23:47 -08:00
Matthew Kennedy 00b9bf9d35 hand merge 2022-12-01 13:22:19 -08:00
Matthew Kennedy e99c902e0f hand merge: heater enum 2022-12-01 13:20:54 -08:00
Matthew Kennedy 38b0d709b1 hand merge: dual ini 2022-12-01 13:20:45 -08:00
Andrey G d69505171a
Configs cleanups (#164)
* f1_dual, f1_rev3: use Serial for TS not for debug

* f1_dual: config cleanup

* EGT_CHANNELS is better option for optional compilation of max driver

* max31855: supress warning
2022-10-06 11:24:11 -07:00
Andrey G 516747b629
Livedata update (#163)
* max31855: add EGT to livedata

* livedata: getEgtLiveDataStructAddr() returns NULL for boards with no EGT

* livedata: report AFR sensor(s) state

* livedata: report heater state

* uart: fix for max31855 update
2022-09-20 14:50:06 -07:00
Andrey G adae19db09
Extract common code for all F1 devices (#162)
* main: acctually call InitConfiguration()

* f1_rev2: enable EFL and MFS (Managed Flash Storate)

* f1_dual: enable EFL and MFS (Managed Flash Storate)

* f1 boards: extract common code

* port.h: add LoadDefaults() method to Configuration class

* f1 boards: store Configuration to MFS

* f1 boards: common getTsSignature() for all f1 boards
2022-09-19 16:31:30 -07:00
Andrey G 0a4a609db9
port: GetConfiguration() return reference, not copy (#161) 2022-09-19 15:27:08 -07:00
rusefillc 5fbe108258
dual.ini: gauge and indicator showing heater state (#160)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-09-18 14:51:23 -07:00
Andrey G b5d94014cd
max31855: ups, reference, not copy (#146) 2022-09-16 11:27:16 -07:00
rusefillc cf717982ab
dual.ini: add AFR fault gauge and indicator (#158)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-09-16 11:26:53 -07:00
Andrey G a5fed4d23a
tunerstudio: cleanup unused/commented code (#155) 2022-09-15 11:56:49 -07:00
rusefillc 9ec8d56e2b
port.h: remove duplicate, GetConfiguratiuonSize() returns size_t (#152)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-09-15 11:56:17 -07:00
rusefillc 3147d6ab75
ini: dual: export CanIndexOffset to TS (#153)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-09-15 11:55:06 -07:00
rusefillc cb42cf6f27
dual.ini: EGT state indicator and gauge (#154)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-09-15 11:54:48 -07:00
rusefillc 5f6e62a7e0
f1_rev3 and f1_rev2 both use same ini file (#149)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-09-07 19:56:23 -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