Ben V. Brown
5d04df39e0
Adjust divider
...
Update OLED.cpp
2023-06-27 21:56:13 +10:00
Ben V. Brown
c6918093fb
Larger OLED Support ( #1713 )
...
* Update header to declare full buffer size
* Strip refactoring
* Refactor the OLED scrolldown part 1
* High res capable scroll down
* Allow button press to skip scroll
* Bunch of Misc Fixups
2023-06-18 22:50:31 +10:00
Ben V. Brown
d3d8e3d2d5
TS101 ( #1695 )
...
* Refactor I2C_SOFT to new #define
* Stitch in some of TS101
Update ShowStartupWarnings.cpp
Update OLED.hpp
Update stm32f1xx_hal_msp.c
Update Setup.cpp
Update Power.cpp
Update Pins.h
Update configuration.h
Power Muxing
Working dual input Voltage handler
Scan mode required for differing injected channels
Inject both dc readings
Update configuration.h
Update configuration.h
Use htim4 for adc control on TS101
Refactor htim names
Add ADC_TRIGGER
Speed up BB I2C a lil
Update configuration.h
Update startup_stm32f103t8ux.S
Update configuration.h
Add LIS2DH clone
LIS2DH gains another clone
Create tooling to allow mapping accelerometers onto different buses
Update startup_stm32f103t8ux.S
Ensure PD IRQ is pulled up
* Stitch in some of TS101
Update ShowStartupWarnings.cpp
Update OLED.hpp
Update stm32f1xx_hal_msp.c
Update Setup.cpp
Update Power.cpp
Update Pins.h
Update configuration.h
Power Muxing
Working dual input Voltage handler
Scan mode required for differing injected channels
Inject both dc readings
Update configuration.h
Update configuration.h
Use htim4 for adc control on TS101
Refactor htim names
Add ADC_TRIGGER
Speed up BB I2C a lil
Update configuration.h
Update startup_stm32f103t8ux.S
Update configuration.h
Add LIS2DH clone
LIS2DH gains another clone
Create tooling to allow mapping accelerometers onto different buses
Update startup_stm32f103t8ux.S
Ensure PD IRQ is pulled up
Allow toggle which button enters PD debug
* Update Pins.h
* Fix hard coded IRQ Pin
Update stm32f1xx_it.c
* Enable EPR
* Tip resistance measurement
* TS101 is a direct drive tip
Update BSP.cpp
* Add S60 and TS101 to builds
Update push.yml
* Update MOVThread.cpp
* Refactor power menu handler
* Correct prescaler
Forgot to update since I changed the period
* Tune in the timer divider for tip control to make PWM less audible
---------
Co-authored-by: discip <53649486+discip@users.noreply.github.com >
2023-06-18 21:58:20 +10:00
Ivan Zorin
a1b9e40f67
Show power source type on detailed screen in soldering mode ( #1708 ) ( #1709 )
...
* Show power source type on detailed screen in soldering mode (#1708 )
* Update according to code review
2023-06-18 21:38:26 +10:00
Ben V. Brown
286afad919
S60 Support ( #1692 )
...
* Mock S60
* cleanup
* Start refactor of OLED init
* Setup timers roughly
* Set Vector table offset correctly
Update system_stm32f1xx.c
* Update OLED.cpp
* Update stm32f1xx_hal_msp.c
* Update configuration.h
* I2C init before GPIO
From Errata
Update stm32f1xx_hal_msp.c
Update Software_I2C.h
Allow no hardware I2C
* I2C BB run bus unlock at init
* cleanups
* Software I2C for now
* Mildly more graceful Interpolate
* Handle is powered by DC
Update Power.cpp
Update drawPowerSourceIcon.cpp
Update configuration.h
Update Setup.cpp
* Cleanup HomeScreen
* Segment remap oled at init
* Cleanup
* Update MOVThread.cpp
* Fix PWM Init
* Fix adc2 trigger
* Update configs
* Fixup warning
* Saner default config
* Update ThermoModel.cpp
* Util for current@voltage
* Hub238 warning
* Add hub238 handling in power mode
* Update USBPDDebug_FUSB.cpp
* HUSB238 debug
* Hook PSU Limit
* Use wrapping section of GRAM for scroll
Update OLED.hpp
* Update NTC table
* Fix HUB voltage picker
* Cleanup
* Larger tip filter
* Calibrate in a bunch closer
Update ThermoModel.cpp
* Update configuration.h
* Update HUB238.cpp
* Update configuration.h
* Movement Pin
* Update BSP.cpp
* tim2 irq
* Rough timer conversion (adc broken) but movement working
* Fix tim2 start
* Faster base PWM
* Ensure utils grabs config
* Add wattage limiter tolerance for device
* Speed up PWM and enable PWM current limiting
* tune for 12v
* Prevent start until PD done
* Update configuration.h
* Add HUB238 check for have re-negotiated
* Adjust timer to avoid noise when its possible
2023-06-03 20:05:31 +10:00
Ben V. Brown
d0ed30ecb6
Split display checksum out
2022-11-20 21:16:38 +11:00
Ben V. Brown
80e7ab3161
Force delay after display state change
...
So that we backoff if OLED is busy
Update OLED.hpp
2022-11-06 22:53:43 +11:00
Ben V. Brown
7eb9f3f10d
Only send on display change
2022-11-06 22:10:09 +11:00
Ben V. Brown
1fbcdcdf98
Pinecil V2 ( #1341 )
...
* Add SDK
* fork
* massaging makefile
* Drop git module
* Bring in sdk as its broken
Far, Far to much crap to fix with regex now
* Remove bl706
* rf_para_flash_t is missing defs
* Remove crapton of junk
* Remove yet more
* Poking I2C
* Update peripheral_config.h
* Update pinmux_config.h
* Update preRTOS.cpp
* Update main.hpp
* Setup template
* Verbose boot
* I2C ish
* Update I2C_Wrapper.cpp
* Update main.cpp
* Turn off I2C reading for now
* Display running
* Roughing out scheduling timer0
* Starting ADC setup
* Working scheduling of ADC 🎉
* Format adc headers
* Update IRQ.cpp
* Buttons working
* Slow down I2C
* Poking IRQ
* Larger stack required
* Accel on
* Trying to chase down why __libc_init_array isnt working yet
* Working c++
* Cleanup
* Bump stacks
* I2C wake part workaround
* Cleanup
* Working PWM init
* qc draft
* Hookup PWM
* Stable enough ADC
* ADC timing faster + timer without HAL
* Silence
* Remove boot banner
* Tuning in ADC
* Wake PID after ADC
* Remove unused hal
* Draft flash settings
* Working settings save & restore
* Update to prod model
* Cleanup
* NTC thermistor
* Correct adc gain
* Rough tip resistance progress
* Scratch out resistance awareness of the tip
* better adc settings
* Tweaking ADC
* ADC tweaking
* Make adc range scalable
* Update Dockerfile
* Update configuration.h
* Can read same ADC twice in a row
* ADC Setup
* Update PIDThread.cpp
* Lesser adc backoff
* Update USBPD.h
* Add device ID
* Update BSP_Power.h
* Update BSP.cpp
* DrawHex dynamicLength
* Shorter ID padding
* Show validation code
* tip measurement
* Create access for w0w1
* Expose w0 w1
* Enable debug
* crc32
* Device validation
* wip starting epr
* Logic refactor
* Safer PWM Init
* PD cleanups
* Update bl702_pwm.c
* Update power.cpp
* Update usb-pd
* io
* EPR decode
* Better gui for showing pd specs
* Rough handler for capabilities
* EPR
* Fix > 25V input
* Perform pow step after PPS
* Update BSP.cpp
* Fix timer output
* QC3
* Add tip resistance view
* Hold PD negotiation until detection is done for tip res
* Get Thermal mass
* Tip res =0 protection
* Update PIDThread.cpp
* Update GUIThread.cpp
* Rewrite tip resistance measurement
* Update GUIThread.cpp
* Fix fallback
* Far better tip resistance measurement
* Fix QC 0.6V D-
* Convert the interpolator to int32
* Correct the NTC lookup
* Update BSP.cpp
* Update Setup.cpp
* .
Update configuration #defines
More backported functions
* Update usb-pd
* More missed updates
* Refactor BSP
Magic BSP -> PinecilV2
Pine64 BSP -> Pinecil
Update Makefile
* Add Pinecilv2 to CI
* Pinecil v2 multi-lang
Update push.yml
* Update HallSensor.md
* Update README.md
* Fix wrong prestartcheck default
* Fix logo mapping
* Update Makefile
* Remove unused font block
* Style
* Style
* Remove unused timer funcs
* More culling TS80P
* Revert "More culling TS80P"
This reverts commit 2078b89be7 .
* Revert "Remove unused timer funcs"
This reverts commit 0c693a89cc .
* Make VBus check maskable
* Remove DMA half transfer
* Drop using brightness and invert icons and go back to text
Saves flash space
* Refactor settings UI drawing descriptions
* Shorten setting function names
* Store bin file assets
* Fix MHP prestart
2022-08-19 15:39:37 +10:00
Ben V. Brown
078b8f5626
DeviceID ( #1314 )
...
* Ability to print hex
* Add device ID getter
* Refactor debug menu
* No longer need patch
* Update make_translation.py
* Fix typo
* Fix hex drawing
2022-06-16 21:39:53 +10:00
Ben V. Brown
49c80d2d3f
Update OLED.hpp
2022-02-05 12:39:40 +11:00
Ben V. Brown
80acf58b43
Update OLED.hpp
2022-02-05 12:37:41 +11:00
Ben V. Brown
15763dd55b
Cleanup OLED_FLIP logic
...
Update OLED.hpp
Update OLED.hpp
Update OLED.hpp
2022-02-05 12:23:51 +11:00
Ben V. Brown
2bfb8a6535
Unify settings for each model into once place
2021-09-15 20:24:41 +10:00
Ben V. Brown
4b2f350b35
Contrast -> Brightness
...
As it makes a little more sense in a 1 bit display
2021-09-12 19:14:45 +10:00
Alvin Wong
4ab3b5b116
Add POC contrast and screen invert settings
2021-07-14 16:13:11 +08:00
Ben V. Brown
a7f1c076ef
Merge branch 'master' into MHP30
2021-05-04 19:20:12 +10:00
Alvin Wong
a27db526af
Remove the scroll indicator when scrolling menu
2021-05-03 16:53:45 +08:00
Alvin Wong
82c985d785
Impl. menu item scroll down animation
2021-05-02 21:57:45 +08:00
Ben V. Brown
fd78aa192a
Formatting pass
2021-04-27 19:11:12 +10:00
Ben V. Brown
e84717765a
Basic OLED working
...
* OLED
* Buttons
2021-04-26 22:22:32 +10:00
Alvin Wong
53c02dca33
Refactor printing CJK menu with large font into OLED.cpp
2021-04-05 15:48:12 +08:00
Alvin Wong
b2f9eab7fb
Refactor font style to be set when printing
...
Removes the font setting as a global state.
2021-03-21 21:46:12 +08:00
Ben V. Brown
e6eb3e34bc
Expand drawChar for larger offset
2021-03-16 20:34:47 +11:00
Ben V. Brown
bf5055edaa
Format headers
2021-01-17 10:53:49 +11:00
Ben V. Brown
184b2c909f
./workspace/TS100 -> ./source/
2021-01-17 09:43:55 +11:00