Currently, IronOS increases the tip resistance by 0.5 ohms for the purposes of USB-PD negotiation. On the Pinecil V2, this can cause issues with power supplies that only supply 60W, such as the Framework 60W supply. At 6.2 ohms, 20V will produce 3.2A, but at 6.7 ohms it will produce 2.985 ohms. This 0.5 ohms increase will cause the V2 to negotiate 20V, draw more than 3A, and trip the overcurrent protection, causing it to reboot. Removing this increase will therefore cause it to fall back to the next highest voltage it can achieve.
* Zipping compiler warning about POW_PD_EXT / Option A
* Zipping compiler warning about POW_PD_EXT / Option B
* BSP/configuration.h: implement option A for POW_PD_EXT warning
---------
Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>
* Update header to declare full buffer size
* Strip refactoring
* Refactor the OLED scrolldown part 1
* High res capable scroll down
* Allow button press to skip scroll
* Bunch of Misc Fixups
* Refactor I2C_SOFT to new #define
* Stitch in some of TS101
Update ShowStartupWarnings.cpp
Update OLED.hpp
Update stm32f1xx_hal_msp.c
Update Setup.cpp
Update Power.cpp
Update Pins.h
Update configuration.h
Power Muxing
Working dual input Voltage handler
Scan mode required for differing injected channels
Inject both dc readings
Update configuration.h
Update configuration.h
Use htim4 for adc control on TS101
Refactor htim names
Add ADC_TRIGGER
Speed up BB I2C a lil
Update configuration.h
Update startup_stm32f103t8ux.S
Update configuration.h
Add LIS2DH clone
LIS2DH gains another clone
Create tooling to allow mapping accelerometers onto different buses
Update startup_stm32f103t8ux.S
Ensure PD IRQ is pulled up
* Stitch in some of TS101
Update ShowStartupWarnings.cpp
Update OLED.hpp
Update stm32f1xx_hal_msp.c
Update Setup.cpp
Update Power.cpp
Update Pins.h
Update configuration.h
Power Muxing
Working dual input Voltage handler
Scan mode required for differing injected channels
Inject both dc readings
Update configuration.h
Update configuration.h
Use htim4 for adc control on TS101
Refactor htim names
Add ADC_TRIGGER
Speed up BB I2C a lil
Update configuration.h
Update startup_stm32f103t8ux.S
Update configuration.h
Add LIS2DH clone
LIS2DH gains another clone
Create tooling to allow mapping accelerometers onto different buses
Update startup_stm32f103t8ux.S
Ensure PD IRQ is pulled up
Allow toggle which button enters PD debug
* Update Pins.h
* Fix hard coded IRQ Pin
Update stm32f1xx_it.c
* Enable EPR
* Tip resistance measurement
* TS101 is a direct drive tip
Update BSP.cpp
* Add S60 and TS101 to builds
Update push.yml
* Update MOVThread.cpp
* Refactor power menu handler
* Correct prescaler
Forgot to update since I changed the period
* Tune in the timer divider for tip control to make PWM less audible
---------
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
* source/Makefile modifications: add HOST_PYTHON variable for flexibility of environment setup / extend clean target to make source directory as new / rename -.d autogenerated temp file
* Makefile: keep Hexfile dir by clean target, add mrproper target to clean all
* Makefile: rename mrproper target to clean-all
---------
Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>