1
0
forked from me/IronOS
Commit Graph

172 Commits

Author SHA1 Message Date
Ben V. Brown
ffe5794cf5 Split thermoModel uV conversion to BSP 2021-05-01 16:22:24 +10:00
Ben V. Brown
26ad63b03b Followthrough of the cleanup 2021-05-01 13:29:26 +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
6cdb67e675 Update gui.cpp 2021-04-29 21:57:56 +10:00
Ben V. Brown
b817c33181 Update GUIThread.cpp 2021-04-29 21:52:04 +10:00
Ben V. Brown
5114b4243b Turn off sleep mode 2021-04-29 21:43:22 +10:00
Ben V. Brown
56a885ed42 Style 2021-04-28 21:08:42 +10:00
Ben V. Brown
fe2469fdb5 NTC lookup cleaned up and shrunk + linear interpolate 2021-04-28 21:06:29 +10:00
Ben V. Brown
7c54b24209 Fix cold junction temperature channel
Kudos to @g3gg0
2021-04-28 21:06:13 +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
7a3a5fab04 Update build.sh 2021-04-27 21:51:33 +10:00
Ben V. Brown
41c9439e8c Formatting 2021-04-27 21:48:53 +10:00
Ben V. Brown
6d0f9897b9 Adding MHP30 to makefile 2021-04-27 21:44:35 +10:00
Ben V. Brown
67ba9e20c0 Move ld file into bsp
Long overdue
2021-04-27 21:44:21 +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
f40ebdcaf5 Update Setup.c 2021-04-27 19:55:01 +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
3780a76be8 Update BSP.cpp 2021-04-27 19:09:32 +10:00
Ben V. Brown
c9ad627e31 Faster I2C BB | slow down ADC 2021-04-27 19:09:29 +10:00
Ben V. Brown
a05e99b3a6 Heater control working 2021-04-26 22:32:25 +10:00
Ben V. Brown
9b15e68859 ADC IRQ's 2021-04-26 22:27:50 +10:00
Ben V. Brown
e84717765a Basic OLED working
* OLED
* Buttons
2021-04-26 22:22:32 +10:00
Ben V. Brown
8b65fa5d10 Remapping pins 2021-04-26 21:51:18 +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
35f4054530 Import miniware files 2021-04-26 20:58:39 +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
fadb25273e Impl. font compression demo 2021-04-17 05:18:19 +08:00
Alvin Wong
6f4f4d9733 Move string compression to Python
... so that the script can know its uncompressed size and calculate the
appropriate buffer size.
2021-04-16 17:55:30 +08:00
Alvin Wong
4a6b55c52c Merge branch 'master' into string-compression 2021-04-13 18:31:16 +08:00
Ben V. Brown
264bd12adb Merge branch 'master' into messing_with_pd 2021-04-13 11:34:22 +10:00
Ben V. Brown
022879babd Merge pull request #924 from alvinhochun/lang-jp
Add Japanese translation
2021-04-13 08:24:11 +10:00
Alvin Wong
001d91988c Fix formatting 2021-04-12 20:45:26 +08:00
Alvin Wong
11f40cfc1b Reformat lzfx sources 2021-04-12 20:07:06 +08:00
Alvin Wong
07fb8adb7f Impl. initial translation strings compression 2021-04-12 19:57:29 +08:00
Ben V. Brown
3e7dd3b150 Merge branch 'master' into messing_with_pd 2021-04-10 11:40:31 +10:00
Alvin Wong
880920da96 Change TranslationStrings to pointer 2021-04-09 22:22:19 +08:00
Alvin Wong
7d6d7d11c0 Put translation str indices into a struct 2021-04-09 17:20:24 +08:00