STM32 USB-PD using UCPD PHY and TCPP01-M12

Product

TCPP01-M12, Overvoltage protection for USB-C or Power Delivery
X-NUCLEO-USBPDM1, USB Type-C Power Delivery SINK expansion board based on TCPP01-M12 for STM32 Nucleo
X-NUCLEO-SNK1M1, USB Type-C Power Delivery Sink expansion board based on TCPP01-M12 for STM32 Nucleo
STM32CubeMonUCPD, Monitoring and configuration software tool for STM32 USB-C and Power Delivery 3.0 applications

Documentation

AN5225: USB Type-C Power Delivery using STM32 MCUs and MPUs
AN5418: How to build a simple USB-PD sink application with STM32CubeMX
UM2552: Managing USB power delivery systems with STM32 microcontrollers

ST Wiki

USB Power Delivery overview

ST Community

USB PD How to use Augmented PDO (APDO), Reject PDO if APDO is available!
NUCLEO-L552ZE-Q USB PD “Request Power Profile” Issue
No connection in STM32CubeMonitor-UCPD (NUCLEO-G474RE + X-NUCLEO-USBPDM1)
Nucleo-G474 and X-Nucleo-USBPDM1 sink setup for continuous changement of PDOs and APDOs
Trying to get connection to STM32CubeMonitor-UCPD with NUCLEO-G474RE and X-NUCLEO-USBPDM1
Can I initiate a USB-C PPS PDO change from a source without an RDO from the sink?

YouTube

How to Create a STM32G0 USB-PD Device with STM32CubeIDE
STM32G0 OLT – USB Type-C USB Power Delivery (UCPD)

GitHub

github.com/STMicroelectronics/x-cube-tcpp/


Frequent acronyms

Acronym Definition
AM Alternate Mode: to specify the use of the super-speed lines for Video for example
APDO Augmented power data object. It is a PDO in the case of PPS
DFP Downstream Facing Port (Host data role)
DP Display Port
DRP Dual Role Power: the ability to change power role dynamically, meaning Source or Sink. The device toggles the pull-up/down resistor
EMC Electronically Marked Cable
GUI Graphical User Interface = STM32CubeMonitor-UCPD
HPM High-power mode?!
LPM Low-power mode?! Local Policy Manager?!
PDO Power Data Object: the definition of a power capability
PPS Programmable Power Supply: option in power delivery specification to be able to specify a voltage with 20 mV precision within a range.
RDO Request Data Object
SNK Sink = device asking for VBUS
SRC Source = device providing VBUS
TCPC Type-C port controller
TCPM Type-C port manager
UCPD USB Type-C® Power Delivery peripheral
UFP Upstream facing port (Device data role)
VDM Vendor Defined Message. Type of message used for the Alternate Mode

USB PD

make -j4 all 
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Utilities/TRACER_EMB/tracer_emb.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Utilities/TRACER_EMB/tracer_emb.d" -MT"Utilities/TRACER_EMB/tracer_emb.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Utilities/TRACER_EMB/tracer_emb.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Utilities/TRACER_EMB/tracer_emb_hw.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Utilities/TRACER_EMB/tracer_emb_hw.d" -MT"Utilities/TRACER_EMB/tracer_emb_hw.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Utilities/TRACER_EMB/tracer_emb_hw.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Utilities/GUI_INTERFACE/bsp_gui.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Utilities/GUI_INTERFACE/bsp_gui.d" -MT"Utilities/GUI_INTERFACE/bsp_gui.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Utilities/GUI_INTERFACE/bsp_gui.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Utilities/GUI_INTERFACE/data_struct_tlv.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Utilities/GUI_INTERFACE/data_struct_tlv.d" -MT"Utilities/GUI_INTERFACE/data_struct_tlv.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Utilities/GUI_INTERFACE/data_struct_tlv.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Utilities/GUI_INTERFACE/gui_api.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Utilities/GUI_INTERFACE/gui_api.d" -MT"Utilities/GUI_INTERFACE/gui_api.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Utilities/GUI_INTERFACE/gui_api.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/portable/heap_4.d" -MT"Middlewares/Third_Party/FreeRTOS/portable/heap_4.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/Third_Party/FreeRTOS/portable/heap_4.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/portable/port.d" -MT"Middlewares/Third_Party/FreeRTOS/portable/port.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/Third_Party/FreeRTOS/portable/port.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/CMSIS_RTOS/cmsis_os.d" -MT"Middlewares/Third_Party/FreeRTOS/CMSIS_RTOS/cmsis_os.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/Third_Party/FreeRTOS/CMSIS_RTOS/cmsis_os.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/Third_Party/FreeRTOS/Source/list.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/list.d" -MT"Middlewares/Third_Party/FreeRTOS/list.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/Third_Party/FreeRTOS/list.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/Third_Party/FreeRTOS/Source/queue.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/queue.d" -MT"Middlewares/Third_Party/FreeRTOS/queue.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/Third_Party/FreeRTOS/queue.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/Third_Party/FreeRTOS/Source/tasks.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/tasks.d" -MT"Middlewares/Third_Party/FreeRTOS/tasks.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/Third_Party/FreeRTOS/tasks.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/Third_Party/FreeRTOS/Source/timers.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/Third_Party/FreeRTOS/timers.d" -MT"Middlewares/Third_Party/FreeRTOS/timers.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/Third_Party/FreeRTOS/timers.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/src/usbpd_cad_hw_if.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_cad_hw_if.d" -MT"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_cad_hw_if.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_cad_hw_if.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/src/usbpd_hw.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_hw.d" -MT"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_hw.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_hw.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/src/usbpd_hw_if_it.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_hw_if_it.d" -MT"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_hw_if_it.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_hw_if_it.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/src/usbpd_phy.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_phy.d" -MT"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_phy.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_phy.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/src/usbpd_phy_hw_if.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_phy_hw_if.d" -MT"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_phy_hw_if.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_phy_hw_if.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/src/usbpd_pwr_hw_if.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_pwr_hw_if.d" -MT"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_pwr_hw_if.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_pwr_hw_if.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/src/usbpd_timersserver.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_timersserver.d" -MT"Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_timersserver.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/usbpd_timersserver.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Core/src/usbpd_trace.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Middlewares/ST/STM32_USBPD_Library/Core/usbpd_trace.d" -MT"Middlewares/ST/STM32_USBPD_Library/Core/usbpd_trace.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Middlewares/ST/STM32_USBPD_Library/Core/usbpd_trace.o"
arm-none-eabi-gcc -mcpu=cortex-m0plus -g3 -c -I../../Inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -x assembler-with-cpp -MMD -MP -MF"Example/CubeIDE/startup_stm32g071xx.d" -MT"Example/CubeIDE/startup_stm32g071xx.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Example/CubeIDE/startup_stm32g071xx.o" "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/CMSIS/Device/ST/STM32G0xx/Source/Templates/gcc/startup_stm32g071xx.s"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_adc.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_adc.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_adc.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_adc_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_adc_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_adc_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_comp.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_comp.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_comp.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_comp.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_cortex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_cortex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_cortex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_crc.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_crc.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_crc.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_crc.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_crc_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_crc_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_crc_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_crc_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_dma.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_dma.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_dma.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_dma_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_dma_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_dma_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_flash.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_flash.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_flash.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_flash_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_flash_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_flash_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_gpio.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_gpio.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_gpio.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_lptim.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_lptim.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_lptim.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_lptim.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_pwr.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_pwr.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_pwr.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_pwr_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_pwr_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_pwr_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_rcc.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_rcc.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_rcc.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_rcc_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_rcc_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_rcc_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_spi.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_spi.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_spi.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_spi_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_spi_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_spi_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_spi_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_tim.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_tim.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_tim.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_tim_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_tim_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_tim_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_uart.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_uart.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_uart.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_uart_ex.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_uart_ex.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_hal_uart_ex.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_dma.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_dma.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_dma.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_lpuart.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_lpuart.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_lpuart.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_lpuart.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_rcc.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_rcc.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_rcc.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_ucpd.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_ucpd.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_ucpd.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_ucpd.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_usart.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_usart.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_usart.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_usart.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_utils.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_utils.d" -MT"Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_utils.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/STM32G0xx_HAL_Driver/stm32g0xx_ll_utils.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD/USBPDM1_Sink_PPS/Src/system_stm32g0xx.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/CMSIS/system_stm32g0xx.d" -MT"Drivers/CMSIS/system_stm32g0xx.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/CMSIS/system_stm32g0xx.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Drivers/BSP/X-NUCLEO-USBPDM1/usbpdm1_usbpd_pwr.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Drivers/BSP/x-nucleo-usbpdm1/usbpdm1_usbpd_pwr.d" -MT"Drivers/BSP/x-nucleo-usbpdm1/usbpdm1_usbpd_pwr.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Drivers/BSP/x-nucleo-usbpdm1/usbpdm1_usbpd_pwr.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD/USBPDM1_Sink_PPS/Src/main.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Application/User/main.d" -MT"Application/User/main.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/User/main.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD/USBPDM1_Sink_PPS/Src/stm32g0xx_it.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Application/User/stm32g0xx_it.d" -MT"Application/User/stm32g0xx_it.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/User/stm32g0xx_it.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD/USBPDM1_Sink_PPS/Src/usbpd.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Application/User/usbpd.d" -MT"Application/User/usbpd.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/User/usbpd.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD/USBPDM1_Sink_PPS/Src/usbpd_dpm_core.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Application/User/usbpd_dpm_core.d" -MT"Application/User/usbpd_dpm_core.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/User/usbpd_dpm_core.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD/USBPDM1_Sink_PPS/Src/usbpd_dpm_user.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Application/User/usbpd_dpm_user.d" -MT"Application/User/usbpd_dpm_user.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/User/usbpd_dpm_user.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD/USBPDM1_Sink_PPS/Src/usbpd_pwr_if.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Application/User/usbpd_pwr_if.d" -MT"Application/User/usbpd_pwr_if.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/User/usbpd_pwr_if.o"
arm-none-eabi-gcc "C:/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Projects/NUCLEO-G071RB/Applications/USB_PD/USBPDM1_Sink_PPS/Src/usbpd_vdm_user.c" -mcpu=cortex-m0plus -std=gnu11 -g3 -DSTM32G071xx -DUSE_STM32G0XX_NUCLEO -D_RTOS -D_TRACE -DDEBUG '-DUSBPD_PORT_COUNT=1' -DNUCLEO_MB1360A -DUSE_HAL_DRIVER -D_GUI_INTERFACE -DUSBPDCORE_LIB_PD3_FULL -DUSBPDM1_VCC_FEATURE_ENABLED -DUSE_FULL_LL_DRIVER -D_SNK -DUSBPDM1_DB_OUT_FEATURE_ENABLED -c -I../../../../../../../Drivers/BSP/X-NUCLEO-USBPDM1 -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Devices/STM32G0XX/inc -I../../../../../../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../../../../../../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../../../../../../../Drivers/BSP/STM32G0xx_Nucleo -I../../../../../../../Utilities/GUI_INTERFACE -I../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/inc -I../../../../../../.USBPD_DPM_USER_C./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0 -I../../Inc -I../../../../../../../Utilities/TRACER_EMB -I../../../../../../../Drivers/STM32G0xx_HAL_Driver/Inc -I../../../../../../../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"Application/User/usbpd_vdm_user.d" -MT"Application/User/usbpd_vdm_user.o" --specs=nano.specs -mfloat-abi=soft -mthumb -o "Application/User/usbpd_vdm_user.o"
arm-none-eabi-gcc -o "USBPDM1_Sink_PPS.elf" @"objects.list"  -l:USBPDCORE_PD3_FULL_CM0PLUS_wc32.a -mcpu=cortex-m0plus -T"C:\Users\andreas\switchdrive\STM32CubeIDE\x-cube-tcpp\Projects\NUCLEO-G071RB\Applications\USB_PD\USBPDM1_Sink_PPS\STM32CubeIDE\STM32G071RBTX_FLASH.ld" --specs=nosys.specs -Wl,-Map="USBPDM1_Sink_PPS.map" -Wl,--gc-sections -static -Wl,--start-group -l:USBPDCORE_PD3_FULL_CM0PLUS_wc32.a -Wl,--end-group -L../../../../../../../Middlewares/ST/STM32_USBPD_Library/Core/lib --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
Finished building target: USBPDM1_Sink_PPS.elf
 
arm-none-eabi-size   USBPDM1_Sink_PPS.elf 
arm-none-eabi-objdump -h -S  USBPDM1_Sink_PPS.elf  > "USBPDM1_Sink_PPS.list"
arm-none-eabi-objcopy  -O ihex  USBPDM1_Sink_PPS.elf  "USBPDM1_Sink_PPS.hex"
arm-none-eabi-objcopy  -O binary  USBPDM1_Sink_PPS.elf  "USBPDM1_Sink_PPS.bin"
   text	   data	    bss	    dec	    hex	filename
  90632	    296	  14544	 105472	  19c00	USBPDM1_Sink_PPS.elf
Finished building: default.size.stdout
 
Finished building: USBPDM1_Sink_PPS.bin
Finished building: USBPDM1_Sink_PPS.hex
 
 
Finished building: USBPDM1_Sink_PPS.list
Path:   Middlewares/ST/STM32_USBPD_Library/Core/lib
        USBPDCORE_PD3_FULL_CM0PLUS_Keil.lib
G071:   USBPDCORE_PD3_FULL_CM0PLUS_wc32.a
        USBPDCORE_PD3_FULL_CM0_Keil.lib
        USBPDCORE_PD3_FULL_CM0_wc32.a
        USBPDCORE_PD3_FULL_CM33_Keil.lib
        USBPDCORE_PD3_FULL_CM33_wc32.a
        USBPDCORE_PD3_FULL_CM3_Keil.lib
        USBPDCORE_PD3_FULL_CM3_wc32.a
        USBPDCORE_PD3_FULL_CM4_Keil.lib
G474:   USBPDCORE_PD3_FULL_CM4_wc32.a
usbpd_pdo_defs.h: uint8_t                                USBPD_NbPDO[4];
usbpd_pdo_defs.h: uint32_t                               PORT0_PDO_ListSRC[USBPD_MAX_NB_PDO];
usbpd_pdo_defs.h: uint32_t                               PORT0_PDO_ListSNK[USBPD_MAX_NB_PDO];
usbpd_pwr_if.c:   USBPD_PWR_Port_PDO_Storage_TypeDef     PWR_Port_PDO_Storage[USBPD_PORT_COUNT]
usbpd_dpm_user.h: USBPD_HandleTypeDef                    DPM_Ports[USBPD_PORT_COUNT];
usbpd_dpm_core.c: USBPD_ParamsTypeDef                    DPM_Params[USBPD_PORT_COUNT];

/**
  * @brief  Initialize the core stack (port power role, PWR_IF, CAD and PE Init procedures)
  * @retval USBPD status
  */
USBPD_StatusTypeDef USBPD_DPM_InitCore(void)
{
    static const USBPD_PE_Callbacks dpmCallbacks = {
        NULL,
        USBPD_DPM_HardReset,
        NULL,
        USBPD_DPM_Notification,
        USBPD_DPM_ExtendedMessageReceived,
        USBPD_DPM_GetDataInfo,
        USBPD_DPM_SetDataInfo,
        NULL,
        USBPD_DPM_SNK_EvaluateCapabilities,
        NULL,
        USBPD_PE_TaskWakeUp,
        NULL,
        NULL,
        NULL,
        USBPD_DPM_EvaluateDataRoleSwap,
        USBPD_DPM_IsPowerReady
    };

    [...]

    /* Initialise the TRACE */
    USBPD_TRACE_Init();

    /* CAD SET UP : Port 0 */
    CHECK_CAD_FUNCTION_CALL(USBPD_CAD_Init(USBPD_PORT_0, (USBPD_CAD_Callbacks *)&CAD_cbs, (USBPD_SettingsTypeDef *)&DPM_Settings[USBPD_PORT_0], &DPM_Params[USBPD_PORT_0]));

    /* PE SET UP : Port 0 */
    CHECK_PE_FUNCTION_CALL(USBPD_PE_Init(USBPD_PORT_0, (USBPD_SettingsTypeDef *)&DPM_Settings[USBPD_PORT_0], &DPM_Params[USBPD_PORT_0], &dpmCallbacks));

    /* DPM is correctly initialized */
    DPM_Params[USBPD_PORT_0].DPM_Initialized = USBPD_TRUE;

    /* Enable CAD on Port 0 */
    USBPD_CAD_PortEnable(USBPD_PORT_0, USBPD_CAD_ENABLE);

    [...]
}
/**
  * @brief  Main task for PE layer
  * @param  argument Not used
  * @retval None
  */
void USBPD_PE_Task(void const *argument)
{
    uint8_t _port = (uint32_t)argument;
    uint32_t _timing;

    for(;;) {
        _timing = USBPD_PE_StateMachine_SNK(_port);
        osMessageGet(PEQueueId[_port],_timing);
    }
}

/**
  * @brief  Main task for CAD layer
  * @param  argument Not used
  * @retval None
  */
void USBPD_CAD_Task(void const *argument)
{
    for (;;) {
        osMessageGet(CADQueueId, USBPD_CAD_Process());
    }
}

/*** usbpd_pdo_defs.h *******************************************************************/

/** @brief  USBPD Port PDO Structure definition */
typedef struct
{
  uint32_t *ListOfPDO;                          /*!< Pointer on Power Data Objects list, defining
                                                     port capabilities */
  uint8_t  *NumberOfPDO;                         /*!< Number of Power Data Objects defined in ListOfPDO
                                                     This parameter must be set at max to @ref USBPD_MAX_NB_PDO value */
} USBPD_PortPDO_TypeDef;

/* @brief  USBPD Port PDO Storage Structure definition */
typedef struct
{
    USBPD_PortPDO_TypeDef    SinkPDO;          /*!< SNK Power Data Objects */
} USBPD_PWR_Port_PDO_Storage_TypeDef;


/*** usbpd_def.h ***********************************************************************/

#define USBPD_MAX_NB_PDO                 (7U)              /*!< Maximum number of supported Power Data Objects: fix by the Specification */

#define USBPD_CORE_PDO_TYPE_FIXED       0x00u            /*!< Fixed Supply PDO                             */
#define USBPD_CORE_PDO_TYPE_BATTERY     0x01u            /*!< Battery Supply PDO                           */
#define USBPD_CORE_PDO_TYPE_VARIABLE    0x02u            /*!< Variable Supply (non-battery) PDO            */
#define USBPD_CORE_PDO_TYPE_APDO        0x03u            /*!< Augmented Power Data Object (APDO)           */

/* @brief  USB PD Sink Request Data Object Structure definition */
typedef union
{
    uint32_t d32;
    USBPD_SNKGenericRDO_TypeDef       GenericRDO;       /*!<  Generic Request Data Object Structure           */
    USBPD_SNKFixedVariableRDO_TypeDef FixedVariableRDO; /*!< Fixed and Variable Request Data Object Structure */
    USBPD_SNKBatteryRDO_TypeDef       BatteryRDO;       /*!< Battery Request Data Object Structure            */
    USBPD_SNKProgrammableRDO_TypeDef  ProgRDO;          /*!< Programmable Request Data Object Structure       */
} USBPD_SNKRDO_TypeDef;

/* @brief PRIVATE Sink Request characteritics Structure definition */
typedef struct
{
    uint32_t RequestedVoltageInmVunits;              /*!< Sink request operating voltage in mV units       */
    uint32_t MaxOperatingCurrentInmAunits;           /*!< Sink request Max operating current in mA units   */
    uint32_t OperatingCurrentInmAunits;              /*!< Sink request operating current in mA units       */
    uint32_t MaxOperatingPowerInmWunits;             /*!< Sink request Max operating power in mW units     */
    uint32_t OperatingPowerInmWunits;                /*!< Sink request operating power in mW units         */
} USBPD_DPM_SNKPowerRequestDetails_TypeDef;

/* @brief  USB PD Power Data Object Structure definition */
typedef union
{
    uint32_t d32;
    USBPD_GenericPDO_TypeDef            GenericPDO;       /*!< Generic Power Data Object Structure            */
    USBPD_SRCFixedSupplyPDO_TypeDef     SRCFixedPDO;      /*!< Fixed Supply PDO - Source                      */
    USBPD_SRCVariableSupplyPDO_TypeDef  SRCVariablePDO;   /*!< Variable Supply (non-Battery) PDO - Source     */
    USBPD_SRCBatterySupplyPDO_TypeDef   SRCBatteryPDO;    /*!< Battery Supply PDO - Source                    */
    USBPD_SNKFixedSupplyPDO_TypeDef     SNKFixedPDO;      /*!< Fixed Supply PDO - Sink                        */
    USBPD_SNKVariableSupplyPDO_TypeDef  SNKVariablePDO;   /*!< Variable Supply (non-Battery) PDO - Sink       */
    USBPD_SNKBatterySupplyPDO_TypeDef   SNKBatteryPDO;    /*!< Battery Supply PDO - Sink                      */
    USBPD_ProgrammablePowerSupplyAPDO_TypeDef  SRCSNKAPDO;/*!< Programmable Power Supply APDO - Source / Sink */
} USBPD_PDO_TypeDef;


/*** usbpd_dpm_user.h ******************************************************************/

/**
  * @brief  USBPD DPM handle Structure definition
  * @{
  */
typedef struct
{
  uint32_t                      DPM_ListOfRcvSRCPDO[USBPD_MAX_NB_PDO];   /*!< The list of received Source Power Data Objects from Port partner
                                                                              (when Port partner is a Source or a DRP port).                       */
  uint32_t                      DPM_NumberOfRcvSRCPDO;                   /*!< The number of received Source Power Data Objects from port Partner
                                                                              (when Port partner is a Source or a DRP port).
                                                                              This parameter must be set to a value lower than USBPD_MAX_NB_PDO    */
  uint32_t                      DPM_ListOfRcvSNKPDO[USBPD_MAX_NB_PDO];   /*!< The list of received Sink Power Data Objects from Port partner
                                                                              (when Port partner is a Sink or a DRP port).                         */
  uint32_t                      DPM_NumberOfRcvSNKPDO;                   /*!< The number of received Sink Power Data Objects from port Partner
                                                                              (when Port partner is a Sink or a DRP port).
                                                                              This parameter must be set to a value lower than USBPD_MAX_NB_PDO    */
  uint32_t                      DPM_RDOPosition;                         /*!< RDO Position of requested DO in Source list of capabilities          */
  uint32_t                      DPM_RequestedVoltage;                    /*!< Value of requested voltage                                           */
  uint32_t                      DPM_RequestedCurrent;                    /*!< Value of requested current                                           */
  int16_t                       DPM_MeasuredCurrent;                     /*!< Value of measured current                                            */
  uint32_t                      DPM_RDOPositionPrevious;                 /*!< RDO Position of previous requested DO in Source list of capabilities */
  uint32_t                      DPM_RequestDOMsg;                        /*!< Request Power Data Object message to be sent                         */
  uint32_t                      DPM_RequestDOMsgPrevious;                /*!< Previous Request Power Data Object message to be sent                */
  uint32_t                      DPM_RcvRequestDOMsg;                     /*!< Received request Power Data Object message from the port Partner     */
  volatile uint32_t             DPM_ErrorCode;                           /*!< USB PD Error code                                                    */
  volatile uint8_t              DPM_IsConnected;                         /*!< USB PD connection state                                              */
  uint16_t                      DPM_Reserved:14;                         /*!< Reserved bytes                                                       */
  USBPD_PPSSDB_TypeDef          DPM_RcvPPSStatus;                        /*!< PPS Status received by port partner                                  */
  USBPD_SKEDB_TypeDef           DPM_RcvSNKExtendedCapa;                  /*!< SNK Extended Capability received by port partner                     */
  volatile uint16_t             DPM_TimerMeasReport;                     /*!< Timer used to send measurement report                                */
} USBPD_HandleTypeDef;
/**
  * @brief  Initialize structures and variables related to power board profiles
  *         used by Sink and Source, for all available ports.
  * @retval USBPD status
  */
USBPD_StatusTypeDef USBPD_PWR_IF_Init(void)
{
    [...]
    PWR_Port_PDO_Storage[USBPD_PORT_0].SinkPDO.ListOfPDO = (uint32_t *)PORT0_PDO_ListSNK;
    PWR_Port_PDO_Storage[USBPD_PORT_0].SinkPDO.NumberOfPDO = &USBPD_NbPDO[0];
    _status |= PWR_IF_CheckUpdateSNKPower(USBPD_PORT_0);

    [...]

    return _status;
}

/**
  * @brief  Allow PDO data reading from PWR_IF storage.
  * @param  PortNum Port number
  * @param  DataId Type of data to be read from PWR_IF
  *         This parameter can be one of the following values:
  *           @arg @ref USBPD_CORE_DATATYPE_SRC_PDO Source PDO reading requested
  *           @arg @ref USBPD_CORE_DATATYPE_SNK_PDO Sink PDO reading requested
  * @param  Ptr Pointer on address where PDO values should be written (u8 pointer)
  * @param  Size Pointer on nb of u32 written by PWR_IF (nb of PDOs)
  * @retval None
  */
void USBPD_PWR_IF_GetPortPDOs(uint8_t PortNum, USBPD_CORE_DataInfoType_TypeDef DataId, uint8_t *Ptr, uint32_t *Size)
{
    [...]
}

/**
  * @brief  Add consistency check on PDO definition (Could help to detect unexpected flash settings content)
  * @param  PortNum Port number
  * @retval None
  */
void _PWR_CheckPDOContent(uint8_t PortNum)
{
    uint32_t firstpdo;
    uint8_t error_in_content = 0U;

    /* Add consistency check on PDO definition for Ports 0 and 1 */

    [...]

    /* SNK PDO
     - Nb of SNK PDO should be < USBPD_MAX_NB_PDO
     - if SNK PDO are defined, 1st SNK PDO should at least have following characteristics :
         Type Fixed (bits 31-30)
         bits 22-20 shall be reserved
         Voltage in 50mv units = 5V (bits19-10 should be equal to 100)
    */

    [...]

    firstpdo = (PWR_Port_PDO_Storage[PortNum].SinkPDO.ListOfPDO[0U])
             & (USBPD_PDO_TYPE_Msk | USBPD_PDO_SNK_FIXED_VOLTAGE_Msk | (0x3U << 20U));
    if (firstpdo != (USBPD_PDO_TYPE_FIXED | (100U << USBPD_PDO_SNK_FIXED_VOLTAGE_Pos))) {
        [...]
    }
    
    [...]
}
/**
  * @brief  DPM (Device Policy Manager) callback to allow PE (Policy Engine) to retrieve information from DPM/PWR_IF.
  * @param  PortNum Port number
  * @param  DataId  Type of data to be updated in DPM based on @ref USBPD_CORE_DataInfoType_TypeDef
  * @param  Ptr     Pointer on address where DPM data should be written (u8 pointer)
  * @param  Size    Pointer on nb of u8 written by DPM
  * @retval None
  */
void USBPD_DPM_GetDataInfo(uint8_t PortNum, USBPD_CORE_DataInfoType_TypeDef DataId, uint8_t *Ptr, uint32_t *Size)
{
    switch(DataId) {
        case USBPD_CORE_DATATYPE_SRC_PDO:
        case USBPD_CORE_DATATYPE_SNK_PDO:           /*!< Handling of port Sink PDO, requested by get sink capa*/
            USBPD_PWR_IF_GetPortPDOs(PortNum, DataId, Ptr, Size);
            *Size *= 4;
            break;
            
        case USBPD_CORE_EXTENDED_CAPA:              /*!< Source Extended capability message content          */
        case USBPD_CORE_DATATYPE_REQ_VOLTAGE:       /*!< Get voltage value requested for BIST tests, expect 5V*/
        case USBPD_CORE_INFO_STATUS:                /*!< Information status message content                  */
        case USBPD_CORE_MANUFACTURER_INFO:          /*!< Retrieve of Manufacturer info message content       */
        case USBPD_CORE_BATTERY_STATUS:             /*!< Retrieve of Battery status message content          */
        case USBPD_CORE_BATTERY_CAPABILITY:         /*!< Retrieve of Battery capability message content      */
        case USBPD_CORE_PPS_STATUS:
        case USBPD_CORE_SNK_EXTENDED_CAPA:
    }
}

/**
  * @brief  Evaluate received Capabilities Message from Source port and prepare the request message
  * @param  PortNum         Port number
  * @param  PtrRequestData  Pointer on selected request data object
  * @param  PtrPowerObjectType  Pointer on the power data object
  * @retval None
  */
void USBPD_DPM_SNK_EvaluateCapabilities(uint8_t PortNum, uint32_t *PtrRequestData, USBPD_CORE_PDO_Type_TypeDef *PtrPowerObjectType)
{
    /*=== G474 ===*/
    [...]

    /* Read the sink PDO */
    USBPD_PWR_IF_GetPortPDOs(PortNum, USBPD_CORE_DATATYPE_SNK_PDO, (uint8_t*)snkpdolist, &size);

    [...]


    /*=== G071 ===*/
    [...]

    /* Find the Pdo index for the requested voltage */
    pdoindex = DPM_FindVoltageIndex(PortNum, &snkpowerrequestdetails);

    [...]

    /* If no valid SNK PDO or if no SRC PDO match found (index>=nb of valid received SRC PDOs or function returned DPM_NO_SRC_PDO_FOUND*/
    if (pdoindex >= pdhandle->DPM_NumberOfRcvSRCPDO) {
        [...]
        return;
    }

    DPM_SNK_BuildRDOfromSelectedPDO(PortNum, pdoindex, &snkpowerrequestdetails,&rdo, PtrPowerObjectType);

    [...]
}
/**
  * @brief  Get actual voltage level measured on the VBUS line.
  * @param  Instance Type-C port identifier
  *         This parameter can be take one of the following values:
  *         @arg @ref USBPD_PWR_TYPE_C_PORT_1
  * @param  pVoltage Pointer on measured voltage level (in mV)
  * @retval BSP status
  */
__weak int32_t BSP_USBPD_PWR_VBUSGetVoltage(uint32_t Instance, uint32_t *pVoltage)
{
    [...]
}

PDO / APDO

Sink PWR_IF storage

Nr Type Voltage fix/min. Voltage max. Current
0 Fixed 50 * 100 = 5000mV = 5V 10 * 500 = 5000mA = 5A
1 Fixed 50 * 180 = 9000mV = 9V 10 * 500 = 5000mA = 5A
2 Fixed 50 * 300 = 15000mV = 15V 10 * 500 = 5000mA = 5A
3 Fixed 50 * 400 = 20000mV = 20V 10 * 500 = 5000mA = 5A
4 APDO 100 * 33 = 3300mV = 3.3V 100 * 59 = 5900mV = 5.9V 50 * 100 = 5000mA = 5A

Source

Nr Type Voltage fix/min. Voltage max. Current
0 Fixed 50 * 100 = 5000mV = 5V 10 * 300 = 3000mA = 3A
1 Fixed 50 * 180 = 9000mV = 9V 10 * 300 = 3000mA = 3A
2 Fixed 50 * 240 = 12000mV = 12V 10 * 300 = 3000mA = 3A
3 Fixed 50 * 300 = 15000mV = 15V 10 * 300 = 3000mA = 3A
4 Fixed 50 * 400 = 20000mV = 20V 10 * 225 = 2250mA = 2.25A
5 APDO 100 * 33 = 3300mV = 3.3V 100 * 160 = 16000mV = 16V 50 * 60 = 3000mA = 3A
6 APDO 100 * 60 = 3300mV = 3.3V 100 * 210 = 21000mV = 21V 50 * 45 = 2250mA = 2.25A

New EvaluateCapabilities


/**
  * @brief  Evaluate received Capabilities Message from Source port and prepare the request message
  * @param  PortNum         Port number
  * @param  PtrRequestData  Pointer on selected request data object
  * @param  PtrPowerObjectType  Pointer on the power data object
  * @retval None
  */
void USBPD_DPM_SNK_EvaluateCapabilities_new(uint8_t PortNum, uint32_t *PtrRequestData, USBPD_CORE_PDO_Type_TypeDef *PtrPowerObjectType)
{
    USBPD_SNKRDO_TypeDef            rdo;
    USBPD_HandleTypeDef            *port                = &DPM_Ports[PortNum];
    USBPD_USER_SettingsTypeDef     *userSettings        = (USBPD_USER_SettingsTypeDef *)&DPM_USER_Settings[PortNum];

    /* Source */
    uint32_t                        numSrcPdo           = DPM_Ports[PortNum].DPM_NumberOfRcvSRCPDO;
    uint32_t                       *listSrcPdo          = DPM_Ports[PortNum].DPM_ListOfRcvSRCPDO;

    /* Sink */
    //uint32_t                        numSinkPdo;
    //uint32_t                        listSinkPdo[USBPD_MAX_NB_PDO];

    USBPD_PDO_TypeDef               pdo;
    USBPD_PDO_TypeDef               pdoBest;
    uint32_t                        idx;
    uint32_t                        idxBest;
    const uint32_t                  voltageMax         = 20000; /* Max. Voltage limit */
    const uint32_t                  voltageIn50mVuints = 50;

    /* initialize */
    pdoBest.d32 = 0;
    rdo.d32     = 0;

    /* search the better PDO in the list of source PDOs */
    for(idx = 0; idx < numSrcPdo; idx++) {
        pdo.d32 = listSrcPdo[idx];

        /* only consider fixed types PDOs */
        switch (pdo.GenericPDO.PowerObject) {
            case USBPD_CORE_PDO_TYPE_FIXED: {
                if (pdo.SNKFixedPDO.VoltageIn50mVunits > pdoBest.SNKFixedPDO.VoltageIn50mVunits &&
                    pdo.SNKFixedPDO.VoltageIn50mVunits <= (voltageMax / voltageIn50mVuints)) {

                    pdoBest.d32 = pdo.d32;
                    idxBest     = idx;
                }
                break;
            }

            case USBPD_CORE_PDO_TYPE_APDO: {
                //
                break;
            }

            default: {
                break;
            }
        }
    }

    //USBPD_PWR_IF_GetPortPDOs(PortNum, USBPD_CORE_DATATYPE_SNK_PDO, (uint8_t*)&listSinkPdo[0], &numSinkPdo);

    /* no fixed PDO found */
    if (pdoBest.SNKFixedPDO.VoltageIn50mVunits == 0) {

        pdo.d32 = listSrcPdo[0];
        rdo.FixedVariableRDO.USBCommunicationsCapable       = 0;
        rdo.FixedVariableRDO.ObjectPosition                 = 1;
        rdo.GenericRDO.NoUSBSuspend                         = 1;
        rdo.FixedVariableRDO.OperatingCurrentIn10mAunits    = pdo.SRCFixedPDO.MaxCurrentIn10mAunits;
        rdo.FixedVariableRDO.MaxOperatingCurrent10mAunits   = userSettings->DPM_SNKRequestedPower.MaxOperatingCurrentInmAunits / 10;
        rdo.FixedVariableRDO.CapabilityMismatch             = 1;

        *PtrPowerObjectType = USBPD_CORE_PDO_TYPE_FIXED;
        *PtrRequestData     = rdo.d32;
        return;
    }

    /* found! */
    rdo.GenericRDO.USBCommunicationsCapable             = 0;
    rdo.GenericRDO.ObjectPosition                       = idxBest + 1;
    rdo.GenericRDO.NoUSBSuspend                         = 1;

    rdo.FixedVariableRDO.OperatingCurrentIn10mAunits    = pdoBest.SNKFixedPDO.OperationalCurrentIn10mAunits;
    rdo.FixedVariableRDO.MaxOperatingCurrent10mAunits   = userSettings->DPM_SNKRequestedPower.MaxOperatingCurrentInmAunits / 10;
    rdo.FixedVariableRDO.UnchunkedExtendedMessage       = DPM_Settings[PortNum].PE_PD3_Support.d.PE_UnchunkSupport;

    DPM_Params[PortNum].PE_UnchunkSupport               = (pdoBest.SRCFixedPDO.UnchunkedExtendedMessage == USBPD_TRUE) ? USBPD_TRUE : USBPD_FALSE;

    port->DPM_RequestDOMsg                              = rdo.d32;
    port->DPM_RDOPosition                               = rdo.GenericRDO.ObjectPosition;
    port->DPM_RequestedVoltage                          = pdoBest.SNKFixedPDO.VoltageIn50mVunits * 50;
    port->DPM_RequestedCurrent                          = pdoBest.SNKFixedPDO.OperationalCurrentIn10mAunits * 10;

    *PtrPowerObjectType = pdoBest.GenericPDO.PowerObject; /* FIXED, BATTERY, VARIABLE or APDO */
    *PtrRequestData     = rdo.d32;
}

Non-OS / NRTOS mode / Non-RTOS Approach

main(...)
USBPD_DPM_Run(...)
osKernelStart(...)
vTaskStartScheduler(...)

UART GUI

USBPD_FunctionalState GUI_Init(


static void TaskGUI(void *pEvent)
  osMessageQueueGet(queue, &event, NULL, _timing);

LPUART1_IRQHandler(...)
TRACER_EMB_IRQHandlerUSART(...)
HW_TRACER_EMB_IRQHandlerUSART(...)
  fptr_rx(received_char, 0U);
GUI_CALLBACK_RX(uint8_t Character, uint8_t Error)
  osMessageQueuePut(GUIMsgBox, &eventgui, 0U, 0U);

Command Line Tools

Windows

> set PATH=%PATh%;c:\ST\STM32CubeIDE_1.6.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924\tools\bin
> path
PATh=[...]
> arm-none-eabi-gcc
arm-none-eabi-gcc: fatal error: no input files

> cd C:\Users\andreas\switchdrive\STM32CubeIDE\x-cube-tcpp\Middlewares\ST\STM32_USBPD_Library\Core\lib
> arm-none-eabi-ar x USBPDCORE_PD3_FULL_CM4_wc32.a
or
> arm-none-eabi-ar x USBPDCORE_PD3_FULL_CM0PLUS_wc32.a
usbpd_cad.o
usbpd_pe.o
usbpd_pe_lib.o
usbpd_pe_msg.o
usbpd_pe_snk.o
usbpd_pe_src.o
usbpd_pe_vconn.o
usbpd_pe_vdm.o
usbpd_prl.o

-h, --section-header, --header: Display summary information from the section headers
> arm-none-eabi-objdump -h usbpd_pe.o

-s, --full-contents: Display the full contents of any sections requested
> arm-none-eabi-objdump -j.text -s usbpd_pe.o

-d, --disassemble: Display the assembler mnemonics of a single section
-D, --disassemble-all: Display the assembler mnemonics of all sections
> arm-none-eabi-objdump -D usbpd_pe.o

-t, --syms: Print the symbol table entries (like arm-none-eabi-nm)
> arm-none-eabi-objdump -t usbpd_pe.o

MSYS

$ cd /c/Users/andreas/switchdrive/STM32CubeIDE/x-cube-tcpp/Middlewares/ST/STM32_USBPD_Library/Core/lib
$ export PATH=$PATH:/c/ST/STM32CubeIDE_1.6.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924/tools/bin

T, t: The symbol is in the text (code) section.
B, b: The symbol is in the uninitialized data section (known as BSS)
U:    The symbol is undefined.
u:    The symbol is a unique global symbol.

$ arm-none-eabi-nm.exe usbpd_cad.o | grep DPM_Ports
$ arm-none-eabi-nm.exe usbpd_pe.o | grep DPM_Ports
$ arm-none-eabi-nm.exe usbpd_pe_lib.o | grep DPM_Ports
$ arm-none-eabi-nm.exe usbpd_pe_msg.o | grep DPM_Ports
$ arm-none-eabi-nm.exe usbpd_pe_snk.o | grep DPM_Ports
$ arm-none-eabi-nm.exe usbpd_pe_src.o | grep DPM_Ports
$ arm-none-eabi-nm.exe usbpd_pe_vconn.o | grep DPM_Ports
$ arm-none-eabi-nm.exe usbpd_pe_vdm.o | grep DPM_Ports
$ arm-none-eabi-nm.exe usbpd_prl.o | grep DPM_Ports
Not found!

PWR_Port_PDO_Storage
                    0x8               Application/User/usbpd_pwr_if.o

 COMMON         0x0000000020002714        0x8 Application/User/usbpd_pwr_if.o
                0x0000000020002714                PWR_Port_PDO_Storage

 .data.PORT0_PDO_ListSNK
                0x0000000020000090       0x1c Application/User/usbpd_pwr_if.o
                0x0000000020000090                PORT0_PDO_ListSNK

 .bss.DPM_Ports
                0x0000000020000168       0x88 Application/User/usbpd_dpm_user.o
                0x0000000020000168                DPM_Ports
$ grep -r __USBPD_PWR_IF_C .
./Inc/usbpd_pdo_defs.h:#ifndef __USBPD_PWR_IF_C
./Src/usbpd_pwr_if.c:#define __USBPD_PWR_IF_C

$ grep -r USBPD_DPM_USER_C .
./Inc/usbpd_dpm_user.h:#if !defined(USBPD_DPM_USER_C)
./Inc/usbpd_dpm_user.h:#endif /* !USBPD_DPM_USER_C */
./Src/usbpd_dpm_user.c:#define USBPD_DPM_USER_C

Leave a Reply

Your email address will not be published. Required fields are marked *