Ben V. Brown
6ca5f5c08d
Merge branch 'dev' into refactor-gui-files
2022-11-25 21:24:49 +11:00
Ben V. Brown
28c74a152c
Update Makefile
2022-11-22 18:25:51 +11:00
Ben V. Brown
eacb6ac1cd
Use ROM
2022-11-06 22:07:55 +11:00
Ben V. Brown
6f3a2fb775
Merge branch 'dev' into alvin/cjk-update
2022-11-06 21:12:40 +11:00
discip
680c25ab25
Update Makefile
2022-11-04 23:19:40 +01:00
Alvin Wong
a703a7c2bc
Revert "Always use compressed data even for single languages ( #1430 )"
...
We're getting "region `RAM' overflowed by 144 bytes" for MHP30_ZH_CN.
This reverts commit 3e939a7d12 .
2022-10-25 18:52:54 +08:00
Ben V. Brown
3e939a7d12
Always use compressed data even for single languages ( #1430 )
...
* Always use compressed data even for single languages
* Update push.yml
2022-10-22 12:26:57 +11:00
Ben V. Brown
bf13020fef
Remove debug output meta
2022-10-22 12:01:53 +11:00
Ben V. Brown
30ef41ad5a
Update Makefile
2022-10-22 11:54:39 +11:00
Ben V. Brown
e8fc4c0039
More optimisation flags
2022-10-22 11:46:33 +11:00
Ben V. Brown
23eb7504fb
Trimming Miniware
2022-10-22 11:17:27 +11:00
Ben V. Brown
1a3d6ba219
Fixing up TS80P Build ( #1429 )
...
* Silence wchart warning + go back to simple size limiter
Going from smart linker file to basic #defines to make things just easier to debug
* 2 deg c increments for NTC table
* Update cmsis_gcc.h
* Drop special linker
* Update portmacro.h
* Update Makefile
2022-10-20 18:06:05 +11:00
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
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
787bc46bdc
SC7A20 tweaks ( #1251 )
...
* Clean up handling of addresses
* Update SC7A20.hpp
* Try remapped Accel readings
* Fake LIS setup?
* Refining build options
2022-04-03 12:37:27 +10:00
River B
c8d8ff31e8
added VI langage
...
added VI to language list
2022-03-09 19:35:21 -08:00
Ben V. Brown
12e8e01ca7
Update Makefile
2022-01-08 12:28:55 +11:00
Ben V. Brown
18c376deff
Cleanup Makefile
2022-01-08 12:25:08 +11:00
Ben V. Brown
d712f6875b
Update Makefile
2022-01-07 21:28:25 +11:00
Ben V. Brown
15d4da9b81
Update Makefile
2022-01-07 08:38:27 +11:00
Ben V. Brown
93de082b06
Make patch specs to not use nano math
...
Since Alpine isnt shipping it
2022-01-06 23:51:32 +11:00
Ben V. Brown
b6d2846ead
test
2022-01-06 18:58:58 +11:00
Alex Liu
8bb26eb39c
Enable custom language combinations at build time
...
Added a parameter to allow custom language combinations to be selected at build time.
2021-11-27 03:38:36 -08: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
e0ccc695bb
Fix VID/PID for dapboot
2021-09-25 11:37:16 +10:00
Ben V. Brown
113a9c6250
Add dfu file step
2021-09-24 13:16:17 +10:00
Ben V. Brown
af0adb0708
Reworking raw adc, handle temp done
...
Pre seed adc values
Pinecil port
Update PIDThread.cpp
TRGO is more stable for timing (buffered)?
2021-09-11 22:25:57 +10:00
Ben V. Brown
4ef082d228
Update Makefile
2021-05-21 20:26:57 +10:00
Ben V. Brown
062a4f78fd
Update Makefile
2021-05-21 20:24:29 +10:00
Ben V. Brown
5f7d9dd042
Print formatting error
2021-05-21 20:20:24 +10:00
Ben V. Brown
b10a65dd74
Fix bootloader size
2021-05-04 18:54:09 +10:00
Ben V. Brown
e4f7946dcb
WiP on WS2812 Protocol driver
2021-05-02 21:22:29 +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
6d0f9897b9
Adding MHP30 to makefile
2021-04-27 21:44:35 +10:00
Ben V. Brown
90f23a9228
WiP on hotplate temp reading
2021-04-27 21:35:07 +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
022879babd
Merge pull request #924 from alvinhochun/lang-jp
...
Add Japanese translation
2021-04-13 08:24:11 +10:00
Alvin Wong
07fb8adb7f
Impl. initial translation strings compression
2021-04-12 19:57:29 +08:00
Alvin Wong
82620c685d
Change translation strs to be stored in one block
2021-04-09 14:45:33 +08:00
Alvin Wong
dbcd093c77
Add Japanese translation
2021-04-07 18:46:22 +08:00
Alvin Wong
2d33708e9e
Add ZH_CN translation
2021-04-07 16:09:03 +08:00
Alvin Wong
e01361ddde
Add messageWarn translation definition type
2021-04-05 16:40:31 +08:00
Ryan Jarvis
ed98803774
Fix CI builds
2021-04-03 21:38:21 -07:00
Thomas Weißschuh
45d2780507
Always generate debug symbols
...
The debug symbols are only part of the generated ELF files,
they are stripped from the .bin and .hex files.
So there should be no disadvantage of always generating it.
Before:
52456 Pinecil_EN.bin
81700 Pinecil_EN.elf
140759 Pinecil_EN.elf.map
147554 Pinecil_EN.hex
After:
52456 Pinecil_EN.bin
650556 Pinecil_EN.elf
191974 Pinecil_EN.elf.map
147554 Pinecil_EN.hex
2021-03-28 22:36:33 +02:00
Alvin Wong
f3cfcb2bca
Make translation obj files depend on the headers
2021-03-24 23:57:46 +08:00
Ben V. Brown
bc05ed7e86
Update Makefile
2021-03-18 22:36:33 +11:00
Ben V. Brown
2c66d91cfe
Add make command to validate formatting
2021-03-18 22:30:20 +11:00