mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
USB-PD Support for Sequre S60P (#1883)
* Basic Init * Rought implementation of fs2711 usb pd interface * Rought implementation of fs2711 usb pd interface * Still needs work overcurrent protection keeps getting tripped * New pdo selection logic * Update push.yml * Update push.yml * Update push.yml * Update Makefile * Adds PPS * Removed unused define * Adds PPS * Apply suggestions from code review Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com> * Code review changes * Added osDelay include * New line alignment for S60 softwarei2c * Code review * Fixes code review stuff * code review changes * Change voltage limit to 20 as that's what the device is rated for * Shortened wait time for usb pd * Fixed issues that cuase S60P to restart constantly * fixing minimal OLED brightness With the current settings, the OLED turns off if the first level is selected. * Adds protocol to s60p debug menu * loosened fs2711 protocol selection timing * Adds PDO register reading to negotiation logic * Fixes FS2711 timeout issue and cleans up driver * Adds FS2711 protocol negotiation to power loop * Removed uneeded define * Reverts changes to Font.h and adds clang-format comments --------- Co-authored-by: Ben V. Brown <Ralim@Ralimtek.com> Co-authored-by: discip <53649486+discip@users.noreply.github.com> Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>
This commit is contained in:
@@ -142,12 +142,12 @@ CPUFLAGS=-mcpu=cortex-m3 \
|
||||
-mfloat-abi=soft
|
||||
|
||||
flash_size=62k
|
||||
ifeq ($(model),S60)
|
||||
bootldr_size=0x4400
|
||||
DEVICE_DFU_ADDRESS=0x08004400
|
||||
else
|
||||
ifeq ($(model), S60P)
|
||||
bootldr_size=0x5000
|
||||
DEVICE_DFU_ADDRESS=0x08005000
|
||||
else
|
||||
bootldr_size=0x4400
|
||||
DEVICE_DFU_ADDRESS=0x08004400
|
||||
endif
|
||||
DEVICE_DFU_VID_PID=0x1209:0xDB42
|
||||
endif # ALL_SEQURE_MODELS
|
||||
|
||||
Reference in New Issue
Block a user