1
0
forked from me/IronOS
Commit Graph

122 Commits

Author SHA1 Message Date
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
Alvin Wong
53c02dca33 Refactor printing CJK menu with large font into OLED.cpp 2021-04-05 15:48:12 +08:00
Ben V. Brown
0b02275192 Cleanup message rx event to inline, re-enable non PPS 2021-04-05 16:22:17 +10:00
Ben V. Brown
fb24ba1866 Collapse rx into irq 2021-04-05 15:57:31 +10:00
Ben V. Brown
6b67137420 Update int_n.cpp 2021-04-05 15:53:10 +10:00
Ben V. Brown
489f3818bf Update protocol_tx.cpp 2021-04-05 15:53:03 +10:00
Ben V. Brown
b682f6cd70 Simplify rx 2021-04-05 15:52:54 +10:00
Ben V. Brown
af818537f5 Unused event 2021-04-05 15:38:22 +10:00
Ben V. Brown
854189d720 Add manual irq line check for the int task for PD 2021-04-05 15:05:12 +10:00
Ben V. Brown
b3c3e4e384 Spawn PD earlier 2021-04-05 14:37:50 +10:00
Ben V. Brown
fc08dc42fa Auto notify tx 2021-04-05 14:12:44 +10:00
Ben V. Brown
b1ef035d07 Cleanup RX 2021-04-05 13:22:08 +10:00
Ben V. Brown
eee1d93806 Update policy_engine_user.cpp 2021-04-05 13:22:01 +10:00
Ben V. Brown
f8e9c3b0d4 Update policy_engine.h 2021-04-05 13:21:55 +10:00
Ben V. Brown
4616093a47 Using enum for PE events 2021-04-05 12:06:21 +10:00
Ben V. Brown
d8f2aff402 Update policy_engine.cpp 2021-04-05 11:58:01 +10:00
Ben V. Brown
f7b7915be4 Update policy_engine.cpp 2021-04-05 11:57:58 +10:00
Ben V. Brown
fac2dfd712 Update policy_engine.cpp 2021-04-05 11:57:44 +10:00
Ben V. Brown
bb678d7b97 hard->soft 2021-04-05 11:57:28 +10:00
Ben V. Brown
460fe24bc0 Start PPS timer once 2021-04-05 11:57:02 +10:00
Ben V. Brown
87251573ee Update policy_engine.h 2021-04-05 11:56:52 +10:00
Ben V. Brown
96cf92f9f7 Update policy_engine_user.cpp 2021-04-05 11:56:46 +10:00
Ben V. Brown
93ed4c9887 No need for ams marker 2021-04-05 11:56:38 +10:00
Ben V. Brown
14e272540d Timings in ticks 2021-04-05 11:56:27 +10:00
Ben V. Brown
9f0054f7b0 WiP PPS 2021-04-05 00:02:10 +10:00
Ben V. Brown
5fd969ada7 Clean up PD voltage selection for flexibility 2021-04-04 22:58:53 +10:00