1
0
forked from me/IronOS
Commit Graph

33 Commits

Author SHA1 Message Date
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
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
b161192691 Merge branch 'master' into messing_with_pd 2021-04-17 10:53:58 +10:00
Alvin Wong
001d91988c Fix formatting 2021-04-12 20:45:26 +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
Alvin Wong
82620c685d Change translation strs to be stored in one block 2021-04-09 14:45:33 +08:00
Alvin Wong
09a58f6f48 Use settings desc by indexing instead of direct pointer 2021-04-09 03:01:14 +08:00
Alvin Wong
4810a67e2e Remove unused translation strings 2021-04-09 00:46:10 +08:00
Ben V. Brown
d56332d06b Merge branch 'master' into messing_with_pd 2021-04-05 20:01:40 +10:00
Alvin Wong
ab1b48a0f2 Change ResetOKMessage to use warnUser 2021-04-05 16:40:36 +08:00
Alvin Wong
33901b688a Change warnUser to use printWholeScreen 2021-04-05 16:40:36 +08:00
Alvin Wong
e01361ddde Add messageWarn translation definition type 2021-04-05 16:40:31 +08:00
Alvin Wong
55fa5c95e4 Change SettingsShortNames to use one string
This unifies its behaviour with SettingsMenuEntries.
2021-04-05 15:48:06 +08:00
Alvin Wong
12f98e5f9c Remove unnecessary array sizes 2021-04-05 15:41:10 +08:00
Ben V. Brown
77fd9f6a2d Move configuration into inc 2021-04-04 22:48:41 +10:00
Alvin Wong
80b86ea083 Remove unused menu strings 2021-03-29 03:26:39 +08:00
Alvin Wong
c549c77aaf Refactor: Use enum to index settings descriptions 2021-03-24 23:58:45 +08:00
Ben V. Brown
04d72cbcd8 Allow menu items to be skipped automatically | skip power pulse settings if its turned off 2021-03-18 22:01:02 +11:00
Ben V. Brown
bb379e4ac0 Create Settings Off char 2021-03-16 21:42:11 +11:00
Devydd
c13991cd25 Add user-adjustable "time between Power Pulses" and "Power Pulse duration" 2021-03-16 01:15:05 +01: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
PlayDay
2796f095af Animated icons (#866)
* Add animation Icons

* 2D dimensional array

* Added animation to GUI

* Added Adnimation Speed setting

* Added loop

* Added Loop switch

* Use Checkbox instead of +/-

* Animations can now be turned off

* Optimize animation code

* Move animation options to UI settings
2021-03-15 18:01:12 +11:00
PlayDay
ca6122d3be N/A now translatable 2021-03-08 06:43:20 +01:00
PlayDay
9e77b84a14 Increment settings version 2021-03-07 11:41:00 +01:00
PlayDay
def2aa89fd Add more voltage settings 2021-03-07 11:34:04 +01:00
Ben V. Brown
3e56826e04 Run formatter 2021-02-24 20:30:36 +11:00
Thomas Weißschuh
15e51f9faa Generate per-language translation sources (#806)
This generates dedicates Translation.cpp files for translation language
and derives all language-specific data from them.

The Makefile is extended to also take care of generating these source
files.
This allows reuse of nearly all object files between builds of different
languages for the same model and regenerating the translation sources if
necessary.
This speeds up the release builds and the normal write-compile-cycle
considerably.
It also eliminates miscompilations when manually building different
languages.
2021-02-02 19:44:34 +11:00
Ben V. Brown
bf5055edaa Format headers 2021-01-17 10:53:49 +11:00
Ben V. Brown
184b2c909f ./workspace/TS100 -> ./source/ 2021-01-17 09:43:55 +11:00