1
0
forked from me/IronOS
Commit Graph

89 Commits

Author SHA1 Message Date
discip
161b8ba2cb reworked CJC appearance 2022-11-17 00:30:27 +01:00
discip
d905dc3d90 Update Translation.h 2022-10-20 22:00:59 +02:00
discip
c89db78b45 Calibrate CJC at next boot (#1398)
Changes Cold Junction Compensation (Tip Offset / CJC) to be performed during bootup time. (After starting in settings)
2022-09-10 20:52:57 +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
dd239375b1 All Ticks as the right TickType
Update usb-pd
2022-07-25 16:45:29 +10:00
Ben V. Brown
165a9952c2 MHP30: Shutdown settings (#1307)
* Reduce PPS max to 20V to avoid instability

Some PSU's cant actually run at 21V

* Creating a rough draft of a "pre start check" concept

* Newer alpine

* Cleaning up MHP detection

* Cleanup comments

* PID: Run prestart based on ADC IRQ rather than times

* MHP30: Far better startup for detecting tip gain

* Newer alpine for github CI

* Bugfix: Exit on movement

* Feature: Shutdown timeout for MHP30
2022-06-16 20:28:49 +10: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
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
d7b21c213e Update Translation.h 2022-01-18 21:44:33 +11:00
Ben V. Brown
1e065f0868 Update header file to remove the unused settings 2022-01-18 21:15:47 +11:00
Ben V. Brown
73b6ca28f2 Generate power names 2021-09-26 07:58:19 +10:00
Ben V. Brown
bbeedeb36b Merge branch 'master' into ralim/scrollbar 2021-09-25 11:04:23 +10:00
Ben V. Brown
a936eee83e Define array of Accelerometer names 2021-09-25 10:35:23 +10:00
Ben V. Brown
68038038a7 Make enum in order 2021-09-25 10:34:41 +10:00
Ben V. Brown
c1f9442ec7 Move accelType to header for reachability, change type of DetectedAccelerometerVersion to suit 2021-09-25 10:30:40 +10:00
Ben V. Brown
1bb9254365 Update translation 2021-09-25 10:21:50 +10:00
Ben V. Brown
e8d26c3159 Draw no longer needs a return value 2021-09-25 10:21:44 +10:00
Ben V. Brown
2b390d68b4 Add visibility function 2021-09-25 09:58:33 +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
bfca4c9336 Better limiter in the PID 2021-09-15 19:05:11 +10:00
Ben V. Brown
1b0c3bcb67 Cleaning up fast/slow PWM change 2021-09-14 21:48:58 +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
Ben V. Brown
45116fb7b1 Updating translations 2021-09-12 19:03:25 +10:00
Ben V. Brown
3214a103ea Assign static values to the enum 2021-09-12 15:43:26 +10:00
Ben V. Brown
46ceb556b2 First sweep gui cleanup 2021-09-12 15:19:00 +10:00
Ben V. Brown
f6382cf7cb Building multi-lang 2021-09-12 14:50:39 +10:00
Ben V. Brown
63edd24ee2 Rough link unique language ID 2021-09-12 14:47:55 +10:00
Ben V. Brown
798868e0e1 Set defaults 2021-09-12 14:12:46 +10:00
Ben V. Brown
8fd2f6e95c Second pass 2021-09-12 14:03:09 +10:00
Ben V. Brown
eb2a748e3f Pass one settings refactor 2021-09-12 13:31:03 +10:00
Ben V. Brown
976512fbd7 Merge branch 'master' into ralim/const-temp-catch 2021-06-09 08:49:07 +10:00
Varga Zsolt
93f8adbd4c Redoing last modification 2021-06-08 23:00:13 +02: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
8bfbff360a Cosmetic fix of a comment 2021-06-08 01:02:18 +02:00
Varga Zsolt
a75d97360f Suggestions mostly corrected 2021-06-07 01:09:41 +02:00
Varga Zsolt
81de60e1e4 USB PD timeout added 2021-06-06 18:45:00 +02:00
Ben V. Brown
966f4d732d Approx thermal runaway config 2021-06-06 08:14:40 +10:00
Ben V. Brown
293c09cffa Add slew rate to the PID output for MHP 2021-05-06 21:35:43 +10:00
Ben V. Brown
73f11499b6 Format 2021-05-06 19:49:07 +10:00
Ben V. Brown
7bca0280f9 Backoff by about 1W from approx limit 2021-05-06 19:46:32 +10:00
Ben V. Brown
bd25aefe29 Disable display rotation selection 2021-05-06 19:33:51 +10:00
Ben V. Brown
79fa47eb16 Reduce max temp for MHP30 2021-05-05 18:48:12 +10:00
Ben V. Brown
34518b1883 Merge branch 'master' into MHP30 2021-05-04 19:05:26 +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
alvinhochun
969cadc3eb Change description scroll message behaviour (#950)
* Refactor: Extract common scroll message code

* Change desc. scrolling to stop at the start and end

* Extract `ScrollMessage` to its own file
2021-05-02 18:12:41 +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
7903df36e5 Create isTipDisconnected function 2021-05-01 16:44:50 +10:00
Ben V. Brown
6ceac48f89 Update configuration.h 2021-05-01 16:22:27 +10:00