1
0
forked from me/IronOS
Commit Graph

19 Commits

Author SHA1 Message Date
Ben V. Brown
e065be37d9 Force SC7 to probe last 2022-02-12 18:25:52 +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
a3d5902ed1 Remove int cast 2021-09-25 10:35:11 +10:00
Ben V. Brown
04fce5d669 Fix enum annocations 2021-09-25 10:31:17 +10:00
Ben V. Brown
17917404df Fix formatting 2021-09-25 10:27:39 +10:00
discip
7a67b064ba Update MOVThread.cpp 2021-09-25 01:32:15 +02:00
discip
dd85780447 Update MOVThread.cpp 2021-09-25 01:29:45 +02:00
discip
ba0ed93989 Update MOVThread.cpp 2021-09-25 01:20:06 +02:00
discip
412f1fa60f Update MOVThread.cpp 2021-09-25 01:10:53 +02:00
discip
46a62bc4f5 Update MOVThread.cpp 2021-09-25 00:55:45 +02:00
discip
2467e6f004 Update MOVThread.cpp 2021-09-25 00:43:52 +02:00
discip
9f7a7ea0d0 show name of accelerometer in debug menu
Instead of displaying numbers in debug menu, show the actual name of the accelerometer.
2021-09-25 00:17:44 +02:00
Ben V. Brown
2bfb8a6535 Unify settings for each model into once place 2021-09-15 20:24:41 +10:00
Ben V. Brown
eb2a748e3f Pass one settings refactor 2021-09-12 13:31:03 +10: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
Ben V. Brown
1f6a3ad167 Pinecil uart (#830)
* Creating uart debug handler

* Simpler get raw uV tip

* Update Setup.cpp

* Debug out working. Moved Logo

Need to update docs around logos before merging this in

* Add in current pwm level + fix signed int

* Update moving logo page for pinecil by 64k

* Update TipThermoModel.h
2021-02-02 19:53:19 +11:00
Ben V. Brown
2425902fbc Hotfix: BMA Accel wedges I2C if probed too fast after boot
Only an issue on Pinecil as it boots much faster than Miniware units.
2021-01-17 20:13:02 +11:00
Ben V. Brown
f786901da0 Formatting the C/C++ files 2021-01-17 10:48:52 +11:00
Ben V. Brown
184b2c909f ./workspace/TS100 -> ./source/ 2021-01-17 09:43:55 +11:00