1
0
forked from me/IronOS
Commit Graph

173 Commits

Author SHA1 Message Date
discip
422b5b7563 unifying (#1657) 2023-04-07 23:42:14 +00:00
Samuel Hedrick
9892dd0423 Added VPDO option for disabling PPS/EPR PDOs. 2023-02-19 14:13:50 -06:00
Samuel Hedrick
5265d7b1ac Fixed USB-PD policy bug.
Some PPS chargers that advertise 7 PDOs are affected.
This includes the Samsung EP-TA845 - likely others as well.
2023-02-15 20:50:23 -06:00
Ben V. Brown
4e37c7bea7 Merge branch 'dev' into BLE 2023-01-23 17:22:06 +11:00
Ben V. Brown
05628daba2 Merge branch 'dev' into new-translations-format 2023-01-22 22:05:13 +11:00
Ben V. Brown
7c8664fb22 Merge branch 'dev' into BLE 2022-12-28 14:24:49 +11:00
Ben V. Brown
afb7628983 FIXUP! Bugfix auto fontstyle 2022-12-11 13:52:43 +11:00
discip
e8cac79923 removed some redundant lines 2022-12-08 00:47:31 +01:00
Ben V. Brown
e9a28c3671 Unify more of the font generation logic between both paths and coalesce all fonts 2022-12-05 22:26:03 +11:00
Ben V. Brown
fdc31467aa Use size encoded symbols
Update make_translation.py
2022-12-05 22:26:03 +11:00
Ben V. Brown
6ca5f5c08d Merge branch 'dev' into refactor-gui-files 2022-11-25 21:24:49 +11:00
Ben V. Brown
6cbb01db41 References 2022-11-22 18:26:16 +11:00
Ben V. Brown
d0ed30ecb6 Split display checksum out 2022-11-20 21:16:38 +11:00
Ben V. Brown
3e66648768 Force full redraw on rotate 2022-11-20 18:43:43 +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
19a6e169a7 Update PD for better EPR compatibility 2022-09-07 18:22:52 +10: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
7fcd2b7c5b Animation non block (#1347)
* Buttons cancel animation

* Button cancels transition

* Update OLED.cpp
2022-08-12 10:36:10 +10:00
discip
e43449011e solves artifacts issue if .gif is exactly 1024 B (#1362)
* solves artifacts issue if .gif is exactly 1024 B

solves https://github.com/Ralim/IronOS-Meta/issues/18

* increased animation speed a tad
2022-08-10 10:16:05 +10:00
Ben V. Brown
f1ceb0ec62 Merge branch 'dev' into pd-epr 2022-07-25 17:34:13 +10:00
Ben V. Brown
081290d6be Merge branch 'dev' into ticktype 2022-07-25 17:00:34 +10:00
Ben V. Brown
dd239375b1 All Ticks as the right TickType
Update usb-pd
2022-07-25 16:45:29 +10:00
nyanpasu64
06e3ca59ea Fix button presses between short and long being ignored entirely 2022-07-24 15:34:39 -07:00
nyanpasu64
c855f4cffe Don't send short-presses after releasing long-presses 2022-07-24 15:16:11 -07:00
nyanpasu64
6d6f42d242 Cleanup getButtonState() 2022-07-24 15:12:27 -07:00
Ben V. Brown
c89a6d855c Update usb-pd 2022-07-19 20:58:47 +10:00
Ben V. Brown
77af6223a4 Merge in draft EPR 2022-07-18 22:58:01 +10:00
Ben V. Brown
0590f9b3f8 Update usb-pd 2022-07-18 22:55:01 +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
f5cb42c9d7 Infinite logo (#1309)
* Check for button timeout of infinite

* Dedupe

* Alpine bump
2022-06-16 20:21:30 +10:00
discip
9ec92298f3 Update Font.h 2022-05-04 00:17:34 +02:00
Ben V. Brown
a73f634cff Pinecil pd tweaking (#1272)
* Raise PD max to 21V

* gui -> settingsGUI

* VBus probe cache

* Rough pass PD capabilities display

* Cleanup build errors

* PD Debug menu working

* Update make_translation.py

* settingsGUI

* Update GUIThread.cpp

* Nicer debug prints

* Show VBus in PD debug

* Update GUIThread.cpp

* Update make_translation.py

* Add docs

* Build tweaks for TS80P 😢

* Show PPS ranges
2022-04-03 12:58:07 +10:00
Ben V. Brown
787bc46bdc SC7A20 tweaks (#1251)
* Clean up handling of addresses

* Update SC7A20.hpp

* Try remapped Accel readings

* Fake LIS setup?

* Refining build options
2022-04-03 12:37:27 +10:00
discip
0b8192b690 Bootup logo settings (#1241)
Adds ability to adjust the time shown for the bootup logo.
2022-04-02 12:39:14 +11:00
Ben V. Brown
232009bf54 Logo rework (#1232)
!Allows for new logo format that supports animation!
Also moves logos out of repo into their own repo for ease of management.


Changes:
* Remove deprecated logos
* Draft new Bootloader decoder
* Use new logo handler
* Simplify logo code further
* Fix time bug on static images
* Fix exit at end of animation
* Docs
* Interframe delay in 5ms increments
* Quick pass handling empty updates
* Exit at the end _after_ the frame delay
* One final delay
* Fix for overrun of logo data
* Fixes https://github.com/Ralim/IronOS-Meta/issues/7
2022-03-14 09:08:05 +11:00
Ben V. Brown
3747d22773 Flip SC7 2022-02-12 11:30:03 +11:00
Ben V. Brown
730f7cf415 SC7A20 handle address 2022-02-12 11:13:41 +11:00
Ben V. Brown
ba119007ff Step 1: make LIS2DH12 driver stricter 2022-02-12 11:04:28 +11:00
Ben V. Brown
1969d860c7 Update USBPD.cpp 2022-02-06 14:41:52 +11:00
Ben V. Brown
a2918ae8a4 Update usb-pd 2022-02-06 14:41:49 +11:00
Ben V. Brown
3c83b59b53 Expose Vbus 2022-02-06 13:14:53 +11: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
discip
c02628f5bf Update Font.h 2022-01-19 23:51:46 +01:00
discip
2fe86b748e Update Font.h 2022-01-19 23:11:09 +01:00
discip
1c5361613c Update Font.h 2022-01-19 23:09:16 +01:00
discip
af413a1b4b Update Font.h 2022-01-19 22:39:40 +01:00
discip
4feb68923b Update Font.h 2022-01-19 02:16:31 +01:00