1
0
forked from me/IronOS
Commit Graph

97 Commits

Author SHA1 Message Date
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
a7ec2748bb Cosmetic fixes3 2021-06-07 16:14:55 +02:00
Varga Zsolt
b3f987d34a Cosmetic fixes2 2021-06-07 14:55:30 +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
27c7166922 Remove unused variables in PD stack 2021-06-04 21:04:55 +10:00
Ben V. Brown
e380f9c129 Dont need round down 2021-05-06 21:37:35 +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
0be4d596e3 Update OLED.cpp 2021-05-04 19:23:34 +10:00
Ben V. Brown
a7f1c076ef Merge branch 'master' into MHP30 2021-05-04 19:20:12 +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
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
5ea2908fa2 Removing timer as wont work & replace with bit bang
Cant keep up with irq
2021-05-03 21:52:18 +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
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
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
70c03ba771 Fromatting + setup adc pin explicitly 2021-05-02 14:32:42 +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
7fba51649a Cleanup user functions 2021-05-01 13:17:10 +10:00
Ben V. Brown
2ca2f9084f Formatting 2021-05-01 12:22:06 +10:00
Ben V. Brown
0bfe052127 Reworking USB-PD stack to remove a thread 2021-05-01 12:21:37 +10:00
Ben V. Brown
27aecd2436 Merge branch 'master' into MHP30 2021-04-30 21:19:31 +10:00
alvinhochun
1a0b542ae6 [RFC] Multi-language firmware (second try) (#941)
* Impl. sectioned font table in firmware

* make_translation.py: Extract build_symbol_conversion_table function

* Put translation indices and strings in a struct

* Move translation objcopy step to Python

* Impl. multi-language firmware demo

* Impl. strings-compressed multi-lang firmware demo

* Add font compression to multi-lang demo

* Refactor Makefile a bit

* Fix rules for make < 4.3

* Add more multi-lang groups

* Add Pinecil multi-lang CI build

* Add lzfx compression license text

* Remote multi-language demo group

* Fix build after merge

* Import code from BriefLZ

* Change brieflz for our use case

* Change compression to use brieflz

* Remove lzfx code

* Update license file for brieflz

* Exclude brieflz files from format check

* Add BriefLZ test
2021-04-30 18:51:13 +10:00
Ben V. Brown
56a885ed42 Style 2021-04-28 21:08:42 +10:00
Ben V. Brown
b06c58bb81 Fix utils length calc 2021-04-28 21:05:49 +10:00
Ben V. Brown
33278e672d Use Utils linear interpolate 2021-04-28 20:57:52 +10:00
Ben V. Brown
3d5b189bfd Extracting Utils class 2021-04-28 20:57:43 +10:00
Ben V. Brown
41c9439e8c Formatting 2021-04-27 21:48:53 +10:00
Ben V. Brown
90f23a9228 WiP on hotplate temp reading 2021-04-27 21:35:07 +10:00
Ben V. Brown
68316f0735 Fixing up ADC config 2021-04-27 20:53:35 +10:00
Ben V. Brown
d4ea53cdcd Dont use stale data in PD IRQ 2021-04-27 20:06:49 +10:00
Ben V. Brown
a42c5ccd40 Update fusb302b.cpp 2021-04-27 20:06:18 +10:00
Ben V. Brown
9d2124387c Return if read actually worked for fusb 2021-04-27 19:54:56 +10:00
Ben V. Brown
db39d9ab2c Update policy_engine_user.cpp 2021-04-27 19:54:37 +10: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
Ben V. Brown
66a86ab723 Update TipThermoModel.cpp 2021-04-26 21:07:57 +10:00
Ben V. Brown
3e5e0c1d6b Cleaning up config 2021-04-26 21:05:04 +10:00
Ben V. Brown
5205dc2361 Dont mark usb comms supported 2021-04-25 17:06:27 +10:00
Ben V. Brown
b161192691 Merge branch 'master' into messing_with_pd 2021-04-17 10:53:58 +10:00
Alvin Wong
07fb8adb7f Impl. initial translation strings compression 2021-04-12 19:57:29 +08:00
Ben V. Brown
4ee91d45fe Cleanup duplicate code 2021-04-08 21:54:10 +10:00
Ben V. Brown
22c5f6d361 Cleanup FUSB setup 2021-04-08 21:20:25 +10:00
Ben V. Brown
d56332d06b Merge branch 'master' into messing_with_pd 2021-04-05 20:01:40 +10:00