Ben V. Brown
|
3594604efc
|
Fixes for I2C on Pinecil + USB-PD stack (#1099)
* Remove unused includes
* Adding in submodule
* Move fusb functions to the BSP
* Remove old code
* Creating IronOS PD integration wrapper
* Redirect to wrapper
* pd lib updates
* fix Docker build
* Finish linking across
* Cleanup
* Update Makefile
* Update push.yml
* Update push.yml
* PD -> Compensate for different tick rates
* Update codeql-analysis.yml
* Fix PD #define for @Firebie
* Check irq low at start
* Update BSP.h
* Update main.cpp
* Closer delay
* Update OLED.cpp
* Bugfix trying to start QC too early
* Missing fusb shouldnt hang qc
* Update FreeRTOSConfig.h
* Update the GD drivers
* Update Pinecil IRQ setup
* Redirect printf() to uart
* Update Power.cpp
* Adding extras to PD state
* Update USBPD.cpp
* Delay in printf
* Iterate once before delay on start
* Update usb-pd
* master usb-pd now
* Format gd libs
* Update gd32vf103_bkp.c
* Guard with PD timeout
* Remove CodeQL
* Slow for testing, fix runt pulses at start
* Fix runt pulse in read size 1
* Cleaner probing setup
* Testing delay during stop gen in read 1
* Update I2C driver
* Update gd32vf103_i2c.c
* Cleaning up i2c wrapper a little, given up on dma for rx
* Update preRTOS.cpp
* Update Setup.cpp
* Update MOVThread.cpp
* Slow down UART to work with new clock config
* Better ack setup for 2 byte read
* Cleanup POW_PD so cant be lost in #includes
* tipResistance -> TIP_RESISTANCE
* handle NOP race on len==2
* Update configuration.h
* Dont use neg timeout to mask anymore
* Not required for MHP
* Fix up source display Miniware
* Fix race on PD init
* Update POWThread.cpp
* Update formatting
* MHP format
* Update push.yml
* Faster TS80P I2C
* Bugfix for IRQ handlers
* Correctly handle I2C race on PD access
* Fix CI error (unused var) and MHP IRQ
* Test Pinecil alt ADC mode
|
2021-10-02 14:48:58 +10:00 |
|
Ben V. Brown
|
4951d72aee
|
Bump power limits
|
2021-09-17 21:38:13 +10:00 |
|
Ben V. Brown
|
87b22e52ed
|
Rough pass
|
2021-09-17 21:13:21 +10:00 |
|
Ben V. Brown
|
f88e6bccf4
|
Update Setup.cpp
|
2021-09-15 21:18:23 +10:00 |
|
Ben V. Brown
|
6f46fc0bed
|
style
|
2021-09-15 20:27:03 +10:00 |
|
Ben V. Brown
|
2bfb8a6535
|
Unify settings for each model into once place
|
2021-09-15 20:24:41 +10:00 |
|
Ben V. Brown
|
e18c877a96
|
Removed unused
|
2021-09-15 18:53:07 +10:00 |
|
Ben V. Brown
|
ad857a08ab
|
QC code does not get control of vin filter
|
2021-09-14 22:01:10 +10:00 |
|
Ben V. Brown
|
a57449ed0f
|
Retiming all the PWM's
|
2021-09-14 21:48:37 +10:00 |
|
Ben V. Brown
|
55a2cb3f24
|
Merge branch 'master' into refactor-adc
|
2021-09-12 19:18:58 +10:00 |
|
Ben V. Brown
|
8fd2f6e95c
|
Second pass
|
2021-09-12 14:03:09 +10:00 |
|
Ben V. Brown
|
af0adb0708
|
Reworking raw adc, handle temp done
Pre seed adc values
Pinecil port
Update PIDThread.cpp
TRGO is more stable for timing (buffered)?
|
2021-09-11 22:25:57 +10:00 |
|
Varga Zsolt
|
2755bb15b2
|
Revert "Test"
This reverts commit 3e502f462d.
|
2021-06-08 22:57:09 +02:00 |
|
Varga Zsolt
|
3e502f462d
|
Test
|
2021-06-08 22:49:48 +02:00 |
|
Varga Zsolt
|
a75d97360f
|
Suggestions mostly corrected
|
2021-06-07 01:09:41 +02:00 |
|
Ben V. Brown
|
0336432994
|
Format
|
2021-06-05 22:51:47 +10:00 |
|
Ben V. Brown
|
23fe246026
|
Revert "Update STM32 hal for Miniware"
This reverts commit 730ee94c5c.
|
2021-05-21 20:58:05 +10:00 |
|
Ben V. Brown
|
730ee94c5c
|
Update STM32 hal for Miniware
|
2021-05-21 20:54:48 +10:00 |
|
Ben V. Brown
|
ab4e5e70ca
|
🤷♂️🤷♂️
|
2021-05-21 20:49:58 +10:00 |
|
Ben V. Brown
|
c4512210a6
|
Update stm32f1xx_hal_tim_ex.h
|
2021-05-21 20:42:13 +10:00 |
|
Ben V. Brown
|
028c356c72
|
🤷♂️
|
2021-05-21 20:38:30 +10:00 |
|
Ben V. Brown
|
0887bbe3cf
|
Mask PWM during beep
|
2021-05-08 16:28:33 +10:00 |
|
Ben V. Brown
|
1b3445cefa
|
Add buzzer beep when at temperature 🎵
|
2021-05-05 19:19:00 +10:00 |
|
Ben V. Brown
|
b10a65dd74
|
Fix bootloader size
|
2021-05-04 18:54:09 +10:00 |
|
Ben V. Brown
|
bdeb8ef38a
|
Move WS2812 driver to template class
|
2021-05-04 18:37:09 +10:00 |
|
Ben V. Brown
|
64cb9c1158
|
Fix build issues
|
2021-05-03 22:39:57 +10:00 |
|
Ben V. Brown
|
ee12c99d9e
|
Update PD to support awareness of having inductor for DCDC op
+ fix voltage divider to be more on point
+ Create adjustment for thermal mass causes overshoot
|
2021-05-03 22:36:25 +10:00 |
|
Ben V. Brown
|
dd5daf51e3
|
Format new content
|
2021-05-03 22:10:14 +10:00 |
|
Ben V. Brown
|
e3deb33d7f
|
Slow down adc and therefore pid to ~128ms
|
2021-05-03 22:09:26 +10:00 |
|
Ben V. Brown
|
5b4ae22f12
|
Better colour
|
2021-05-03 22:05:38 +10:00 |
|
Ben V. Brown
|
e6427f1d27
|
Fix tip disconnection sense value
oops
|
2021-05-03 22:02:51 +10:00 |
|
Ben V. Brown
|
c20ed926cd
|
Hook some status colours to the LED
|
2021-05-03 22:00:24 +10:00 |
|
Ben V. Brown
|
5ea2908fa2
|
Removing timer as wont work & replace with bit bang
Cant keep up with irq
|
2021-05-03 21:52:18 +10:00 |
|
Ben V. Brown
|
dd5714fa17
|
Update BSP.h
|
2021-05-03 21:51:45 +10:00 |
|
Ben V. Brown
|
69ef62f0a7
|
Update st libs
|
2021-05-03 21:51:40 +10:00 |
|
Ben V. Brown
|
5128602335
|
LED iffy (unstable timer?)
|
2021-05-02 21:39:47 +10:00 |
|
Ben V. Brown
|
e4f7946dcb
|
WiP on WS2812 Protocol driver
|
2021-05-02 21:22:29 +10:00 |
|
Ben V. Brown
|
5637e1a215
|
Add irq handlers for new timer and dma
|
2021-05-02 17:51:19 +10:00 |
|
Ben V. Brown
|
2e0279b36a
|
Setting up TIM1 for WS2812
|
2021-05-02 17:42:41 +10:00 |
|
Ben V. Brown
|
1ad00aa8b2
|
Handle tip connect & disconnect in detection
|
2021-05-02 16:47:33 +10:00 |
|
Ben V. Brown
|
7a5c0ad20f
|
Updated cold junction temp curve
* Disabled the hack off on temp as we dont need it for MHP30
* faster ADC on MHP30
|
2021-05-02 15:45:45 +10:00 |
|
Ben V. Brown
|
018b984665
|
Importing Miniware's alg for tip temperature for the MHP
Love to @g3gg0
|
2021-05-02 14:34:36 +10:00 |
|
Ben V. Brown
|
5fac16a14a
|
Format BSP
|
2021-05-02 14:33:07 +10:00 |
|
Ben V. Brown
|
70c03ba771
|
Fromatting + setup adc pin explicitly
|
2021-05-02 14:32:42 +10:00 |
|
Ben V. Brown
|
9e5550815d
|
Add extra ADC channel working
|
2021-05-02 14:31:33 +10:00 |
|
Ben V. Brown
|
b779d63ca0
|
WiP res measurement
|
2021-05-01 17:31:59 +10:00 |
|
Ben V. Brown
|
7903df36e5
|
Create isTipDisconnected function
|
2021-05-01 16:44:50 +10:00 |
|
Ben V. Brown
|
ffe5794cf5
|
Split thermoModel uV conversion to BSP
|
2021-05-01 16:22:24 +10:00 |
|
Ben V. Brown
|
26ad63b03b
|
Followthrough of the cleanup
|
2021-05-01 13:29:26 +10:00 |
|
Ben V. Brown
|
7fba51649a
|
Cleanup user functions
|
2021-05-01 13:17:10 +10:00 |
|