Commit Graph

22 Commits

Author SHA1 Message Date
Ben V. Brown
3bb1b7bc32 Startup behaviour fixes (#1306)
* Reduce PPS max to 20V to avoid instability

Some PSU's cant actually run at 21V

* Creating a rough draft of a "pre start check" concept

* Newer alpine

* Cleaning up MHP detection

* Cleanup comments

* PID: Run prestart based on ADC IRQ rather than times

* MHP30: Far better startup for detecting tip gain

* Newer alpine for github CI
2022-06-16 20:21:46 +10:00
Ben V. Brown
f5cb42c9d7 Infinite logo (#1309)
* Check for button timeout of infinite

* Dedupe

* Alpine bump
2022-06-16 20:21:30 +10:00
Ben V. Brown
6b3ba37243 Use alpine image for clang-format 2022-02-05 13:34:04 +11:00
Ben V. Brown
e52da0088d Update Dockerfile 2022-01-08 12:25:03 +11:00
Ben V. Brown
cd86c34b90 Add musl headers for multi-lang 2022-01-07 21:57:42 +11:00
Ben V. Brown
3335298250 Update Dockerfile 2022-01-06 23:50:48 +11:00
Ben V. Brown
b6d2846ead test 2022-01-06 18:58:58 +11: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
b916e4ae25 Add dfu-util dep 2021-09-24 13:16:03 +10:00
Ben V. Brown
5f7d9dd042 Print formatting error 2021-05-21 20:20:24 +10:00
Ben V. Brown
1230ee08aa Update to latest arm released compiler 2021-03-21 22:13:37 +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
3e62afc455 Move to nuclei compiler 2020-10-13 22:31:46 +11:00
Ben V. Brown
adc58ffecf Merge branch 'master' into pinecil 2020-09-17 19:07:55 +10:00
Ben V. Brown
f5bc1e15b5 CI performance (#690)
More CI performance increase

* Runs all builds in parallel
* Avoids using the extra docker container in CI
2020-09-06 13:28:24 +10:00
Ben V. Brown
372f8e3565 Update Dockerfile 2020-08-29 14:39:46 +10:00
Ben V. Brown
2becaa5eab Further work on Pinecil compile 2020-08-18 18:58:00 +10:00
Ben V. Brown
3560f6c5c1 Add riscv compiler to docker image 2020-08-16 18:27:45 +10:00
Ben V. Brown
24f6da9b50 Update to newest compiler from ARM 2020-05-30 13:28:21 +10:00
Ben V. Brown
341d7b1d5a Pin ubuntu version 2020-05-30 11:39:28 +10:00
Ben V. Brown
636edcbd50 Drop github-releases, decided against auto releases 2019-12-26 11:04:33 +11:00
Ben V. Brown
cc79fcb4cf Rough pass at builder 2019-12-23 18:36:10 +11:00