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
4d83f4febc
Change 6.2/8 ohm threshold to 4000
2022-09-25 11:11:47 +10:00
Ben V. Brown
67d2eda7de
Add SC7 accelerometer for MHP30 ( #1377 )
2022-08-23 09:30:49 +10: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
f1ceb0ec62
Merge branch 'dev' into pd-epr
2022-07-25 17:34:13 +10:00
Ben V. Brown
d47a627b1a
Update portmacro
2022-07-25 16:56:37 +10:00
Ben V. Brown
138e3260da
Update portmacro.h
2022-07-25 16:41:57 +10:00
Ben V. Brown
aac42199f6
getTipResistanceX10()
2022-07-18 22:54:56 +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
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
discip
e2eea84e36
removed some more redundant entries ( #1312 )
2022-06-14 15:12:20 +10:00
discip
c0bde3c678
Merge pull request #1 from discip/patch-2
...
Update Power.cpp
2022-05-04 00:15:59 +02:00
discip
a5975b3385
Update Power.cpp
2022-05-04 00:13:46 +02:00
discip
14eb587856
Update Pins.h
2022-05-04 00:10:44 +02:00
Ben V. Brown
a73f634cff
Pinecil pd tweaking ( #1272 )
...
* Raise PD max to 21V
* gui -> settingsGUI
* VBus probe cache
* Rough pass PD capabilities display
* Cleanup build errors
* PD Debug menu working
* Update make_translation.py
* settingsGUI
* Update GUIThread.cpp
* Nicer debug prints
* Show VBus in PD debug
* Update GUIThread.cpp
* Update make_translation.py
* Add docs
* Build tweaks for TS80P 😢
* Show PPS ranges
2022-04-03 12:58:07 +10: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
Ben V. Brown
ad857a08ab
QC code does not get control of vin filter
2021-09-14 22:01:10 +10:00
Ben V. Brown
a57449ed0f
Retiming all the PWM's
2021-09-14 21:48:37 +10:00
Ben V. Brown
55a2cb3f24
Merge branch 'master' into refactor-adc
2021-09-12 19:18:58 +10:00
Ben V. Brown
8fd2f6e95c
Second pass
2021-09-12 14:03:09 +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
Varga Zsolt
2755bb15b2
Revert "Test"
...
This reverts commit 3e502f462d .
2021-06-08 22:57:09 +02:00
Varga Zsolt
3e502f462d
Test
2021-06-08 22:49:48 +02:00
Varga Zsolt
a75d97360f
Suggestions mostly corrected
2021-06-07 01:09:41 +02:00
Ben V. Brown
0336432994
Format
2021-06-05 22:51:47 +10:00