1
0
forked from me/IronOS
Commit Graph

140 Commits

Author SHA1 Message Date
Ben V. Brown
e53c657798 Poking IRQ 2022-04-18 21:23:07 +10:00
Ben V. Brown
c56772a779 Slow down I2C 2022-04-18 20:09:07 +10:00
Ben V. Brown
5edd735f72 Buttons working 2022-04-18 19:46:47 +10:00
Ben V. Brown
24c424c9d8 Update IRQ.cpp 2022-04-18 19:24:43 +10:00
Ben V. Brown
0c13aae5f0 Format adc headers 2022-04-18 19:24:23 +10:00
Ben V. Brown
fc1f28f2b8 Working scheduling of ADC 🎉 2022-04-18 19:21:40 +10:00
Ben V. Brown
1d9b4d851e Starting ADC setup 2022-04-13 21:27:04 +10:00
Ben V. Brown
8ec723a749 Roughing out scheduling timer0 2022-04-13 20:46:51 +10:00
Ben V. Brown
dda595a2e8 Turn off I2C reading for now 2022-04-13 18:28:22 +10:00
Ben V. Brown
e83b722301 Update I2C_Wrapper.cpp 2022-04-13 17:53:55 +10:00
Ben V. Brown
0ab56da90a I2C ish 2022-04-12 21:08:32 +10:00
Ben V. Brown
2b65833885 Verbose boot 2022-04-12 19:22:54 +10:00
Ben V. Brown
fbdbe4fcbf Setup template 2022-04-12 19:22:43 +10:00
Ben V. Brown
a8f9b417f6 Update preRTOS.cpp 2022-04-12 19:21:15 +10:00
Ben V. Brown
17600b1694 Update pinmux_config.h 2022-04-12 19:21:06 +10:00
Ben V. Brown
da311d9bf1 Update peripheral_config.h 2022-04-12 19:21:03 +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
131386f1c0 rf_para_flash_t is missing defs 2022-04-02 18:28:31 +11:00
Ben V. Brown
66a4e05b74 Remove bl706 2022-04-02 18:22:18 +11:00
Ben V. Brown
03a7cb4dd3 Bring in sdk as its broken
Far, Far to much crap to fix with regex now
2022-04-02 18:17:52 +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
Ben V. Brown
60fee1a4b0 fork 2022-04-02 15:39:21 +11: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
232009bf54 Logo rework (#1232)
!Allows for new logo format that supports animation!
Also moves logos out of repo into their own repo for ease of management.


Changes:
* Remove deprecated logos
* Draft new Bootloader decoder
* Use new logo handler
* Simplify logo code further
* Fix time bug on static images
* Fix exit at end of animation
* Docs
* Interframe delay in 5ms increments
* Quick pass handling empty updates
* Exit at the end _after_ the frame delay
* One final delay
* Fix for overrun of logo data
* Fixes https://github.com/Ralim/IronOS-Meta/issues/7
2022-03-14 09:08:05 +11:00
Ben V. Brown
d6f4e1ee92 Merge branch 'master' into ts80-accel 2022-02-12 11:58:52 +11:00
Ben V. Brown
3747d22773 Flip SC7 2022-02-12 11:30:03 +11:00
Ben V. Brown
16882fee61 only vbus mod check on pinecil
If a TS80P has it connected, other things blow up first at 20V
2022-02-12 10:34:22 +11:00
Ben V. Brown
a84bf967e1 Toggle on all known accelerometers 2022-02-09 22:00:54 +11:00
Ben V. Brown
641fc76e49 Update configuration.h 2022-02-08 20:55:07 +11:00
Ben V. Brown
4f38236a00 Bugfix: Only change speed of pwm at end of cycle interrupt 2022-02-05 10:23:56 +11:00
Ben V. Brown
c38dfb6007 Dont wrap negative deltas 2022-02-05 09:59:45 +11:00
Ben V. Brown
6b25e603e0 use IRQ mode 2022-01-30 13:30:44 +11:00
Ben V. Brown
969611cf79 Turn DMA back on 2022-01-30 11:42:41 +11:00
Ben V. Brown
aea4a01d81 Update I2C_Wrapper.cpp 2022-01-12 20:03:58 +11:00
Ben V. Brown
f79dec5ee3 TEMP: Disable DMA I2C 2022-01-12 20:03:44 +11:00
Ben V. Brown
397c7a2406 Update stm32f1xx_hal_msp.c 2022-01-12 19:32:21 +11:00
discip
9a05a392c1 changed default orientation to auto for Pinecil 2022-01-07 02:54:36 +01:00
discip
4e890dd569 changed default orientation to auto for TS100/80(P) 2022-01-07 02:53:21 +01:00
Ben V. Brown
7a654caf2a Handle different calibration offset ranges for MHP30 2021-12-19 11:23:42 +11:00
Ben V. Brown
6d7fc2f689 Update configuration.h 2021-12-15 11:19:35 +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
4951d72aee Bump power limits 2021-09-17 21:38:13 +10:00
Ben V. Brown
87b22e52ed Rough pass 2021-09-17 21:13:21 +10:00
Ben V. Brown
f88e6bccf4 Update Setup.cpp 2021-09-15 21:18:23 +10:00
Ben V. Brown
6f46fc0bed style 2021-09-15 20:27:03 +10:00
Ben V. Brown
2bfb8a6535 Unify settings for each model into once place 2021-09-15 20:24:41 +10:00
Ben V. Brown
e18c877a96 Removed unused 2021-09-15 18:53:07 +10:00