Commit Graph

50 Commits

Author SHA1 Message Date
Ben V. Brown
1fbcdcdf98 Pinecil V2 (#1341)
* Add SDK

* fork

* massaging makefile

* Drop git module

* Bring in sdk as its broken

Far, Far to much crap to fix with regex now

* Remove bl706

* rf_para_flash_t is missing defs

* Remove crapton of junk

* Remove yet more

* Poking I2C

* Update peripheral_config.h

* Update pinmux_config.h

* Update preRTOS.cpp

* Update main.hpp

* Setup template

* Verbose boot

* I2C ish

* Update I2C_Wrapper.cpp

* Update main.cpp

* Turn off I2C reading for now

* Display running

* Roughing out scheduling timer0

* Starting ADC setup

* Working scheduling of ADC 🎉

* Format adc headers

* Update IRQ.cpp

* Buttons working

* Slow down I2C

* Poking IRQ

* Larger stack required

* Accel on

* Trying to chase down why __libc_init_array isnt working yet

* Working c++

* Cleanup

* Bump stacks

* I2C wake part workaround

* Cleanup

* Working PWM init

* qc draft

* Hookup PWM

* Stable enough ADC

* ADC timing faster + timer without HAL

* Silence

* Remove boot banner

* Tuning in ADC

* Wake PID after ADC

* Remove unused hal

* Draft flash settings

* Working settings save & restore

* Update to prod model

* Cleanup

* NTC thermistor

* Correct adc gain

* Rough tip resistance progress

* Scratch out resistance awareness of the tip

* better adc settings

* Tweaking ADC

* ADC tweaking

* Make adc range scalable

* Update Dockerfile

* Update configuration.h

* Can read same ADC twice in a row

* ADC Setup

* Update PIDThread.cpp

* Lesser adc backoff

* Update USBPD.h

* Add device ID

* Update BSP_Power.h

* Update BSP.cpp

* DrawHex dynamicLength

* Shorter ID padding

* Show validation code

* tip measurement

* Create access for w0w1

* Expose w0 w1

* Enable debug

* crc32

* Device validation

* wip starting epr

* Logic refactor

* Safer PWM Init

* PD cleanups

* Update bl702_pwm.c

* Update power.cpp

* Update usb-pd

* io

* EPR decode

* Better gui for showing pd specs

* Rough handler for capabilities

* EPR

* Fix > 25V input

* Perform pow step after PPS

* Update BSP.cpp

* Fix timer output

* QC3

* Add tip resistance view

* Hold PD negotiation until detection is done for tip res

* Get Thermal mass

* Tip res =0 protection

* Update PIDThread.cpp

* Update GUIThread.cpp

* Rewrite tip resistance measurement

* Update GUIThread.cpp

* Fix fallback

* Far better tip resistance measurement

* Fix QC 0.6V D-

* Convert the interpolator to int32

* Correct the NTC lookup

* Update BSP.cpp

* Update Setup.cpp

* .

Update configuration #defines

More backported functions

* Update usb-pd

* More missed updates

* Refactor BSP

Magic BSP -> PinecilV2
Pine64 BSP -> Pinecil

Update Makefile

* Add Pinecilv2 to CI

* Pinecil v2 multi-lang

Update push.yml

* Update HallSensor.md

* Update README.md

* Fix wrong prestartcheck default

* Fix logo mapping

* Update Makefile

* Remove unused font block

* Style

* Style

* Remove unused timer funcs

* More culling TS80P

* Revert "More culling TS80P"

This reverts commit 2078b89be7.

* Revert "Remove unused timer funcs"

This reverts commit 0c693a89cc.

* Make VBus check maskable

* Remove DMA half transfer

* Drop using brightness and invert icons and go back to text

Saves flash space

* Refactor settings UI drawing descriptions

* Shorten setting function names

* Store bin file assets

* Fix MHP prestart
2022-08-19 15:39:37 +10:00
discip
0b8192b690 Bootup logo settings (#1241)
Adds ability to adjust the time shown for the bootup logo.
2022-04-02 12:39:14 +11:00
Ben V. Brown
4a5afc6301 Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 09:09:18 +11:00
Ben V. Brown
eb75a96671 Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 09:09:10 +11:00
Ben V. Brown
1757ad442f Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 09:09:04 +11:00
Ben V. Brown
7ced8531c5 Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 09:00:52 +11:00
Ben V. Brown
021eb1a7e6 Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 09:00:30 +11:00
Ben V. Brown
5f52141a42 Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 09:00:19 +11:00
Ben V. Brown
ca21c4859d Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 09:00:12 +11:00
Ben V. Brown
d375c088b1 Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 08:59:59 +11:00
Ben V. Brown
59ef869c33 Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 08:57:12 +11:00
Ben V. Brown
da5d3ca42b Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 08:56:49 +11:00
Ben V. Brown
7286ff4db8 Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 08:56:37 +11:00
Ben V. Brown
c0808e8c9c Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 08:56:19 +11:00
Ben V. Brown
2289034e45 Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 08:56:11 +11:00
Ben V. Brown
6da9bae3eb Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 08:56:02 +11:00
Ben V. Brown
58bac37ed7 Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 08:55:54 +11:00
Ben V. Brown
d2723ddf61 Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 08:55:45 +11:00
Ben V. Brown
59a75bb8d0 Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 08:55:32 +11:00
Ben V. Brown
dbb2605042 Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 08:47:58 +11:00
Ben V. Brown
98f4ab79bd Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 08:47:49 +11:00
Ben V. Brown
c06b40fd51 Update Translations/translations_def.js
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2022-01-21 08:41:03 +11:00
Ben V. Brown
b36f84ea08 Update translations_def.js 2022-01-20 20:37:54 +11:00
Ben V. Brown
900957a9ff Update translations_def.js 2022-01-19 20:53:49 +11:00
Ben V. Brown
649d6a330b More grammer touchups 2022-01-19 20:52:54 +11:00
Ben V. Brown
8c29347c26 Update definitions and regenerate output 2022-01-19 20:49:04 +11:00
Ben V. Brown
b0dfeec6f2 Update translations_def.js 2022-01-18 23:04:24 +11:00
Ben V. Brown
1e065f0868 Update header file to remove the unused settings 2022-01-18 21:15:47 +11:00
Ben V. Brown
b64c4f3d53 Show descriptions for all fields 2022-01-18 21:06:06 +11:00
Ben V. Brown
686657a418 Adding descriptions to all fields 2022-01-18 21:00:33 +11:00
Ben V. Brown
ee5216ce3b Update translation editor to show descriptions and add said descriptions to settings
Working on #1092
2022-01-18 20:33:57 +11: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
Ben V. Brown
45116fb7b1 Updating translations 2021-09-12 19:03:25 +10:00
Ben V. Brown
976512fbd7 Merge branch 'master' into ralim/const-temp-catch 2021-06-09 08:49:07 +10:00
Varga Zsolt
81de60e1e4 USB PD timeout added 2021-06-06 18:45:00 +02:00
Ben V. Brown
49167fdc5a Translations, add warning message 2021-06-06 08:12:58 +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
Alvin Wong
4810a67e2e Remove unused translation strings 2021-04-09 00:46:10 +08:00
Alvin Wong
dd1801925b Change menu text to use whole screen msg format 2021-04-05 16:40:36 +08: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
80b86ea083 Remove unused menu strings 2021-03-29 03:26:39 +08: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
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
def2aa89fd Add more voltage settings 2021-03-07 11:34:04 +01:00
Thomas Weißschuh
884a830d62 TS100: move translation generation to Makefile
Translation.cpp is now automatically regenerated when necessary.
This frees the developer from having to remember to execute build.sh
after the translations have changed.

Translation.cpp has been moved from Core/Src/ to the new Core/Gen/ as
otherwise it would end up twice in SOURCE, once through the source
discovery and once through the explicit entry.
2021-01-16 12:25:03 +01:00