Commit Graph

556 Commits

Author SHA1 Message Date
rusefillc e9343db75f
fail fast (#216)
* fail fast

* More of bash magic

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-03-21 11:20:48 -07:00
Andrey G e9b942df31
heater_control: hanle no supply state (#219) 2023-03-21 11:20:19 -07:00
Matthew Kennedy 85e61227ab this is port specific 2023-03-15 18:08:40 -07:00
Matthew Kennedy 00cc305d02 GetCanConfig 2023-03-15 18:07:31 -07:00
Matthew Kennedy 5cc1199d49 missing dep for crc32 2023-03-06 21:36:12 -08:00
Matthew Kennedy 120b37c4b7 Merge branch 'master' of https://github.com/mck1117/wideband 2023-03-06 21:28:36 -08:00
Matthew Kennedy 9c7b9364c7 don't need to specify full path, just folder for dst 2023-03-06 21:28:31 -08:00
Matthew Kennedy b3c7f2a685 we don't need to put the bin in the repo 2023-03-06 21:28:20 -08:00
rusefillc 84c7c4c576
time to squash (#213)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-03-06 21:26:32 -08: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
Matthew Kennedy 7411f42d21 more generous regex 2023-03-06 21:17:19 -08:00
Matthew Kennedy 43def3f982 output to deliver dir, so that ci picks it up 2023-03-06 21:12:49 -08:00
rusefillc 2364366a50
Use openblt files (#214)
* Attach from 'deliver' folder

* Attach from 'deliver' folder

---------

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-03-06 21:04:21 -08:00
rusefillc fa2b205583
Openblt composite hex (#212)
* composite OpenBLT+Wideband hex file

* Install srecord for srec_cat

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-03-06 01:32:34 -08:00
rusefillc 248794965d
main: do not forget to call startTunerStudioConnectivity() (#210)
Currently useless.

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-02-27 15:27:25 -08:00
rusefillc b5ed6d3af7
heater_control: smarter PWM duty limiting for VBat measurement (#196)
Apply duty cycle limit only 2 cycles of 20 (per second). This
allows 100% duty PWM while heating sensor on low VBat.

(cherry picked from commit 28a01bd6c3dad0d0712a3b6412b9e87fe514555b)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-02-25 11:51:12 -08:00
Andrey G a9bc33abbd
LSU type from settings (#207)
* port: per-board SetupESRDriver() and GetESRSupplyR() functions

* Pick sensor type from settings

* f1_rev2: build helper for LSU4.2 FW
2023-02-25 11:46:36 -08:00
Matthew Kennedy edd9639957 badge should not link rusEFI repo 2023-02-21 15:40:26 -08:00
Matthew Kennedy 9e8c6181de rev b export 2023-02-20 13:09:30 -08:00
Matthew Kennedy 2e3c9fceb4 move rev A 2023-02-20 12:58:50 -08:00
Andrey G f7b2326b44
TS: ini: hide invalid sensor types (#209) 2023-02-19 23:20:32 -08:00
rusefillc d8b8ba7019
MemFault: supress warning about unused faultAddress (#205)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-02-17 11:43:21 -08:00
rusefillc df5d7ed4cd
ts: fix compilation warning (#206)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-02-17 11:42:35 -08:00
rusefillc bb86ba1e6b
Warning (#200)
* AUX out: cleanup warning

(cherry picked from commit f52b12c5d77ed537060eca4ba4a48392ed8e2418)

* HardFault handler: fix unused warning

(cherry picked from commit 6baa0fc1207142990b1501354a2b88ea322f1c4f)

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-02-15 10:25:28 -08:00
Matthew Kennedy ab84b694b6 decode temperature based on sensor type 2023-02-15 10:24:30 -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
Matthew Kennedy 2f79f62399 lsu 4.9 and adv temperature curves 2023-02-14 13:53:52 -08:00
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