1
0
forked from me/IronOS
Commit Graph

29 Commits

Author SHA1 Message Date
Ben V. Brown
22d0b0d643 Private links 2022-06-20 19:16:09 +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
3594604efc Fixes for I2C on Pinecil + USB-PD stack (#1099)
* Remove unused includes

* Adding in submodule

* Move fusb functions to the BSP

* Remove old code

* Creating IronOS PD integration wrapper

* Redirect to wrapper

* pd lib updates

* fix Docker build

* Finish linking across

* Cleanup

* Update Makefile

* Update push.yml

* Update push.yml

* PD -> Compensate for different tick rates

* Update codeql-analysis.yml

* Fix PD #define for @Firebie

* Check irq low at start

* Update BSP.h

* Update main.cpp

* Closer delay

* Update OLED.cpp

* Bugfix trying to start QC too early

* Missing fusb shouldnt hang qc

* Update FreeRTOSConfig.h

* Update the GD drivers

* Update Pinecil IRQ setup

* Redirect printf() to uart

* Update Power.cpp

* Adding extras to PD state

* Update USBPD.cpp

* Delay in printf

* Iterate once before delay on start

* Update usb-pd

* master usb-pd now

* Format gd libs

* Update gd32vf103_bkp.c

* Guard with PD timeout

* Remove CodeQL

* Slow for testing, fix runt pulses at start

* Fix runt pulse in read size 1

* Cleaner probing setup

* Testing delay during stop gen in read 1

* Update I2C driver

* Update gd32vf103_i2c.c

* Cleaning up i2c wrapper a little, given up on dma for rx

* Update preRTOS.cpp

* Update Setup.cpp

* Update MOVThread.cpp

* Slow down UART to work with new clock config

* Better ack setup for 2 byte read

* Cleanup POW_PD so cant be lost in #includes

* tipResistance -> TIP_RESISTANCE

* handle NOP race on len==2

* Update configuration.h

* Dont use neg timeout to mask anymore

* Not required for MHP

* Fix up source display Miniware

* Fix race on PD init

* Update POWThread.cpp

* Update formatting

* MHP format

* Update push.yml

* Faster TS80P I2C

* Bugfix for IRQ handlers

* Correctly handle I2C race on PD access

* Fix CI error (unused var) and MHP IRQ

* Test Pinecil alt ADC mode
2021-10-02 14: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
Alvin Wong
4ab3b5b116 Add POC contrast and screen invert settings 2021-07-14 16:13:11 +08: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
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
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
e84717765a Basic OLED working
* OLED
* Buttons
2021-04-26 22:22:32 +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
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
77fd9f6a2d Move configuration into inc 2021-04-04 22:48:41 +10:00
Alvin Wong
b2f9eab7fb Refactor font style to be set when printing
Removes the font setting as a global state.
2021-03-21 21:46:12 +08:00
Alvin Wong
55f3a8e0ed Make font encoding use all byte seq. possible 2021-03-20 15:36:39 +08:00
Ben V. Brown
0c00247d29 Format OLED 2021-03-18 12:14:15 +00:00
Ben V. Brown
c07b621daf Rough pass 2021-03-16 21:24:22 +11:00
Ben V. Brown
3858ac4a16 Rough pass expanding print 2021-03-16 20:42:47 +11:00
Ben V. Brown
e6eb3e34bc Expand drawChar for larger offset 2021-03-16 20:34:47 +11:00
Ben V. Brown
41f0a1f347 Formatting pass 2021-03-16 20:29:28 +11:00
Ben V. Brown
337c932b23 Cleanup (#877)
* Clean translation

* Create enum for off/slow/med/fast

* Update configuration.h

* Default loop on

* Create Medium speed symbol slot

* True/False are no longer defined, move to off string + slightly smoother lerp animations
2021-03-15 21:43:01 +11:00
Ben V. Brown
7fbfde7b33 Correct a few missed time values from the tick rate change (#874)
* Pass over all refs to xTaskGetTickCount()

* That wasn't a second 😓

* Update FreeRTOSConfig.h

* Fix warning in usb code; style; fix slow description
2021-03-15 21:01:09 +11:00
Alvin Wong
47692024c5 Impl. CJK support with zh-TW and yue-HK translations
Also add support for generating font table using the WenQuanYi Bitmap
Song font.
2021-02-07 00:10:38 +08:00
Ben V. Brown
f786901da0 Formatting the C/C++ files 2021-01-17 10:48:52 +11:00
Ben V. Brown
184b2c909f ./workspace/TS100 -> ./source/ 2021-01-17 09:43:55 +11:00