Commit Graph

59 Commits

Author SHA1 Message Date
Ben V. Brown
5de5dd48a2 Shorter ID padding 2022-06-16 22:40:33 +10:00
Ben V. Brown
ca0f35ceea Merge branch 'dev' of https://github.com/Ralim/IronOS into magic 2022-06-16 21:44:24 +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
3efc7a033c Merge remote-tracking branch 'origin/dev' into magic 2022-06-16 20:35:21 +10:00
Ben V. Brown
f397e49533 Hookup PWM 2022-04-19 19:39:59 +10:00
Ben V. Brown
bb28bb45b5 Trying to chase down why __libc_init_array isnt working yet 2022-04-18 22:27:25 +10:00
Ben V. Brown
fc1f28f2b8 Working scheduling of ADC 🎉 2022-04-18 19:21:40 +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
Ben V. Brown
bf4e57f7a3 Poking I2C 2022-04-02 21:36:34 +11:00
Ben V. Brown
4cacc063d3 Remove yet more 2022-04-02 19:25:32 +11:00
Ben V. Brown
2f11c8fb09 Remove crapton of junk 2022-04-02 19:14:03 +11:00
Ben V. Brown
66a4e05b74 Remove bl706 2022-04-02 18:22:18 +11:00
Ben V. Brown
f004fab4c5 Drop git module 2022-04-02 18:15:57 +11:00
Ben V. Brown
8bd6e0983e massaging makefile 2022-04-02 17:37:22 +11: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
Ben V. Brown
053f8ece3e Turn on more 2021-03-18 22:21:35 +11:00