Matthew Kennedy
b7d64dc4f7
extract mk
2023-08-09 12:34:37 -07:00
Matthew Kennedy
58a09843eb
extract sampler class
2023-08-09 12:31:49 -07:00
rusefillc
14f3a341f9
explicit struct fields ( #272 )
...
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-07-22 15:34:22 -07:00
rusefillc
b80b49753f
unused includes ( #274 )
2023-07-22 15:34:06 -07:00
rusefillc
f833e13536
unused PWM api? ( #273 )
2023-07-22 15:33:56 -07:00
Matthew Kennedy
c0609b0da2
remove GetInternalBatteryVoltage helper
2023-06-23 14:45:50 -07:00
Matthew Kennedy
2628d1d05c
cycle
2023-06-23 14:41:40 -07:00
Matthew Kennedy
d1c878bf13
kill off helpers to get heater/sampler stuff
2023-06-23 14:38:17 -07:00
Matthew Kennedy
a8ac2698c4
class-ify HeaterController
2023-06-23 13:50:01 -07:00
rusefillc
324eae132a
Include elf files to deliver ( #270 )
...
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-06-22 02:23:09 -07:00
rusefillc
2e06719ec5
f1_dual_rev1: no need in GD32 hack as rev1 use original STM32 ( #269 )
...
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-06-22 02:22:58 -07:00
Matthew Kennedy
b8f11741b5
heater uses sampling class
2023-06-20 17:26:54 -07:00
Matthew Kennedy
2907a5378f
add isampler
2023-06-20 17:24:48 -07:00
Matthew Kennedy
6ebbe939ad
extract sampling class
2023-06-20 17:09:44 -07:00
Matthew Kennedy
e2791d8099
split out AnalogChannelResult
2023-06-20 16:58:47 -07:00
rusefillc
0f8fe7aec5
OpenBLT: shared params between BL and main FW ( #268 )
...
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-06-15 02:04:08 -07:00
rusefillc
790232b778
f1_dual_rev1: enable OpenBLT by default ( #267 )
...
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-06-15 02:03:36 -07:00
rusefillc
b7004cd579
f1_dual_rev1: debug and no-bootloader build helper ( #266 )
...
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-06-15 02:03:05 -07: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
7f0186705a
pump_dac: implement GetPumpOutputDuty() for DAC output ( #265 )
...
(cherry picked from commit 4ab46ce6c48f3a7fe9ad68e4254ac38b2845c872)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-06-07 00:10:14 -07:00
rusefillc
6021a5eb6f
max3185x: fix compilation warning ( #264 )
...
(cherry picked from commit 083defaaf2dd20498939ca5ddd40195a2484c33b)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-06-07 00:07:44 -07:00
Matthew Kennedy
1dd87975a3
missed include
2023-06-06 21:30:16 -07:00
Matthew Kennedy
11af5acbc1
now it actually fails?
2023-06-06 21:21:42 -07:00
rusefillc
a454635612
TunerStudio: cleanup ( #263 )
2023-06-01 21:44:01 -07:00
rusefillc
51c2446889
f1_dual_rev1: OpenBLT ( #261 )
...
(cherry picked from commit 790de260f6e335a22737bb7d17d82687e620c838)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 16:08:21 -07:00
rusefillc
96a40b4da4
f1_common: fix MFS flash allocation for STM32F103RCT6 used on dual_rev1 ( #260 )
...
(cherry picked from commit 258d33e8a7b79846afd4e0db791d87476b9d2041)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 16:07:23 -07:00
rusefillc
4022b40b31
Sample script to flash using OpenBLT over CAN ( #257 )
...
(cherry picked from commit 4c877b63e44966f5373c264a3c82556ac9883761)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 15:49:57 -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
d8f8783d8c
OpenBLT: extract common code for f1 boards ( #255 )
...
(cherry picked from commit b892ed7520b20f00f1dbae88001798453a5bb07d)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 15:17:22 -07:00
rusefillc
5ae6cfbb41
f1_dual_rev1: fix LD file ( #254 )
...
(cherry picked from commit e9c0a26692d5f7bd8c0f1c46a2fd9b74edd223bf)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 15:16:45 -07:00
rusefillc
4667e991d4
max3185x: support also max31856 ( #253 )
...
(cherry picked from commit 703985dc709afad2df0ff69d929751894da51b34)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 15:16:28 -07:00
rusefillc
e52e4a0768
f1_dual_rev1: fix SPI1 remap ( #252 )
...
(cherry picked from commit 38037e8b46ea4f9c2dd370560e6138ed35ade2f7)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 15:12:12 -07:00
rusefillc
f8ad24484f
dual-rev1 Secondary uart settings ( #247 )
...
* f1_dual_rev1: secondary TS port (BT)
* f1_dual_rev1: two TS serial ports: primary over BT, secondary over J3
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 14:45:37 -07:00
rusefillc
025b687673
auxout: no need to invert PWM signal in software ( #248 )
...
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 14:45:08 -07:00
rusefillc
9534851a66
livedata: temp is now packed int16 ( #250 )
...
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 13:11:55 -07:00
rusefillc
94de9fd776
TS: report Nernst AC too, convert Nernst voltages to uint16 ( #249 )
...
* TS: report Nernst AC too, convert Nernst voltages to uint16
* TS: report Nernst AC too, convert Nernst voltages to uint16
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-05-03 14:51:34 -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
b1bf9bf185
Rev 1pwm ( #242 )
...
* f1_dual_rev1: fix analog aux output PWM definitions
(cherry picked from commit 50e346dfcb9f223c6e0ee6cdc700cb376b536834)
* fix pwm definitions
(cherry picked from commit ce9e69b997290bbd7abcfe5af2926b1d556070cf)
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-03 11:46:32 -07:00
rusefillc
67f4aa45fe
uart: introduce TS_SECONDARY_SERIAL_PORT ( #245 )
...
(cherry picked from commit 9d8bbe38d1e63384ef0d66d3330363c894f2901b)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-03 11:46:13 -07:00
rusefillc
c7a8365ea3
f1_dual_rev1: update ADC, measure Un_sense, avoid clamping ( #244 )
...
(cherry picked from commit 26f12766968a1999e1f12e06720ecbc334a91add)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-28 22:02:09 -07:00
rusefillc
8bd19fcc2c
Aux2 ( #243 )
...
* auxout: manually fill pwm config
(cherry picked from commit a01876bc034264de5d6930bf2cc49cf0fc0cbb0a)
* auxout: some boards use primary PWM outputs instead of complementary
(cherry picked from commit c13b95441e7b284a36445c261199e96580e94ebd)
* auxout: implement ripple cancelation using inverted PWM
(cherry picked from commit 77cbc04990421b24021639b098ea6040af3a12f8)
* f1_common: default AUXOUT value is AFR voltage
with 'default' scaling 8.5 to 18.0 AFR is represented with 0.0 to
5.0V
(cherry picked from commit 0c62ab8f509ff0ab3ab4260e308ad4b55bd64e40)
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-28 22:01:13 -07:00
rusefillc
25c5e249d9
Dual 1 ( #241 )
...
* f1_dual_rev1: add pinmux settings for port F and G
To supress compiler warning.
(cherry picked from commit 89876fe8eaad933308b63a4b0b1666deb75bfc84)
* f1_dual_rev1: fix remaps
-disable JTAG to free PA15, PB3, PB4
-use SPI3 for EGT chips without remaping
(cherry picked from commit 598f1aa0779ba6e90ccf2eb74445d074f2bfbc75)
* f1_dual_rev1: disable unused TIM1, TIM2
(cherry picked from commit 9e71c3813fd09c080c0eb2f1e63fe82b475efb4f)
* f1_dual_rev1: run at 72MHz from HSE
(cherry picked from commit eaa4577ef85bdfdba637c203646883202a1f8e02)
* f1_dual_rev1: fix can timings
(cherry picked from commit 6437b3d92047adefe6534efaa57062bdda449d37)
* f1_dual_rev1: add CAN timings for 125L, 250K and 1Mbps
(cherry picked from commit bc988d10dda43bfc8b4566de274e3b99bc6b8a5e)
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-27 14:12:48 -07:00
rusefillc
78faa25b15
better file name to facilitate upload/download ( #240 )
...
for instance see https://rusefi.com/online/ini/rusefi/2023/04/21/
2023-04-27 12:59:23 -07:00
rusefillc
ef1c89a51d
Dual rev1 ( #229 )
...
* f1_dual: revision 1
(cherry picked from commit 855585fcf66d5ca8d1d549236c1c472bbfcaa356)
* github: build f1_dual_rev1
(cherry picked from commit 8ac01d43831b5231303a430cdf56fcabafe9c990)
* pump_dac: support DAC as utput interface
(cherry picked from commit 5240ec1a9ed88110e63785b1611223bb4f6a023c)
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-27 12:56:27 -07:00
rusefillc
9d618d228e
auxout: designated initializers ( #230 )
...
(cherry picked from commit d458a094b64de13e8a1540dc0fb4facade6b332f)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-27 12:55:05 -07:00
rusefillc
4ca946b91a
uart: rename UART_DEBUG to DEBUG_SERIAL_PORT ( #236 )
...
Also allow coexistance of DEBUG_SERIAL_PORT and TS_ENABLED
(cherry picked from commit 87cb7d1309cb8aac38f2e4e979252690df0cbb39)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-27 12:54:32 -07:00
rusefillc
5c06f03439
doc ( #237 )
2023-04-27 12:53:37 -07:00
rusefillc
27deaf524b
doc ( #234 )
...
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-04-27 12:53:21 -07:00
rusefillc
b5947eab1d
doc ( #233 )
...
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-27 12:53:15 -07:00
Andrey G
998d75557d
dac: fix overflow ( #238 )
2023-04-26 14:01:14 -07:00