Commit Graph

578 Commits

Author SHA1 Message Date
Matthew Kennedy 9262e8ec00 reads me 2023-02-13 15:29:23 -08:00
Matthew Kennedy 18ea3e056d move old hardware to archive folder 2023-02-13 15:25:15 -08:00
rusefillc 4148ba1567
heater: do index to channels mapping in all cases (#189)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-02-05 12:39:21 -08:00
rusefillc 6d908fb110
f1_dual: sample PWM pins first than do math (#190)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-02-04 18:21:22 -08:00
Matthew Kennedy 6831f5a1ae vbatt sense 2023-02-03 12:39:04 -08:00
Matthew Kennedy 73bd0add58 reroute carrier for proper footprint 2023-02-03 12:21:09 -08:00
Matthew Kennedy a817d2ab01 module symbol/footprint 2023-02-03 12:20:18 -08:00
Matthew Kennedy 8dee668662 kicad 6 2023-02-03 11:26:30 -08:00
Matthew Kennedy ede169c133 module revision
update to kicad 6
break out SEL pins
add 4.2/ADV support
switch to TC2030 programming header
2023-02-02 17:50:59 -08:00
Matthew Kennedy 08a790b872 gitignore 2023-02-02 17:45:44 -08:00
rusefillc ac44c6bbef
pump_dac: GetPumpOutputDuty() translate logocal to physical pwm channel (#188)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-02-02 17:00:49 -08:00
Matthew Kennedy f1448e5cf1 lambda conversion for LSU 4.2, stub LSU ADV 2023-02-02 16:58:52 -08:00
rusefillc 2a6d13f57c
CAN: send data for all AFR channels (#186)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-02-02 16:38:16 -08:00
rusefillc 4730f1a2ca
TS ini files: add gauge8 to have 2x4 default layout (#184)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-02-02 16:36:28 -08:00
rusefillc f4bd1a4197
Smaller version of heater settings for other types of sensors (#183)
* heater settings for other types of sensors

* port: GetSensorType

* fancier C++ version

* fancier C++ version

* Why not a function

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-02-01 11:43:52 -08:00
Matthew Kennedy f365492565 c++ instead of deifnes 2023-01-29 02:06:11 -08:00
Andrey G 8bfe7faecb
TS minor fixes (#178)
* ts: fix copy-paste

* TS: fallback to default baudrate if BT setup failed

* io_serial: BT setup: no goto

* ini: dual: fix typo

* ts: BT: fix baudrate switch when using JDY33
2023-01-29 02:02:59 -08:00
Andrey G a6052895e9
f1_dual/rev3: Revert CPU clock back to 48 MHz due to ADC problems on GD32 (#181) 2023-01-23 11:23:14 -08:00
Andrey G 2132e50c93
Fix fault handlers for Cortex-M0 (#180) 2023-01-16 03:49:00 -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
Matthew Kennedy 4d8ee933e6
Create LICENSE 2023-01-07 00:05:03 -08:00
Matthew Kennedy 60445fbed3 catch faults 2023-01-05 16:56:28 -08:00
Matthew Kennedy 86f175454f consolidate in hardware folder 2023-01-05 16:53:49 -08:00
rusefillc 89d15aefa4
docs (#167)
* docs

* At least some doc is better than zero doc?

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-01-01 03:28:15 -08:00
Andrey G 45fc9e4d78
TS: fix signature (#176) 2022-12-22 08:08:30 -08:00
Andrey G cdf632652b
f1_X: adjust CAN timings for 64MHz CPU clock (cAN clock is 32MHz) (#177) 2022-12-22 08:08:03 -08:00
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