From 181061bfbb92e56127f2040dcb182b9636fecbe3 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sun, 22 Mar 2020 19:36:38 +0100 Subject: [PATCH 1/2] [CI] Enable ident-preproc-block astyle option This indents preprocessor blocks, making nested preprocessor blocks easier to read. --- CI/astyle/.astylerc | 1 + 1 file changed, 1 insertion(+) diff --git a/CI/astyle/.astylerc b/CI/astyle/.astylerc index f92622a908..4d92ea5351 100644 --- a/CI/astyle/.astylerc +++ b/CI/astyle/.astylerc @@ -19,6 +19,7 @@ indent-classes indent-switches indent-cases indent-col1-comments +indent-preproc-block # Remove spaces in and around parentheses unpad-paren From 4ab0fc3c56175d429585cc85994d64800ee67935 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sun, 22 Mar 2020 19:37:39 +0100 Subject: [PATCH 2/2] Update source files to new astyle config This runs `python3 CI/astyle/astyle.py` and commits the result. --- cores/arduino/Arduino.h | 4 +- cores/arduino/HardwareSerial.cpp | 150 ++-- cores/arduino/HardwareSerial.h | 24 +- cores/arduino/Print.cpp | 2 +- cores/arduino/Tone.h | 30 +- cores/arduino/VirtIOSerial.cpp | 2 +- cores/arduino/WInterrupts.h | 6 +- cores/arduino/WSerial.h | 322 ++++---- cores/arduino/core_debug.h | 4 +- cores/arduino/pins_arduino.h | 140 ++-- cores/arduino/stm32/LL/stm32yyxx_ll_adc.h | 28 +- cores/arduino/stm32/LL/stm32yyxx_ll_bdma.h | 2 +- cores/arduino/stm32/LL/stm32yyxx_ll_bus.h | 28 +- cores/arduino/stm32/LL/stm32yyxx_ll_comp.h | 18 +- cores/arduino/stm32/LL/stm32yyxx_ll_cordic.h | 2 +- cores/arduino/stm32/LL/stm32yyxx_ll_cortex.h | 28 +- cores/arduino/stm32/LL/stm32yyxx_ll_crc.h | 26 +- cores/arduino/stm32/LL/stm32yyxx_ll_crs.h | 12 +- cores/arduino/stm32/LL/stm32yyxx_ll_dac.h | 24 +- .../stm32/LL/stm32yyxx_ll_delayblock.h | 4 +- cores/arduino/stm32/LL/stm32yyxx_ll_dma.h | 28 +- cores/arduino/stm32/LL/stm32yyxx_ll_dma2d.h | 8 +- cores/arduino/stm32/LL/stm32yyxx_ll_dmamux.h | 12 +- cores/arduino/stm32/LL/stm32yyxx_ll_exti.h | 28 +- cores/arduino/stm32/LL/stm32yyxx_ll_fmac.h | 2 +- cores/arduino/stm32/LL/stm32yyxx_ll_fmc.h | 14 +- cores/arduino/stm32/LL/stm32yyxx_ll_fsmc.h | 8 +- cores/arduino/stm32/LL/stm32yyxx_ll_gpio.h | 28 +- cores/arduino/stm32/LL/stm32yyxx_ll_hrtim.h | 6 +- cores/arduino/stm32/LL/stm32yyxx_ll_hsem.h | 6 +- cores/arduino/stm32/LL/stm32yyxx_ll_i2c.h | 28 +- cores/arduino/stm32/LL/stm32yyxx_ll_ipcc.h | 4 +- cores/arduino/stm32/LL/stm32yyxx_ll_iwdg.h | 26 +- cores/arduino/stm32/LL/stm32yyxx_ll_lptim.h | 18 +- cores/arduino/stm32/LL/stm32yyxx_ll_lpuart.h | 12 +- cores/arduino/stm32/LL/stm32yyxx_ll_mdma.h | 2 +- cores/arduino/stm32/LL/stm32yyxx_ll_opamp.h | 10 +- cores/arduino/stm32/LL/stm32yyxx_ll_pka.h | 4 +- cores/arduino/stm32/LL/stm32yyxx_ll_pwr.h | 28 +- cores/arduino/stm32/LL/stm32yyxx_ll_rcc.h | 28 +- cores/arduino/stm32/LL/stm32yyxx_ll_rng.h | 18 +- cores/arduino/stm32/LL/stm32yyxx_ll_rtc.h | 28 +- cores/arduino/stm32/LL/stm32yyxx_ll_sdmmc.h | 16 +- cores/arduino/stm32/LL/stm32yyxx_ll_spi.h | 28 +- cores/arduino/stm32/LL/stm32yyxx_ll_swpmi.h | 4 +- cores/arduino/stm32/LL/stm32yyxx_ll_system.h | 28 +- cores/arduino/stm32/LL/stm32yyxx_ll_tim.h | 28 +- cores/arduino/stm32/LL/stm32yyxx_ll_ucpd.h | 4 +- cores/arduino/stm32/LL/stm32yyxx_ll_usart.h | 28 +- cores/arduino/stm32/LL/stm32yyxx_ll_usb.h | 24 +- cores/arduino/stm32/LL/stm32yyxx_ll_utils.h | 28 +- cores/arduino/stm32/LL/stm32yyxx_ll_wwdg.h | 28 +- cores/arduino/stm32/OpenAMP/mbox_ipcc.h | 20 +- cores/arduino/stm32/OpenAMP/rsc_table.c | 2 +- cores/arduino/stm32/OpenAMP/virtio_config.h | 30 +- cores/arduino/stm32/PeripheralPins.h | 2 +- cores/arduino/stm32/bootloader.h | 6 +- cores/arduino/stm32/interrupt.h | 42 +- cores/arduino/stm32/pinconfig.h | 2 +- cores/arduino/stm32/stm32_def.h | 36 +- cores/arduino/stm32/stm32_def_build.h | 740 +++++++++--------- cores/arduino/stm32/stm32yyxx_hal_conf.h | 142 ++-- cores/arduino/stm32/usb/cdc/usbd_cdc_if.c | 14 +- cores/arduino/stm32/usb/usbd_conf.c | 16 +- cores/arduino/stm32/usb/usbd_desc.c | 66 +- cores/arduino/stm32/usb/usbd_desc.h | 22 +- cores/arduino/stm32/usb/usbd_ep_conf.h | 30 +- cores/arduino/stm32/usb/usbd_if.c | 50 +- cores/arduino/stm32/usb/usbd_if.h | 2 +- cores/arduino/wiring.h | 12 +- cores/arduino/wiring_constants.h | 32 +- cores/arduino/wiring_pulse.h | 16 +- libraries/IWatchdog/src/IWatchdog.h | 2 +- libraries/SPI/src/SPI.h | 4 +- libraries/Servo/src/Servo.h | 14 +- .../SoftwareSerial/src/SoftwareSerial.cpp | 94 +-- libraries/SrcWrapper/src/HAL/stm32yyxx_hal.c | 28 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_adc.c | 28 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_adc_ex.c | 28 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_can.c | 14 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_cec.c | 16 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_comp.c | 18 +- .../src/HAL/stm32yyxx_hal_comp_ex.c | 2 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_cordic.c | 2 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_cortex.c | 28 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_crc.c | 28 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_crc_ex.c | 20 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_cryp.c | 22 +- .../src/HAL/stm32yyxx_hal_cryp_ex.c | 20 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_dac.c | 26 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_dac_ex.c | 26 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_dcmi.c | 12 +- .../src/HAL/stm32yyxx_hal_dcmi_ex.c | 6 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_dfsdm.c | 10 +- .../src/HAL/stm32yyxx_hal_dfsdm_ex.c | 6 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_dma.c | 28 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_dma2d.c | 8 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_dma_ex.c | 18 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_dsi.c | 8 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_dts.c | 2 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_eth.c | 10 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_eth_ex.c | 2 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_exti.c | 24 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_fdcan.c | 6 +- .../src/HAL/stm32yyxx_hal_firewall.c | 4 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_flash.c | 26 +- .../src/HAL/stm32yyxx_hal_flash_ex.c | 26 +- .../src/HAL/stm32yyxx_hal_flash_ramfunc.c | 10 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_fmac.c | 2 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_fmpi2c.c | 2 +- .../src/HAL/stm32yyxx_hal_fmpi2c_ex.c | 2 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_gfxmmu.c | 4 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_gpio.c | 28 +- .../src/HAL/stm32yyxx_hal_gpio_ex.c | 2 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_hash.c | 12 +- .../src/HAL/stm32yyxx_hal_hash_ex.c | 10 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_hcd.c | 12 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_hrtim.c | 6 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_hsem.c | 6 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_i2c.c | 28 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_i2c_ex.c | 22 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_i2s.c | 22 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_i2s_ex.c | 6 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_ipcc.c | 4 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_irda.c | 26 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_iwdg.c | 26 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_jpeg.c | 4 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_lcd.c | 8 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_lptim.c | 18 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_ltdc.c | 8 +- .../src/HAL/stm32yyxx_hal_ltdc_ex.c | 8 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_mdios.c | 6 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_mdma.c | 4 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_mmc.c | 12 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_mmc_ex.c | 4 +- .../src/HAL/stm32yyxx_hal_msp_template.c | 84 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_nand.c | 16 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_nor.c | 18 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_opamp.c | 10 +- .../src/HAL/stm32yyxx_hal_opamp_ex.c | 10 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_ospi.c | 4 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_otfdec.c | 2 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_pccard.c | 8 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_pcd.c | 24 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_pcd_ex.c | 24 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_pka.c | 4 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_pssi.c | 4 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_pwr.c | 28 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_pwr_ex.c | 26 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_qspi.c | 14 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_ramecc.c | 2 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_rcc.c | 28 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_rcc_ex.c | 28 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_rng.c | 20 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_rng_ex.c | 4 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_rtc.c | 28 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_rtc_ex.c | 28 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_sai.c | 14 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_sai_ex.c | 14 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_sd.c | 16 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_sd_ex.c | 6 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_sdadc.c | 2 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_sdram.c | 6 +- .../src/HAL/stm32yyxx_hal_smartcard.c | 26 +- .../src/HAL/stm32yyxx_hal_smartcard_ex.c | 18 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_smbus.c | 22 +- .../src/HAL/stm32yyxx_hal_spdifrx.c | 8 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_spi.c | 28 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_spi_ex.c | 18 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_sram.c | 20 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_swpmi.c | 4 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_tim.c | 28 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_tim_ex.c | 28 +- ...tm32yyxx_hal_timebase_rtc_alarm_template.c | 54 +- ...m32yyxx_hal_timebase_rtc_wakeup_template.c | 48 +- .../HAL/stm32yyxx_hal_timebase_tim_template.c | 78 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_tsc.c | 10 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_uart.c | 28 +- .../src/HAL/stm32yyxx_hal_uart_ex.c | 20 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_usart.c | 28 +- .../src/HAL/stm32yyxx_hal_usart_ex.c | 16 +- .../SrcWrapper/src/HAL/stm32yyxx_hal_wwdg.c | 28 +- .../SrcWrapper/src/LL/stm32yyxx_ll_adc.c | 28 +- .../SrcWrapper/src/LL/stm32yyxx_ll_bdma.c | 2 +- .../SrcWrapper/src/LL/stm32yyxx_ll_comp.c | 18 +- .../SrcWrapper/src/LL/stm32yyxx_ll_cordic.c | 2 +- .../SrcWrapper/src/LL/stm32yyxx_ll_crc.c | 26 +- .../SrcWrapper/src/LL/stm32yyxx_ll_crs.c | 12 +- .../SrcWrapper/src/LL/stm32yyxx_ll_dac.c | 24 +- .../src/LL/stm32yyxx_ll_delayblock.c | 4 +- .../SrcWrapper/src/LL/stm32yyxx_ll_dma.c | 28 +- .../SrcWrapper/src/LL/stm32yyxx_ll_dma2d.c | 8 +- .../SrcWrapper/src/LL/stm32yyxx_ll_exti.c | 28 +- .../SrcWrapper/src/LL/stm32yyxx_ll_fmac.c | 2 +- .../SrcWrapper/src/LL/stm32yyxx_ll_fmc.c | 14 +- .../SrcWrapper/src/LL/stm32yyxx_ll_fsmc.c | 8 +- .../SrcWrapper/src/LL/stm32yyxx_ll_gpio.c | 28 +- .../SrcWrapper/src/LL/stm32yyxx_ll_hrtim.c | 6 +- .../SrcWrapper/src/LL/stm32yyxx_ll_i2c.c | 28 +- .../SrcWrapper/src/LL/stm32yyxx_ll_lptim.c | 18 +- .../SrcWrapper/src/LL/stm32yyxx_ll_lpuart.c | 12 +- .../SrcWrapper/src/LL/stm32yyxx_ll_mdma.c | 2 +- .../SrcWrapper/src/LL/stm32yyxx_ll_opamp.c | 10 +- .../SrcWrapper/src/LL/stm32yyxx_ll_pka.c | 4 +- .../SrcWrapper/src/LL/stm32yyxx_ll_pwr.c | 28 +- .../SrcWrapper/src/LL/stm32yyxx_ll_rcc.c | 28 +- .../SrcWrapper/src/LL/stm32yyxx_ll_rng.c | 18 +- .../SrcWrapper/src/LL/stm32yyxx_ll_rtc.c | 28 +- .../SrcWrapper/src/LL/stm32yyxx_ll_sdmmc.c | 16 +- .../SrcWrapper/src/LL/stm32yyxx_ll_spi.c | 28 +- .../SrcWrapper/src/LL/stm32yyxx_ll_swpmi.c | 4 +- .../SrcWrapper/src/LL/stm32yyxx_ll_tim.c | 28 +- .../SrcWrapper/src/LL/stm32yyxx_ll_ucpd.c | 4 +- .../SrcWrapper/src/LL/stm32yyxx_ll_usart.c | 28 +- .../SrcWrapper/src/LL/stm32yyxx_ll_usb.c | 24 +- .../SrcWrapper/src/LL/stm32yyxx_ll_utils.c | 28 +- libraries/SrcWrapper/src/stm32/interrupt.cpp | 2 +- libraries/SrcWrapper/src/stm32/pinmap.c | 2 +- libraries/SrcWrapper/src/stm32/rtc.c | 14 +- .../SrcWrapper/src/stm32/system_stm32yyxx.c | 28 +- libraries/SrcWrapper/src/syscalls.c | 8 +- variants/AFROFLIGHT_F103CB/PinNamesVar.h | 20 +- variants/AFROFLIGHT_F103CB/variant.h | 34 +- variants/ARMED_V1/PinNamesVar.h | 60 +- variants/ARMED_V1/variant.h | 34 +- variants/BLACK_F407XX/PinNamesVar.h | 60 +- variants/BLACK_F407XX/variant.h | 34 +- variants/BLUE_F407VE_Mini/PinNamesVar.h | 60 +- variants/BLUE_F407VE_Mini/variant.h | 34 +- variants/DEMO_F030F4/PinNamesVar.h | 16 +- variants/DEMO_F030F4/variant.h | 34 +- variants/DISCO_F030R8/PinNamesVar.h | 16 +- variants/DISCO_F030R8/variant.h | 34 +- variants/DISCO_F072RB/PinNamesVar.h | 22 +- variants/DISCO_F072RB/variant.h | 34 +- variants/DISCO_F100RB/PinNamesVar.h | 16 +- variants/DISCO_F100RB/variant.h | 34 +- variants/DISCO_F407VG/PinNamesVar.h | 60 +- variants/DISCO_F407VG/variant.h | 36 +- variants/DISCO_F413ZH/PinNamesVar.h | 26 +- variants/DISCO_F413ZH/variant.h | 34 +- variants/DISCO_F746NG/PinNamesVar.h | 64 +- variants/DISCO_F746NG/variant.h | 34 +- variants/DISCO_G0316/PinNamesVar.h | 16 +- variants/DISCO_G0316/variant.h | 32 +- variants/DISCO_L072CZ_LRWAN1/PinNamesVar.h | 22 +- variants/DISCO_L072CZ_LRWAN1/variant.h | 34 +- variants/DISCO_L475VG_IOT/PinNamesVar.h | 30 +- variants/DISCO_L475VG_IOT/variant.h | 34 +- variants/DIYMORE_F407VGT/PinNamesVar.h | 60 +- variants/DIYMORE_F407VGT/variant.h | 34 +- variants/EEXTR_F030_V1/PinNamesVar.h | 16 +- variants/EEXTR_F030_V1/variant.h | 34 +- variants/ELEKTOR_F072C8/PinNamesVar.h | 22 +- variants/ELEKTOR_F072C8/variant.h | 34 +- variants/FEATHER_F405/PinNamesVar.h | 60 +- variants/FEATHER_F405/variant.h | 34 +- variants/FK407M1/PinNamesVar.h | 60 +- variants/FK407M1/variant.h | 34 +- variants/FYSETC_S6/PinNamesVar.h | 60 +- variants/FYSETC_S6/variant.h | 36 +- variants/Generic_F103Rx/PinNamesVar.h | 20 +- variants/Generic_F103Rx/variant.h | 34 +- variants/Generic_F103Zx/PinNamesVar.h | 20 +- variants/Generic_F103Zx/variant.h | 34 +- variants/Generic_F401Cx/PinNamesVar.h | 26 +- variants/Generic_F401Cx/variant.h | 34 +- variants/Generic_F401Rx/PinNamesVar.h | 26 +- variants/Generic_F401Rx/variant.h | 34 +- variants/Generic_F410Cx/PinNamesVar.h | 16 +- variants/Generic_F410Cx/variant.h | 34 +- variants/Generic_F410Rx/PinNamesVar.h | 16 +- variants/Generic_F410Rx/variant.h | 34 +- variants/Generic_F411Cx/PinNamesVar.h | 26 +- variants/Generic_F411Cx/variant.h | 34 +- variants/Generic_F411Rx/PinNamesVar.h | 26 +- variants/Generic_F411Rx/variant.h | 34 +- variants/Generic_F412Cx/PinNamesVar.h | 26 +- variants/Generic_F412Cx/variant.h | 34 +- variants/Generic_F412Rx/PinNamesVar.h | 26 +- variants/Generic_F412Rx/variant.h | 34 +- variants/Generic_F446Rx/PinNamesVar.h | 60 +- variants/Generic_F446Rx/variant.h | 34 +- variants/Generic_F4x3Cx/PinNamesVar.h | 26 +- variants/Generic_F4x3Cx/variant.h | 34 +- variants/Generic_F4x3Rx/PinNamesVar.h | 26 +- variants/Generic_F4x3Rx/variant.h | 34 +- variants/Generic_F4x5RG/PinNamesVar.h | 60 +- variants/Generic_F4x5RG/variant.h | 34 +- variants/Generic_F4x7Vx/PinNamesVar.h | 60 +- variants/Generic_F4x7Vx/variant.h | 34 +- variants/HY_TinySTM103T/PinNamesVar.h | 20 +- variants/HY_TinySTM103T/variant.h | 34 +- variants/MALYANM200_F103CB/PinNamesVar.h | 20 +- variants/MALYANM200_F103CB/variant.h | 34 +- variants/MALYANMx00_F070CB/PinNamesVar.h | 22 +- variants/MALYANMx00_F070CB/variant.h | 34 +- variants/MAPLEMINI_F103CB/PinNamesVar.h | 20 +- variants/MAPLEMINI_F103CB/variant.h | 34 +- variants/MKR_SHARKY/PinNamesVar.h | 22 +- variants/MKR_SHARKY/variant.h | 34 +- variants/NUCLEO_F030R8/PinNamesVar.h | 16 +- variants/NUCLEO_F030R8/variant.h | 34 +- variants/NUCLEO_F031K6/PinNamesVar.h | 16 +- variants/NUCLEO_F031K6/variant.h | 34 +- variants/NUCLEO_F091RC/PinNamesVar.h | 16 +- variants/NUCLEO_F091RC/variant.h | 34 +- variants/NUCLEO_F103RB/PinNamesVar.h | 20 +- variants/NUCLEO_F103RB/variant.h | 34 +- variants/NUCLEO_F207ZG/PinNamesVar.h | 60 +- variants/NUCLEO_F207ZG/variant.h | 34 +- variants/NUCLEO_F302R8/PinNamesVar.h | 20 +- variants/NUCLEO_F302R8/variant.h | 34 +- variants/NUCLEO_F303K8/PinNamesVar.h | 16 +- variants/NUCLEO_F303K8/variant.h | 34 +- variants/NUCLEO_F303RE/PinNamesVar.h | 20 +- variants/NUCLEO_F303RE/variant.h | 34 +- variants/NUCLEO_F429ZI/PinNamesVar.h | 60 +- variants/NUCLEO_F429ZI/variant.h | 34 +- variants/NUCLEO_F446RE/PinNamesVar.h | 60 +- variants/NUCLEO_F446RE/variant.h | 34 +- variants/NUCLEO_F4x1RE/PinNamesVar.h | 26 +- variants/NUCLEO_F4x1RE/variant.h | 34 +- variants/NUCLEO_F767ZI/PinNamesVar.h | 60 +- variants/NUCLEO_F767ZI/variant.h | 34 +- variants/NUCLEO_F7x6ZG/PinNamesVar.h | 60 +- variants/NUCLEO_F7x6ZG/variant.h | 34 +- variants/NUCLEO_G071RB/PinNamesVar.h | 16 +- variants/NUCLEO_G071RB/variant.h | 34 +- variants/NUCLEO_G431KB/PinNamesVar.h | 20 +- variants/NUCLEO_G431KB/variant.h | 34 +- variants/NUCLEO_G431RB/PinNamesVar.h | 20 +- variants/NUCLEO_G431RB/variant.h | 34 +- variants/NUCLEO_G474RE/PinNamesVar.h | 20 +- variants/NUCLEO_G474RE/variant.h | 34 +- variants/NUCLEO_H743ZI/PinNamesVar.h | 60 +- variants/NUCLEO_H743ZI/variant.h | 34 +- variants/NUCLEO_L031K6/PinNamesVar.h | 16 +- variants/NUCLEO_L031K6/variant.h | 34 +- variants/NUCLEO_L053R8/PinNamesVar.h | 24 +- variants/NUCLEO_L053R8/variant.h | 34 +- variants/NUCLEO_L073RZ/PinNamesVar.h | 24 +- variants/NUCLEO_L073RZ/variant.h | 34 +- variants/NUCLEO_L152RE/PinNamesVar.h | 20 +- variants/NUCLEO_L152RE/variant.h | 34 +- variants/NUCLEO_L412KB/PinNamesVar.h | 22 +- variants/NUCLEO_L412KB/variant.h | 34 +- variants/NUCLEO_L432KC/PinNamesVar.h | 22 +- variants/NUCLEO_L432KC/variant.h | 34 +- variants/NUCLEO_L433RC_P/PinNamesVar.h | 24 +- variants/NUCLEO_L433RC_P/variant.h | 34 +- variants/NUCLEO_L452RE/PinNamesVar.h | 24 +- variants/NUCLEO_L452RE/variant.h | 34 +- variants/NUCLEO_L476RG/PinNamesVar.h | 30 +- variants/NUCLEO_L476RG/variant.h | 34 +- variants/NUCLEO_L496ZG/PinNamesVar.h | 32 +- variants/NUCLEO_L496ZG/variant.h | 34 +- variants/NUCLEO_L4R5ZI/PinNamesVar.h | 32 +- variants/NUCLEO_L4R5ZI/variant.h | 34 +- variants/PILL_F103XX/PinNamesVar.h | 20 +- variants/PILL_F103XX/variant.h | 34 +- variants/PILL_F303XX/PinNamesVar.h | 20 +- variants/PILL_F303XX/variant.h | 36 +- variants/PNUCLEO_WB55RG/PinNamesVar.h | 22 +- variants/PNUCLEO_WB55RG/variant.h | 34 +- variants/PRNTR_Vx/PeripheralPins.c | 2 +- variants/PRNTR_Vx/PinNamesVar.h | 60 +- variants/PRNTR_Vx/variant.h | 34 +- variants/PX_HER0/PinNamesVar.h | 24 +- variants/PX_HER0/variant.h | 36 +- variants/RAK811_TRACKER/PinNamesVar.h | 20 +- variants/RAK811_TRACKER/variant.h | 34 +- variants/REMRAM_V1/PinNamesVar.h | 60 +- variants/REMRAM_V1/variant.h | 4 +- variants/RHF76_052/PinNamesVar.h | 16 +- variants/RHF76_052/variant.h | 34 +- variants/RUMBA32_F446VE/PinNamesVar.h | 20 +- variants/RUMBA32_F446VE/variant.h | 34 +- variants/SPARKY_F303CC/PinNamesVar.h | 20 +- variants/SPARKY_F303CC/variant.h | 34 +- variants/ST3DP001_EVAL/PinNamesVar.h | 26 +- variants/ST3DP001_EVAL/variant.h | 34 +- variants/STEVAL_MKSBOX1V1/PinNamesVar.h | 32 +- variants/STEVAL_MKSBOX1V1/variant.h | 34 +- variants/STM32MP157_DK/PinNamesVar.h | 16 +- variants/STM32MP157_DK/variant.h | 36 +- variants/THUNDERPACK/PinNamesVar.h | 46 +- variants/THUNDERPACK/variant.h | 34 +- variants/VAKE_F446VE/PinNamesVar.h | 60 +- variants/VAKE_F446VE/variant.h | 34 +- variants/WRAITH32_F051K6/PinNamesVar.h | 16 +- variants/WRAITH32_F051K6/variant.h | 34 +- variants/board_template/variant.h | 34 +- 393 files changed, 5398 insertions(+), 5398 deletions(-) diff --git a/cores/arduino/Arduino.h b/cores/arduino/Arduino.h index 28c917d636..674cec4c14 100644 --- a/cores/arduino/Arduino.h +++ b/cores/arduino/Arduino.h @@ -26,11 +26,11 @@ + __GNUC_PATCHLEVEL__) #endif #if GCC_VERSION < 60300 -#error "GCC version 6.3 or higher is required" + #error "GCC version 6.3 or higher is required" #endif #ifdef __IN_ECLIPSE__ -#include "SrcWrapper.h" + #include "SrcWrapper.h" #endif #include "wiring.h" diff --git a/cores/arduino/HardwareSerial.cpp b/cores/arduino/HardwareSerial.cpp index 57975975b9..9200431340 100644 --- a/cores/arduino/HardwareSerial.cpp +++ b/cores/arduino/HardwareSerial.cpp @@ -28,81 +28,81 @@ #if defined(HAL_UART_MODULE_ENABLED) && !defined(HAL_UART_MODULE_ONLY) #if defined(HAVE_HWSERIAL1) || defined(HAVE_HWSERIAL2) || defined(HAVE_HWSERIAL3) ||\ - defined(HAVE_HWSERIAL4) || defined(HAVE_HWSERIAL5) || defined(HAVE_HWSERIAL6) ||\ - defined(HAVE_HWSERIAL7) || defined(HAVE_HWSERIAL8) || defined(HAVE_HWSERIAL9) ||\ - defined(HAVE_HWSERIAL10) || defined(HAVE_HWSERIALLP1) -// SerialEvent functions are weak, so when the user doesn't define them, -// the linker just sets their address to 0 (which is checked below). -#if defined(HAVE_HWSERIAL1) -HardwareSerial Serial1(USART1); -void serialEvent1() __attribute__((weak)); -#endif - -#if defined(HAVE_HWSERIAL2) -HardwareSerial Serial2(USART2); -void serialEvent2() __attribute__((weak)); -#endif - -#if defined(HAVE_HWSERIAL3) -HardwareSerial Serial3(USART3); -void serialEvent3() __attribute__((weak)); -#endif - -#if defined(HAVE_HWSERIAL4) -#if defined(USART4) -HardwareSerial Serial4(USART4); -#else -HardwareSerial Serial4(UART4); -#endif -void serialEvent4() __attribute__((weak)); -#endif - -#if defined(HAVE_HWSERIAL5) -#if defined(USART5) -HardwareSerial Serial5(USART5); -#else -HardwareSerial Serial5(UART5); -#endif -void serialEvent5() __attribute__((weak)); -#endif - -#if defined(HAVE_HWSERIAL6) -HardwareSerial Serial6(USART6); -void serialEvent6() __attribute__((weak)); -#endif - -#if defined(HAVE_HWSERIAL7) -#if defined(USART7) -HardwareSerial Serial7(USART7); -#else -HardwareSerial Serial7(UART7); -#endif -void serialEvent7() __attribute__((weak)); -#endif - -#if defined(HAVE_HWSERIAL8) -#if defined(USART8) -HardwareSerial Serial8(USART8); -#else -HardwareSerial Serial8(UART8); -#endif -void serialEvent8() __attribute__((weak)); -#endif - -#if defined(HAVE_HWSERIAL9) -HardwareSerial Serial9(UART9); -void serialEvent9() __attribute__((weak)); -#endif - -#if defined(HAVE_HWSERIAL10) -HardwareSerial Serial10(UART10); -void serialEvent10() __attribute__((weak)); -#endif - -#if defined(HAVE_HWSERIALLP1) -HardwareSerial SerialLP1(LPUART1); -void serialEventLP1() __attribute__((weak)); -#endif + defined(HAVE_HWSERIAL4) || defined(HAVE_HWSERIAL5) || defined(HAVE_HWSERIAL6) ||\ + defined(HAVE_HWSERIAL7) || defined(HAVE_HWSERIAL8) || defined(HAVE_HWSERIAL9) ||\ + defined(HAVE_HWSERIAL10) || defined(HAVE_HWSERIALLP1) + // SerialEvent functions are weak, so when the user doesn't define them, + // the linker just sets their address to 0 (which is checked below). + #if defined(HAVE_HWSERIAL1) + HardwareSerial Serial1(USART1); + void serialEvent1() __attribute__((weak)); + #endif + + #if defined(HAVE_HWSERIAL2) + HardwareSerial Serial2(USART2); + void serialEvent2() __attribute__((weak)); + #endif + + #if defined(HAVE_HWSERIAL3) + HardwareSerial Serial3(USART3); + void serialEvent3() __attribute__((weak)); + #endif + + #if defined(HAVE_HWSERIAL4) + #if defined(USART4) + HardwareSerial Serial4(USART4); + #else + HardwareSerial Serial4(UART4); + #endif + void serialEvent4() __attribute__((weak)); + #endif + + #if defined(HAVE_HWSERIAL5) + #if defined(USART5) + HardwareSerial Serial5(USART5); + #else + HardwareSerial Serial5(UART5); + #endif + void serialEvent5() __attribute__((weak)); + #endif + + #if defined(HAVE_HWSERIAL6) + HardwareSerial Serial6(USART6); + void serialEvent6() __attribute__((weak)); + #endif + + #if defined(HAVE_HWSERIAL7) + #if defined(USART7) + HardwareSerial Serial7(USART7); + #else + HardwareSerial Serial7(UART7); + #endif + void serialEvent7() __attribute__((weak)); + #endif + + #if defined(HAVE_HWSERIAL8) + #if defined(USART8) + HardwareSerial Serial8(USART8); + #else + HardwareSerial Serial8(UART8); + #endif + void serialEvent8() __attribute__((weak)); + #endif + + #if defined(HAVE_HWSERIAL9) + HardwareSerial Serial9(UART9); + void serialEvent9() __attribute__((weak)); + #endif + + #if defined(HAVE_HWSERIAL10) + HardwareSerial Serial10(UART10); + void serialEvent10() __attribute__((weak)); + #endif + + #if defined(HAVE_HWSERIALLP1) + HardwareSerial SerialLP1(LPUART1); + void serialEventLP1() __attribute__((weak)); + #endif #endif // HAVE_HWSERIALx // Constructors //////////////////////////////////////////////////////////////// diff --git a/cores/arduino/HardwareSerial.h b/cores/arduino/HardwareSerial.h index b9325858f5..4d015e9e93 100644 --- a/cores/arduino/HardwareSerial.h +++ b/cores/arduino/HardwareSerial.h @@ -41,20 +41,20 @@ // often work, but occasionally a race condition can occur that makes // Serial behave erratically. See https://github.com/arduino/Arduino/issues/2405 #if !defined(SERIAL_TX_BUFFER_SIZE) -#define SERIAL_TX_BUFFER_SIZE 64 + #define SERIAL_TX_BUFFER_SIZE 64 #endif #if !defined(SERIAL_RX_BUFFER_SIZE) -#define SERIAL_RX_BUFFER_SIZE 64 + #define SERIAL_RX_BUFFER_SIZE 64 #endif #if (SERIAL_TX_BUFFER_SIZE>256) -typedef uint16_t tx_buffer_index_t; + typedef uint16_t tx_buffer_index_t; #else -typedef uint8_t tx_buffer_index_t; + typedef uint8_t tx_buffer_index_t; #endif #if (SERIAL_RX_BUFFER_SIZE>256) -typedef uint16_t rx_buffer_index_t; + typedef uint16_t rx_buffer_index_t; #else -typedef uint8_t rx_buffer_index_t; + typedef uint8_t rx_buffer_index_t; #endif // A bool should be enough for this @@ -78,12 +78,12 @@ typedef enum { //#define SERIAL_6N2 0x0A #ifdef UART_WORDLENGTH_7B -#define SERIAL_7N1 0x04 -#define SERIAL_7N2 0x0C -#define SERIAL_6E1 0x22 -#define SERIAL_6E2 0x2A -#define SERIAL_6O1 0x32 -#define SERIAL_6O2 0x3A + #define SERIAL_7N1 0x04 + #define SERIAL_7N2 0x0C + #define SERIAL_6E1 0x22 + #define SERIAL_6E2 0x2A + #define SERIAL_6O1 0x32 + #define SERIAL_6O2 0x3A #endif #define SERIAL_8N1 0x06 #define SERIAL_8N2 0x0E diff --git a/cores/arduino/Print.cpp b/cores/arduino/Print.cpp index b1dd901bca..97e3f93870 100644 --- a/cores/arduino/Print.cpp +++ b/cores/arduino/Print.cpp @@ -29,7 +29,7 @@ #include "Print.h" #if defined (VIRTIO_LOG) -#include "virtio_log.h" + #include "virtio_log.h" #endif // Public Methods ////////////////////////////////////////////////////////////// diff --git a/cores/arduino/Tone.h b/cores/arduino/Tone.h index 2c14839816..98db001abe 100644 --- a/cores/arduino/Tone.h +++ b/cores/arduino/Tone.h @@ -20,21 +20,21 @@ #define _WIRING_TONE_ #ifdef __cplusplus -/* - * \brief Generate a tone to a pin. - * - * \param _pin - * \param frequency Tone frequency (in hertz) - * \param duration Tone duration (in milliseconds) - */ -extern void tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0); - -/* - * \brief Stop tone generation on pin. - * - * \param _pin - */ -extern void noTone(uint8_t _pin, bool destruct = false); + /* + * \brief Generate a tone to a pin. + * + * \param _pin + * \param frequency Tone frequency (in hertz) + * \param duration Tone duration (in milliseconds) + */ + extern void tone(uint8_t _pin, unsigned int frequency, unsigned long duration = 0); + + /* + * \brief Stop tone generation on pin. + * + * \param _pin + */ + extern void noTone(uint8_t _pin, bool destruct = false); #endif diff --git a/cores/arduino/VirtIOSerial.cpp b/cores/arduino/VirtIOSerial.cpp index cfee3298a9..ed7592d59d 100644 --- a/cores/arduino/VirtIOSerial.cpp +++ b/cores/arduino/VirtIOSerial.cpp @@ -27,7 +27,7 @@ #include "core_debug.h" #if !defined(VIRTIOSERIAL_NUM) -#define VIRTIOSERIAL_NUM 1 + #define VIRTIOSERIAL_NUM 1 #endif VirtIOSerialObj_t *VirtIOSerial_Handle[VIRTIOSERIAL_NUM] = {NULL}; diff --git a/cores/arduino/WInterrupts.h b/cores/arduino/WInterrupts.h index 7294e90fbe..04cecc602a 100644 --- a/cores/arduino/WInterrupts.h +++ b/cores/arduino/WInterrupts.h @@ -22,10 +22,10 @@ #include #ifdef __cplusplus -#include + #include -typedef std::function callback_function_t; -void attachInterrupt(uint32_t pin, callback_function_t callback, uint32_t mode); + typedef std::function callback_function_t; + void attachInterrupt(uint32_t pin, callback_function_t callback, uint32_t mode); #endif diff --git a/cores/arduino/WSerial.h b/cores/arduino/WSerial.h index 6132593314..5cd5e9ef07 100644 --- a/cores/arduino/WSerial.h +++ b/cores/arduino/WSerial.h @@ -7,179 +7,179 @@ #include "VirtIOSerial.h" #if defined (USBCON) && defined(USBD_USE_CDC) -#ifndef DISABLE_GENERIC_SERIALUSB -#define ENABLE_SERIALUSB -#if !defined(Serial) -#define Serial SerialUSB -#define serialEvent serialEventUSB -#endif -#endif + #ifndef DISABLE_GENERIC_SERIALUSB + #define ENABLE_SERIALUSB + #if !defined(Serial) + #define Serial SerialUSB + #define serialEvent serialEventUSB + #endif + #endif -#if defined(ENABLE_SERIALUSB) -#define HAVE_SERIALUSB -#endif + #if defined(ENABLE_SERIALUSB) + #define HAVE_SERIALUSB + #endif -extern void serialEventUSB(void) __attribute__((weak)); + extern void serialEventUSB(void) __attribute__((weak)); #endif /* USBCON && USBD_USE_CDC */ #if defined(VIRTIOCON) -#ifndef DISABLE_GENERIC_SERIALVIRTIO -#define ENABLE_SERIALVIRTIO -#if !defined(Serial) -#define Serial SerialVirtIO -#define serialEvent serialEventVirtIO -#endif -#endif + #ifndef DISABLE_GENERIC_SERIALVIRTIO + #define ENABLE_SERIALVIRTIO + #if !defined(Serial) + #define Serial SerialVirtIO + #define serialEvent serialEventVirtIO + #endif + #endif -#if defined(ENABLE_SERIALVIRTIO) -#define HAVE_SERIALVIRTIO -#endif + #if defined(ENABLE_SERIALVIRTIO) + #define HAVE_SERIALVIRTIO + #endif -extern void serialEventVirtIO(void) __attribute__((weak)); + extern void serialEventVirtIO(void) __attribute__((weak)); #endif /* VIRTIOCON */ #if defined(HAL_UART_MODULE_ENABLED) && !defined(HAL_UART_MODULE_ONLY) -#if !defined(HWSERIAL_NONE) && defined(SERIAL_UART_INSTANCE) -#if SERIAL_UART_INSTANCE == 0 -#define ENABLE_HWSERIALLP1 -#if !defined(Serial) -#define Serial SerialLP1 -#define serialEvent serialEventLP1 -#endif -#elif SERIAL_UART_INSTANCE == 1 -#define ENABLE_HWSERIAL1 -#if !defined(Serial) -#define Serial Serial1 -#define serialEvent serialEvent1 -#endif -#elif SERIAL_UART_INSTANCE == 2 -#define ENABLE_HWSERIAL2 -#if !defined(Serial) -#define Serial Serial2 -#define serialEvent serialEvent2 -#endif -#elif SERIAL_UART_INSTANCE == 3 -#define ENABLE_HWSERIAL3 -#if !defined(Serial) -#define Serial Serial3 -#define serialEvent serialEvent3 -#endif -#elif SERIAL_UART_INSTANCE == 4 -#define ENABLE_HWSERIAL4 -#if !defined(Serial) -#define Serial Serial4 -#define serialEvent serialEvent4 -#endif -#elif SERIAL_UART_INSTANCE == 5 -#define ENABLE_HWSERIAL5 -#if !defined(Serial) -#define Serial Serial5 -#define serialEvent serialEvent5 -#endif -#elif SERIAL_UART_INSTANCE == 6 -#define ENABLE_HWSERIAL6 -#if !defined(Serial) -#define Serial Serial6 -#define serialEvent serialEvent6 -#endif -#elif SERIAL_UART_INSTANCE == 7 -#define ENABLE_HWSERIAL7 -#if !defined(Serial) -#define Serial Serial7 -#define serialEvent serialEvent7 -#endif -#elif SERIAL_UART_INSTANCE == 8 -#define ENABLE_HWSERIAL8 -#if !defined(Serial) -#define Serial Serial8 -#define serialEvent serialEvent8 -#endif -#elif SERIAL_UART_INSTANCE == 9 -#define ENABLE_HWSERIAL9 -#if !defined(Serial) -#define Serial Serial9 -#define serialEvent serialEvent9 -#endif -#elif SERIAL_UART_INSTANCE == 10 -#define ENABLE_HWSERIAL10 -#if !defined(Serial) -#define Serial Serial10 -#define serialEvent serialEvent10 -#endif -#else -#if !defined(Serial) -#warning "No generic 'Serial' defined!" -#endif -#endif /* SERIAL_UART_INSTANCE == x */ -#endif /* !HWSERIAL_NONE && SERIAL_UART_INSTANCE */ + #if !defined(HWSERIAL_NONE) && defined(SERIAL_UART_INSTANCE) + #if SERIAL_UART_INSTANCE == 0 + #define ENABLE_HWSERIALLP1 + #if !defined(Serial) + #define Serial SerialLP1 + #define serialEvent serialEventLP1 + #endif + #elif SERIAL_UART_INSTANCE == 1 + #define ENABLE_HWSERIAL1 + #if !defined(Serial) + #define Serial Serial1 + #define serialEvent serialEvent1 + #endif + #elif SERIAL_UART_INSTANCE == 2 + #define ENABLE_HWSERIAL2 + #if !defined(Serial) + #define Serial Serial2 + #define serialEvent serialEvent2 + #endif + #elif SERIAL_UART_INSTANCE == 3 + #define ENABLE_HWSERIAL3 + #if !defined(Serial) + #define Serial Serial3 + #define serialEvent serialEvent3 + #endif + #elif SERIAL_UART_INSTANCE == 4 + #define ENABLE_HWSERIAL4 + #if !defined(Serial) + #define Serial Serial4 + #define serialEvent serialEvent4 + #endif + #elif SERIAL_UART_INSTANCE == 5 + #define ENABLE_HWSERIAL5 + #if !defined(Serial) + #define Serial Serial5 + #define serialEvent serialEvent5 + #endif + #elif SERIAL_UART_INSTANCE == 6 + #define ENABLE_HWSERIAL6 + #if !defined(Serial) + #define Serial Serial6 + #define serialEvent serialEvent6 + #endif + #elif SERIAL_UART_INSTANCE == 7 + #define ENABLE_HWSERIAL7 + #if !defined(Serial) + #define Serial Serial7 + #define serialEvent serialEvent7 + #endif + #elif SERIAL_UART_INSTANCE == 8 + #define ENABLE_HWSERIAL8 + #if !defined(Serial) + #define Serial Serial8 + #define serialEvent serialEvent8 + #endif + #elif SERIAL_UART_INSTANCE == 9 + #define ENABLE_HWSERIAL9 + #if !defined(Serial) + #define Serial Serial9 + #define serialEvent serialEvent9 + #endif + #elif SERIAL_UART_INSTANCE == 10 + #define ENABLE_HWSERIAL10 + #if !defined(Serial) + #define Serial Serial10 + #define serialEvent serialEvent10 + #endif + #else + #if !defined(Serial) + #warning "No generic 'Serial' defined!" + #endif + #endif /* SERIAL_UART_INSTANCE == x */ + #endif /* !HWSERIAL_NONE && SERIAL_UART_INSTANCE */ -#if defined(ENABLE_HWSERIALLP1) -#if defined(LPUART1_BASE) -#define HAVE_HWSERIALLP1 -#endif -#endif -#if defined(ENABLE_HWSERIAL1) -#if defined(USART1_BASE) -#define HAVE_HWSERIAL1 -#endif -#endif -#if defined(ENABLE_HWSERIAL2) -#if defined(USART2_BASE) -#define HAVE_HWSERIAL2 -#endif -#endif -#if defined(ENABLE_HWSERIAL3) -#if defined(USART3_BASE) -#define HAVE_HWSERIAL3 -#endif -#endif -#if defined(ENABLE_HWSERIAL4) -#if defined(USART4_BASE) || defined(UART4_BASE) -#define HAVE_HWSERIAL4 -#endif -#endif -#if defined(ENABLE_HWSERIAL5) -#if defined(USART5_BASE) || defined(UART5_BASE) -#define HAVE_HWSERIAL5 -#endif -#endif -#if defined(ENABLE_HWSERIAL6) -#if defined(USART6_BASE) -#define HAVE_HWSERIAL6 -#endif -#endif -#if defined(ENABLE_HWSERIAL7) -#if defined(USART7_BASE) || defined(UART7_BASE) -#define HAVE_HWSERIAL7 -#endif -#endif -#if defined(ENABLE_HWSERIAL8) -#if defined(USART8_BASE) || defined(UART8_BASE) -#define HAVE_HWSERIAL8 -#endif -#endif -#if defined(ENABLE_HWSERIAL9) -#if defined(UART9_BASE) -#define HAVE_HWSERIAL9 -#endif -#endif -#if defined(ENABLE_HWSERIAL10) -#if defined(UART10_BASE) -#define HAVE_HWSERIAL10 -#endif -#endif + #if defined(ENABLE_HWSERIALLP1) + #if defined(LPUART1_BASE) + #define HAVE_HWSERIALLP1 + #endif + #endif + #if defined(ENABLE_HWSERIAL1) + #if defined(USART1_BASE) + #define HAVE_HWSERIAL1 + #endif + #endif + #if defined(ENABLE_HWSERIAL2) + #if defined(USART2_BASE) + #define HAVE_HWSERIAL2 + #endif + #endif + #if defined(ENABLE_HWSERIAL3) + #if defined(USART3_BASE) + #define HAVE_HWSERIAL3 + #endif + #endif + #if defined(ENABLE_HWSERIAL4) + #if defined(USART4_BASE) || defined(UART4_BASE) + #define HAVE_HWSERIAL4 + #endif + #endif + #if defined(ENABLE_HWSERIAL5) + #if defined(USART5_BASE) || defined(UART5_BASE) + #define HAVE_HWSERIAL5 + #endif + #endif + #if defined(ENABLE_HWSERIAL6) + #if defined(USART6_BASE) + #define HAVE_HWSERIAL6 + #endif + #endif + #if defined(ENABLE_HWSERIAL7) + #if defined(USART7_BASE) || defined(UART7_BASE) + #define HAVE_HWSERIAL7 + #endif + #endif + #if defined(ENABLE_HWSERIAL8) + #if defined(USART8_BASE) || defined(UART8_BASE) + #define HAVE_HWSERIAL8 + #endif + #endif + #if defined(ENABLE_HWSERIAL9) + #if defined(UART9_BASE) + #define HAVE_HWSERIAL9 + #endif + #endif + #if defined(ENABLE_HWSERIAL10) + #if defined(UART10_BASE) + #define HAVE_HWSERIAL10 + #endif + #endif -extern void serialEvent1(void) __attribute__((weak)); -extern void serialEvent2(void) __attribute__((weak)); -extern void serialEvent3(void) __attribute__((weak)); -extern void serialEvent4(void) __attribute__((weak)); -extern void serialEvent5(void) __attribute__((weak)); -extern void serialEvent6(void) __attribute__((weak)); -extern void serialEvent7(void) __attribute__((weak)); -extern void serialEvent8(void) __attribute__((weak)); -extern void serialEvent9(void) __attribute__((weak)); -extern void serialEvent10(void) __attribute__((weak)); -extern void serialEventLP1(void) __attribute__((weak)); + extern void serialEvent1(void) __attribute__((weak)); + extern void serialEvent2(void) __attribute__((weak)); + extern void serialEvent3(void) __attribute__((weak)); + extern void serialEvent4(void) __attribute__((weak)); + extern void serialEvent5(void) __attribute__((weak)); + extern void serialEvent6(void) __attribute__((weak)); + extern void serialEvent7(void) __attribute__((weak)); + extern void serialEvent8(void) __attribute__((weak)); + extern void serialEvent9(void) __attribute__((weak)); + extern void serialEvent10(void) __attribute__((weak)); + extern void serialEventLP1(void) __attribute__((weak)); #endif /* HAL_UART_MODULE_ENABLED && !HAL_UART_MODULE_ONLY */ extern void serialEventRun(void); diff --git a/cores/arduino/core_debug.h b/cores/arduino/core_debug.h index 12c3bf8c29..dbd51d3368 100644 --- a/cores/arduino/core_debug.h +++ b/cores/arduino/core_debug.h @@ -1,8 +1,8 @@ #ifndef _CORE_DEBUG_H #define _CORE_DEBUG_H #ifdef CORE_DEBUG -#include -#include + #include + #include #endif /* CORE_DEBUG */ #ifdef __cplusplus diff --git a/cores/arduino/pins_arduino.h b/cores/arduino/pins_arduino.h index bb10fe80e8..96160a7a89 100644 --- a/cores/arduino/pins_arduino.h +++ b/cores/arduino/pins_arduino.h @@ -54,18 +54,18 @@ enum { // Arduino analog pins #ifndef NUM_ANALOG_INPUTS -#define NUM_ANALOG_INPUTS 0 + #define NUM_ANALOG_INPUTS 0 #endif // If NUM_ANALOG_FIRST is not defined: // - Ax are not contiguous in the digitalPin array // - analogInputPin array is available #ifndef NUM_ANALOG_FIRST -#define NUM_ANALOG_FIRST (NUM_DIGITAL_PINS + 1) -#define NUM_ANALOG_LAST (NUM_DIGITAL_PINS + NUM_ANALOG_INPUTS) -#define NUM_ANALOG_INTERNAL_FIRST (NUM_ANALOG_LAST + 1) + #define NUM_ANALOG_FIRST (NUM_DIGITAL_PINS + 1) + #define NUM_ANALOG_LAST (NUM_DIGITAL_PINS + NUM_ANALOG_INPUTS) + #define NUM_ANALOG_INTERNAL_FIRST (NUM_ANALOG_LAST + 1) #else -#define NUM_ANALOG_INTERNAL_FIRST (NUM_DIGITAL_PINS + 1) + #define NUM_ANALOG_INTERNAL_FIRST (NUM_DIGITAL_PINS + 1) #endif // If NUM_ANALOG_INPUTS is not defined there is no analog pins defined. @@ -80,125 +80,125 @@ _Static_assert(NUM_ANALOG_FIRST >= NUM_ANALOG_INPUTS, "First analog pin value (A0) must be greater than or equal to NUM_ANALOG_INPUTS"); #if NUM_ANALOG_INPUTS > 0 -#define PIN_A0 NUM_ANALOG_FIRST -static const uint8_t A0 = PIN_A0; + #define PIN_A0 NUM_ANALOG_FIRST + static const uint8_t A0 = PIN_A0; #endif #if NUM_ANALOG_INPUTS > 1 -#define PIN_A1 (PIN_A0 + 1) -static const uint8_t A1 = PIN_A1; + #define PIN_A1 (PIN_A0 + 1) + static const uint8_t A1 = PIN_A1; #endif #if NUM_ANALOG_INPUTS > 2 -#define PIN_A2 (PIN_A1 + 1) -static const uint8_t A2 = PIN_A2; + #define PIN_A2 (PIN_A1 + 1) + static const uint8_t A2 = PIN_A2; #endif #if NUM_ANALOG_INPUTS > 3 -#define PIN_A3 (PIN_A2 + 1) -static const uint8_t A3 = PIN_A3; + #define PIN_A3 (PIN_A2 + 1) + static const uint8_t A3 = PIN_A3; #endif #if NUM_ANALOG_INPUTS > 4 -#define PIN_A4 (PIN_A3 + 1) -static const uint8_t A4 = PIN_A4; + #define PIN_A4 (PIN_A3 + 1) + static const uint8_t A4 = PIN_A4; #endif #if NUM_ANALOG_INPUTS > 5 -#define PIN_A5 (PIN_A4 + 1) -static const uint8_t A5 = PIN_A5; + #define PIN_A5 (PIN_A4 + 1) + static const uint8_t A5 = PIN_A5; #endif #if NUM_ANALOG_INPUTS > 6 -#define PIN_A6 (PIN_A5 + 1) -static const uint8_t A6 = PIN_A6; + #define PIN_A6 (PIN_A5 + 1) + static const uint8_t A6 = PIN_A6; #endif #if NUM_ANALOG_INPUTS > 7 -#define PIN_A7 (PIN_A6 + 1) -static const uint8_t A7 = PIN_A7; + #define PIN_A7 (PIN_A6 + 1) + static const uint8_t A7 = PIN_A7; #endif #if NUM_ANALOG_INPUTS > 8 -#define PIN_A8 (PIN_A7 + 1) -static const uint8_t A8 = PIN_A8; + #define PIN_A8 (PIN_A7 + 1) + static const uint8_t A8 = PIN_A8; #endif #if NUM_ANALOG_INPUTS > 9 -#define PIN_A9 (PIN_A8 + 1) -static const uint8_t A9 = PIN_A9; + #define PIN_A9 (PIN_A8 + 1) + static const uint8_t A9 = PIN_A9; #endif #if NUM_ANALOG_INPUTS > 10 -#define PIN_A10 (PIN_A9 + 1) -static const uint8_t A10 = PIN_A10; + #define PIN_A10 (PIN_A9 + 1) + static const uint8_t A10 = PIN_A10; #endif #if NUM_ANALOG_INPUTS > 11 -#define PIN_A11 (PIN_A10 + 1) -static const uint8_t A11 = PIN_A11; + #define PIN_A11 (PIN_A10 + 1) + static const uint8_t A11 = PIN_A11; #endif #if NUM_ANALOG_INPUTS > 12 -#define PIN_A12 (PIN_A11 + 1) -static const uint8_t A12 = PIN_A12; + #define PIN_A12 (PIN_A11 + 1) + static const uint8_t A12 = PIN_A12; #endif #if NUM_ANALOG_INPUTS > 13 -#define PIN_A13 (PIN_A12 + 1) -static const uint8_t A13 = PIN_A13; + #define PIN_A13 (PIN_A12 + 1) + static const uint8_t A13 = PIN_A13; #endif #if NUM_ANALOG_INPUTS > 14 -#define PIN_A14 (PIN_A13 + 1) -static const uint8_t A14 = PIN_A14; + #define PIN_A14 (PIN_A13 + 1) + static const uint8_t A14 = PIN_A14; #endif #if NUM_ANALOG_INPUTS > 15 -#define PIN_A15 (PIN_A14 + 1) -static const uint8_t A15 = PIN_A15; + #define PIN_A15 (PIN_A14 + 1) + static const uint8_t A15 = PIN_A15; #endif #if NUM_ANALOG_INPUTS > 16 -#define PIN_A16 (PIN_A15 + 1) -static const uint8_t A16 = PIN_A16; + #define PIN_A16 (PIN_A15 + 1) + static const uint8_t A16 = PIN_A16; #endif #if NUM_ANALOG_INPUTS > 17 -#define PIN_A17 (PIN_A16 + 1) -static const uint8_t A17 = PIN_A17; + #define PIN_A17 (PIN_A16 + 1) + static const uint8_t A17 = PIN_A17; #endif #if NUM_ANALOG_INPUTS > 18 -#define PIN_A18 (PIN_A17 + 1) -static const uint8_t A18 = PIN_A18; + #define PIN_A18 (PIN_A17 + 1) + static const uint8_t A18 = PIN_A18; #endif #if NUM_ANALOG_INPUTS > 19 -#define PIN_A19 (PIN_A18 + 1) -static const uint8_t A19 = PIN_A19; + #define PIN_A19 (PIN_A18 + 1) + static const uint8_t A19 = PIN_A19; #endif #if NUM_ANALOG_INPUTS > 20 -#define PIN_A20 (PIN_A19 + 1) -static const uint8_t A20 = PIN_A20; + #define PIN_A20 (PIN_A19 + 1) + static const uint8_t A20 = PIN_A20; #endif #if NUM_ANALOG_INPUTS > 21 -#define PIN_A21 (PIN_A20 + 1) -static const uint8_t A21 = PIN_A21; + #define PIN_A21 (PIN_A20 + 1) + static const uint8_t A21 = PIN_A21; #endif #if NUM_ANALOG_INPUTS > 22 -#define PIN_A22 (PIN_A21 + 1) -static const uint8_t A22 = PIN_A22; + #define PIN_A22 (PIN_A21 + 1) + static const uint8_t A22 = PIN_A22; #endif #if NUM_ANALOG_INPUTS > 23 -#define PIN_A23 (PIN_A22 + 1) -static const uint8_t A23 = PIN_A23; + #define PIN_A23 (PIN_A22 + 1) + static const uint8_t A23 = PIN_A23; #endif #endif /* NUM_ANALOG_INPUTS > 0 */ // Default for Arduino connector compatibility // SPI Definitions #ifndef PIN_SPI_SS -#define PIN_SPI_SS 10 + #define PIN_SPI_SS 10 #endif #ifndef PIN_SPI_SS1 -#define PIN_SPI_SS1 4 + #define PIN_SPI_SS1 4 #endif #ifndef PIN_SPI_SS2 -#define PIN_SPI_SS2 7 + #define PIN_SPI_SS2 7 #endif #ifndef PIN_SPI_SS3 -#define PIN_SPI_SS3 8 + #define PIN_SPI_SS3 8 #endif #ifndef PIN_SPI_MOSI -#define PIN_SPI_MOSI 11 + #define PIN_SPI_MOSI 11 #endif #ifndef PIN_SPI_MISO -#define PIN_SPI_MISO 12 + #define PIN_SPI_MISO 12 #endif #ifndef PIN_SPI_SCK -#define PIN_SPI_SCK 13 + #define PIN_SPI_SCK 13 #endif static const uint8_t SS = PIN_SPI_SS; @@ -211,10 +211,10 @@ static const uint8_t SCK = PIN_SPI_SCK; // I2C Definitions #ifndef PIN_WIRE_SDA -#define PIN_WIRE_SDA 14 + #define PIN_WIRE_SDA 14 #endif #ifndef PIN_WIRE_SCL -#define PIN_WIRE_SCL 15 + #define PIN_WIRE_SCL 15 #endif static const uint8_t SDA = PIN_WIRE_SDA; @@ -223,16 +223,16 @@ static const uint8_t SCL = PIN_WIRE_SCL; // ADC internal channels (not a pins) // Only used for analogRead() #if defined(ADC_CHANNEL_TEMPSENSOR) || defined(ADC_CHANNEL_TEMPSENSOR_ADC1) -#define ATEMP (NUM_ANALOG_INTERNAL_FIRST) + #define ATEMP (NUM_ANALOG_INTERNAL_FIRST) #endif #ifdef ADC_CHANNEL_VREFINT -#define AVREF (NUM_ANALOG_INTERNAL_FIRST + 2) + #define AVREF (NUM_ANALOG_INTERNAL_FIRST + 2) #endif #ifdef ADC_CHANNEL_VBAT -#define AVBAT (NUM_ANALOG_INTERNAL_FIRST + 3) + #define AVBAT (NUM_ANALOG_INTERNAL_FIRST + 3) #endif #if defined(ADC5) && defined(ADC_CHANNEL_TEMPSENSOR_ADC5) -#define ATEMP_ADC5 (NUM_ANALOG_INTERNAL_FIRST + 4) + #define ATEMP_ADC5 (NUM_ANALOG_INTERNAL_FIRST + 4) #endif #ifdef __cplusplus @@ -340,13 +340,13 @@ uint32_t digitalPinToAnalogInput(uint32_t pin); // Default Definitions, could be redefined in variant.h #ifndef ADC_RESOLUTION -#define ADC_RESOLUTION 10 + #define ADC_RESOLUTION 10 #endif #define DACC_RESOLUTION 12 #ifndef PWM_RESOLUTION -#define PWM_RESOLUTION 8 + #define PWM_RESOLUTION 8 #endif _Static_assert((ADC_RESOLUTION > 0) &&(ADC_RESOLUTION <= 32), @@ -355,10 +355,10 @@ _Static_assert((PWM_RESOLUTION > 0) &&(PWM_RESOLUTION <= 32), "PWM_RESOLUTION must be 0 < x <= 32!"); #ifndef PWM_FREQUENCY -#define PWM_FREQUENCY 1000 + #define PWM_FREQUENCY 1000 #endif #ifndef PWM_MAX_DUTY_CYCLE -#define PWM_MAX_DUTY_CYCLE 4095 + #define PWM_MAX_DUTY_CYCLE 4095 #endif #endif /*_PINS_ARDUINO_H_*/ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_adc.h b/cores/arduino/stm32/LL/stm32yyxx_ll_adc.h index 2a0bf19b99..e8e9dd42a1 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_adc.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_adc.h @@ -6,46 +6,46 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_adc.h" + #include "stm32f0xx_ll_adc.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_adc.h" + #include "stm32f1xx_ll_adc.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_adc.h" + #include "stm32f2xx_ll_adc.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_adc.h" + #include "stm32f3xx_ll_adc.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_adc.h" + #include "stm32f4xx_ll_adc.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_adc.h" + #include "stm32f7xx_ll_adc.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_adc.h" + #include "stm32g0xx_ll_adc.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_adc.h" + #include "stm32g4xx_ll_adc.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_adc.h" + #include "stm32h7xx_ll_adc.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_adc.h" + #include "stm32l0xx_ll_adc.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_adc.h" + #include "stm32l1xx_ll_adc.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_adc.h" + #include "stm32l4xx_ll_adc.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_adc.h" + #include "stm32mp1xx_ll_adc.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_adc.h" + #include "stm32wbxx_ll_adc.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_ADC_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_bdma.h b/cores/arduino/stm32/LL/stm32yyxx_ll_bdma.h index eb947a32e7..d38b938e8e 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_bdma.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_bdma.h @@ -6,7 +6,7 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32H7xx -#include "stm32h7xx_ll_bdma.h" + #include "stm32h7xx_ll_bdma.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_BDMA_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_bus.h b/cores/arduino/stm32/LL/stm32yyxx_ll_bus.h index 60fb1cee1a..05bf43ce83 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_bus.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_bus.h @@ -6,46 +6,46 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_bus.h" + #include "stm32f0xx_ll_bus.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_bus.h" + #include "stm32f1xx_ll_bus.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_bus.h" + #include "stm32f2xx_ll_bus.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_bus.h" + #include "stm32f3xx_ll_bus.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_bus.h" + #include "stm32f4xx_ll_bus.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_bus.h" + #include "stm32f7xx_ll_bus.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_bus.h" + #include "stm32g0xx_ll_bus.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_bus.h" + #include "stm32g4xx_ll_bus.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_bus.h" + #include "stm32h7xx_ll_bus.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_bus.h" + #include "stm32l0xx_ll_bus.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_bus.h" + #include "stm32l1xx_ll_bus.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_bus.h" + #include "stm32l4xx_ll_bus.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_bus.h" + #include "stm32mp1xx_ll_bus.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_bus.h" + #include "stm32wbxx_ll_bus.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_BUS_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_comp.h b/cores/arduino/stm32/LL/stm32yyxx_ll_comp.h index 085aa8d3e2..1a32eca83a 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_comp.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_comp.h @@ -6,31 +6,31 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_comp.h" + #include "stm32f0xx_ll_comp.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_comp.h" + #include "stm32f3xx_ll_comp.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_comp.h" + #include "stm32g0xx_ll_comp.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_comp.h" + #include "stm32g4xx_ll_comp.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_comp.h" + #include "stm32h7xx_ll_comp.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_comp.h" + #include "stm32l0xx_ll_comp.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_comp.h" + #include "stm32l1xx_ll_comp.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_comp.h" + #include "stm32l4xx_ll_comp.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_comp.h" + #include "stm32wbxx_ll_comp.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_COMP_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_cordic.h b/cores/arduino/stm32/LL/stm32yyxx_ll_cordic.h index 3749fa5ad9..39d7dcd423 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_cordic.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_cordic.h @@ -6,7 +6,7 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32G4xx -#include "stm32g4xx_ll_cordic.h" + #include "stm32g4xx_ll_cordic.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_CORDIC_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_cortex.h b/cores/arduino/stm32/LL/stm32yyxx_ll_cortex.h index ffdc5f97f1..e4d2fce933 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_cortex.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_cortex.h @@ -6,46 +6,46 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_cortex.h" + #include "stm32f0xx_ll_cortex.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_cortex.h" + #include "stm32f1xx_ll_cortex.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_cortex.h" + #include "stm32f2xx_ll_cortex.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_cortex.h" + #include "stm32f3xx_ll_cortex.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_cortex.h" + #include "stm32f4xx_ll_cortex.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_cortex.h" + #include "stm32f7xx_ll_cortex.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_cortex.h" + #include "stm32g0xx_ll_cortex.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_cortex.h" + #include "stm32g4xx_ll_cortex.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_cortex.h" + #include "stm32h7xx_ll_cortex.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_cortex.h" + #include "stm32l0xx_ll_cortex.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_cortex.h" + #include "stm32l1xx_ll_cortex.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_cortex.h" + #include "stm32l4xx_ll_cortex.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_cortex.h" + #include "stm32mp1xx_ll_cortex.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_cortex.h" + #include "stm32wbxx_ll_cortex.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_CORTEX_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_crc.h b/cores/arduino/stm32/LL/stm32yyxx_ll_crc.h index 74e769c6f6..57298e1f24 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_crc.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_crc.h @@ -6,43 +6,43 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_crc.h" + #include "stm32f0xx_ll_crc.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_crc.h" + #include "stm32f1xx_ll_crc.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_crc.h" + #include "stm32f2xx_ll_crc.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_crc.h" + #include "stm32f3xx_ll_crc.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_crc.h" + #include "stm32f4xx_ll_crc.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_crc.h" + #include "stm32f7xx_ll_crc.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_crc.h" + #include "stm32g0xx_ll_crc.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_crc.h" + #include "stm32g4xx_ll_crc.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_crc.h" + #include "stm32h7xx_ll_crc.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_crc.h" + #include "stm32l0xx_ll_crc.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_crc.h" + #include "stm32l1xx_ll_crc.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_crc.h" + #include "stm32l4xx_ll_crc.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_crc.h" + #include "stm32wbxx_ll_crc.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_CRC_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_crs.h b/cores/arduino/stm32/LL/stm32yyxx_ll_crs.h index 4457e9babf..0ac84b0419 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_crs.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_crs.h @@ -6,22 +6,22 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_crs.h" + #include "stm32f0xx_ll_crs.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_crs.h" + #include "stm32g4xx_ll_crs.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_crs.h" + #include "stm32h7xx_ll_crs.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_crs.h" + #include "stm32l0xx_ll_crs.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_crs.h" + #include "stm32l4xx_ll_crs.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_crs.h" + #include "stm32wbxx_ll_crs.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_CRS_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_dac.h b/cores/arduino/stm32/LL/stm32yyxx_ll_dac.h index 816f9ac702..b21775d693 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_dac.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_dac.h @@ -6,40 +6,40 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_dac.h" + #include "stm32f0xx_ll_dac.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_dac.h" + #include "stm32f1xx_ll_dac.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_dac.h" + #include "stm32f2xx_ll_dac.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_dac.h" + #include "stm32f3xx_ll_dac.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_dac.h" + #include "stm32f4xx_ll_dac.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_dac.h" + #include "stm32f7xx_ll_dac.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_dac.h" + #include "stm32g0xx_ll_dac.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_dac.h" + #include "stm32g4xx_ll_dac.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_dac.h" + #include "stm32h7xx_ll_dac.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_dac.h" + #include "stm32l0xx_ll_dac.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_dac.h" + #include "stm32l1xx_ll_dac.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_dac.h" + #include "stm32l4xx_ll_dac.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_DAC_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_delayblock.h b/cores/arduino/stm32/LL/stm32yyxx_ll_delayblock.h index 31b196938b..df61992681 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_delayblock.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_delayblock.h @@ -6,10 +6,10 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32H7xx -#include "stm32h7xx_ll_delayblock.h" + #include "stm32h7xx_ll_delayblock.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_delayblock.h" + #include "stm32mp1xx_ll_delayblock.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_DELAYBLOCK_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_dma.h b/cores/arduino/stm32/LL/stm32yyxx_ll_dma.h index 7934e701f2..4e1779eab0 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_dma.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_dma.h @@ -6,46 +6,46 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_dma.h" + #include "stm32f0xx_ll_dma.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_dma.h" + #include "stm32f1xx_ll_dma.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_dma.h" + #include "stm32f2xx_ll_dma.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_dma.h" + #include "stm32f3xx_ll_dma.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_dma.h" + #include "stm32f4xx_ll_dma.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_dma.h" + #include "stm32f7xx_ll_dma.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_dma.h" + #include "stm32g0xx_ll_dma.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_dma.h" + #include "stm32g4xx_ll_dma.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_dma.h" + #include "stm32h7xx_ll_dma.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_dma.h" + #include "stm32l0xx_ll_dma.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_dma.h" + #include "stm32l1xx_ll_dma.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_dma.h" + #include "stm32l4xx_ll_dma.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_dma.h" + #include "stm32mp1xx_ll_dma.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_dma.h" + #include "stm32wbxx_ll_dma.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_DMA_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_dma2d.h b/cores/arduino/stm32/LL/stm32yyxx_ll_dma2d.h index 0294f7784b..29022b342b 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_dma2d.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_dma2d.h @@ -6,16 +6,16 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F4xx -#include "stm32f4xx_ll_dma2d.h" + #include "stm32f4xx_ll_dma2d.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_dma2d.h" + #include "stm32f7xx_ll_dma2d.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_dma2d.h" + #include "stm32h7xx_ll_dma2d.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_dma2d.h" + #include "stm32l4xx_ll_dma2d.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_DMA2D_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_dmamux.h b/cores/arduino/stm32/LL/stm32yyxx_ll_dmamux.h index 17ff3815ac..3447c28348 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_dmamux.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_dmamux.h @@ -6,22 +6,22 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32G0xx -#include "stm32g0xx_ll_dmamux.h" + #include "stm32g0xx_ll_dmamux.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_dmamux.h" + #include "stm32g4xx_ll_dmamux.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_dmamux.h" + #include "stm32h7xx_ll_dmamux.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_dmamux.h" + #include "stm32l4xx_ll_dmamux.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_dmamux.h" + #include "stm32mp1xx_ll_dmamux.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_dmamux.h" + #include "stm32wbxx_ll_dmamux.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_DMAMUX_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_exti.h b/cores/arduino/stm32/LL/stm32yyxx_ll_exti.h index 2c11b97202..35d05d965d 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_exti.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_exti.h @@ -6,46 +6,46 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_exti.h" + #include "stm32f0xx_ll_exti.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_exti.h" + #include "stm32f1xx_ll_exti.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_exti.h" + #include "stm32f2xx_ll_exti.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_exti.h" + #include "stm32f3xx_ll_exti.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_exti.h" + #include "stm32f4xx_ll_exti.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_exti.h" + #include "stm32f7xx_ll_exti.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_exti.h" + #include "stm32g0xx_ll_exti.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_exti.h" + #include "stm32g4xx_ll_exti.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_exti.h" + #include "stm32h7xx_ll_exti.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_exti.h" + #include "stm32l0xx_ll_exti.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_exti.h" + #include "stm32l1xx_ll_exti.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_exti.h" + #include "stm32l4xx_ll_exti.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_exti.h" + #include "stm32mp1xx_ll_exti.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_exti.h" + #include "stm32wbxx_ll_exti.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_EXTI_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_fmac.h b/cores/arduino/stm32/LL/stm32yyxx_ll_fmac.h index 6b1b9994f0..daff0ed327 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_fmac.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_fmac.h @@ -6,7 +6,7 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32G4xx -#include "stm32g4xx_ll_fmac.h" + #include "stm32g4xx_ll_fmac.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_FMAC_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_fmc.h b/cores/arduino/stm32/LL/stm32yyxx_ll_fmc.h index 0053a7fe32..99c3bb71a4 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_fmc.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_fmc.h @@ -6,25 +6,25 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F3xx -#include "stm32f3xx_ll_fmc.h" + #include "stm32f3xx_ll_fmc.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_fmc.h" + #include "stm32f4xx_ll_fmc.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_fmc.h" + #include "stm32f7xx_ll_fmc.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_fmc.h" + #include "stm32g4xx_ll_fmc.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_fmc.h" + #include "stm32h7xx_ll_fmc.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_fmc.h" + #include "stm32l4xx_ll_fmc.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_fmc.h" + #include "stm32mp1xx_ll_fmc.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_FMC_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_fsmc.h b/cores/arduino/stm32/LL/stm32yyxx_ll_fsmc.h index 1e84b9b813..be04adf5bf 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_fsmc.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_fsmc.h @@ -6,16 +6,16 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F1xx -#include "stm32f1xx_ll_fsmc.h" + #include "stm32f1xx_ll_fsmc.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_fsmc.h" + #include "stm32f2xx_ll_fsmc.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_fsmc.h" + #include "stm32f4xx_ll_fsmc.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_fsmc.h" + #include "stm32l1xx_ll_fsmc.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_FSMC_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_gpio.h b/cores/arduino/stm32/LL/stm32yyxx_ll_gpio.h index ea2fe6db64..3900b9358f 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_gpio.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_gpio.h @@ -6,46 +6,46 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_gpio.h" + #include "stm32f0xx_ll_gpio.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_gpio.h" + #include "stm32f1xx_ll_gpio.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_gpio.h" + #include "stm32f2xx_ll_gpio.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_gpio.h" + #include "stm32f3xx_ll_gpio.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_gpio.h" + #include "stm32f4xx_ll_gpio.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_gpio.h" + #include "stm32f7xx_ll_gpio.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_gpio.h" + #include "stm32g0xx_ll_gpio.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_gpio.h" + #include "stm32g4xx_ll_gpio.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_gpio.h" + #include "stm32h7xx_ll_gpio.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_gpio.h" + #include "stm32l0xx_ll_gpio.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_gpio.h" + #include "stm32l1xx_ll_gpio.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_gpio.h" + #include "stm32l4xx_ll_gpio.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_gpio.h" + #include "stm32mp1xx_ll_gpio.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_gpio.h" + #include "stm32wbxx_ll_gpio.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_GPIO_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_hrtim.h b/cores/arduino/stm32/LL/stm32yyxx_ll_hrtim.h index aad74b9421..fbc8e564c7 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_hrtim.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_hrtim.h @@ -6,13 +6,13 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F3xx -#include "stm32f3xx_ll_hrtim.h" + #include "stm32f3xx_ll_hrtim.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_hrtim.h" + #include "stm32g4xx_ll_hrtim.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_hrtim.h" + #include "stm32h7xx_ll_hrtim.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_HRTIM_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_hsem.h b/cores/arduino/stm32/LL/stm32yyxx_ll_hsem.h index 00b4b5266c..b976cdcd33 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_hsem.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_hsem.h @@ -6,13 +6,13 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32H7xx -#include "stm32h7xx_ll_hsem.h" + #include "stm32h7xx_ll_hsem.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_hsem.h" + #include "stm32mp1xx_ll_hsem.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_hsem.h" + #include "stm32wbxx_ll_hsem.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_HSEM_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_i2c.h b/cores/arduino/stm32/LL/stm32yyxx_ll_i2c.h index 2eea3e0572..fd3b491db6 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_i2c.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_i2c.h @@ -6,46 +6,46 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_i2c.h" + #include "stm32f0xx_ll_i2c.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_i2c.h" + #include "stm32f1xx_ll_i2c.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_i2c.h" + #include "stm32f2xx_ll_i2c.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_i2c.h" + #include "stm32f3xx_ll_i2c.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_i2c.h" + #include "stm32f4xx_ll_i2c.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_i2c.h" + #include "stm32f7xx_ll_i2c.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_i2c.h" + #include "stm32g0xx_ll_i2c.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_i2c.h" + #include "stm32g4xx_ll_i2c.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_i2c.h" + #include "stm32h7xx_ll_i2c.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_i2c.h" + #include "stm32l0xx_ll_i2c.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_i2c.h" + #include "stm32l1xx_ll_i2c.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_i2c.h" + #include "stm32l4xx_ll_i2c.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_i2c.h" + #include "stm32mp1xx_ll_i2c.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_i2c.h" + #include "stm32wbxx_ll_i2c.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_I2C_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_ipcc.h b/cores/arduino/stm32/LL/stm32yyxx_ll_ipcc.h index 3cf1b3d30d..0c0cf7885a 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_ipcc.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_ipcc.h @@ -6,10 +6,10 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32MP1xx -#include "stm32mp1xx_ll_ipcc.h" + #include "stm32mp1xx_ll_ipcc.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_ipcc.h" + #include "stm32wbxx_ll_ipcc.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_IPCC_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_iwdg.h b/cores/arduino/stm32/LL/stm32yyxx_ll_iwdg.h index 44c216c55d..94d87f9e19 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_iwdg.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_iwdg.h @@ -6,43 +6,43 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_iwdg.h" + #include "stm32f0xx_ll_iwdg.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_iwdg.h" + #include "stm32f1xx_ll_iwdg.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_iwdg.h" + #include "stm32f2xx_ll_iwdg.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_iwdg.h" + #include "stm32f3xx_ll_iwdg.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_iwdg.h" + #include "stm32f4xx_ll_iwdg.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_iwdg.h" + #include "stm32f7xx_ll_iwdg.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_iwdg.h" + #include "stm32g0xx_ll_iwdg.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_iwdg.h" + #include "stm32g4xx_ll_iwdg.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_iwdg.h" + #include "stm32h7xx_ll_iwdg.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_iwdg.h" + #include "stm32l0xx_ll_iwdg.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_iwdg.h" + #include "stm32l1xx_ll_iwdg.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_iwdg.h" + #include "stm32l4xx_ll_iwdg.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_iwdg.h" + #include "stm32wbxx_ll_iwdg.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_IWDG_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_lptim.h b/cores/arduino/stm32/LL/stm32yyxx_ll_lptim.h index eab6747d1e..fcb3b8317c 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_lptim.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_lptim.h @@ -6,31 +6,31 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F4xx -#include "stm32f4xx_ll_lptim.h" + #include "stm32f4xx_ll_lptim.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_lptim.h" + #include "stm32f7xx_ll_lptim.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_lptim.h" + #include "stm32g0xx_ll_lptim.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_lptim.h" + #include "stm32g4xx_ll_lptim.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_lptim.h" + #include "stm32h7xx_ll_lptim.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_lptim.h" + #include "stm32l0xx_ll_lptim.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_lptim.h" + #include "stm32l4xx_ll_lptim.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_lptim.h" + #include "stm32mp1xx_ll_lptim.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_lptim.h" + #include "stm32wbxx_ll_lptim.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_LPTIM_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_lpuart.h b/cores/arduino/stm32/LL/stm32yyxx_ll_lpuart.h index b106deb246..d0507cd90c 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_lpuart.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_lpuart.h @@ -6,22 +6,22 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32G0xx -#include "stm32g0xx_ll_lpuart.h" + #include "stm32g0xx_ll_lpuart.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_lpuart.h" + #include "stm32g4xx_ll_lpuart.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_lpuart.h" + #include "stm32h7xx_ll_lpuart.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_lpuart.h" + #include "stm32l0xx_ll_lpuart.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_lpuart.h" + #include "stm32l4xx_ll_lpuart.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_lpuart.h" + #include "stm32wbxx_ll_lpuart.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_LPUART_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_mdma.h b/cores/arduino/stm32/LL/stm32yyxx_ll_mdma.h index eda12e96d5..37bfb212f4 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_mdma.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_mdma.h @@ -6,7 +6,7 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32H7xx -#include "stm32h7xx_ll_mdma.h" + #include "stm32h7xx_ll_mdma.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_MDMA_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_opamp.h b/cores/arduino/stm32/LL/stm32yyxx_ll_opamp.h index 6ae7bf7a11..f54632c75e 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_opamp.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_opamp.h @@ -6,19 +6,19 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F3xx -#include "stm32f3xx_ll_opamp.h" + #include "stm32f3xx_ll_opamp.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_opamp.h" + #include "stm32g4xx_ll_opamp.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_opamp.h" + #include "stm32h7xx_ll_opamp.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_opamp.h" + #include "stm32l1xx_ll_opamp.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_opamp.h" + #include "stm32l4xx_ll_opamp.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_OPAMP_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_pka.h b/cores/arduino/stm32/LL/stm32yyxx_ll_pka.h index c940da95b0..447c4b6140 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_pka.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_pka.h @@ -6,10 +6,10 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32L4xx -#include "stm32l4xx_ll_pka.h" + #include "stm32l4xx_ll_pka.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_pka.h" + #include "stm32wbxx_ll_pka.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_PKA_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_pwr.h b/cores/arduino/stm32/LL/stm32yyxx_ll_pwr.h index 2164a120b9..b30509db76 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_pwr.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_pwr.h @@ -6,46 +6,46 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_pwr.h" + #include "stm32f0xx_ll_pwr.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_pwr.h" + #include "stm32f1xx_ll_pwr.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_pwr.h" + #include "stm32f2xx_ll_pwr.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_pwr.h" + #include "stm32f3xx_ll_pwr.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_pwr.h" + #include "stm32f4xx_ll_pwr.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_pwr.h" + #include "stm32f7xx_ll_pwr.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_pwr.h" + #include "stm32g0xx_ll_pwr.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_pwr.h" + #include "stm32g4xx_ll_pwr.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_pwr.h" + #include "stm32h7xx_ll_pwr.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_pwr.h" + #include "stm32l0xx_ll_pwr.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_pwr.h" + #include "stm32l1xx_ll_pwr.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_pwr.h" + #include "stm32l4xx_ll_pwr.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_pwr.h" + #include "stm32mp1xx_ll_pwr.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_pwr.h" + #include "stm32wbxx_ll_pwr.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_PWR_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_rcc.h b/cores/arduino/stm32/LL/stm32yyxx_ll_rcc.h index 72c3f3b93b..ca39012391 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_rcc.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_rcc.h @@ -6,46 +6,46 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_rcc.h" + #include "stm32f0xx_ll_rcc.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_rcc.h" + #include "stm32f1xx_ll_rcc.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_rcc.h" + #include "stm32f2xx_ll_rcc.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_rcc.h" + #include "stm32f3xx_ll_rcc.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_rcc.h" + #include "stm32f4xx_ll_rcc.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_rcc.h" + #include "stm32f7xx_ll_rcc.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_rcc.h" + #include "stm32g0xx_ll_rcc.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_rcc.h" + #include "stm32g4xx_ll_rcc.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_rcc.h" + #include "stm32h7xx_ll_rcc.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_rcc.h" + #include "stm32l0xx_ll_rcc.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_rcc.h" + #include "stm32l1xx_ll_rcc.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_rcc.h" + #include "stm32l4xx_ll_rcc.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_rcc.h" + #include "stm32mp1xx_ll_rcc.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_rcc.h" + #include "stm32wbxx_ll_rcc.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_RCC_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_rng.h b/cores/arduino/stm32/LL/stm32yyxx_ll_rng.h index 0a75955648..2f1d07ac74 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_rng.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_rng.h @@ -6,31 +6,31 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F2xx -#include "stm32f2xx_ll_rng.h" + #include "stm32f2xx_ll_rng.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_rng.h" + #include "stm32f4xx_ll_rng.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_rng.h" + #include "stm32f7xx_ll_rng.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_rng.h" + #include "stm32g0xx_ll_rng.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_rng.h" + #include "stm32g4xx_ll_rng.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_rng.h" + #include "stm32h7xx_ll_rng.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_rng.h" + #include "stm32l0xx_ll_rng.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_rng.h" + #include "stm32l4xx_ll_rng.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_rng.h" + #include "stm32wbxx_ll_rng.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_RNG_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_rtc.h b/cores/arduino/stm32/LL/stm32yyxx_ll_rtc.h index bca606afc7..6b3c596184 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_rtc.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_rtc.h @@ -6,46 +6,46 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_rtc.h" + #include "stm32f0xx_ll_rtc.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_rtc.h" + #include "stm32f1xx_ll_rtc.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_rtc.h" + #include "stm32f2xx_ll_rtc.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_rtc.h" + #include "stm32f3xx_ll_rtc.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_rtc.h" + #include "stm32f4xx_ll_rtc.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_rtc.h" + #include "stm32f7xx_ll_rtc.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_rtc.h" + #include "stm32g0xx_ll_rtc.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_rtc.h" + #include "stm32g4xx_ll_rtc.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_rtc.h" + #include "stm32h7xx_ll_rtc.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_rtc.h" + #include "stm32l0xx_ll_rtc.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_rtc.h" + #include "stm32l1xx_ll_rtc.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_rtc.h" + #include "stm32l4xx_ll_rtc.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_rtc.h" + #include "stm32mp1xx_ll_rtc.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_rtc.h" + #include "stm32wbxx_ll_rtc.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_RTC_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_sdmmc.h b/cores/arduino/stm32/LL/stm32yyxx_ll_sdmmc.h index 482b302abc..b08e537169 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_sdmmc.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_sdmmc.h @@ -6,28 +6,28 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F1xx -#include "stm32f1xx_ll_sdmmc.h" + #include "stm32f1xx_ll_sdmmc.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_sdmmc.h" + #include "stm32f2xx_ll_sdmmc.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_sdmmc.h" + #include "stm32f4xx_ll_sdmmc.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_sdmmc.h" + #include "stm32f7xx_ll_sdmmc.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_sdmmc.h" + #include "stm32h7xx_ll_sdmmc.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_sdmmc.h" + #include "stm32l1xx_ll_sdmmc.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_sdmmc.h" + #include "stm32l4xx_ll_sdmmc.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_sdmmc.h" + #include "stm32mp1xx_ll_sdmmc.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_SDMMC_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_spi.h b/cores/arduino/stm32/LL/stm32yyxx_ll_spi.h index d52e469b4c..fd498e4b11 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_spi.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_spi.h @@ -6,46 +6,46 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_spi.h" + #include "stm32f0xx_ll_spi.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_spi.h" + #include "stm32f1xx_ll_spi.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_spi.h" + #include "stm32f2xx_ll_spi.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_spi.h" + #include "stm32f3xx_ll_spi.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_spi.h" + #include "stm32f4xx_ll_spi.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_spi.h" + #include "stm32f7xx_ll_spi.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_spi.h" + #include "stm32g0xx_ll_spi.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_spi.h" + #include "stm32g4xx_ll_spi.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_spi.h" + #include "stm32h7xx_ll_spi.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_spi.h" + #include "stm32l0xx_ll_spi.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_spi.h" + #include "stm32l1xx_ll_spi.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_spi.h" + #include "stm32l4xx_ll_spi.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_spi.h" + #include "stm32mp1xx_ll_spi.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_spi.h" + #include "stm32wbxx_ll_spi.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_SPI_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_swpmi.h b/cores/arduino/stm32/LL/stm32yyxx_ll_swpmi.h index 53ca1e6a87..b754c2aad2 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_swpmi.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_swpmi.h @@ -6,10 +6,10 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32H7xx -#include "stm32h7xx_ll_swpmi.h" + #include "stm32h7xx_ll_swpmi.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_swpmi.h" + #include "stm32l4xx_ll_swpmi.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_SWPMI_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_system.h b/cores/arduino/stm32/LL/stm32yyxx_ll_system.h index 5c9826c89f..f35a5dc4a5 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_system.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_system.h @@ -6,46 +6,46 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_system.h" + #include "stm32f0xx_ll_system.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_system.h" + #include "stm32f1xx_ll_system.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_system.h" + #include "stm32f2xx_ll_system.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_system.h" + #include "stm32f3xx_ll_system.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_system.h" + #include "stm32f4xx_ll_system.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_system.h" + #include "stm32f7xx_ll_system.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_system.h" + #include "stm32g0xx_ll_system.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_system.h" + #include "stm32g4xx_ll_system.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_system.h" + #include "stm32h7xx_ll_system.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_system.h" + #include "stm32l0xx_ll_system.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_system.h" + #include "stm32l1xx_ll_system.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_system.h" + #include "stm32l4xx_ll_system.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_system.h" + #include "stm32mp1xx_ll_system.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_system.h" + #include "stm32wbxx_ll_system.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_SYSTEM_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_tim.h b/cores/arduino/stm32/LL/stm32yyxx_ll_tim.h index 6df07a70c1..1d44b44d99 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_tim.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_tim.h @@ -6,46 +6,46 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_tim.h" + #include "stm32f0xx_ll_tim.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_tim.h" + #include "stm32f1xx_ll_tim.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_tim.h" + #include "stm32f2xx_ll_tim.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_tim.h" + #include "stm32f3xx_ll_tim.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_tim.h" + #include "stm32f4xx_ll_tim.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_tim.h" + #include "stm32f7xx_ll_tim.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_tim.h" + #include "stm32g0xx_ll_tim.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_tim.h" + #include "stm32g4xx_ll_tim.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_tim.h" + #include "stm32h7xx_ll_tim.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_tim.h" + #include "stm32l0xx_ll_tim.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_tim.h" + #include "stm32l1xx_ll_tim.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_tim.h" + #include "stm32l4xx_ll_tim.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_tim.h" + #include "stm32mp1xx_ll_tim.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_tim.h" + #include "stm32wbxx_ll_tim.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_TIM_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_ucpd.h b/cores/arduino/stm32/LL/stm32yyxx_ll_ucpd.h index d13d6be8e6..2a24e5fb6c 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_ucpd.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_ucpd.h @@ -6,10 +6,10 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32G0xx -#include "stm32g0xx_ll_ucpd.h" + #include "stm32g0xx_ll_ucpd.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_ucpd.h" + #include "stm32g4xx_ll_ucpd.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_UCPD_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_usart.h b/cores/arduino/stm32/LL/stm32yyxx_ll_usart.h index f15f6840c5..ef1747df9b 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_usart.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_usart.h @@ -6,46 +6,46 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_usart.h" + #include "stm32f0xx_ll_usart.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_usart.h" + #include "stm32f1xx_ll_usart.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_usart.h" + #include "stm32f2xx_ll_usart.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_usart.h" + #include "stm32f3xx_ll_usart.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_usart.h" + #include "stm32f4xx_ll_usart.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_usart.h" + #include "stm32f7xx_ll_usart.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_usart.h" + #include "stm32g0xx_ll_usart.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_usart.h" + #include "stm32g4xx_ll_usart.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_usart.h" + #include "stm32h7xx_ll_usart.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_usart.h" + #include "stm32l0xx_ll_usart.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_usart.h" + #include "stm32l1xx_ll_usart.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_usart.h" + #include "stm32l4xx_ll_usart.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_usart.h" + #include "stm32mp1xx_ll_usart.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_usart.h" + #include "stm32wbxx_ll_usart.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_USART_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_usb.h b/cores/arduino/stm32/LL/stm32yyxx_ll_usb.h index 841eb22982..dfc51b34c4 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_usb.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_usb.h @@ -6,40 +6,40 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_usb.h" + #include "stm32f0xx_ll_usb.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_usb.h" + #include "stm32f1xx_ll_usb.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_usb.h" + #include "stm32f2xx_ll_usb.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_usb.h" + #include "stm32f3xx_ll_usb.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_usb.h" + #include "stm32f4xx_ll_usb.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_usb.h" + #include "stm32f7xx_ll_usb.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_usb.h" + #include "stm32g4xx_ll_usb.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_usb.h" + #include "stm32h7xx_ll_usb.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_usb.h" + #include "stm32l0xx_ll_usb.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_usb.h" + #include "stm32l1xx_ll_usb.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_usb.h" + #include "stm32l4xx_ll_usb.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_usb.h" + #include "stm32wbxx_ll_usb.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_USB_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_utils.h b/cores/arduino/stm32/LL/stm32yyxx_ll_utils.h index 85b9ebd0ad..b45b653d70 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_utils.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_utils.h @@ -6,46 +6,46 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_utils.h" + #include "stm32f0xx_ll_utils.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_utils.h" + #include "stm32f1xx_ll_utils.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_utils.h" + #include "stm32f2xx_ll_utils.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_utils.h" + #include "stm32f3xx_ll_utils.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_utils.h" + #include "stm32f4xx_ll_utils.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_utils.h" + #include "stm32f7xx_ll_utils.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_utils.h" + #include "stm32g0xx_ll_utils.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_utils.h" + #include "stm32g4xx_ll_utils.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_utils.h" + #include "stm32h7xx_ll_utils.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_utils.h" + #include "stm32l0xx_ll_utils.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_utils.h" + #include "stm32l1xx_ll_utils.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_utils.h" + #include "stm32l4xx_ll_utils.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_utils.h" + #include "stm32mp1xx_ll_utils.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_utils.h" + #include "stm32wbxx_ll_utils.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_UTILS_H_ */ diff --git a/cores/arduino/stm32/LL/stm32yyxx_ll_wwdg.h b/cores/arduino/stm32/LL/stm32yyxx_ll_wwdg.h index 489b2b3e59..71b27263c8 100644 --- a/cores/arduino/stm32/LL/stm32yyxx_ll_wwdg.h +++ b/cores/arduino/stm32/LL/stm32yyxx_ll_wwdg.h @@ -6,46 +6,46 @@ #pragma GCC diagnostic ignored "-Wstrict-aliasing" #ifdef STM32F0xx -#include "stm32f0xx_ll_wwdg.h" + #include "stm32f0xx_ll_wwdg.h" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_wwdg.h" + #include "stm32f1xx_ll_wwdg.h" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_wwdg.h" + #include "stm32f2xx_ll_wwdg.h" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_wwdg.h" + #include "stm32f3xx_ll_wwdg.h" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_wwdg.h" + #include "stm32f4xx_ll_wwdg.h" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_wwdg.h" + #include "stm32f7xx_ll_wwdg.h" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_wwdg.h" + #include "stm32g0xx_ll_wwdg.h" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_wwdg.h" + #include "stm32g4xx_ll_wwdg.h" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_wwdg.h" + #include "stm32h7xx_ll_wwdg.h" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_wwdg.h" + #include "stm32l0xx_ll_wwdg.h" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_wwdg.h" + #include "stm32l1xx_ll_wwdg.h" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_wwdg.h" + #include "stm32l4xx_ll_wwdg.h" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_wwdg.h" + #include "stm32mp1xx_ll_wwdg.h" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_wwdg.h" + #include "stm32wbxx_ll_wwdg.h" #endif #pragma GCC diagnostic pop #endif /* _STM32YYXX_LL_WWDG_H_ */ diff --git a/cores/arduino/stm32/OpenAMP/mbox_ipcc.h b/cores/arduino/stm32/OpenAMP/mbox_ipcc.h index 34dbb7af84..3d507bb695 100644 --- a/cores/arduino/stm32/OpenAMP/mbox_ipcc.h +++ b/cores/arduino/stm32/OpenAMP/mbox_ipcc.h @@ -22,17 +22,17 @@ #ifdef VIRTIOCON -/* Interrupt priority */ -#ifndef IPCC_IRQ_PRIO -#define IPCC_IRQ_PRIO 1 -#endif -#ifndef IPCC_IRQ_SUBPRIO -#define IPCC_IRQ_SUBPRIO 0 -#endif + /* Interrupt priority */ + #ifndef IPCC_IRQ_PRIO + #define IPCC_IRQ_PRIO 1 + #endif + #ifndef IPCC_IRQ_SUBPRIO + #define IPCC_IRQ_SUBPRIO 0 + #endif -int MAILBOX_Init(void); -int MAILBOX_Poll(struct virtio_device *vdev, uint32_t vring_id); -int MAILBOX_Notify(void *priv, uint32_t id); + int MAILBOX_Init(void); + int MAILBOX_Poll(struct virtio_device *vdev, uint32_t vring_id); + int MAILBOX_Notify(void *priv, uint32_t id); #endif /* VIRTIOCON */ #endif /* __OPENAMP_MBOX_IPCC_H */ diff --git a/cores/arduino/stm32/OpenAMP/rsc_table.c b/cores/arduino/stm32/OpenAMP/rsc_table.c index ed1078661b..a5e6c1c287 100644 --- a/cores/arduino/stm32/OpenAMP/rsc_table.c +++ b/cores/arduino/stm32/OpenAMP/rsc_table.c @@ -32,7 +32,7 @@ #define VIRTIO_ID_RPMSG 7 #if defined (VIRTIO_LOG) -extern char virtio_log_buffer[]; + extern char virtio_log_buffer[]; #endif const struct shared_resource_table __attribute__((__section__(".resource_table"))) __attribute__((used)) resource_table = { diff --git a/cores/arduino/stm32/OpenAMP/virtio_config.h b/cores/arduino/stm32/OpenAMP/virtio_config.h index 4ca823ea36..1d31b87c0f 100644 --- a/cores/arduino/stm32/OpenAMP/virtio_config.h +++ b/cores/arduino/stm32/OpenAMP/virtio_config.h @@ -2,13 +2,13 @@ #define __OPENAMP_VIRTIO_CONFIG_H #ifndef RPMSG_BUFFER_SIZE -/** - * @brief Size of buffer of each vring buffers - * @note If the host processor is Linux, RPMSG_BUFFER_SIZE must be aligned - * with the kernel definition. - * Reference: https://elixir.bootlin.com/linux/v5.5.2/source/drivers/rpmsg/virtio_rpmsg_bus.c#L137 - */ -#define RPMSG_BUFFER_SIZE (512) + /** + * @brief Size of buffer of each vring buffers + * @note If the host processor is Linux, RPMSG_BUFFER_SIZE must be aligned + * with the kernel definition. + * Reference: https://elixir.bootlin.com/linux/v5.5.2/source/drivers/rpmsg/virtio_rpmsg_bus.c#L137 + */ + #define RPMSG_BUFFER_SIZE (512) #endif /** Size of header of a vqueue message */ @@ -24,18 +24,18 @@ * (RPMSG_VRING_PAYLOAD_SIZE * VRING_NUM_BUFFS) at minimum to prevent overflow. */ #ifndef VRING_NUM_BUFFS -#define VRING_NUM_BUFFS (16) + #define VRING_NUM_BUFFS (16) #endif #define RPMSG_VRING_TOTAL_PAYLOAD_SIZE (RPMSG_VRING_PAYLOAD_SIZE * VRING_NUM_BUFFS) #if defined (VIRTIO_LOG) -/** - * OpenAMP trace (log) buffer configuration. - * Users are free to redefine the size if needed. - */ -#ifndef VIRTIO_LOG_BUFFER_SIZE -#define VIRTIO_LOG_BUFFER_SIZE (2048) -#endif + /** + * OpenAMP trace (log) buffer configuration. + * Users are free to redefine the size if needed. + */ + #ifndef VIRTIO_LOG_BUFFER_SIZE + #define VIRTIO_LOG_BUFFER_SIZE (2048) + #endif #endif diff --git a/cores/arduino/stm32/PeripheralPins.h b/cores/arduino/stm32/PeripheralPins.h index 24816d0946..a3d7e9af79 100644 --- a/cores/arduino/stm32/PeripheralPins.h +++ b/cores/arduino/stm32/PeripheralPins.h @@ -33,7 +33,7 @@ #include "pinmap.h" #ifdef STM32F1xx -#include "PinAF_STM32F1.h" + #include "PinAF_STM32F1.h" #endif //*** ADC *** diff --git a/cores/arduino/stm32/bootloader.h b/cores/arduino/stm32/bootloader.h index 5e69157e12..118bc7b860 100644 --- a/cores/arduino/stm32/bootloader.h +++ b/cores/arduino/stm32/bootloader.h @@ -3,9 +3,9 @@ /* Ensure DTR_TOGGLING_SEQ enabled */ #if defined(BL_LEGACY_LEAF) || defined(BL_HID) -#ifndef DTR_TOGGLING_SEQ -#define DTR_TOGGLING_SEQ -#endif /* DTR_TOGGLING_SEQ || BL_HID */ + #ifndef DTR_TOGGLING_SEQ + #define DTR_TOGGLING_SEQ + #endif /* DTR_TOGGLING_SEQ || BL_HID */ #endif /* BL_LEGACY_LEAF */ #ifdef __cplusplus diff --git a/cores/arduino/stm32/interrupt.h b/cores/arduino/stm32/interrupt.h index 333f308556..b15b57335d 100644 --- a/cores/arduino/stm32/interrupt.h +++ b/cores/arduino/stm32/interrupt.h @@ -44,31 +44,31 @@ #if !defined(HAL_EXTI_MODULE_DISABLED) -#if defined(STM32F3xx) -#define EXTI2_IRQn EXTI2_TSC_IRQn -#endif + #if defined(STM32F3xx) + #define EXTI2_IRQn EXTI2_TSC_IRQn + #endif -#ifndef EXTI_IRQ_PRIO -#if (__CORTEX_M == 0x00U) -#define EXTI_IRQ_PRIO 3 -#else -#define EXTI_IRQ_PRIO 6 -#endif /* __CORTEX_M */ -#endif /* EXTI_IRQ_PRIO */ -#ifndef EXTI_IRQ_SUBPRIO -#define EXTI_IRQ_SUBPRIO 0 -#endif + #ifndef EXTI_IRQ_PRIO + #if (__CORTEX_M == 0x00U) + #define EXTI_IRQ_PRIO 3 + #else + #define EXTI_IRQ_PRIO 6 + #endif /* __CORTEX_M */ + #endif /* EXTI_IRQ_PRIO */ + #ifndef EXTI_IRQ_SUBPRIO + #define EXTI_IRQ_SUBPRIO 0 + #endif -#ifdef __cplusplus -#include + #ifdef __cplusplus + #include -typedef std::function callback_function_t; -void stm32_interrupt_enable(GPIO_TypeDef *port, uint16_t pin, callback_function_t callback, uint32_t mode); -#endif + typedef std::function callback_function_t; + void stm32_interrupt_enable(GPIO_TypeDef *port, uint16_t pin, callback_function_t callback, uint32_t mode); + #endif -/* Exported functions ------------------------------------------------------- */ -void stm32_interrupt_enable(GPIO_TypeDef *port, uint16_t pin, void (*callback)(void), uint32_t mode); -void stm32_interrupt_disable(GPIO_TypeDef *port, uint16_t pin); + /* Exported functions ------------------------------------------------------- */ + void stm32_interrupt_enable(GPIO_TypeDef *port, uint16_t pin, void (*callback)(void), uint32_t mode); + void stm32_interrupt_disable(GPIO_TypeDef *port, uint16_t pin); #endif /* !HAL_EXTI_MODULE_DISABLED */ #endif /* __INTERRUPT_H */ diff --git a/cores/arduino/stm32/pinconfig.h b/cores/arduino/stm32/pinconfig.h index 73c688c504..743d11bf90 100644 --- a/cores/arduino/stm32/pinconfig.h +++ b/cores/arduino/stm32/pinconfig.h @@ -35,7 +35,7 @@ #include "stm32yyxx_ll_gpio.h" #if defined(STM32MP1xx) -#include "lock_resource.h" + #include "lock_resource.h" #endif static inline void pin_DisconnectDebug(PinName pin) diff --git a/cores/arduino/stm32/stm32_def.h b/cores/arduino/stm32/stm32_def.h index 215e7a43cd..833598b839 100644 --- a/cores/arduino/stm32/stm32_def.h +++ b/cores/arduino/stm32/stm32_def.h @@ -23,51 +23,51 @@ #define USE_HAL_DRIVER #ifdef STM32F0xx -#include "stm32f0xx.h" + #include "stm32f0xx.h" #elif defined(STM32F1xx) -#include "stm32f1xx.h" + #include "stm32f1xx.h" #elif defined(STM32F2xx) -#include "stm32f2xx.h" + #include "stm32f2xx.h" #elif defined(STM32F3xx) -#include "stm32f3xx.h" + #include "stm32f3xx.h" #elif defined(STM32F4xx) -#include "stm32f4xx.h" + #include "stm32f4xx.h" #elif defined(STM32F7xx) -#include "stm32f7xx.h" + #include "stm32f7xx.h" #elif defined(STM32G0xx) -#include "stm32g0xx.h" + #include "stm32g0xx.h" #elif defined(STM32G4xx) -#include "stm32g4xx.h" + #include "stm32g4xx.h" #elif defined(STM32H7xx) -#include "stm32h7xx.h" + #include "stm32h7xx.h" #elif defined(STM32L0xx) -#include "stm32l0xx.h" + #include "stm32l0xx.h" #elif defined(STM32L1xx) -#include "stm32l1xx.h" + #include "stm32l1xx.h" #elif defined(STM32L4xx) -#include "stm32l4xx.h" + #include "stm32l4xx.h" #elif defined(STM32MP1xx) -#include "stm32mp1xx.h" + #include "stm32mp1xx.h" #elif defined(STM32WBxx) -#include "stm32wbxx.h" + #include "stm32wbxx.h" #else -#error "STM32YYxx chip series is not defined in boards.txt." + #error "STM32YYxx chip series is not defined in boards.txt." #endif #ifndef F_CPU -#define F_CPU SystemCoreClock + #define F_CPU SystemCoreClock #endif // Here define some compatibility #ifndef CAN1 -#define CAN1 CAN + #define CAN1 CAN #endif /** * Libc porting layers */ #if defined ( __GNUC__ ) /* GCC CS3 */ -#define WEAK __attribute__ ((weak)) + #define WEAK __attribute__ ((weak)) #endif #ifdef __cplusplus diff --git a/cores/arduino/stm32/stm32_def_build.h b/cores/arduino/stm32/stm32_def_build.h index a61da2e31f..bde43514ed 100644 --- a/cores/arduino/stm32/stm32_def_build.h +++ b/cores/arduino/stm32/stm32_def_build.h @@ -2,376 +2,376 @@ #define _STM32_DEF_BUILD_ #if !defined(CMSIS_STARTUP_FILE) && !defined(CUSTOM_STARTUP_FILE) -#if defined(STM32F030x6) -#define CMSIS_STARTUP_FILE "startup_stm32f030x6.s" -#elif defined(STM32F030x8) -#define CMSIS_STARTUP_FILE "startup_stm32f030x8.s" -#elif defined(STM32F030xC) -#define CMSIS_STARTUP_FILE "startup_stm32f030xc.s" -#elif defined(STM32F031x6) -#define CMSIS_STARTUP_FILE "startup_stm32f031x6.s" -#elif defined(STM32F038xx) -#define CMSIS_STARTUP_FILE "startup_stm32f038xx.s" -#elif defined(STM32F042x6) -#define CMSIS_STARTUP_FILE "startup_stm32f042x6.s" -#elif defined(STM32F048xx) -#define CMSIS_STARTUP_FILE "startup_stm32f048xx.s" -#elif defined(STM32F051x8) -#define CMSIS_STARTUP_FILE "startup_stm32f051x8.s" -#elif defined(STM32F058xx) -#define CMSIS_STARTUP_FILE "startup_stm32f058xx.s" -#elif defined(STM32F070x6) -#define CMSIS_STARTUP_FILE "startup_stm32f070x6.s" -#elif defined(STM32F070xB) -#define CMSIS_STARTUP_FILE "startup_stm32f070xb.s" -#elif defined(STM32F071xB) -#define CMSIS_STARTUP_FILE "startup_stm32f071xb.s" -#elif defined(STM32F072xB) -#define CMSIS_STARTUP_FILE "startup_stm32f072xb.s" -#elif defined(STM32F078xx) -#define CMSIS_STARTUP_FILE "startup_stm32f078xx.s" -#elif defined(STM32F091xC) -#define CMSIS_STARTUP_FILE "startup_stm32f091xc.s" -#elif defined(STM32F098xx) -#define CMSIS_STARTUP_FILE "startup_stm32f098xx.s" -#elif defined(STM32F100xB) -#define CMSIS_STARTUP_FILE "startup_stm32f100xb.s" -#elif defined(STM32F100xE) -#define CMSIS_STARTUP_FILE "startup_stm32f100xe.s" -#elif defined(STM32F101x6) -#define CMSIS_STARTUP_FILE "startup_stm32f101x6.s" -#elif defined(STM32F101xB) -#define CMSIS_STARTUP_FILE "startup_stm32f101xb.s" -#elif defined(STM32F101xE) -#define CMSIS_STARTUP_FILE "startup_stm32f101xe.s" -#elif defined(STM32F101xG) -#define CMSIS_STARTUP_FILE "startup_stm32f101xg.s" -#elif defined(STM32F102x6) -#define CMSIS_STARTUP_FILE "startup_stm32f102x6.s" -#elif defined(STM32F102xB) -#define CMSIS_STARTUP_FILE "startup_stm32f102xb.s" -#elif defined(STM32F103x6) -#define CMSIS_STARTUP_FILE "startup_stm32f103x6.s" -#elif defined(STM32F103xB) -#define CMSIS_STARTUP_FILE "startup_stm32f103xb.s" -#elif defined(STM32F103xE) -#define CMSIS_STARTUP_FILE "startup_stm32f103xe.s" -#elif defined(STM32F103xG) -#define CMSIS_STARTUP_FILE "startup_stm32f103xg.s" -#elif defined(STM32F105xC) -#define CMSIS_STARTUP_FILE "startup_stm32f105xc.s" -#elif defined(STM32F107xC) -#define CMSIS_STARTUP_FILE "startup_stm32f107xc.s" -#elif defined(STM32F205xx) -#define CMSIS_STARTUP_FILE "startup_stm32f205xx.s" -#elif defined(STM32F207xx) -#define CMSIS_STARTUP_FILE "startup_stm32f207xx.s" -#elif defined(STM32F215xx) -#define CMSIS_STARTUP_FILE "startup_stm32f215xx.s" -#elif defined(STM32F217xx) -#define CMSIS_STARTUP_FILE "startup_stm32f217xx.s" -#elif defined(STM32F301x8) -#define CMSIS_STARTUP_FILE "startup_stm32f301x8.s" -#elif defined(STM32F302x8) -#define CMSIS_STARTUP_FILE "startup_stm32f302x8.s" -#elif defined(STM32F302xC) -#define CMSIS_STARTUP_FILE "startup_stm32f302xc.s" -#elif defined(STM32F302xE) -#define CMSIS_STARTUP_FILE "startup_stm32f302xe.s" -#elif defined(STM32F303x8) -#define CMSIS_STARTUP_FILE "startup_stm32f303x8.s" -#elif defined(STM32F303xC) -#define CMSIS_STARTUP_FILE "startup_stm32f303xc.s" -#elif defined(STM32F303xE) -#define CMSIS_STARTUP_FILE "startup_stm32f303xe.s" -#elif defined(STM32F318xx) -#define CMSIS_STARTUP_FILE "startup_stm32f318xx.s" -#elif defined(STM32F328xx) -#define CMSIS_STARTUP_FILE "startup_stm32f328xx.s" -#elif defined(STM32F334x8) -#define CMSIS_STARTUP_FILE "startup_stm32f334x8.s" -#elif defined(STM32F358xx) -#define CMSIS_STARTUP_FILE "startup_stm32f358xx.s" -#elif defined(STM32F373xC) -#define CMSIS_STARTUP_FILE "startup_stm32f373xc.s" -#elif defined(STM32F378xx) -#define CMSIS_STARTUP_FILE "startup_stm32f378xx.s" -#elif defined(STM32F398xx) -#define CMSIS_STARTUP_FILE "startup_stm32f398xx.s" -#elif defined(STM32F401xC) -#define CMSIS_STARTUP_FILE "startup_stm32f401xc.s" -#elif defined(STM32F401xE) -#define CMSIS_STARTUP_FILE "startup_stm32f401xe.s" -#elif defined(STM32F405xx) -#define CMSIS_STARTUP_FILE "startup_stm32f405xx.s" -#elif defined(STM32F407xx) -#define CMSIS_STARTUP_FILE "startup_stm32f407xx.s" -#elif defined(STM32F410Cx) -#define CMSIS_STARTUP_FILE "startup_stm32f410cx.s" -#elif defined(STM32F410Rx) -#define CMSIS_STARTUP_FILE "startup_stm32f410rx.s" -#elif defined(STM32F410Tx) -#define CMSIS_STARTUP_FILE "startup_stm32f410tx.s" -#elif defined(STM32F411xE) -#define CMSIS_STARTUP_FILE "startup_stm32f411xe.s" -#elif defined(STM32F412Cx) -#define CMSIS_STARTUP_FILE "startup_stm32f412cx.s" -#elif defined(STM32F412Rx) -#define CMSIS_STARTUP_FILE "startup_stm32f412rx.s" -#elif defined(STM32F412Vx) -#define CMSIS_STARTUP_FILE "startup_stm32f412vx.s" -#elif defined(STM32F412Zx) -#define CMSIS_STARTUP_FILE "startup_stm32f412zx.s" -#elif defined(STM32F413xx) -#define CMSIS_STARTUP_FILE "startup_stm32f413xx.s" -#elif defined(STM32F415xx) -#define CMSIS_STARTUP_FILE "startup_stm32f415xx.s" -#elif defined(STM32F417xx) -#define CMSIS_STARTUP_FILE "startup_stm32f417xx.s" -#elif defined(STM32F423xx) -#define CMSIS_STARTUP_FILE "startup_stm32f423xx.s" -#elif defined(STM32F427xx) -#define CMSIS_STARTUP_FILE "startup_stm32f427xx.s" -#elif defined(STM32F429xx) -#define CMSIS_STARTUP_FILE "startup_stm32f429xx.s" -#elif defined(STM32F437xx) -#define CMSIS_STARTUP_FILE "startup_stm32f437xx.s" -#elif defined(STM32F439xx) -#define CMSIS_STARTUP_FILE "startup_stm32f439xx.s" -#elif defined(STM32F446xx) -#define CMSIS_STARTUP_FILE "startup_stm32f446xx.s" -#elif defined(STM32F469xx) -#define CMSIS_STARTUP_FILE "startup_stm32f469xx.s" -#elif defined(STM32F479xx) -#define CMSIS_STARTUP_FILE "startup_stm32f479xx.s" -#elif defined(STM32F722xx) -#define CMSIS_STARTUP_FILE "startup_stm32f722xx.s" -#elif defined(STM32F723xx) -#define CMSIS_STARTUP_FILE "startup_stm32f723xx.s" -#elif defined(STM32F730xx) -#define CMSIS_STARTUP_FILE "startup_stm32f730xx.s" -#elif defined(STM32F732xx) -#define CMSIS_STARTUP_FILE "startup_stm32f732xx.s" -#elif defined(STM32F733xx) -#define CMSIS_STARTUP_FILE "startup_stm32f733xx.s" -#elif defined(STM32F745xx) -#define CMSIS_STARTUP_FILE "startup_stm32f745xx.s" -#elif defined(STM32F746xx) -#define CMSIS_STARTUP_FILE "startup_stm32f746xx.s" -#elif defined(STM32F750xx) -#define CMSIS_STARTUP_FILE "startup_stm32f750xx.s" -#elif defined(STM32F756xx) -#define CMSIS_STARTUP_FILE "startup_stm32f756xx.s" -#elif defined(STM32F765xx) -#define CMSIS_STARTUP_FILE "startup_stm32f765xx.s" -#elif defined(STM32F767xx) -#define CMSIS_STARTUP_FILE "startup_stm32f767xx.s" -#elif defined(STM32F769xx) -#define CMSIS_STARTUP_FILE "startup_stm32f769xx.s" -#elif defined(STM32F777xx) -#define CMSIS_STARTUP_FILE "startup_stm32f777xx.s" -#elif defined(STM32F779xx) -#define CMSIS_STARTUP_FILE "startup_stm32f779xx.s" -#elif defined(STM32G030xx) -#define CMSIS_STARTUP_FILE "startup_stm32g030xx.s" -#elif defined(STM32G031xx) -#define CMSIS_STARTUP_FILE "startup_stm32g031xx.s" -#elif defined(STM32G041xx) -#define CMSIS_STARTUP_FILE "startup_stm32g041xx.s" -#elif defined(STM32G070xx) -#define CMSIS_STARTUP_FILE "startup_stm32g070xx.s" -#elif defined(STM32G071xx) -#define CMSIS_STARTUP_FILE "startup_stm32g071xx.s" -#elif defined(STM32G081xx) -#define CMSIS_STARTUP_FILE "startup_stm32g081xx.s" -#elif defined(STM32G431xx) -#define CMSIS_STARTUP_FILE "startup_stm32g431xx.s" -#elif defined(STM32G441xx) -#define CMSIS_STARTUP_FILE "startup_stm32g441xx.s" -#elif defined(STM32G471xx) -#define CMSIS_STARTUP_FILE "startup_stm32g471xx.s" -#elif defined(STM32G473xx) -#define CMSIS_STARTUP_FILE "startup_stm32g473xx.s" -#elif defined(STM32G474xx) -#define CMSIS_STARTUP_FILE "startup_stm32g474xx.s" -#elif defined(STM32G483xx) -#define CMSIS_STARTUP_FILE "startup_stm32g483xx.s" -#elif defined(STM32G484xx) -#define CMSIS_STARTUP_FILE "startup_stm32g484xx.s" -#elif defined(STM32GBK1CB) -#define CMSIS_STARTUP_FILE "startup_stm32gbk1cb.s" -#elif defined(STM32H742xx) -#define CMSIS_STARTUP_FILE "startup_stm32h742xx.s" -#elif defined(STM32H743xx) -#define CMSIS_STARTUP_FILE "startup_stm32h743xx.s" -#elif defined(STM32H745xx) -#define CMSIS_STARTUP_FILE "startup_stm32h745xx.s" -#elif defined(STM32H747xx) -#define CMSIS_STARTUP_FILE "startup_stm32h747xx.s" -#elif defined(STM32H750xx) -#define CMSIS_STARTUP_FILE "startup_stm32h750xx.s" -#elif defined(STM32H753xx) -#define CMSIS_STARTUP_FILE "startup_stm32h753xx.s" -#elif defined(STM32H755xx) -#define CMSIS_STARTUP_FILE "startup_stm32h755xx.s" -#elif defined(STM32H757xx) -#define CMSIS_STARTUP_FILE "startup_stm32h757xx.s" -#elif defined(STM32H7A3xx) -#define CMSIS_STARTUP_FILE "startup_stm32h7a3xx.s" -#elif defined(STM32H7A3xxQ) -#define CMSIS_STARTUP_FILE "startup_stm32h7a3xxq.s" -#elif defined(STM32H7B0xx) -#define CMSIS_STARTUP_FILE "startup_stm32h7b0xx.s" -#elif defined(STM32H7B0xxQ) -#define CMSIS_STARTUP_FILE "startup_stm32h7b0xxq.s" -#elif defined(STM32H7B3xx) -#define CMSIS_STARTUP_FILE "startup_stm32h7b3xx.s" -#elif defined(STM32H7B3xxQ) -#define CMSIS_STARTUP_FILE "startup_stm32h7b3xxq.s" -#elif defined(STM32L010x4) -#define CMSIS_STARTUP_FILE "startup_stm32l010x4.s" -#elif defined(STM32L010x6) -#define CMSIS_STARTUP_FILE "startup_stm32l010x6.s" -#elif defined(STM32L010x8) -#define CMSIS_STARTUP_FILE "startup_stm32l010x8.s" -#elif defined(STM32L010xB) -#define CMSIS_STARTUP_FILE "startup_stm32l010xb.s" -#elif defined(STM32L011xx) -#define CMSIS_STARTUP_FILE "startup_stm32l011xx.s" -#elif defined(STM32L021xx) -#define CMSIS_STARTUP_FILE "startup_stm32l021xx.s" -#elif defined(STM32L031xx) -#define CMSIS_STARTUP_FILE "startup_stm32l031xx.s" -#elif defined(STM32L041xx) -#define CMSIS_STARTUP_FILE "startup_stm32l041xx.s" -#elif defined(STM32L051xx) -#define CMSIS_STARTUP_FILE "startup_stm32l051xx.s" -#elif defined(STM32L052xx) -#define CMSIS_STARTUP_FILE "startup_stm32l052xx.s" -#elif defined(STM32L053xx) -#define CMSIS_STARTUP_FILE "startup_stm32l053xx.s" -#elif defined(STM32L061xx) -#define CMSIS_STARTUP_FILE "startup_stm32l061xx.s" -#elif defined(STM32L062xx) -#define CMSIS_STARTUP_FILE "startup_stm32l062xx.s" -#elif defined(STM32L063xx) -#define CMSIS_STARTUP_FILE "startup_stm32l063xx.s" -#elif defined(STM32L071xx) -#define CMSIS_STARTUP_FILE "startup_stm32l071xx.s" -#elif defined(STM32L072xx) -#define CMSIS_STARTUP_FILE "startup_stm32l072xx.s" -#elif defined(STM32L073xx) -#define CMSIS_STARTUP_FILE "startup_stm32l073xx.s" -#elif defined(STM32L081xx) -#define CMSIS_STARTUP_FILE "startup_stm32l081xx.s" -#elif defined(STM32L082xx) -#define CMSIS_STARTUP_FILE "startup_stm32l082xx.s" -#elif defined(STM32L083xx) -#define CMSIS_STARTUP_FILE "startup_stm32l083xx.s" -#elif defined(STM32L100xB) -#define CMSIS_STARTUP_FILE "startup_stm32l100xb.s" -#elif defined(STM32L100xBA) -#define CMSIS_STARTUP_FILE "startup_stm32l100xba.s" -#elif defined(STM32L100xC) -#define CMSIS_STARTUP_FILE "startup_stm32l100xc.s" -#elif defined(STM32L151xB) -#define CMSIS_STARTUP_FILE "startup_stm32l151xb.s" -#elif defined(STM32L151xBA) -#define CMSIS_STARTUP_FILE "startup_stm32l151xba.s" -#elif defined(STM32L151xC) -#define CMSIS_STARTUP_FILE "startup_stm32l151xc.s" -#elif defined(STM32L151xCA) -#define CMSIS_STARTUP_FILE "startup_stm32l151xca.s" -#elif defined(STM32L151xD) -#define CMSIS_STARTUP_FILE "startup_stm32l151xd.s" -#elif defined(STM32L151xDx) -#define CMSIS_STARTUP_FILE "startup_stm32l151xdx.s" -#elif defined(STM32L151xE) -#define CMSIS_STARTUP_FILE "startup_stm32l151xe.s" -#elif defined(STM32L152xB) -#define CMSIS_STARTUP_FILE "startup_stm32l152xb.s" -#elif defined(STM32L152xBA) -#define CMSIS_STARTUP_FILE "startup_stm32l152xba.s" -#elif defined(STM32L152xC) -#define CMSIS_STARTUP_FILE "startup_stm32l152xc.s" -#elif defined(STM32L152xCA) -#define CMSIS_STARTUP_FILE "startup_stm32l152xca.s" -#elif defined(STM32L152xD) -#define CMSIS_STARTUP_FILE "startup_stm32l152xd.s" -#elif defined(STM32L152xDx) -#define CMSIS_STARTUP_FILE "startup_stm32l152xdx.s" -#elif defined(STM32L152xE) -#define CMSIS_STARTUP_FILE "startup_stm32l152xe.s" -#elif defined(STM32L162xC) -#define CMSIS_STARTUP_FILE "startup_stm32l162xc.s" -#elif defined(STM32L162xCA) -#define CMSIS_STARTUP_FILE "startup_stm32l162xca.s" -#elif defined(STM32L162xD) -#define CMSIS_STARTUP_FILE "startup_stm32l162xd.s" -#elif defined(STM32L162xDx) -#define CMSIS_STARTUP_FILE "startup_stm32l162xdx.s" -#elif defined(STM32L162xE) -#define CMSIS_STARTUP_FILE "startup_stm32l162xe.s" -#elif defined(STM32L412xx) -#define CMSIS_STARTUP_FILE "startup_stm32l412xx.s" -#elif defined(STM32L422xx) -#define CMSIS_STARTUP_FILE "startup_stm32l422xx.s" -#elif defined(STM32L431xx) -#define CMSIS_STARTUP_FILE "startup_stm32l431xx.s" -#elif defined(STM32L432xx) -#define CMSIS_STARTUP_FILE "startup_stm32l432xx.s" -#elif defined(STM32L433xx) -#define CMSIS_STARTUP_FILE "startup_stm32l433xx.s" -#elif defined(STM32L442xx) -#define CMSIS_STARTUP_FILE "startup_stm32l442xx.s" -#elif defined(STM32L443xx) -#define CMSIS_STARTUP_FILE "startup_stm32l443xx.s" -#elif defined(STM32L451xx) -#define CMSIS_STARTUP_FILE "startup_stm32l451xx.s" -#elif defined(STM32L452xx) -#define CMSIS_STARTUP_FILE "startup_stm32l452xx.s" -#elif defined(STM32L462xx) -#define CMSIS_STARTUP_FILE "startup_stm32l462xx.s" -#elif defined(STM32L471xx) -#define CMSIS_STARTUP_FILE "startup_stm32l471xx.s" -#elif defined(STM32L475xx) -#define CMSIS_STARTUP_FILE "startup_stm32l475xx.s" -#elif defined(STM32L476xx) -#define CMSIS_STARTUP_FILE "startup_stm32l476xx.s" -#elif defined(STM32L485xx) -#define CMSIS_STARTUP_FILE "startup_stm32l485xx.s" -#elif defined(STM32L486xx) -#define CMSIS_STARTUP_FILE "startup_stm32l486xx.s" -#elif defined(STM32L496xx) -#define CMSIS_STARTUP_FILE "startup_stm32l496xx.s" -#elif defined(STM32L4A6xx) -#define CMSIS_STARTUP_FILE "startup_stm32l4a6xx.s" -#elif defined(STM32L4P5xx) -#define CMSIS_STARTUP_FILE "startup_stm32l4p5xx.s" -#elif defined(STM32L4Q5xx) -#define CMSIS_STARTUP_FILE "startup_stm32l4q5xx.s" -#elif defined(STM32L4R5xx) -#define CMSIS_STARTUP_FILE "startup_stm32l4r5xx.s" -#elif defined(STM32L4R7xx) -#define CMSIS_STARTUP_FILE "startup_stm32l4r7xx.s" -#elif defined(STM32L4R9xx) -#define CMSIS_STARTUP_FILE "startup_stm32l4r9xx.s" -#elif defined(STM32L4S5xx) -#define CMSIS_STARTUP_FILE "startup_stm32l4s5xx.s" -#elif defined(STM32L4S7xx) -#define CMSIS_STARTUP_FILE "startup_stm32l4s7xx.s" -#elif defined(STM32L4S9xx) -#define CMSIS_STARTUP_FILE "startup_stm32l4s9xx.s" -#elif defined(STM32MP1xx) -#define CMSIS_STARTUP_FILE "startup_stm32mp15xx.s" -#elif defined(STM32WB50xx) -#define CMSIS_STARTUP_FILE "startup_stm32wb50xx_cm4.s" -#elif defined(STM32WB55xx) -#define CMSIS_STARTUP_FILE "startup_stm32wb55xx_cm4.s" + #if defined(STM32F030x6) + #define CMSIS_STARTUP_FILE "startup_stm32f030x6.s" + #elif defined(STM32F030x8) + #define CMSIS_STARTUP_FILE "startup_stm32f030x8.s" + #elif defined(STM32F030xC) + #define CMSIS_STARTUP_FILE "startup_stm32f030xc.s" + #elif defined(STM32F031x6) + #define CMSIS_STARTUP_FILE "startup_stm32f031x6.s" + #elif defined(STM32F038xx) + #define CMSIS_STARTUP_FILE "startup_stm32f038xx.s" + #elif defined(STM32F042x6) + #define CMSIS_STARTUP_FILE "startup_stm32f042x6.s" + #elif defined(STM32F048xx) + #define CMSIS_STARTUP_FILE "startup_stm32f048xx.s" + #elif defined(STM32F051x8) + #define CMSIS_STARTUP_FILE "startup_stm32f051x8.s" + #elif defined(STM32F058xx) + #define CMSIS_STARTUP_FILE "startup_stm32f058xx.s" + #elif defined(STM32F070x6) + #define CMSIS_STARTUP_FILE "startup_stm32f070x6.s" + #elif defined(STM32F070xB) + #define CMSIS_STARTUP_FILE "startup_stm32f070xb.s" + #elif defined(STM32F071xB) + #define CMSIS_STARTUP_FILE "startup_stm32f071xb.s" + #elif defined(STM32F072xB) + #define CMSIS_STARTUP_FILE "startup_stm32f072xb.s" + #elif defined(STM32F078xx) + #define CMSIS_STARTUP_FILE "startup_stm32f078xx.s" + #elif defined(STM32F091xC) + #define CMSIS_STARTUP_FILE "startup_stm32f091xc.s" + #elif defined(STM32F098xx) + #define CMSIS_STARTUP_FILE "startup_stm32f098xx.s" + #elif defined(STM32F100xB) + #define CMSIS_STARTUP_FILE "startup_stm32f100xb.s" + #elif defined(STM32F100xE) + #define CMSIS_STARTUP_FILE "startup_stm32f100xe.s" + #elif defined(STM32F101x6) + #define CMSIS_STARTUP_FILE "startup_stm32f101x6.s" + #elif defined(STM32F101xB) + #define CMSIS_STARTUP_FILE "startup_stm32f101xb.s" + #elif defined(STM32F101xE) + #define CMSIS_STARTUP_FILE "startup_stm32f101xe.s" + #elif defined(STM32F101xG) + #define CMSIS_STARTUP_FILE "startup_stm32f101xg.s" + #elif defined(STM32F102x6) + #define CMSIS_STARTUP_FILE "startup_stm32f102x6.s" + #elif defined(STM32F102xB) + #define CMSIS_STARTUP_FILE "startup_stm32f102xb.s" + #elif defined(STM32F103x6) + #define CMSIS_STARTUP_FILE "startup_stm32f103x6.s" + #elif defined(STM32F103xB) + #define CMSIS_STARTUP_FILE "startup_stm32f103xb.s" + #elif defined(STM32F103xE) + #define CMSIS_STARTUP_FILE "startup_stm32f103xe.s" + #elif defined(STM32F103xG) + #define CMSIS_STARTUP_FILE "startup_stm32f103xg.s" + #elif defined(STM32F105xC) + #define CMSIS_STARTUP_FILE "startup_stm32f105xc.s" + #elif defined(STM32F107xC) + #define CMSIS_STARTUP_FILE "startup_stm32f107xc.s" + #elif defined(STM32F205xx) + #define CMSIS_STARTUP_FILE "startup_stm32f205xx.s" + #elif defined(STM32F207xx) + #define CMSIS_STARTUP_FILE "startup_stm32f207xx.s" + #elif defined(STM32F215xx) + #define CMSIS_STARTUP_FILE "startup_stm32f215xx.s" + #elif defined(STM32F217xx) + #define CMSIS_STARTUP_FILE "startup_stm32f217xx.s" + #elif defined(STM32F301x8) + #define CMSIS_STARTUP_FILE "startup_stm32f301x8.s" + #elif defined(STM32F302x8) + #define CMSIS_STARTUP_FILE "startup_stm32f302x8.s" + #elif defined(STM32F302xC) + #define CMSIS_STARTUP_FILE "startup_stm32f302xc.s" + #elif defined(STM32F302xE) + #define CMSIS_STARTUP_FILE "startup_stm32f302xe.s" + #elif defined(STM32F303x8) + #define CMSIS_STARTUP_FILE "startup_stm32f303x8.s" + #elif defined(STM32F303xC) + #define CMSIS_STARTUP_FILE "startup_stm32f303xc.s" + #elif defined(STM32F303xE) + #define CMSIS_STARTUP_FILE "startup_stm32f303xe.s" + #elif defined(STM32F318xx) + #define CMSIS_STARTUP_FILE "startup_stm32f318xx.s" + #elif defined(STM32F328xx) + #define CMSIS_STARTUP_FILE "startup_stm32f328xx.s" + #elif defined(STM32F334x8) + #define CMSIS_STARTUP_FILE "startup_stm32f334x8.s" + #elif defined(STM32F358xx) + #define CMSIS_STARTUP_FILE "startup_stm32f358xx.s" + #elif defined(STM32F373xC) + #define CMSIS_STARTUP_FILE "startup_stm32f373xc.s" + #elif defined(STM32F378xx) + #define CMSIS_STARTUP_FILE "startup_stm32f378xx.s" + #elif defined(STM32F398xx) + #define CMSIS_STARTUP_FILE "startup_stm32f398xx.s" + #elif defined(STM32F401xC) + #define CMSIS_STARTUP_FILE "startup_stm32f401xc.s" + #elif defined(STM32F401xE) + #define CMSIS_STARTUP_FILE "startup_stm32f401xe.s" + #elif defined(STM32F405xx) + #define CMSIS_STARTUP_FILE "startup_stm32f405xx.s" + #elif defined(STM32F407xx) + #define CMSIS_STARTUP_FILE "startup_stm32f407xx.s" + #elif defined(STM32F410Cx) + #define CMSIS_STARTUP_FILE "startup_stm32f410cx.s" + #elif defined(STM32F410Rx) + #define CMSIS_STARTUP_FILE "startup_stm32f410rx.s" + #elif defined(STM32F410Tx) + #define CMSIS_STARTUP_FILE "startup_stm32f410tx.s" + #elif defined(STM32F411xE) + #define CMSIS_STARTUP_FILE "startup_stm32f411xe.s" + #elif defined(STM32F412Cx) + #define CMSIS_STARTUP_FILE "startup_stm32f412cx.s" + #elif defined(STM32F412Rx) + #define CMSIS_STARTUP_FILE "startup_stm32f412rx.s" + #elif defined(STM32F412Vx) + #define CMSIS_STARTUP_FILE "startup_stm32f412vx.s" + #elif defined(STM32F412Zx) + #define CMSIS_STARTUP_FILE "startup_stm32f412zx.s" + #elif defined(STM32F413xx) + #define CMSIS_STARTUP_FILE "startup_stm32f413xx.s" + #elif defined(STM32F415xx) + #define CMSIS_STARTUP_FILE "startup_stm32f415xx.s" + #elif defined(STM32F417xx) + #define CMSIS_STARTUP_FILE "startup_stm32f417xx.s" + #elif defined(STM32F423xx) + #define CMSIS_STARTUP_FILE "startup_stm32f423xx.s" + #elif defined(STM32F427xx) + #define CMSIS_STARTUP_FILE "startup_stm32f427xx.s" + #elif defined(STM32F429xx) + #define CMSIS_STARTUP_FILE "startup_stm32f429xx.s" + #elif defined(STM32F437xx) + #define CMSIS_STARTUP_FILE "startup_stm32f437xx.s" + #elif defined(STM32F439xx) + #define CMSIS_STARTUP_FILE "startup_stm32f439xx.s" + #elif defined(STM32F446xx) + #define CMSIS_STARTUP_FILE "startup_stm32f446xx.s" + #elif defined(STM32F469xx) + #define CMSIS_STARTUP_FILE "startup_stm32f469xx.s" + #elif defined(STM32F479xx) + #define CMSIS_STARTUP_FILE "startup_stm32f479xx.s" + #elif defined(STM32F722xx) + #define CMSIS_STARTUP_FILE "startup_stm32f722xx.s" + #elif defined(STM32F723xx) + #define CMSIS_STARTUP_FILE "startup_stm32f723xx.s" + #elif defined(STM32F730xx) + #define CMSIS_STARTUP_FILE "startup_stm32f730xx.s" + #elif defined(STM32F732xx) + #define CMSIS_STARTUP_FILE "startup_stm32f732xx.s" + #elif defined(STM32F733xx) + #define CMSIS_STARTUP_FILE "startup_stm32f733xx.s" + #elif defined(STM32F745xx) + #define CMSIS_STARTUP_FILE "startup_stm32f745xx.s" + #elif defined(STM32F746xx) + #define CMSIS_STARTUP_FILE "startup_stm32f746xx.s" + #elif defined(STM32F750xx) + #define CMSIS_STARTUP_FILE "startup_stm32f750xx.s" + #elif defined(STM32F756xx) + #define CMSIS_STARTUP_FILE "startup_stm32f756xx.s" + #elif defined(STM32F765xx) + #define CMSIS_STARTUP_FILE "startup_stm32f765xx.s" + #elif defined(STM32F767xx) + #define CMSIS_STARTUP_FILE "startup_stm32f767xx.s" + #elif defined(STM32F769xx) + #define CMSIS_STARTUP_FILE "startup_stm32f769xx.s" + #elif defined(STM32F777xx) + #define CMSIS_STARTUP_FILE "startup_stm32f777xx.s" + #elif defined(STM32F779xx) + #define CMSIS_STARTUP_FILE "startup_stm32f779xx.s" + #elif defined(STM32G030xx) + #define CMSIS_STARTUP_FILE "startup_stm32g030xx.s" + #elif defined(STM32G031xx) + #define CMSIS_STARTUP_FILE "startup_stm32g031xx.s" + #elif defined(STM32G041xx) + #define CMSIS_STARTUP_FILE "startup_stm32g041xx.s" + #elif defined(STM32G070xx) + #define CMSIS_STARTUP_FILE "startup_stm32g070xx.s" + #elif defined(STM32G071xx) + #define CMSIS_STARTUP_FILE "startup_stm32g071xx.s" + #elif defined(STM32G081xx) + #define CMSIS_STARTUP_FILE "startup_stm32g081xx.s" + #elif defined(STM32G431xx) + #define CMSIS_STARTUP_FILE "startup_stm32g431xx.s" + #elif defined(STM32G441xx) + #define CMSIS_STARTUP_FILE "startup_stm32g441xx.s" + #elif defined(STM32G471xx) + #define CMSIS_STARTUP_FILE "startup_stm32g471xx.s" + #elif defined(STM32G473xx) + #define CMSIS_STARTUP_FILE "startup_stm32g473xx.s" + #elif defined(STM32G474xx) + #define CMSIS_STARTUP_FILE "startup_stm32g474xx.s" + #elif defined(STM32G483xx) + #define CMSIS_STARTUP_FILE "startup_stm32g483xx.s" + #elif defined(STM32G484xx) + #define CMSIS_STARTUP_FILE "startup_stm32g484xx.s" + #elif defined(STM32GBK1CB) + #define CMSIS_STARTUP_FILE "startup_stm32gbk1cb.s" + #elif defined(STM32H742xx) + #define CMSIS_STARTUP_FILE "startup_stm32h742xx.s" + #elif defined(STM32H743xx) + #define CMSIS_STARTUP_FILE "startup_stm32h743xx.s" + #elif defined(STM32H745xx) + #define CMSIS_STARTUP_FILE "startup_stm32h745xx.s" + #elif defined(STM32H747xx) + #define CMSIS_STARTUP_FILE "startup_stm32h747xx.s" + #elif defined(STM32H750xx) + #define CMSIS_STARTUP_FILE "startup_stm32h750xx.s" + #elif defined(STM32H753xx) + #define CMSIS_STARTUP_FILE "startup_stm32h753xx.s" + #elif defined(STM32H755xx) + #define CMSIS_STARTUP_FILE "startup_stm32h755xx.s" + #elif defined(STM32H757xx) + #define CMSIS_STARTUP_FILE "startup_stm32h757xx.s" + #elif defined(STM32H7A3xx) + #define CMSIS_STARTUP_FILE "startup_stm32h7a3xx.s" + #elif defined(STM32H7A3xxQ) + #define CMSIS_STARTUP_FILE "startup_stm32h7a3xxq.s" + #elif defined(STM32H7B0xx) + #define CMSIS_STARTUP_FILE "startup_stm32h7b0xx.s" + #elif defined(STM32H7B0xxQ) + #define CMSIS_STARTUP_FILE "startup_stm32h7b0xxq.s" + #elif defined(STM32H7B3xx) + #define CMSIS_STARTUP_FILE "startup_stm32h7b3xx.s" + #elif defined(STM32H7B3xxQ) + #define CMSIS_STARTUP_FILE "startup_stm32h7b3xxq.s" + #elif defined(STM32L010x4) + #define CMSIS_STARTUP_FILE "startup_stm32l010x4.s" + #elif defined(STM32L010x6) + #define CMSIS_STARTUP_FILE "startup_stm32l010x6.s" + #elif defined(STM32L010x8) + #define CMSIS_STARTUP_FILE "startup_stm32l010x8.s" + #elif defined(STM32L010xB) + #define CMSIS_STARTUP_FILE "startup_stm32l010xb.s" + #elif defined(STM32L011xx) + #define CMSIS_STARTUP_FILE "startup_stm32l011xx.s" + #elif defined(STM32L021xx) + #define CMSIS_STARTUP_FILE "startup_stm32l021xx.s" + #elif defined(STM32L031xx) + #define CMSIS_STARTUP_FILE "startup_stm32l031xx.s" + #elif defined(STM32L041xx) + #define CMSIS_STARTUP_FILE "startup_stm32l041xx.s" + #elif defined(STM32L051xx) + #define CMSIS_STARTUP_FILE "startup_stm32l051xx.s" + #elif defined(STM32L052xx) + #define CMSIS_STARTUP_FILE "startup_stm32l052xx.s" + #elif defined(STM32L053xx) + #define CMSIS_STARTUP_FILE "startup_stm32l053xx.s" + #elif defined(STM32L061xx) + #define CMSIS_STARTUP_FILE "startup_stm32l061xx.s" + #elif defined(STM32L062xx) + #define CMSIS_STARTUP_FILE "startup_stm32l062xx.s" + #elif defined(STM32L063xx) + #define CMSIS_STARTUP_FILE "startup_stm32l063xx.s" + #elif defined(STM32L071xx) + #define CMSIS_STARTUP_FILE "startup_stm32l071xx.s" + #elif defined(STM32L072xx) + #define CMSIS_STARTUP_FILE "startup_stm32l072xx.s" + #elif defined(STM32L073xx) + #define CMSIS_STARTUP_FILE "startup_stm32l073xx.s" + #elif defined(STM32L081xx) + #define CMSIS_STARTUP_FILE "startup_stm32l081xx.s" + #elif defined(STM32L082xx) + #define CMSIS_STARTUP_FILE "startup_stm32l082xx.s" + #elif defined(STM32L083xx) + #define CMSIS_STARTUP_FILE "startup_stm32l083xx.s" + #elif defined(STM32L100xB) + #define CMSIS_STARTUP_FILE "startup_stm32l100xb.s" + #elif defined(STM32L100xBA) + #define CMSIS_STARTUP_FILE "startup_stm32l100xba.s" + #elif defined(STM32L100xC) + #define CMSIS_STARTUP_FILE "startup_stm32l100xc.s" + #elif defined(STM32L151xB) + #define CMSIS_STARTUP_FILE "startup_stm32l151xb.s" + #elif defined(STM32L151xBA) + #define CMSIS_STARTUP_FILE "startup_stm32l151xba.s" + #elif defined(STM32L151xC) + #define CMSIS_STARTUP_FILE "startup_stm32l151xc.s" + #elif defined(STM32L151xCA) + #define CMSIS_STARTUP_FILE "startup_stm32l151xca.s" + #elif defined(STM32L151xD) + #define CMSIS_STARTUP_FILE "startup_stm32l151xd.s" + #elif defined(STM32L151xDx) + #define CMSIS_STARTUP_FILE "startup_stm32l151xdx.s" + #elif defined(STM32L151xE) + #define CMSIS_STARTUP_FILE "startup_stm32l151xe.s" + #elif defined(STM32L152xB) + #define CMSIS_STARTUP_FILE "startup_stm32l152xb.s" + #elif defined(STM32L152xBA) + #define CMSIS_STARTUP_FILE "startup_stm32l152xba.s" + #elif defined(STM32L152xC) + #define CMSIS_STARTUP_FILE "startup_stm32l152xc.s" + #elif defined(STM32L152xCA) + #define CMSIS_STARTUP_FILE "startup_stm32l152xca.s" + #elif defined(STM32L152xD) + #define CMSIS_STARTUP_FILE "startup_stm32l152xd.s" + #elif defined(STM32L152xDx) + #define CMSIS_STARTUP_FILE "startup_stm32l152xdx.s" + #elif defined(STM32L152xE) + #define CMSIS_STARTUP_FILE "startup_stm32l152xe.s" + #elif defined(STM32L162xC) + #define CMSIS_STARTUP_FILE "startup_stm32l162xc.s" + #elif defined(STM32L162xCA) + #define CMSIS_STARTUP_FILE "startup_stm32l162xca.s" + #elif defined(STM32L162xD) + #define CMSIS_STARTUP_FILE "startup_stm32l162xd.s" + #elif defined(STM32L162xDx) + #define CMSIS_STARTUP_FILE "startup_stm32l162xdx.s" + #elif defined(STM32L162xE) + #define CMSIS_STARTUP_FILE "startup_stm32l162xe.s" + #elif defined(STM32L412xx) + #define CMSIS_STARTUP_FILE "startup_stm32l412xx.s" + #elif defined(STM32L422xx) + #define CMSIS_STARTUP_FILE "startup_stm32l422xx.s" + #elif defined(STM32L431xx) + #define CMSIS_STARTUP_FILE "startup_stm32l431xx.s" + #elif defined(STM32L432xx) + #define CMSIS_STARTUP_FILE "startup_stm32l432xx.s" + #elif defined(STM32L433xx) + #define CMSIS_STARTUP_FILE "startup_stm32l433xx.s" + #elif defined(STM32L442xx) + #define CMSIS_STARTUP_FILE "startup_stm32l442xx.s" + #elif defined(STM32L443xx) + #define CMSIS_STARTUP_FILE "startup_stm32l443xx.s" + #elif defined(STM32L451xx) + #define CMSIS_STARTUP_FILE "startup_stm32l451xx.s" + #elif defined(STM32L452xx) + #define CMSIS_STARTUP_FILE "startup_stm32l452xx.s" + #elif defined(STM32L462xx) + #define CMSIS_STARTUP_FILE "startup_stm32l462xx.s" + #elif defined(STM32L471xx) + #define CMSIS_STARTUP_FILE "startup_stm32l471xx.s" + #elif defined(STM32L475xx) + #define CMSIS_STARTUP_FILE "startup_stm32l475xx.s" + #elif defined(STM32L476xx) + #define CMSIS_STARTUP_FILE "startup_stm32l476xx.s" + #elif defined(STM32L485xx) + #define CMSIS_STARTUP_FILE "startup_stm32l485xx.s" + #elif defined(STM32L486xx) + #define CMSIS_STARTUP_FILE "startup_stm32l486xx.s" + #elif defined(STM32L496xx) + #define CMSIS_STARTUP_FILE "startup_stm32l496xx.s" + #elif defined(STM32L4A6xx) + #define CMSIS_STARTUP_FILE "startup_stm32l4a6xx.s" + #elif defined(STM32L4P5xx) + #define CMSIS_STARTUP_FILE "startup_stm32l4p5xx.s" + #elif defined(STM32L4Q5xx) + #define CMSIS_STARTUP_FILE "startup_stm32l4q5xx.s" + #elif defined(STM32L4R5xx) + #define CMSIS_STARTUP_FILE "startup_stm32l4r5xx.s" + #elif defined(STM32L4R7xx) + #define CMSIS_STARTUP_FILE "startup_stm32l4r7xx.s" + #elif defined(STM32L4R9xx) + #define CMSIS_STARTUP_FILE "startup_stm32l4r9xx.s" + #elif defined(STM32L4S5xx) + #define CMSIS_STARTUP_FILE "startup_stm32l4s5xx.s" + #elif defined(STM32L4S7xx) + #define CMSIS_STARTUP_FILE "startup_stm32l4s7xx.s" + #elif defined(STM32L4S9xx) + #define CMSIS_STARTUP_FILE "startup_stm32l4s9xx.s" + #elif defined(STM32MP1xx) + #define CMSIS_STARTUP_FILE "startup_stm32mp15xx.s" + #elif defined(STM32WB50xx) + #define CMSIS_STARTUP_FILE "startup_stm32wb50xx_cm4.s" + #elif defined(STM32WB55xx) + #define CMSIS_STARTUP_FILE "startup_stm32wb55xx_cm4.s" + #else + #error UNKNOWN CHIP + #endif #else -#error UNKNOWN CHIP -#endif -#else -#warning "No CMSIS startup file defined, custom one should be used" + #warning "No CMSIS startup file defined, custom one should be used" #endif /* !CMSIS_STARTUP_FILE && !CUSTOM_STARTUP_FILE */ #endif /* _STM32_DEF_BUILD_ */ diff --git a/cores/arduino/stm32/stm32yyxx_hal_conf.h b/cores/arduino/stm32/stm32yyxx_hal_conf.h index 02e28185d8..8d46785094 100644 --- a/cores/arduino/stm32/stm32yyxx_hal_conf.h +++ b/cores/arduino/stm32/stm32yyxx_hal_conf.h @@ -20,68 +20,68 @@ * Defined by default */ #if !defined(HAL_ADC_MODULE_DISABLED) -#define HAL_ADC_MODULE_ENABLED + #define HAL_ADC_MODULE_ENABLED #else -#undef HAL_ADC_MODULE_ENABLED + #undef HAL_ADC_MODULE_ENABLED #endif #if !defined(HAL_I2C_MODULE_DISABLED) -#define HAL_I2C_MODULE_ENABLED + #define HAL_I2C_MODULE_ENABLED #else -#undef HAL_I2C_MODULE_ENABLED + #undef HAL_I2C_MODULE_ENABLED #endif #if !defined(HAL_RTC_MODULE_DISABLED) -#define HAL_RTC_MODULE_ENABLED + #define HAL_RTC_MODULE_ENABLED #else -#undef HAL_RTC_MODULE_ENABLED + #undef HAL_RTC_MODULE_ENABLED #endif #if !defined(HAL_SPI_MODULE_DISABLED) -#define HAL_SPI_MODULE_ENABLED + #define HAL_SPI_MODULE_ENABLED #else -#undef HAL_SPI_MODULE_ENABLED + #undef HAL_SPI_MODULE_ENABLED #endif #if !defined(HAL_TIM_MODULE_DISABLED) -#define HAL_TIM_MODULE_ENABLED + #define HAL_TIM_MODULE_ENABLED #else -#undef HAL_TIM_MODULE_ENABLED + #undef HAL_TIM_MODULE_ENABLED #endif /* * Not defined by default */ #if !defined(HAL_DAC_MODULE_DISABLED) -/*#define HAL_DAC_MODULE_ENABLED*/ + /*#define HAL_DAC_MODULE_ENABLED*/ #else -#undef HAL_DAC_MODULE_ENABLED + #undef HAL_DAC_MODULE_ENABLED #endif /* Note: interrupt API does not used HAL EXTI module */ /* anyway API is cleaned with HAL_EXTI_MODULE_DISABLED */ #if !defined(HAL_EXTI_MODULE_DISABLED) -/*#define HAL_EXTI_MODULE_ENABLED*/ + /*#define HAL_EXTI_MODULE_ENABLED*/ #else -#undef HAL_EXTI_MODULE_ENABLED + #undef HAL_EXTI_MODULE_ENABLED #endif #if !defined(HAL_ETH_MODULE_DISABLED) -/*#define HAL_ETH_MODULE_ENABLED*/ + /*#define HAL_ETH_MODULE_ENABLED*/ #else -#undef HAL_ETH_MODULE_ENABLED + #undef HAL_ETH_MODULE_ENABLED #endif #if !defined(HAL_SD_MODULE_DISABLED) -/*#define HAL_SD_MODULE_ENABLED*/ + /*#define HAL_SD_MODULE_ENABLED*/ #else -#undef HAL_SD_MODULE_ENABLED + #undef HAL_SD_MODULE_ENABLED #endif #if !defined(HAL_QSPI_MODULE_DISABLED) -/*#define HAL_QSPI_MODULE_ENABLED*/ + /*#define HAL_QSPI_MODULE_ENABLED*/ #else -#undef HAL_QSPI_MODULE_ENABLED + #undef HAL_QSPI_MODULE_ENABLED #endif /* @@ -95,57 +95,57 @@ * Unused HAL modules */ #if 0 -HAL_CAN_LEGACY_MODULE_ENABLED -HAL_CAN_LEGACY_MODULE_ENABLED -HAL_CEC_MODULE_ENABLED -HAL_COMP_MODULE_ENABLED -HAL_CORDIC_MODULE_ENABLED -HAL_CRC_MODULE_ENABLED -HAL_CRYP_MODULE_ENABLED -HAL_DCMI_MODULE_ENABLED -HAL_DFSDM_MODULE_ENABLED -HAL_DMA2D_MODULE_ENABLED -HAL_DSI_MODULE_ENABLED -HAL_EXTI_MODULE_ENABLED // interrupt API does not use the module -HAL_FDCAN_MODULE_ENABLED -HAL_FIREWALL_MODULE_ENABLED -HAL_FMAC_MODULE_ENABLED -HAL_FMPI2C_MODULE_ENABLED -HAL_GFXMMU_MODULE_ENABLED -HAL_HASH_MODULE_ENABLED -HAL_HCD_MODULE_ENABLED -HAL_HRTIM_MODULE_ENABLED -HAL_HSEM_MODULE_ENABLED -HAL_I2S_MODULE_ENABLED -HAL_IPCC_MODULE_ENABLED -HAL_IRDA_MODULE_ENABLED -HAL_IWDG_MODULE_ENABLED // IWD built-in library uses LL -HAL_JPEG_MODULE_ENABLED -HAL_LCD_MODULE_ENABLED -HAL_LPTIM_MODULE_ENABLED -HAL_LTDC_MODULE_ENABLED -HAL_MDIOS_MODULE_ENABLED -HAL_MDMA_MODULE_ENABLED -HAL_MMC_MODULE_ENABLED -HAL_NAND_MODULE_ENABLED -HAL_NOR_MODULE_ENABLED -HAL_OPAMP_MODULE_ENABLED -HAL_OSPI_MODULE_ENABLED -HAL_PCCARD_MODULE_ENABLED -HAL_PKA_MODULE_ENABLED -HAL_RAMECC_MODULE_ENABLED -HAL_RNG_MODULE_ENABLED -HAL_SAI_MODULE_ENABLED -HAL_SDADC_MODULE_ENABLED -HAL_SDRAM_MODULE_ENABLED -HAL_SMARTCARD_MODULE_ENABLED -HAL_SMBUS_MODULE_ENABLED -HAL_SPDIFRX_MODULE_ENABLED -HAL_SRAM_MODULE_ENABLED -HAL_SWPMI_MODULE_ENABLED -HAL_TSC_MODULE_ENABLED -HAL_USART_MODULE_ENABLED -HAL_WWDG_MODULE_ENABLED + HAL_CAN_LEGACY_MODULE_ENABLED + HAL_CAN_LEGACY_MODULE_ENABLED + HAL_CEC_MODULE_ENABLED + HAL_COMP_MODULE_ENABLED + HAL_CORDIC_MODULE_ENABLED + HAL_CRC_MODULE_ENABLED + HAL_CRYP_MODULE_ENABLED + HAL_DCMI_MODULE_ENABLED + HAL_DFSDM_MODULE_ENABLED + HAL_DMA2D_MODULE_ENABLED + HAL_DSI_MODULE_ENABLED + HAL_EXTI_MODULE_ENABLED // interrupt API does not use the module + HAL_FDCAN_MODULE_ENABLED + HAL_FIREWALL_MODULE_ENABLED + HAL_FMAC_MODULE_ENABLED + HAL_FMPI2C_MODULE_ENABLED + HAL_GFXMMU_MODULE_ENABLED + HAL_HASH_MODULE_ENABLED + HAL_HCD_MODULE_ENABLED + HAL_HRTIM_MODULE_ENABLED + HAL_HSEM_MODULE_ENABLED + HAL_I2S_MODULE_ENABLED + HAL_IPCC_MODULE_ENABLED + HAL_IRDA_MODULE_ENABLED + HAL_IWDG_MODULE_ENABLED // IWD built-in library uses LL + HAL_JPEG_MODULE_ENABLED + HAL_LCD_MODULE_ENABLED + HAL_LPTIM_MODULE_ENABLED + HAL_LTDC_MODULE_ENABLED + HAL_MDIOS_MODULE_ENABLED + HAL_MDMA_MODULE_ENABLED + HAL_MMC_MODULE_ENABLED + HAL_NAND_MODULE_ENABLED + HAL_NOR_MODULE_ENABLED + HAL_OPAMP_MODULE_ENABLED + HAL_OSPI_MODULE_ENABLED + HAL_PCCARD_MODULE_ENABLED + HAL_PKA_MODULE_ENABLED + HAL_RAMECC_MODULE_ENABLED + HAL_RNG_MODULE_ENABLED + HAL_SAI_MODULE_ENABLED + HAL_SDADC_MODULE_ENABLED + HAL_SDRAM_MODULE_ENABLED + HAL_SMARTCARD_MODULE_ENABLED + HAL_SMBUS_MODULE_ENABLED + HAL_SPDIFRX_MODULE_ENABLED + HAL_SRAM_MODULE_ENABLED + HAL_SWPMI_MODULE_ENABLED + HAL_TSC_MODULE_ENABLED + HAL_USART_MODULE_ENABLED + HAL_WWDG_MODULE_ENABLED #endif #endif /* __STM32YYxx_HAL_CONF_H */ diff --git a/cores/arduino/stm32/usb/cdc/usbd_cdc_if.c b/cores/arduino/stm32/usb/cdc/usbd_cdc_if.c index 52011fd76e..dcae9cb0cd 100644 --- a/cores/arduino/stm32/usb/cdc/usbd_cdc_if.c +++ b/cores/arduino/stm32/usb/cdc/usbd_cdc_if.c @@ -26,11 +26,11 @@ #include "bootloader.h" #ifdef USE_USB_HS -#define CDC_MAX_PACKET_SIZE USB_OTG_HS_MAX_PACKET_SIZE + #define CDC_MAX_PACKET_SIZE USB_OTG_HS_MAX_PACKET_SIZE #elif defined(USB_OTG_FS) || defined(USB_OTG_FS_MAX_PACKET_SIZE) -#define CDC_MAX_PACKET_SIZE USB_OTG_FS_MAX_PACKET_SIZE + #define CDC_MAX_PACKET_SIZE USB_OTG_FS_MAX_PACKET_SIZE #else /* USB */ -#define CDC_MAX_PACKET_SIZE USB_MAX_EP0_SIZE + #define CDC_MAX_PACKET_SIZE USB_MAX_EP0_SIZE #endif /* @@ -39,7 +39,7 @@ * host "too slow" and threat the USB CDC port as disconnected. */ #ifndef USB_CDC_TRANSMIT_TIMEOUT -#define USB_CDC_TRANSMIT_TIMEOUT 3 + #define USB_CDC_TRANSMIT_TIMEOUT 3 #endif /* USBD_CDC Private Variables */ @@ -56,9 +56,9 @@ __IO bool receivePended = true; static uint32_t transmitStart = 0; #ifdef DTR_TOGGLING_SEQ -/* DTR toggling sequence management */ -extern void dtr_togglingHook(uint8_t *buf, uint32_t *len); -uint8_t dtr_toggling = 0; + /* DTR toggling sequence management */ + extern void dtr_togglingHook(uint8_t *buf, uint32_t *len); + uint8_t dtr_toggling = 0; #endif /** USBD_CDC Private Function Prototypes */ diff --git a/cores/arduino/stm32/usb/usbd_conf.c b/cores/arduino/stm32/usb/usbd_conf.c index 9fda970199..87aff1fe32 100644 --- a/cores/arduino/stm32/usb/usbd_conf.c +++ b/cores/arduino/stm32/usb/usbd_conf.c @@ -29,9 +29,9 @@ /* Private typedef -----------------------------------------------------------*/ /* Private define ------------------------------------------------------------*/ #if !defined(USBD_VBUS_DETECTION_ENABLE) -#define VBUS_SENSING DISABLE + #define VBUS_SENSING DISABLE #else -#define VBUS_SENSING ENABLE + #define VBUS_SENSING ENABLE #endif /* Private macro -------------------------------------------------------------*/ @@ -386,11 +386,11 @@ void HAL_PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd) * @retval None */ #ifdef USE_USB_HS -void OTG_HS_IRQHandler(void) + void OTG_HS_IRQHandler(void) #elif defined(USB_OTG_FS) -void OTG_FS_IRQHandler(void) + void OTG_FS_IRQHandler(void) #else /* USB */ -void USB_IRQHandler(void) + void USB_IRQHandler(void) #endif { HAL_PCD_IRQHandler(&g_hpcd); @@ -423,11 +423,11 @@ void USB_LP_IRQHandler(void) * @retval None */ #ifdef USE_USB_HS -void OTG_HS_WKUP_IRQHandler(void) + void OTG_HS_WKUP_IRQHandler(void) #elif defined(USB_OTG_FS) -void OTG_FS_WKUP_IRQHandler(void) + void OTG_FS_WKUP_IRQHandler(void) #else -void USBWakeUp_IRQHandler(void) + void USBWakeUp_IRQHandler(void) #endif { if ((&g_hpcd)->Init.low_power_enable) { diff --git a/cores/arduino/stm32/usb/usbd_desc.c b/cores/arduino/stm32/usb/usbd_desc.c index 97896e3876..318d8f9320 100644 --- a/cores/arduino/stm32/usb/usbd_desc.c +++ b/cores/arduino/stm32/usb/usbd_desc.c @@ -30,34 +30,34 @@ * specified, default to the ST VID, with a PID assigned to HID or a PID * assigned to CDC devices. */ #if !USBD_PID && !USBD_VID -// Undef the default zero values -#undef USBD_PID -#undef USBD_VID -// Define default values, based on the USB class used -#define USBD_VID 0x0483 -#if defined(USBD_USE_HID_COMPOSITE) -#define USBD_PID 0x5711 -#elif defined(USBD_USE_CDC) -#define USBD_PID 0x5740 -#endif + // Undef the default zero values + #undef USBD_PID + #undef USBD_VID + // Define default values, based on the USB class used + #define USBD_VID 0x0483 + #if defined(USBD_USE_HID_COMPOSITE) + #define USBD_PID 0x5711 + #elif defined(USBD_USE_CDC) + #define USBD_PID 0x5740 + #endif #endif /* !USBD_PID && !USBD_VID */ #if !USBD_VID || !USBD_PID -#error "USB VID or PID not specified" + #error "USB VID or PID not specified" #endif /* Manufacturer string: Use the specified string if specified, guess based on VID otherwise */ #if defined(USB_MANUFACTURER_STRING) -#define USBD_MANUFACTURER_STRING USB_MANUFACTURER_STRING + #define USBD_MANUFACTURER_STRING USB_MANUFACTURER_STRING #elif USBD_VID == 0x2341 -#define USBD_MANUFACTURER_STRING "Arduino LLC" + #define USBD_MANUFACTURER_STRING "Arduino LLC" #elif USBD_VID == 0x2A03 -#define USBD_MANUFACTURER_STRING "Arduino srl" + #define USBD_MANUFACTURER_STRING "Arduino srl" #elif USBD_VID == 0x0483 -#define USBD_MANUFACTURER_STRING "STMicroelectronics" + #define USBD_MANUFACTURER_STRING "STMicroelectronics" #else -#define USBD_MANUFACTURER_STRING "Unknown" + #define USBD_MANUFACTURER_STRING "Unknown" #endif #define USBD_LANGID_STRING 0x409 /* 1033 US.S English */ @@ -65,31 +65,31 @@ /* Product string: Use the specified string if specified, construct based on BOARD_NAME and class otherwise. */ #if defined(USB_PRODUCT_STRING) -#define USBD_CLASS_PRODUCT_HS_STRING USB_PRODUCT_STRING -#define USBD_CLASS_PRODUCT_FS_STRING USB_PRODUCT_STRING + #define USBD_CLASS_PRODUCT_HS_STRING USB_PRODUCT_STRING + #define USBD_CLASS_PRODUCT_FS_STRING USB_PRODUCT_STRING #elif defined(USBD_USE_HID_COMPOSITE) -#define USBD_CLASS_PRODUCT_HS_STRING CONCATS(BOARD_NAME, "HID in HS Mode") -#define USBD_CLASS_PRODUCT_FS_STRING CONCATS(BOARD_NAME, "HID in FS Mode") + #define USBD_CLASS_PRODUCT_HS_STRING CONCATS(BOARD_NAME, "HID in HS Mode") + #define USBD_CLASS_PRODUCT_FS_STRING CONCATS(BOARD_NAME, "HID in FS Mode") #elif defined(USBD_USE_CDC) -#define USBD_CLASS_PRODUCT_HS_STRING CONCATS(BOARD_NAME, "CDC in HS Mode") -#define USBD_CLASS_PRODUCT_FS_STRING CONCATS(BOARD_NAME, "CDC in FS Mode") + #define USBD_CLASS_PRODUCT_HS_STRING CONCATS(BOARD_NAME, "CDC in HS Mode") + #define USBD_CLASS_PRODUCT_FS_STRING CONCATS(BOARD_NAME, "CDC in FS Mode") #else -#define USBD_CLASS_PRODUCT_HS_STRING CONCATS(BOARD_NAME, "in HS Mode") -#define USBD_CLASS_PRODUCT_FS_STRING CONCATS(BOARD_NAME, "in FS Mode") + #define USBD_CLASS_PRODUCT_HS_STRING CONCATS(BOARD_NAME, "in HS Mode") + #define USBD_CLASS_PRODUCT_FS_STRING CONCATS(BOARD_NAME, "in FS Mode") #endif #ifdef USBD_USE_HID_COMPOSITE -#define USBD_CLASS_CONFIGURATION_HS_STRING CONCATS(BOARD_NAME, "HID Config") -#define USBD_CLASS_INTERFACE_HS_STRING CONCATS(BOARD_NAME, "HID Interface") -#define USBD_CLASS_CONFIGURATION_FS_STRING CONCATS(BOARD_NAME, "HID Config") -#define USBD_CLASS_INTERFACE_FS_STRING CONCATS(BOARD_NAME, "HID Interface") + #define USBD_CLASS_CONFIGURATION_HS_STRING CONCATS(BOARD_NAME, "HID Config") + #define USBD_CLASS_INTERFACE_HS_STRING CONCATS(BOARD_NAME, "HID Interface") + #define USBD_CLASS_CONFIGURATION_FS_STRING CONCATS(BOARD_NAME, "HID Config") + #define USBD_CLASS_INTERFACE_FS_STRING CONCATS(BOARD_NAME, "HID Interface") #endif /* USBD_USE_HID_COMPOSITE */ #ifdef USBD_USE_CDC -#define USBD_CLASS_CONFIGURATION_HS_STRING CONCATS(BOARD_NAME, "CDC Config") -#define USBD_CLASS_INTERFACE_HS_STRING CONCATS(BOARD_NAME, "CDC Interface") -#define USBD_CLASS_CONFIGURATION_FS_STRING CONCATS(BOARD_NAME, "CDC Config") -#define USBD_CLASS_INTERFACE_FS_STRING CONCATS(BOARD_NAME, "CDC Interface") + #define USBD_CLASS_CONFIGURATION_HS_STRING CONCATS(BOARD_NAME, "CDC Config") + #define USBD_CLASS_INTERFACE_HS_STRING CONCATS(BOARD_NAME, "CDC Interface") + #define USBD_CLASS_CONFIGURATION_FS_STRING CONCATS(BOARD_NAME, "CDC Config") + #define USBD_CLASS_INTERFACE_FS_STRING CONCATS(BOARD_NAME, "CDC Interface") #endif /* USBD_USE_CDC */ /* Private macro -------------------------------------------------------------*/ @@ -106,7 +106,7 @@ uint8_t *USBD_Class_ConfigStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *lengt uint8_t *USBD_Class_InterfaceStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length); #ifdef USB_SUPPORT_USER_STRING_DESC -uint8_t *USBD_Class_USRStringDesc(USBD_SpeedTypeDef speed, uint8_t idx, uint16_t *length); + uint8_t *USBD_Class_USRStringDesc(USBD_SpeedTypeDef speed, uint8_t idx, uint16_t *length); #endif /* USB_SUPPORT_USER_STRING_DESC */ /* Private variables ---------------------------------------------------------*/ diff --git a/cores/arduino/stm32/usb/usbd_desc.h b/cores/arduino/stm32/usb/usbd_desc.h index 17c8ffe999..b226367560 100644 --- a/cores/arduino/stm32/usb/usbd_desc.h +++ b/cores/arduino/stm32/usb/usbd_desc.h @@ -21,20 +21,20 @@ #ifndef __USBD_DESC_H #define __USBD_DESC_H #ifdef USBCON -/* Includes ------------------------------------------------------------------*/ -#include "usbd_def.h" + /* Includes ------------------------------------------------------------------*/ + #include "usbd_def.h" -/* Exported types ------------------------------------------------------------*/ -/* Exported constants --------------------------------------------------------*/ -#define DEVICE_ID1 (UID_BASE) -#define DEVICE_ID2 (UID_BASE+0x4) -#define DEVICE_ID3 (UID_BASE+0x8) + /* Exported types ------------------------------------------------------------*/ + /* Exported constants --------------------------------------------------------*/ + #define DEVICE_ID1 (UID_BASE) + #define DEVICE_ID2 (UID_BASE+0x4) + #define DEVICE_ID3 (UID_BASE+0x8) -#define USB_SIZ_STRING_SERIAL 0x1A + #define USB_SIZ_STRING_SERIAL 0x1A -/* Exported macro ------------------------------------------------------------*/ -/* Exported functions ------------------------------------------------------- */ -extern USBD_DescriptorsTypeDef USBD_Desc; + /* Exported macro ------------------------------------------------------------*/ + /* Exported functions ------------------------------------------------------- */ + extern USBD_DescriptorsTypeDef USBD_Desc; #endif /* USBCON */ #endif /* __USBD_DESC_H*/ diff --git a/cores/arduino/stm32/usb/usbd_ep_conf.h b/cores/arduino/stm32/usb/usbd_ep_conf.h index c0313fcaa8..354b6f4d0c 100644 --- a/cores/arduino/stm32/usb/usbd_ep_conf.h +++ b/cores/arduino/stm32/usb/usbd_ep_conf.h @@ -37,28 +37,28 @@ typedef struct { /* CDC Endpoints Configurations */ #ifdef USBD_USE_CDC -#define CDC_OUT_EP 0x01U /* EP1 for data OUT */ -#define CDC_IN_EP 0x82U /* EP1 for data IN */ -#define CDC_CMD_EP 0x83U /* EP2 for CDC commands */ + #define CDC_OUT_EP 0x01U /* EP1 for data OUT */ + #define CDC_IN_EP 0x82U /* EP1 for data IN */ + #define CDC_CMD_EP 0x83U /* EP2 for CDC commands */ -#define DEV_NUM_EP 0x04U /* Device Endpoints number including EP0 */ + #define DEV_NUM_EP 0x04U /* Device Endpoints number including EP0 */ -/* CDC Endpoints parameters*/ -#define CDC_DATA_HS_MAX_PACKET_SIZE USB_HS_MAX_PACKET_SIZE /* Endpoint IN & OUT Packet size */ -#define CDC_DATA_FS_MAX_PACKET_SIZE USB_FS_MAX_PACKET_SIZE /* Endpoint IN & OUT Packet size */ -#define CDC_CMD_PACKET_SIZE 8U /* Control Endpoint Packet size */ + /* CDC Endpoints parameters*/ + #define CDC_DATA_HS_MAX_PACKET_SIZE USB_HS_MAX_PACKET_SIZE /* Endpoint IN & OUT Packet size */ + #define CDC_DATA_FS_MAX_PACKET_SIZE USB_FS_MAX_PACKET_SIZE /* Endpoint IN & OUT Packet size */ + #define CDC_CMD_PACKET_SIZE 8U /* Control Endpoint Packet size */ #endif /* USBD_USE_CDC */ /* HID composite (Mouse + Keyboard) Endpoints Configurations */ #ifdef USBD_USE_HID_COMPOSITE -#define HID_MOUSE_EPIN_ADDR 0x81U -#define HID_KEYBOARD_EPIN_ADDR 0x82U + #define HID_MOUSE_EPIN_ADDR 0x81U + #define HID_KEYBOARD_EPIN_ADDR 0x82U -#define HID_MOUSE_EPIN_SIZE 0x04U -#define HID_KEYBOARD_EPIN_SIZE 0x08U + #define HID_MOUSE_EPIN_SIZE 0x04U + #define HID_KEYBOARD_EPIN_SIZE 0x08U -#define DEV_NUM_EP 0x03U /* Device Endpoints number including EP0 */ + #define DEV_NUM_EP 0x03U /* Device Endpoints number including EP0 */ #endif /* USBD_USE_HID_COMPOSITE */ /* Require DEV_NUM_EP to be defined */ @@ -75,8 +75,8 @@ typedef struct { #define PMA_CDC_CMD_ADDR (PMA_CDC_IN_ADDR + CDC_CMD_PACKET_SIZE) #endif /* USBD_USE_CDC */ #ifdef USBD_USE_HID_COMPOSITE -#define PMA_MOUSE_IN_ADDR (PMA_EP0_IN_ADDR + HID_MOUSE_EPIN_SIZE) -#define PMA_KEYBOARD_IN_ADDR (PMA_MOUSE_IN_ADDR + HID_KEYBOARD_EPIN_SIZE) + #define PMA_MOUSE_IN_ADDR (PMA_EP0_IN_ADDR + HID_MOUSE_EPIN_SIZE) + #define PMA_KEYBOARD_IN_ADDR (PMA_MOUSE_IN_ADDR + HID_KEYBOARD_EPIN_SIZE) #endif /* USBD_USE_HID_COMPOSITE */ #endif /* USB */ diff --git a/cores/arduino/stm32/usb/usbd_if.c b/cores/arduino/stm32/usb/usbd_if.c index f0584cd5f5..3116faca28 100644 --- a/cores/arduino/stm32/usb/usbd_if.c +++ b/cores/arduino/stm32/usb/usbd_if.c @@ -53,35 +53,35 @@ /* Compatibility with the old way to specify this */ #if defined(USB_DISC_PIN) && !defined(USBD_ATTACH_PIN) -#define USBD_ATTACH_PIN USB_DISC_PIN -#define USBD_ATTACH_LEVEL LOW -#warning "USB_DISC_PIN is deprecated, use USBD_ATTACH_PIN instead" + #define USBD_ATTACH_PIN USB_DISC_PIN + #define USBD_ATTACH_LEVEL LOW + #warning "USB_DISC_PIN is deprecated, use USBD_ATTACH_PIN instead" #endif /* defined(USB_DISC_PIN) && !defined(USBD_ATTACH_PIN) */ /* Some sanity checks */ #if defined(USBD_ATTACH_PIN) && defined(USBD_DETACH_PIN) -#error "Cannot define both USBD_ATTACH_PIN and USBD_DETACH_PIN" + #error "Cannot define both USBD_ATTACH_PIN and USBD_DETACH_PIN" #endif /* defined(USBD_ATTACH_PIN) && defined(USBD_DETACH_PIN) */ #if defined(USBD_ATTACH_PIN) && !defined(USBD_ATTACH_LEVEL) -#error "USBD_ATTACH_PIN also needs USBD_ATTACH_LEVEL defined" + #error "USBD_ATTACH_PIN also needs USBD_ATTACH_LEVEL defined" #endif /* defined(USBD_ATTACH_PIN) && !defined(USBD_ATTACH_LEVEL) */ #if defined(USBD_DETACH_PIN) && !defined(USBD_DETACH_LEVEL) -#error "USBD_DETACH_PIN also needs USBD_DETACH_LEVEL defined" + #error "USBD_DETACH_PIN also needs USBD_DETACH_LEVEL defined" #endif /* defined(USBD_DETACH_PIN) && !defined(USBD_DETACH_LEVEL) */ /* Either of these bits indicate that there are internal pullups */ #if defined(USB_BCDR_DPPU) || defined(USB_OTG_DCTL_SDIS) -#define USBD_HAVE_INTERNAL_PULLUPS + #define USBD_HAVE_INTERNAL_PULLUPS #endif /* defined(USB_BCDR_DPPU) || defined(USB_OTG_DCTL_SDIS) */ /* Figure out which USB instance is used. This mirrors the decision made * in USBD_LL_Init in usbd_conf.c. */ #if defined(USE_USB_HS) -#define USBD_USB_INSTANCE USB_OTG_HS + #define USBD_USB_INSTANCE USB_OTG_HS #elif defined(USB_OTG_FS) -#define USBD_USB_INSTANCE USB_OTG_FS + #define USBD_USB_INSTANCE USB_OTG_FS #elif defined(USB) -#define USBD_USB_INSTANCE USB + #define USBD_USB_INSTANCE USB #endif /* @@ -92,23 +92,23 @@ * know the pin number, only the pin name). */ #if defined(USBD_ATTACH_PIN) -#define USBD_PULLUP_CONTROL_PINNAME digitalPinToPinName(USBD_ATTACH_PIN) -#define USBD_DETACH_LEVEL !(USBD_ATTACH_LEVEL) + #define USBD_PULLUP_CONTROL_PINNAME digitalPinToPinName(USBD_ATTACH_PIN) + #define USBD_DETACH_LEVEL !(USBD_ATTACH_LEVEL) #elif defined(USBD_DETACH_PIN) -#define USBD_PULLUP_CONTROL_PINNAME digitalPinToPinName(USBD_DETACH_PIN) -#define USBD_ATTACH_LEVEL !(USBD_DETACH_LEVEL) + #define USBD_PULLUP_CONTROL_PINNAME digitalPinToPinName(USBD_DETACH_PIN) + #define USBD_ATTACH_LEVEL !(USBD_DETACH_LEVEL) #elif !defined(USBD_HAVE_INTERNAL_PULLUPS) -/* When no USB attach and detach pins were defined, and there are also - * no internal pullups, assume there is a fixed external pullup and apply - * the D+ trick. This should happen only for the USB peripheral, since - * USB_OTG_HS and USB_OTG_FS always have internal pullups. */ -#if !defined(USB) -#error "Unexpected USB configuration" -#endif -#define USBD_PULLUP_CONTROL_PINNAME USB_DP -#define USBD_DETACH_LEVEL LOW -// USBD_ATTACH_LEVEL not needed. -#define USBD_DP_TRICK + /* When no USB attach and detach pins were defined, and there are also + * no internal pullups, assume there is a fixed external pullup and apply + * the D+ trick. This should happen only for the USB peripheral, since + * USB_OTG_HS and USB_OTG_FS always have internal pullups. */ + #if !defined(USB) + #error "Unexpected USB configuration" + #endif + #define USBD_PULLUP_CONTROL_PINNAME USB_DP + #define USBD_DETACH_LEVEL LOW + // USBD_ATTACH_LEVEL not needed. + #define USBD_DP_TRICK #endif /** diff --git a/cores/arduino/stm32/usb/usbd_if.h b/cores/arduino/stm32/usb/usbd_if.h index 53b63f83f1..dc026240fe 100644 --- a/cores/arduino/stm32/usb/usbd_if.h +++ b/cores/arduino/stm32/usb/usbd_if.h @@ -16,7 +16,7 @@ /* Re-enumeration handling*/ #ifndef USBD_ENUM_DELAY -#define USBD_ENUM_DELAY 10 + #define USBD_ENUM_DELAY 10 #endif #ifdef __cplusplus diff --git a/cores/arduino/wiring.h b/cores/arduino/wiring.h index 45d32cbb85..1c78088827 100644 --- a/cores/arduino/wiring.h +++ b/cores/arduino/wiring.h @@ -41,12 +41,12 @@ #include #ifdef __cplusplus -#include "HardwareTimer.h" -#include "Tone.h" -#include "WCharacter.h" -#include "WSerial.h" -#include "WMath.h" -#include "WString.h" + #include "HardwareTimer.h" + #include "Tone.h" + #include "WCharacter.h" + #include "WSerial.h" + #include "WMath.h" + #include "WString.h" #endif // __cplusplus diff --git a/cores/arduino/wiring_constants.h b/cores/arduino/wiring_constants.h index 1c31aa15e8..054f708162 100644 --- a/cores/arduino/wiring_constants.h +++ b/cores/arduino/wiring_constants.h @@ -23,22 +23,22 @@ #include #ifdef __cplusplus -#include -using std::min; -using std::max; + #include + using std::min; + using std::max; #else // C -#include -#ifndef abs -#define abs(x) ((x)>0?(x):-(x)) -#endif // abs + #include + #ifndef abs + #define abs(x) ((x)>0?(x):-(x)) + #endif // abs -#ifndef min -#define min(a,b) ((a)<(b)?(a):(b)) -#endif // min + #ifndef min + #define min(a,b) ((a)<(b)?(a):(b)) + #endif // min -#ifndef max -#define max(a,b) ((a)>(b)?(a):(b)) -#endif // max + #ifndef max + #define max(a,b) ((a)>(b)?(a):(b)) + #endif // max #endif // __cplusplus @@ -96,13 +96,13 @@ enum BitOrder { #define bit(b) (1UL << (b)) //macro added for compatibility #ifndef _BV -#define _BV(bit) (1 << (bit)) + #define _BV(bit) (1 << (bit)) #endif #ifndef cbi -#define cbi(reg, bitmask) *reg &= ~bitmask + #define cbi(reg, bitmask) *reg &= ~bitmask #endif #ifndef sbi -#define sbi(reg, bitmask) *reg |= bitmask + #define sbi(reg, bitmask) *reg |= bitmask #endif typedef unsigned int word; diff --git a/cores/arduino/wiring_pulse.h b/cores/arduino/wiring_pulse.h index a0134baa98..ff682396d5 100644 --- a/cores/arduino/wiring_pulse.h +++ b/cores/arduino/wiring_pulse.h @@ -20,14 +20,14 @@ #define _WIRING_PULSE_ #ifdef __cplusplus -/* - * \brief Measures the length (in microseconds) of a pulse on the pin; state is HIGH - * or LOW, the type of pulse to measure. Works on pulses from 2-3 microseconds - * to 3 minutes in length, but must be called at least a few dozen microseconds - * before the start of the pulse. - */ -extern uint32_t pulseIn(uint32_t pin, uint32_t state, uint32_t timeout = 1000000L) ; -extern uint32_t pulseInLong(uint32_t pin, uint32_t state, uint32_t timeout = 1000000L) ; + /* + * \brief Measures the length (in microseconds) of a pulse on the pin; state is HIGH + * or LOW, the type of pulse to measure. Works on pulses from 2-3 microseconds + * to 3 minutes in length, but must be called at least a few dozen microseconds + * before the start of the pulse. + */ + extern uint32_t pulseIn(uint32_t pin, uint32_t state, uint32_t timeout = 1000000L) ; + extern uint32_t pulseInLong(uint32_t pin, uint32_t state, uint32_t timeout = 1000000L) ; #endif #endif /* _WIRING_PULSE_ */ diff --git a/libraries/IWatchdog/src/IWatchdog.h b/libraries/IWatchdog/src/IWatchdog.h index 2e98b7813e..e5b68a9821 100644 --- a/libraries/IWatchdog/src/IWatchdog.h +++ b/libraries/IWatchdog/src/IWatchdog.h @@ -23,7 +23,7 @@ #include "Arduino.h" #if !defined(IWDG) && defined(IWDG1) -#define IWDG IWDG1 + #define IWDG IWDG1 #endif // Minimal timeout in microseconds diff --git a/libraries/SPI/src/SPI.h b/libraries/SPI/src/SPI.h index 7ea60cfdad..4cbfe19736 100644 --- a/libraries/SPI/src/SPI.h +++ b/libraries/SPI/src/SPI.h @@ -61,7 +61,7 @@ enum SPITransferMode { // Defines a default timeout delay in milliseconds for the SPI transfer #ifndef SPI_TRANSFER_TIMEOUT -#define SPI_TRANSFER_TIMEOUT 1000 + #define SPI_TRANSFER_TIMEOUT 1000 #endif /* @@ -69,7 +69,7 @@ enum SPITransferMode { * Can be redefined in variant.h */ #ifndef NB_SPI_SETTINGS -#define NB_SPI_SETTINGS 4 + #define NB_SPI_SETTINGS 4 #endif class SPISettings { diff --git a/libraries/Servo/src/Servo.h b/libraries/Servo/src/Servo.h index 1551b609fa..71fd542e91 100644 --- a/libraries/Servo/src/Servo.h +++ b/libraries/Servo/src/Servo.h @@ -60,19 +60,19 @@ // Architecture specific include #if defined(ARDUINO_ARCH_AVR) -#include "avr/ServoTimers.h" + #include "avr/ServoTimers.h" #elif defined(ARDUINO_ARCH_SAM) -#include "sam/ServoTimers.h" + #include "sam/ServoTimers.h" #elif defined(ARDUINO_ARCH_SAMD) -#include "samd/ServoTimers.h" + #include "samd/ServoTimers.h" #elif defined(ARDUINO_ARCH_STM32F4) -#include "stm32f4/ServoTimers.h" + #include "stm32f4/ServoTimers.h" #elif defined(ARDUINO_ARCH_NRF52) -#include "nrf52/ServoTimers.h" + #include "nrf52/ServoTimers.h" #elif defined(ARDUINO_ARCH_STM32) -#include "stm32/ServoTimers.h" + #include "stm32/ServoTimers.h" #else -#error "This library only supports boards with an AVR, SAM, SAMD, NRF52, STM32F4 or STM32 processor." + #error "This library only supports boards with an AVR, SAM, SAMD, NRF52, STM32F4 or STM32 processor." #endif #define Servo_VERSION 2 // software version of this library diff --git a/libraries/SoftwareSerial/src/SoftwareSerial.cpp b/libraries/SoftwareSerial/src/SoftwareSerial.cpp index da89fdd7c5..00a37c0701 100644 --- a/libraries/SoftwareSerial/src/SoftwareSerial.cpp +++ b/libraries/SoftwareSerial/src/SoftwareSerial.cpp @@ -44,53 +44,53 @@ // The order is based on (lack of) features and compare channels, we choose the simplest available // because we only need an update interrupt #if !defined(TIMER_SERIAL) -#if defined (TIM18_BASE) -#define TIMER_SERIAL TIM18 -#elif defined (TIM7_BASE) -#define TIMER_SERIAL TIM7 -#elif defined (TIM6_BASE) -#define TIMER_SERIAL TIM6 -#elif defined (TIM22_BASE) -#define TIMER_SERIAL TIM22 -#elif defined (TIM21_BASE) -#define TIMER_SERIAL TIM21 -#elif defined (TIM17_BASE) -#define TIMER_SERIAL TIM17 -#elif defined (TIM16_BASE) -#define TIMER_SERIAL TIM16 -#elif defined (TIM15_BASE) -#define TIMER_SERIAL TIM15 -#elif defined (TIM14_BASE) -#define TIMER_SERIAL TIM14 -#elif defined (TIM13_BASE) -#define TIMER_SERIAL TIM13 -#elif defined (TIM11_BASE) -#define TIMER_SERIAL TIM11 -#elif defined (TIM10_BASE) -#define TIMER_SERIAL TIM10 -#elif defined (TIM12_BASE) -#define TIMER_SERIAL TIM12 -#elif defined (TIM19_BASE) -#define TIMER_SERIAL TIM19 -#elif defined (TIM9_BASE) -#define TIMER_SERIAL TIM9 -#elif defined (TIM5_BASE) -#define TIMER_SERIAL TIM5 -#elif defined (TIM4_BASE) -#define TIMER_SERIAL TIM4 -#elif defined (TIM3_BASE) -#define TIMER_SERIAL TIM3 -#elif defined (TIM2_BASE) -#define TIMER_SERIAL TIM2 -#elif defined (TIM20_BASE) -#define TIMER_SERIAL TIM20 -#elif defined (TIM8_BASE) -#define TIMER_SERIAL TIM8 -#elif defined (TIM1_BASE) -#define TIMER_SERIAL TIM1 -#else -#error No suitable timer found for SoftwareSerial, define TIMER_SERIAL in variant.h -#endif + #if defined (TIM18_BASE) + #define TIMER_SERIAL TIM18 + #elif defined (TIM7_BASE) + #define TIMER_SERIAL TIM7 + #elif defined (TIM6_BASE) + #define TIMER_SERIAL TIM6 + #elif defined (TIM22_BASE) + #define TIMER_SERIAL TIM22 + #elif defined (TIM21_BASE) + #define TIMER_SERIAL TIM21 + #elif defined (TIM17_BASE) + #define TIMER_SERIAL TIM17 + #elif defined (TIM16_BASE) + #define TIMER_SERIAL TIM16 + #elif defined (TIM15_BASE) + #define TIMER_SERIAL TIM15 + #elif defined (TIM14_BASE) + #define TIMER_SERIAL TIM14 + #elif defined (TIM13_BASE) + #define TIMER_SERIAL TIM13 + #elif defined (TIM11_BASE) + #define TIMER_SERIAL TIM11 + #elif defined (TIM10_BASE) + #define TIMER_SERIAL TIM10 + #elif defined (TIM12_BASE) + #define TIMER_SERIAL TIM12 + #elif defined (TIM19_BASE) + #define TIMER_SERIAL TIM19 + #elif defined (TIM9_BASE) + #define TIMER_SERIAL TIM9 + #elif defined (TIM5_BASE) + #define TIMER_SERIAL TIM5 + #elif defined (TIM4_BASE) + #define TIMER_SERIAL TIM4 + #elif defined (TIM3_BASE) + #define TIMER_SERIAL TIM3 + #elif defined (TIM2_BASE) + #define TIMER_SERIAL TIM2 + #elif defined (TIM20_BASE) + #define TIMER_SERIAL TIM20 + #elif defined (TIM8_BASE) + #define TIMER_SERIAL TIM8 + #elif defined (TIM1_BASE) + #define TIMER_SERIAL TIM1 + #else + #error No suitable timer found for SoftwareSerial, define TIMER_SERIAL in variant.h + #endif #endif // // Statics diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal.c index c9fa073e0c..293d27a586 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal.c" + #include "stm32f0xx_hal.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal.c" + #include "stm32f1xx_hal.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal.c" + #include "stm32f2xx_hal.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal.c" + #include "stm32f3xx_hal.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal.c" + #include "stm32f4xx_hal.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal.c" + #include "stm32f7xx_hal.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal.c" + #include "stm32g0xx_hal.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal.c" + #include "stm32g4xx_hal.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal.c" + #include "stm32h7xx_hal.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal.c" + #include "stm32l0xx_hal.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal.c" + #include "stm32l1xx_hal.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal.c" + #include "stm32l4xx_hal.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal.c" + #include "stm32mp1xx_hal.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal.c" + #include "stm32wbxx_hal.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_adc.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_adc.c index b38a2bc92e..127d23dd60 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_adc.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_adc.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_adc.c" + #include "stm32f0xx_hal_adc.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_adc.c" + #include "stm32f1xx_hal_adc.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_adc.c" + #include "stm32f2xx_hal_adc.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_adc.c" + #include "stm32f3xx_hal_adc.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_adc.c" + #include "stm32f4xx_hal_adc.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_adc.c" + #include "stm32f7xx_hal_adc.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_adc.c" + #include "stm32g0xx_hal_adc.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_adc.c" + #include "stm32g4xx_hal_adc.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_adc.c" + #include "stm32h7xx_hal_adc.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_adc.c" + #include "stm32l0xx_hal_adc.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_adc.c" + #include "stm32l1xx_hal_adc.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_adc.c" + #include "stm32l4xx_hal_adc.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_adc.c" + #include "stm32mp1xx_hal_adc.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_adc.c" + #include "stm32wbxx_hal_adc.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_adc_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_adc_ex.c index 08929c1b58..9750a55bb5 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_adc_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_adc_ex.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_adc_ex.c" + #include "stm32f0xx_hal_adc_ex.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_adc_ex.c" + #include "stm32f1xx_hal_adc_ex.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_adc_ex.c" + #include "stm32f2xx_hal_adc_ex.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_adc_ex.c" + #include "stm32f3xx_hal_adc_ex.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_adc_ex.c" + #include "stm32f4xx_hal_adc_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_adc_ex.c" + #include "stm32f7xx_hal_adc_ex.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_adc_ex.c" + #include "stm32g0xx_hal_adc_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_adc_ex.c" + #include "stm32g4xx_hal_adc_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_adc_ex.c" + #include "stm32h7xx_hal_adc_ex.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_adc_ex.c" + #include "stm32l0xx_hal_adc_ex.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_adc_ex.c" + #include "stm32l1xx_hal_adc_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_adc_ex.c" + #include "stm32l4xx_hal_adc_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_adc_ex.c" + #include "stm32mp1xx_hal_adc_ex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_adc_ex.c" + #include "stm32wbxx_hal_adc_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_can.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_can.c index 95f533ae0a..390eafe61b 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_can.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_can.c @@ -1,21 +1,21 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_can.c" + #include "stm32f0xx_hal_can.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_can.c" + #include "stm32f1xx_hal_can.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_can.c" + #include "stm32f2xx_hal_can.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_can.c" + #include "stm32f3xx_hal_can.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_can.c" + #include "stm32f4xx_hal_can.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_can.c" + #include "stm32f7xx_hal_can.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_can.c" + #include "stm32l4xx_hal_can.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cec.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cec.c index c1084e9b7d..0faf554265 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cec.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cec.c @@ -1,24 +1,24 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_cec.c" + #include "stm32f0xx_hal_cec.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_cec.c" + #include "stm32f1xx_hal_cec.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_cec.c" + #include "stm32f3xx_hal_cec.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_cec.c" + #include "stm32f4xx_hal_cec.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_cec.c" + #include "stm32f7xx_hal_cec.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_cec.c" + #include "stm32g0xx_hal_cec.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_cec.c" + #include "stm32h7xx_hal_cec.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_cec.c" + #include "stm32mp1xx_hal_cec.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_comp.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_comp.c index e3a4f1ff99..46a75d8353 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_comp.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_comp.c @@ -1,27 +1,27 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_comp.c" + #include "stm32f0xx_hal_comp.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_comp.c" + #include "stm32f3xx_hal_comp.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_comp.c" + #include "stm32g0xx_hal_comp.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_comp.c" + #include "stm32g4xx_hal_comp.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_comp.c" + #include "stm32h7xx_hal_comp.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_comp.c" + #include "stm32l0xx_hal_comp.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_comp.c" + #include "stm32l1xx_hal_comp.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_comp.c" + #include "stm32l4xx_hal_comp.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_comp.c" + #include "stm32wbxx_hal_comp.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_comp_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_comp_ex.c index dfbc055bc2..4308e01aea 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_comp_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_comp_ex.c @@ -1,3 +1,3 @@ #ifdef STM32L0xx -#include "stm32l0xx_hal_comp_ex.c" + #include "stm32l0xx_hal_comp_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cordic.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cordic.c index eff3fb9c2c..7a333bbe5e 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cordic.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cordic.c @@ -1,3 +1,3 @@ #ifdef STM32G4xx -#include "stm32g4xx_hal_cordic.c" + #include "stm32g4xx_hal_cordic.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cortex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cortex.c index 5bdd069e9b..cfe0c2c6cd 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cortex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cortex.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_cortex.c" + #include "stm32f0xx_hal_cortex.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_cortex.c" + #include "stm32f1xx_hal_cortex.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_cortex.c" + #include "stm32f2xx_hal_cortex.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_cortex.c" + #include "stm32f3xx_hal_cortex.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_cortex.c" + #include "stm32f4xx_hal_cortex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_cortex.c" + #include "stm32f7xx_hal_cortex.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_cortex.c" + #include "stm32g0xx_hal_cortex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_cortex.c" + #include "stm32g4xx_hal_cortex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_cortex.c" + #include "stm32h7xx_hal_cortex.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_cortex.c" + #include "stm32l0xx_hal_cortex.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_cortex.c" + #include "stm32l1xx_hal_cortex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_cortex.c" + #include "stm32l4xx_hal_cortex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_cortex.c" + #include "stm32mp1xx_hal_cortex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_cortex.c" + #include "stm32wbxx_hal_cortex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_crc.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_crc.c index 2b282ee9e5..3a5a07391c 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_crc.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_crc.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_crc.c" + #include "stm32f0xx_hal_crc.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_crc.c" + #include "stm32f1xx_hal_crc.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_crc.c" + #include "stm32f2xx_hal_crc.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_crc.c" + #include "stm32f3xx_hal_crc.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_crc.c" + #include "stm32f4xx_hal_crc.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_crc.c" + #include "stm32f7xx_hal_crc.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_crc.c" + #include "stm32g0xx_hal_crc.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_crc.c" + #include "stm32g4xx_hal_crc.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_crc.c" + #include "stm32h7xx_hal_crc.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_crc.c" + #include "stm32l0xx_hal_crc.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_crc.c" + #include "stm32l1xx_hal_crc.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_crc.c" + #include "stm32l4xx_hal_crc.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_crc.c" + #include "stm32mp1xx_hal_crc.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_crc.c" + #include "stm32wbxx_hal_crc.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_crc_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_crc_ex.c index a96f0c2158..299a5d9e47 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_crc_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_crc_ex.c @@ -1,30 +1,30 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_crc_ex.c" + #include "stm32f0xx_hal_crc_ex.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_crc_ex.c" + #include "stm32f3xx_hal_crc_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_crc_ex.c" + #include "stm32f7xx_hal_crc_ex.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_crc_ex.c" + #include "stm32g0xx_hal_crc_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_crc_ex.c" + #include "stm32g4xx_hal_crc_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_crc_ex.c" + #include "stm32h7xx_hal_crc_ex.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_crc_ex.c" + #include "stm32l0xx_hal_crc_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_crc_ex.c" + #include "stm32l4xx_hal_crc_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_crc_ex.c" + #include "stm32mp1xx_hal_crc_ex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_crc_ex.c" + #include "stm32wbxx_hal_crc_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cryp.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cryp.c index 41a4e3a7c7..cb04ca4907 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cryp.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cryp.c @@ -1,33 +1,33 @@ #ifdef STM32F2xx -#include "stm32f2xx_hal_cryp.c" + #include "stm32f2xx_hal_cryp.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_cryp.c" + #include "stm32f4xx_hal_cryp.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_cryp.c" + #include "stm32f7xx_hal_cryp.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_cryp.c" + #include "stm32g0xx_hal_cryp.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_cryp.c" + #include "stm32g4xx_hal_cryp.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_cryp.c" + #include "stm32h7xx_hal_cryp.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_cryp.c" + #include "stm32l0xx_hal_cryp.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_cryp.c" + #include "stm32l1xx_hal_cryp.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_cryp.c" + #include "stm32l4xx_hal_cryp.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_cryp.c" + #include "stm32mp1xx_hal_cryp.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_cryp.c" + #include "stm32wbxx_hal_cryp.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cryp_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cryp_ex.c index 8d9d3fdf55..4924f15f1c 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cryp_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_cryp_ex.c @@ -1,30 +1,30 @@ #ifdef STM32F4xx -#include "stm32f4xx_hal_cryp_ex.c" + #include "stm32f4xx_hal_cryp_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_cryp_ex.c" + #include "stm32f7xx_hal_cryp_ex.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_cryp_ex.c" + #include "stm32g0xx_hal_cryp_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_cryp_ex.c" + #include "stm32g4xx_hal_cryp_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_cryp_ex.c" + #include "stm32h7xx_hal_cryp_ex.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_cryp_ex.c" + #include "stm32l0xx_hal_cryp_ex.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_cryp_ex.c" + #include "stm32l1xx_hal_cryp_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_cryp_ex.c" + #include "stm32l4xx_hal_cryp_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_cryp_ex.c" + #include "stm32mp1xx_hal_cryp_ex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_cryp_ex.c" + #include "stm32wbxx_hal_cryp_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dac.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dac.c index 729088ef3f..0f90b7b1ca 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dac.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dac.c @@ -1,39 +1,39 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_dac.c" + #include "stm32f0xx_hal_dac.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_dac.c" + #include "stm32f1xx_hal_dac.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_dac.c" + #include "stm32f2xx_hal_dac.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_dac.c" + #include "stm32f3xx_hal_dac.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_dac.c" + #include "stm32f4xx_hal_dac.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_dac.c" + #include "stm32f7xx_hal_dac.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_dac.c" + #include "stm32g0xx_hal_dac.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_dac.c" + #include "stm32g4xx_hal_dac.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_dac.c" + #include "stm32h7xx_hal_dac.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_dac.c" + #include "stm32l0xx_hal_dac.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_dac.c" + #include "stm32l1xx_hal_dac.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_dac.c" + #include "stm32l4xx_hal_dac.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_dac.c" + #include "stm32mp1xx_hal_dac.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dac_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dac_ex.c index ba6036a51b..3d7891f208 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dac_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dac_ex.c @@ -1,39 +1,39 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_dac_ex.c" + #include "stm32f0xx_hal_dac_ex.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_dac_ex.c" + #include "stm32f1xx_hal_dac_ex.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_dac_ex.c" + #include "stm32f2xx_hal_dac_ex.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_dac_ex.c" + #include "stm32f3xx_hal_dac_ex.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_dac_ex.c" + #include "stm32f4xx_hal_dac_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_dac_ex.c" + #include "stm32f7xx_hal_dac_ex.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_dac_ex.c" + #include "stm32g0xx_hal_dac_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_dac_ex.c" + #include "stm32g4xx_hal_dac_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_dac_ex.c" + #include "stm32h7xx_hal_dac_ex.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_dac_ex.c" + #include "stm32l0xx_hal_dac_ex.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_dac_ex.c" + #include "stm32l1xx_hal_dac_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_dac_ex.c" + #include "stm32l4xx_hal_dac_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_dac_ex.c" + #include "stm32mp1xx_hal_dac_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dcmi.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dcmi.c index 9bf6d96a86..4960a4e254 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dcmi.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dcmi.c @@ -1,18 +1,18 @@ #ifdef STM32F2xx -#include "stm32f2xx_hal_dcmi.c" + #include "stm32f2xx_hal_dcmi.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_dcmi.c" + #include "stm32f4xx_hal_dcmi.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_dcmi.c" + #include "stm32f7xx_hal_dcmi.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_dcmi.c" + #include "stm32h7xx_hal_dcmi.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_dcmi.c" + #include "stm32l4xx_hal_dcmi.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_dcmi.c" + #include "stm32mp1xx_hal_dcmi.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dcmi_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dcmi_ex.c index cff1b23ab8..e7e6240618 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dcmi_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dcmi_ex.c @@ -1,9 +1,9 @@ #ifdef STM32F2xx -#include "stm32f2xx_hal_dcmi_ex.c" + #include "stm32f2xx_hal_dcmi_ex.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_dcmi_ex.c" + #include "stm32f4xx_hal_dcmi_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_dcmi_ex.c" + #include "stm32f7xx_hal_dcmi_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dfsdm.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dfsdm.c index 472e936761..c631984d69 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dfsdm.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dfsdm.c @@ -1,15 +1,15 @@ #ifdef STM32F4xx -#include "stm32f4xx_hal_dfsdm.c" + #include "stm32f4xx_hal_dfsdm.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_dfsdm.c" + #include "stm32f7xx_hal_dfsdm.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_dfsdm.c" + #include "stm32h7xx_hal_dfsdm.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_dfsdm.c" + #include "stm32l4xx_hal_dfsdm.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_dfsdm.c" + #include "stm32mp1xx_hal_dfsdm.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dfsdm_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dfsdm_ex.c index a8e2a54346..802ba1ffee 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dfsdm_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dfsdm_ex.c @@ -1,9 +1,9 @@ #ifdef STM32H7xx -#include "stm32h7xx_hal_dfsdm_ex.c" + #include "stm32h7xx_hal_dfsdm_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_dfsdm_ex.c" + #include "stm32l4xx_hal_dfsdm_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_dfsdm_ex.c" + #include "stm32mp1xx_hal_dfsdm_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dma.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dma.c index c57833a59a..10d3add7ab 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dma.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dma.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_dma.c" + #include "stm32f0xx_hal_dma.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_dma.c" + #include "stm32f1xx_hal_dma.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_dma.c" + #include "stm32f2xx_hal_dma.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_dma.c" + #include "stm32f3xx_hal_dma.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_dma.c" + #include "stm32f4xx_hal_dma.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_dma.c" + #include "stm32f7xx_hal_dma.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_dma.c" + #include "stm32g0xx_hal_dma.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_dma.c" + #include "stm32g4xx_hal_dma.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_dma.c" + #include "stm32h7xx_hal_dma.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_dma.c" + #include "stm32l0xx_hal_dma.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_dma.c" + #include "stm32l1xx_hal_dma.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_dma.c" + #include "stm32l4xx_hal_dma.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_dma.c" + #include "stm32mp1xx_hal_dma.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_dma.c" + #include "stm32wbxx_hal_dma.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dma2d.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dma2d.c index 18f131d29d..41bc3590c1 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dma2d.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dma2d.c @@ -1,12 +1,12 @@ #ifdef STM32F4xx -#include "stm32f4xx_hal_dma2d.c" + #include "stm32f4xx_hal_dma2d.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_dma2d.c" + #include "stm32f7xx_hal_dma2d.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_dma2d.c" + #include "stm32h7xx_hal_dma2d.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_dma2d.c" + #include "stm32l4xx_hal_dma2d.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dma_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dma_ex.c index 7915784a4c..d96b3001d9 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dma_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dma_ex.c @@ -1,27 +1,27 @@ #ifdef STM32F2xx -#include "stm32f2xx_hal_dma_ex.c" + #include "stm32f2xx_hal_dma_ex.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_dma_ex.c" + #include "stm32f4xx_hal_dma_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_dma_ex.c" + #include "stm32f7xx_hal_dma_ex.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_dma_ex.c" + #include "stm32g0xx_hal_dma_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_dma_ex.c" + #include "stm32g4xx_hal_dma_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_dma_ex.c" + #include "stm32h7xx_hal_dma_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_dma_ex.c" + #include "stm32l4xx_hal_dma_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_dma_ex.c" + #include "stm32mp1xx_hal_dma_ex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_dma_ex.c" + #include "stm32wbxx_hal_dma_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dsi.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dsi.c index af5d3be140..e03f51bdc5 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dsi.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dsi.c @@ -1,12 +1,12 @@ #ifdef STM32F4xx -#include "stm32f4xx_hal_dsi.c" + #include "stm32f4xx_hal_dsi.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_dsi.c" + #include "stm32f7xx_hal_dsi.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_dsi.c" + #include "stm32h7xx_hal_dsi.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_dsi.c" + #include "stm32l4xx_hal_dsi.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dts.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dts.c index a63c396f1d..ec56fc6a8d 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dts.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_dts.c @@ -1,3 +1,3 @@ #ifdef STM32H7xx -#include "stm32h7xx_hal_dts.c" + #include "stm32h7xx_hal_dts.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_eth.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_eth.c index 3459889cbd..a0ad996454 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_eth.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_eth.c @@ -1,15 +1,15 @@ #ifdef STM32F1xx -#include "stm32f1xx_hal_eth.c" + #include "stm32f1xx_hal_eth.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_eth.c" + #include "stm32f2xx_hal_eth.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_eth.c" + #include "stm32f4xx_hal_eth.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_eth.c" + #include "stm32f7xx_hal_eth.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_eth.c" + #include "stm32h7xx_hal_eth.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_eth_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_eth_ex.c index 789516162e..980a4cc53d 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_eth_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_eth_ex.c @@ -1,3 +1,3 @@ #ifdef STM32H7xx -#include "stm32h7xx_hal_eth_ex.c" + #include "stm32h7xx_hal_eth_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_exti.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_exti.c index 9f434d6092..9fb7643047 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_exti.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_exti.c @@ -1,36 +1,36 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_exti.c" + #include "stm32f0xx_hal_exti.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_exti.c" + #include "stm32f1xx_hal_exti.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_exti.c" + #include "stm32f2xx_hal_exti.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_exti.c" + #include "stm32f3xx_hal_exti.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_exti.c" + #include "stm32f4xx_hal_exti.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_exti.c" + #include "stm32f7xx_hal_exti.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_exti.c" + #include "stm32g0xx_hal_exti.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_exti.c" + #include "stm32g4xx_hal_exti.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_exti.c" + #include "stm32h7xx_hal_exti.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_exti.c" + #include "stm32l4xx_hal_exti.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_exti.c" + #include "stm32mp1xx_hal_exti.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_exti.c" + #include "stm32wbxx_hal_exti.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fdcan.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fdcan.c index 0f9957ed6d..c3838bff53 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fdcan.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fdcan.c @@ -1,9 +1,9 @@ #ifdef STM32G4xx -#include "stm32g4xx_hal_fdcan.c" + #include "stm32g4xx_hal_fdcan.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_fdcan.c" + #include "stm32h7xx_hal_fdcan.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_fdcan.c" + #include "stm32mp1xx_hal_fdcan.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_firewall.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_firewall.c index c01670ea23..c64c49462f 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_firewall.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_firewall.c @@ -1,6 +1,6 @@ #ifdef STM32L0xx -#include "stm32l0xx_hal_firewall.c" + #include "stm32l0xx_hal_firewall.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_firewall.c" + #include "stm32l4xx_hal_firewall.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_flash.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_flash.c index df5c16d1a1..435c320c88 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_flash.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_flash.c @@ -1,39 +1,39 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_flash.c" + #include "stm32f0xx_hal_flash.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_flash.c" + #include "stm32f1xx_hal_flash.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_flash.c" + #include "stm32f2xx_hal_flash.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_flash.c" + #include "stm32f3xx_hal_flash.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_flash.c" + #include "stm32f4xx_hal_flash.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_flash.c" + #include "stm32f7xx_hal_flash.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_flash.c" + #include "stm32g0xx_hal_flash.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_flash.c" + #include "stm32g4xx_hal_flash.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_flash.c" + #include "stm32h7xx_hal_flash.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_flash.c" + #include "stm32l0xx_hal_flash.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_flash.c" + #include "stm32l1xx_hal_flash.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_flash.c" + #include "stm32l4xx_hal_flash.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_flash.c" + #include "stm32wbxx_hal_flash.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_flash_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_flash_ex.c index 12a7896717..fcaf45bc67 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_flash_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_flash_ex.c @@ -1,39 +1,39 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_flash_ex.c" + #include "stm32f0xx_hal_flash_ex.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_flash_ex.c" + #include "stm32f1xx_hal_flash_ex.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_flash_ex.c" + #include "stm32f2xx_hal_flash_ex.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_flash_ex.c" + #include "stm32f3xx_hal_flash_ex.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_flash_ex.c" + #include "stm32f4xx_hal_flash_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_flash_ex.c" + #include "stm32f7xx_hal_flash_ex.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_flash_ex.c" + #include "stm32g0xx_hal_flash_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_flash_ex.c" + #include "stm32g4xx_hal_flash_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_flash_ex.c" + #include "stm32h7xx_hal_flash_ex.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_flash_ex.c" + #include "stm32l0xx_hal_flash_ex.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_flash_ex.c" + #include "stm32l1xx_hal_flash_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_flash_ex.c" + #include "stm32l4xx_hal_flash_ex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_flash_ex.c" + #include "stm32wbxx_hal_flash_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_flash_ramfunc.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_flash_ramfunc.c index af344265c3..cd93096a4c 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_flash_ramfunc.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_flash_ramfunc.c @@ -1,15 +1,15 @@ #ifdef STM32F4xx -#include "stm32f4xx_hal_flash_ramfunc.c" + #include "stm32f4xx_hal_flash_ramfunc.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_flash_ramfunc.c" + #include "stm32g4xx_hal_flash_ramfunc.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_flash_ramfunc.c" + #include "stm32l0xx_hal_flash_ramfunc.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_flash_ramfunc.c" + #include "stm32l1xx_hal_flash_ramfunc.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_flash_ramfunc.c" + #include "stm32l4xx_hal_flash_ramfunc.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fmac.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fmac.c index 9dc9ed6828..3ea9c0eff9 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fmac.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fmac.c @@ -1,3 +1,3 @@ #ifdef STM32G4xx -#include "stm32g4xx_hal_fmac.c" + #include "stm32g4xx_hal_fmac.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fmpi2c.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fmpi2c.c index 2af6d7351f..655192dbf8 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fmpi2c.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fmpi2c.c @@ -1,3 +1,3 @@ #ifdef STM32F4xx -#include "stm32f4xx_hal_fmpi2c.c" + #include "stm32f4xx_hal_fmpi2c.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fmpi2c_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fmpi2c_ex.c index 826a916356..b220d6e627 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fmpi2c_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_fmpi2c_ex.c @@ -1,3 +1,3 @@ #ifdef STM32F4xx -#include "stm32f4xx_hal_fmpi2c_ex.c" + #include "stm32f4xx_hal_fmpi2c_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gfxmmu.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gfxmmu.c index 73f3400414..57da0567fe 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gfxmmu.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gfxmmu.c @@ -1,6 +1,6 @@ #ifdef STM32H7xx -#include "stm32h7xx_hal_gfxmmu.c" + #include "stm32h7xx_hal_gfxmmu.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_gfxmmu.c" + #include "stm32l4xx_hal_gfxmmu.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gpio.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gpio.c index acbbd6bc48..1362971f3d 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gpio.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gpio.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_gpio.c" + #include "stm32f0xx_hal_gpio.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_gpio.c" + #include "stm32f1xx_hal_gpio.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_gpio.c" + #include "stm32f2xx_hal_gpio.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_gpio.c" + #include "stm32f3xx_hal_gpio.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_gpio.c" + #include "stm32f4xx_hal_gpio.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_gpio.c" + #include "stm32f7xx_hal_gpio.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_gpio.c" + #include "stm32g0xx_hal_gpio.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_gpio.c" + #include "stm32g4xx_hal_gpio.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_gpio.c" + #include "stm32h7xx_hal_gpio.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_gpio.c" + #include "stm32l0xx_hal_gpio.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_gpio.c" + #include "stm32l1xx_hal_gpio.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_gpio.c" + #include "stm32l4xx_hal_gpio.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_gpio.c" + #include "stm32mp1xx_hal_gpio.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_gpio.c" + #include "stm32wbxx_hal_gpio.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gpio_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gpio_ex.c index ed1024378e..a4088ebce3 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gpio_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_gpio_ex.c @@ -1,3 +1,3 @@ #ifdef STM32F1xx -#include "stm32f1xx_hal_gpio_ex.c" + #include "stm32f1xx_hal_gpio_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hash.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hash.c index 8b53558ca7..b53282750a 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hash.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hash.c @@ -1,18 +1,18 @@ #ifdef STM32F2xx -#include "stm32f2xx_hal_hash.c" + #include "stm32f2xx_hal_hash.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_hash.c" + #include "stm32f4xx_hal_hash.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_hash.c" + #include "stm32f7xx_hal_hash.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_hash.c" + #include "stm32h7xx_hal_hash.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_hash.c" + #include "stm32l4xx_hal_hash.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_hash.c" + #include "stm32mp1xx_hal_hash.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hash_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hash_ex.c index 9c6eed4dbf..42355a4ece 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hash_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hash_ex.c @@ -1,15 +1,15 @@ #ifdef STM32F4xx -#include "stm32f4xx_hal_hash_ex.c" + #include "stm32f4xx_hal_hash_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_hash_ex.c" + #include "stm32f7xx_hal_hash_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_hash_ex.c" + #include "stm32h7xx_hal_hash_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_hash_ex.c" + #include "stm32l4xx_hal_hash_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_hash_ex.c" + #include "stm32mp1xx_hal_hash_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hcd.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hcd.c index 3a339ddab5..6583f45852 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hcd.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hcd.c @@ -1,18 +1,18 @@ #ifdef STM32F1xx -#include "stm32f1xx_hal_hcd.c" + #include "stm32f1xx_hal_hcd.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_hcd.c" + #include "stm32f2xx_hal_hcd.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_hcd.c" + #include "stm32f4xx_hal_hcd.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_hcd.c" + #include "stm32f7xx_hal_hcd.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_hcd.c" + #include "stm32h7xx_hal_hcd.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_hcd.c" + #include "stm32l4xx_hal_hcd.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hrtim.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hrtim.c index 40b7220d55..ef7baecef5 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hrtim.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hrtim.c @@ -1,9 +1,9 @@ #ifdef STM32F3xx -#include "stm32f3xx_hal_hrtim.c" + #include "stm32f3xx_hal_hrtim.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_hrtim.c" + #include "stm32g4xx_hal_hrtim.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_hrtim.c" + #include "stm32h7xx_hal_hrtim.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hsem.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hsem.c index b4e7b8eb1d..0eafa87b03 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hsem.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hsem.c @@ -1,9 +1,9 @@ #ifdef STM32H7xx -#include "stm32h7xx_hal_hsem.c" + #include "stm32h7xx_hal_hsem.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_hsem.c" + #include "stm32mp1xx_hal_hsem.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_hsem.c" + #include "stm32wbxx_hal_hsem.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2c.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2c.c index eefb4b5778..d1a9e2993f 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2c.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2c.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_i2c.c" + #include "stm32f0xx_hal_i2c.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_i2c.c" + #include "stm32f1xx_hal_i2c.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_i2c.c" + #include "stm32f2xx_hal_i2c.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_i2c.c" + #include "stm32f3xx_hal_i2c.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_i2c.c" + #include "stm32f4xx_hal_i2c.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_i2c.c" + #include "stm32f7xx_hal_i2c.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_i2c.c" + #include "stm32g0xx_hal_i2c.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_i2c.c" + #include "stm32g4xx_hal_i2c.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_i2c.c" + #include "stm32h7xx_hal_i2c.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_i2c.c" + #include "stm32l0xx_hal_i2c.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_i2c.c" + #include "stm32l1xx_hal_i2c.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_i2c.c" + #include "stm32l4xx_hal_i2c.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_i2c.c" + #include "stm32mp1xx_hal_i2c.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_i2c.c" + #include "stm32wbxx_hal_i2c.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2c_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2c_ex.c index 7905ab6a02..f7fc62c7ab 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2c_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2c_ex.c @@ -1,33 +1,33 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_i2c_ex.c" + #include "stm32f0xx_hal_i2c_ex.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_i2c_ex.c" + #include "stm32f3xx_hal_i2c_ex.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_i2c_ex.c" + #include "stm32f4xx_hal_i2c_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_i2c_ex.c" + #include "stm32f7xx_hal_i2c_ex.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_i2c_ex.c" + #include "stm32g0xx_hal_i2c_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_i2c_ex.c" + #include "stm32g4xx_hal_i2c_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_i2c_ex.c" + #include "stm32h7xx_hal_i2c_ex.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_i2c_ex.c" + #include "stm32l0xx_hal_i2c_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_i2c_ex.c" + #include "stm32l4xx_hal_i2c_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_i2c_ex.c" + #include "stm32mp1xx_hal_i2c_ex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_i2c_ex.c" + #include "stm32wbxx_hal_i2c_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2s.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2s.c index d0f4e7dcd8..dd933a19cc 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2s.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2s.c @@ -1,33 +1,33 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_i2s.c" + #include "stm32f0xx_hal_i2s.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_i2s.c" + #include "stm32f1xx_hal_i2s.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_i2s.c" + #include "stm32f2xx_hal_i2s.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_i2s.c" + #include "stm32f3xx_hal_i2s.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_i2s.c" + #include "stm32f4xx_hal_i2s.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_i2s.c" + #include "stm32f7xx_hal_i2s.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_i2s.c" + #include "stm32g0xx_hal_i2s.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_i2s.c" + #include "stm32g4xx_hal_i2s.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_i2s.c" + #include "stm32h7xx_hal_i2s.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_i2s.c" + #include "stm32l0xx_hal_i2s.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_i2s.c" + #include "stm32l1xx_hal_i2s.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2s_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2s_ex.c index 511adbd517..cad328fb86 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2s_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_i2s_ex.c @@ -1,9 +1,9 @@ #ifdef STM32F3xx -#include "stm32f3xx_hal_i2s_ex.c" + #include "stm32f3xx_hal_i2s_ex.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_i2s_ex.c" + #include "stm32f4xx_hal_i2s_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_i2s_ex.c" + #include "stm32h7xx_hal_i2s_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ipcc.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ipcc.c index c6491b766f..71556c2126 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ipcc.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ipcc.c @@ -1,6 +1,6 @@ #ifdef STM32MP1xx -#include "stm32mp1xx_hal_ipcc.c" + #include "stm32mp1xx_hal_ipcc.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_ipcc.c" + #include "stm32wbxx_hal_ipcc.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_irda.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_irda.c index 67455b9022..8877b9cfc6 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_irda.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_irda.c @@ -1,39 +1,39 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_irda.c" + #include "stm32f0xx_hal_irda.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_irda.c" + #include "stm32f1xx_hal_irda.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_irda.c" + #include "stm32f2xx_hal_irda.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_irda.c" + #include "stm32f3xx_hal_irda.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_irda.c" + #include "stm32f4xx_hal_irda.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_irda.c" + #include "stm32f7xx_hal_irda.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_irda.c" + #include "stm32g0xx_hal_irda.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_irda.c" + #include "stm32g4xx_hal_irda.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_irda.c" + #include "stm32h7xx_hal_irda.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_irda.c" + #include "stm32l0xx_hal_irda.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_irda.c" + #include "stm32l1xx_hal_irda.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_irda.c" + #include "stm32l4xx_hal_irda.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_irda.c" + #include "stm32wbxx_hal_irda.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_iwdg.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_iwdg.c index cba50b21c2..4d2bf4b9ea 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_iwdg.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_iwdg.c @@ -1,39 +1,39 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_iwdg.c" + #include "stm32f0xx_hal_iwdg.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_iwdg.c" + #include "stm32f1xx_hal_iwdg.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_iwdg.c" + #include "stm32f2xx_hal_iwdg.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_iwdg.c" + #include "stm32f3xx_hal_iwdg.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_iwdg.c" + #include "stm32f4xx_hal_iwdg.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_iwdg.c" + #include "stm32f7xx_hal_iwdg.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_iwdg.c" + #include "stm32g0xx_hal_iwdg.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_iwdg.c" + #include "stm32g4xx_hal_iwdg.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_iwdg.c" + #include "stm32h7xx_hal_iwdg.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_iwdg.c" + #include "stm32l0xx_hal_iwdg.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_iwdg.c" + #include "stm32l1xx_hal_iwdg.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_iwdg.c" + #include "stm32l4xx_hal_iwdg.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_iwdg.c" + #include "stm32wbxx_hal_iwdg.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_jpeg.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_jpeg.c index 2af5e44f4a..46784424b1 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_jpeg.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_jpeg.c @@ -1,6 +1,6 @@ #ifdef STM32F7xx -#include "stm32f7xx_hal_jpeg.c" + #include "stm32f7xx_hal_jpeg.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_jpeg.c" + #include "stm32h7xx_hal_jpeg.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_lcd.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_lcd.c index 0f017821ad..db7a32bee3 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_lcd.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_lcd.c @@ -1,12 +1,12 @@ #ifdef STM32L0xx -#include "stm32l0xx_hal_lcd.c" + #include "stm32l0xx_hal_lcd.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_lcd.c" + #include "stm32l1xx_hal_lcd.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_lcd.c" + #include "stm32l4xx_hal_lcd.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_lcd.c" + #include "stm32wbxx_hal_lcd.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_lptim.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_lptim.c index ac3fbab61a..28c8b4ddab 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_lptim.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_lptim.c @@ -1,27 +1,27 @@ #ifdef STM32F4xx -#include "stm32f4xx_hal_lptim.c" + #include "stm32f4xx_hal_lptim.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_lptim.c" + #include "stm32f7xx_hal_lptim.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_lptim.c" + #include "stm32g0xx_hal_lptim.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_lptim.c" + #include "stm32g4xx_hal_lptim.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_lptim.c" + #include "stm32h7xx_hal_lptim.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_lptim.c" + #include "stm32l0xx_hal_lptim.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_lptim.c" + #include "stm32l4xx_hal_lptim.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_lptim.c" + #include "stm32mp1xx_hal_lptim.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_lptim.c" + #include "stm32wbxx_hal_lptim.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ltdc.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ltdc.c index 3c412cfc85..0a743ab16f 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ltdc.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ltdc.c @@ -1,12 +1,12 @@ #ifdef STM32F4xx -#include "stm32f4xx_hal_ltdc.c" + #include "stm32f4xx_hal_ltdc.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_ltdc.c" + #include "stm32f7xx_hal_ltdc.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_ltdc.c" + #include "stm32h7xx_hal_ltdc.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_ltdc.c" + #include "stm32l4xx_hal_ltdc.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ltdc_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ltdc_ex.c index d5207a0e96..3f341fece7 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ltdc_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ltdc_ex.c @@ -1,12 +1,12 @@ #ifdef STM32F4xx -#include "stm32f4xx_hal_ltdc_ex.c" + #include "stm32f4xx_hal_ltdc_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_ltdc_ex.c" + #include "stm32f7xx_hal_ltdc_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_ltdc_ex.c" + #include "stm32h7xx_hal_ltdc_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_ltdc_ex.c" + #include "stm32l4xx_hal_ltdc_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mdios.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mdios.c index b715072425..21bd5a55a3 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mdios.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mdios.c @@ -1,9 +1,9 @@ #ifdef STM32F7xx -#include "stm32f7xx_hal_mdios.c" + #include "stm32f7xx_hal_mdios.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_mdios.c" + #include "stm32h7xx_hal_mdios.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_mdios.c" + #include "stm32mp1xx_hal_mdios.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mdma.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mdma.c index e0f64ba9bd..07bbfaa2e5 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mdma.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mdma.c @@ -1,6 +1,6 @@ #ifdef STM32H7xx -#include "stm32h7xx_hal_mdma.c" + #include "stm32h7xx_hal_mdma.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_mdma.c" + #include "stm32mp1xx_hal_mdma.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mmc.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mmc.c index f7749fae1f..62d1ca2d41 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mmc.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mmc.c @@ -1,18 +1,18 @@ #ifdef STM32F1xx -#include "stm32f1xx_hal_mmc.c" + #include "stm32f1xx_hal_mmc.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_mmc.c" + #include "stm32f2xx_hal_mmc.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_mmc.c" + #include "stm32f4xx_hal_mmc.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_mmc.c" + #include "stm32f7xx_hal_mmc.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_mmc.c" + #include "stm32h7xx_hal_mmc.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_mmc.c" + #include "stm32l4xx_hal_mmc.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mmc_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mmc_ex.c index b60fa83a7d..ff0a53ab05 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mmc_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_mmc_ex.c @@ -1,6 +1,6 @@ #ifdef STM32H7xx -#include "stm32h7xx_hal_mmc_ex.c" + #include "stm32h7xx_hal_mmc_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_mmc_ex.c" + #include "stm32l4xx_hal_mmc_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_msp_template.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_msp_template.c index 6de42d1851..ab8aad32c6 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_msp_template.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_msp_template.c @@ -1,44 +1,44 @@ #if 0 -#ifdef STM32F0xx -#include "stm32f0xx_hal_msp_template.c" -#endif -#ifdef STM32F1xx -#include "stm32f1xx_hal_msp_template.c" -#endif -#ifdef STM32F2xx -#include "stm32f2xx_hal_msp_template.c" -#endif -#ifdef STM32F3xx -#include "stm32f3xx_hal_msp_template.c" -#endif -#ifdef STM32F4xx -#include "stm32f4xx_hal_msp_template.c" -#endif -#ifdef STM32F7xx -#include "stm32f7xx_hal_msp_template.c" -#endif -#ifdef STM32G0xx -#include "stm32g0xx_hal_msp_template.c" -#endif -#ifdef STM32G4xx -#include "stm32g4xx_hal_msp_template.c" -#endif -#ifdef STM32H7xx -#include "stm32h7xx_hal_msp_template.c" -#endif -#ifdef STM32L0xx -#include "stm32l0xx_hal_msp_template.c" -#endif -#ifdef STM32L1xx -#include "stm32l1xx_hal_msp_template.c" -#endif -#ifdef STM32L4xx -#include "stm32l4xx_hal_msp_template.c" -#endif -#ifdef STM32MP1xx -#include "stm32mp1xx_hal_msp_template.c" -#endif -#ifdef STM32WBxx -#include "stm32wbxx_hal_msp_template.c" -#endif + #ifdef STM32F0xx + #include "stm32f0xx_hal_msp_template.c" + #endif + #ifdef STM32F1xx + #include "stm32f1xx_hal_msp_template.c" + #endif + #ifdef STM32F2xx + #include "stm32f2xx_hal_msp_template.c" + #endif + #ifdef STM32F3xx + #include "stm32f3xx_hal_msp_template.c" + #endif + #ifdef STM32F4xx + #include "stm32f4xx_hal_msp_template.c" + #endif + #ifdef STM32F7xx + #include "stm32f7xx_hal_msp_template.c" + #endif + #ifdef STM32G0xx + #include "stm32g0xx_hal_msp_template.c" + #endif + #ifdef STM32G4xx + #include "stm32g4xx_hal_msp_template.c" + #endif + #ifdef STM32H7xx + #include "stm32h7xx_hal_msp_template.c" + #endif + #ifdef STM32L0xx + #include "stm32l0xx_hal_msp_template.c" + #endif + #ifdef STM32L1xx + #include "stm32l1xx_hal_msp_template.c" + #endif + #ifdef STM32L4xx + #include "stm32l4xx_hal_msp_template.c" + #endif + #ifdef STM32MP1xx + #include "stm32mp1xx_hal_msp_template.c" + #endif + #ifdef STM32WBxx + #include "stm32wbxx_hal_msp_template.c" + #endif #endif /* 0 */ diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_nand.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_nand.c index 5a140b3ad7..8d32341520 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_nand.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_nand.c @@ -1,24 +1,24 @@ #ifdef STM32F1xx -#include "stm32f1xx_hal_nand.c" + #include "stm32f1xx_hal_nand.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_nand.c" + #include "stm32f2xx_hal_nand.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_nand.c" + #include "stm32f3xx_hal_nand.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_nand.c" + #include "stm32f4xx_hal_nand.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_nand.c" + #include "stm32f7xx_hal_nand.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_nand.c" + #include "stm32g4xx_hal_nand.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_nand.c" + #include "stm32h7xx_hal_nand.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_nand.c" + #include "stm32l4xx_hal_nand.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_nor.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_nor.c index 6b345f5adb..24f78621e9 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_nor.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_nor.c @@ -1,27 +1,27 @@ #ifdef STM32F1xx -#include "stm32f1xx_hal_nor.c" + #include "stm32f1xx_hal_nor.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_nor.c" + #include "stm32f2xx_hal_nor.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_nor.c" + #include "stm32f3xx_hal_nor.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_nor.c" + #include "stm32f4xx_hal_nor.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_nor.c" + #include "stm32f7xx_hal_nor.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_nor.c" + #include "stm32g4xx_hal_nor.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_nor.c" + #include "stm32h7xx_hal_nor.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_nor.c" + #include "stm32l1xx_hal_nor.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_nor.c" + #include "stm32l4xx_hal_nor.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_opamp.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_opamp.c index 8782bf5b93..97f38ce3e8 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_opamp.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_opamp.c @@ -1,15 +1,15 @@ #ifdef STM32F3xx -#include "stm32f3xx_hal_opamp.c" + #include "stm32f3xx_hal_opamp.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_opamp.c" + #include "stm32g4xx_hal_opamp.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_opamp.c" + #include "stm32h7xx_hal_opamp.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_opamp.c" + #include "stm32l1xx_hal_opamp.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_opamp.c" + #include "stm32l4xx_hal_opamp.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_opamp_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_opamp_ex.c index 23fbe2552d..5c3030c2b5 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_opamp_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_opamp_ex.c @@ -1,15 +1,15 @@ #ifdef STM32F3xx -#include "stm32f3xx_hal_opamp_ex.c" + #include "stm32f3xx_hal_opamp_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_opamp_ex.c" + #include "stm32g4xx_hal_opamp_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_opamp_ex.c" + #include "stm32h7xx_hal_opamp_ex.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_opamp_ex.c" + #include "stm32l1xx_hal_opamp_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_opamp_ex.c" + #include "stm32l4xx_hal_opamp_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ospi.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ospi.c index 7641ccec25..0ce412fcd6 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ospi.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ospi.c @@ -1,6 +1,6 @@ #ifdef STM32H7xx -#include "stm32h7xx_hal_ospi.c" + #include "stm32h7xx_hal_ospi.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_ospi.c" + #include "stm32l4xx_hal_ospi.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_otfdec.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_otfdec.c index 072776a47c..7c81571f43 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_otfdec.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_otfdec.c @@ -1,3 +1,3 @@ #ifdef STM32H7xx -#include "stm32h7xx_hal_otfdec.c" + #include "stm32h7xx_hal_otfdec.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pccard.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pccard.c index 5e4aeb4011..62db5b1c12 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pccard.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pccard.c @@ -1,12 +1,12 @@ #ifdef STM32F1xx -#include "stm32f1xx_hal_pccard.c" + #include "stm32f1xx_hal_pccard.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_pccard.c" + #include "stm32f2xx_hal_pccard.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_pccard.c" + #include "stm32f3xx_hal_pccard.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_pccard.c" + #include "stm32f4xx_hal_pccard.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pcd.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pcd.c index df3edf3069..94577f2e86 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pcd.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pcd.c @@ -1,36 +1,36 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_pcd.c" + #include "stm32f0xx_hal_pcd.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_pcd.c" + #include "stm32f1xx_hal_pcd.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_pcd.c" + #include "stm32f2xx_hal_pcd.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_pcd.c" + #include "stm32f3xx_hal_pcd.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_pcd.c" + #include "stm32f4xx_hal_pcd.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_pcd.c" + #include "stm32f7xx_hal_pcd.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_pcd.c" + #include "stm32g4xx_hal_pcd.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_pcd.c" + #include "stm32h7xx_hal_pcd.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_pcd.c" + #include "stm32l0xx_hal_pcd.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_pcd.c" + #include "stm32l1xx_hal_pcd.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_pcd.c" + #include "stm32l4xx_hal_pcd.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_pcd.c" + #include "stm32wbxx_hal_pcd.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pcd_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pcd_ex.c index b41b929ebd..08c76c90db 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pcd_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pcd_ex.c @@ -1,36 +1,36 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_pcd_ex.c" + #include "stm32f0xx_hal_pcd_ex.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_pcd_ex.c" + #include "stm32f1xx_hal_pcd_ex.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_pcd_ex.c" + #include "stm32f2xx_hal_pcd_ex.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_pcd_ex.c" + #include "stm32f3xx_hal_pcd_ex.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_pcd_ex.c" + #include "stm32f4xx_hal_pcd_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_pcd_ex.c" + #include "stm32f7xx_hal_pcd_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_pcd_ex.c" + #include "stm32g4xx_hal_pcd_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_pcd_ex.c" + #include "stm32h7xx_hal_pcd_ex.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_pcd_ex.c" + #include "stm32l0xx_hal_pcd_ex.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_pcd_ex.c" + #include "stm32l1xx_hal_pcd_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_pcd_ex.c" + #include "stm32l4xx_hal_pcd_ex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_pcd_ex.c" + #include "stm32wbxx_hal_pcd_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pka.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pka.c index 110825da54..219a0d9d85 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pka.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pka.c @@ -1,6 +1,6 @@ #ifdef STM32L4xx -#include "stm32l4xx_hal_pka.c" + #include "stm32l4xx_hal_pka.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_pka.c" + #include "stm32wbxx_hal_pka.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pssi.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pssi.c index 3e96de1a59..a142d8f9f3 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pssi.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pssi.c @@ -1,6 +1,6 @@ #ifdef STM32H7xx -#include "stm32h7xx_hal_pssi.c" + #include "stm32h7xx_hal_pssi.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_pssi.c" + #include "stm32l4xx_hal_pssi.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pwr.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pwr.c index ce913e00ac..f561c5fe77 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pwr.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pwr.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_pwr.c" + #include "stm32f0xx_hal_pwr.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_pwr.c" + #include "stm32f1xx_hal_pwr.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_pwr.c" + #include "stm32f2xx_hal_pwr.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_pwr.c" + #include "stm32f3xx_hal_pwr.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_pwr.c" + #include "stm32f4xx_hal_pwr.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_pwr.c" + #include "stm32f7xx_hal_pwr.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_pwr.c" + #include "stm32g0xx_hal_pwr.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_pwr.c" + #include "stm32g4xx_hal_pwr.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_pwr.c" + #include "stm32h7xx_hal_pwr.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_pwr.c" + #include "stm32l0xx_hal_pwr.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_pwr.c" + #include "stm32l1xx_hal_pwr.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_pwr.c" + #include "stm32l4xx_hal_pwr.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_pwr.c" + #include "stm32mp1xx_hal_pwr.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_pwr.c" + #include "stm32wbxx_hal_pwr.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pwr_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pwr_ex.c index 9d2df66066..ac8d95d8f3 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pwr_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pwr_ex.c @@ -1,39 +1,39 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_pwr_ex.c" + #include "stm32f0xx_hal_pwr_ex.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_pwr_ex.c" + #include "stm32f2xx_hal_pwr_ex.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_pwr_ex.c" + #include "stm32f3xx_hal_pwr_ex.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_pwr_ex.c" + #include "stm32f4xx_hal_pwr_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_pwr_ex.c" + #include "stm32f7xx_hal_pwr_ex.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_pwr_ex.c" + #include "stm32g0xx_hal_pwr_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_pwr_ex.c" + #include "stm32g4xx_hal_pwr_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_pwr_ex.c" + #include "stm32h7xx_hal_pwr_ex.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_pwr_ex.c" + #include "stm32l0xx_hal_pwr_ex.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_pwr_ex.c" + #include "stm32l1xx_hal_pwr_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_pwr_ex.c" + #include "stm32l4xx_hal_pwr_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_pwr_ex.c" + #include "stm32mp1xx_hal_pwr_ex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_pwr_ex.c" + #include "stm32wbxx_hal_pwr_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_qspi.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_qspi.c index 3416609e36..54949dd6b3 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_qspi.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_qspi.c @@ -1,21 +1,21 @@ #ifdef STM32F4xx -#include "stm32f4xx_hal_qspi.c" + #include "stm32f4xx_hal_qspi.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_qspi.c" + #include "stm32f7xx_hal_qspi.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_qspi.c" + #include "stm32g4xx_hal_qspi.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_qspi.c" + #include "stm32h7xx_hal_qspi.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_qspi.c" + #include "stm32l4xx_hal_qspi.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_qspi.c" + #include "stm32mp1xx_hal_qspi.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_qspi.c" + #include "stm32wbxx_hal_qspi.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ramecc.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ramecc.c index daed8a38bf..18335e33fb 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ramecc.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_ramecc.c @@ -1,3 +1,3 @@ #ifdef STM32H7xx -#include "stm32h7xx_hal_ramecc.c" + #include "stm32h7xx_hal_ramecc.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rcc.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rcc.c index 468abd4f23..78b7e25747 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rcc.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rcc.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_rcc.c" + #include "stm32f0xx_hal_rcc.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_rcc.c" + #include "stm32f1xx_hal_rcc.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_rcc.c" + #include "stm32f2xx_hal_rcc.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_rcc.c" + #include "stm32f3xx_hal_rcc.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_rcc.c" + #include "stm32f4xx_hal_rcc.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_rcc.c" + #include "stm32f7xx_hal_rcc.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_rcc.c" + #include "stm32g0xx_hal_rcc.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_rcc.c" + #include "stm32g4xx_hal_rcc.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_rcc.c" + #include "stm32h7xx_hal_rcc.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_rcc.c" + #include "stm32l0xx_hal_rcc.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_rcc.c" + #include "stm32l1xx_hal_rcc.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_rcc.c" + #include "stm32l4xx_hal_rcc.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_rcc.c" + #include "stm32mp1xx_hal_rcc.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_rcc.c" + #include "stm32wbxx_hal_rcc.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rcc_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rcc_ex.c index c098b819a5..74c75994ab 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rcc_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rcc_ex.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_rcc_ex.c" + #include "stm32f0xx_hal_rcc_ex.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_rcc_ex.c" + #include "stm32f1xx_hal_rcc_ex.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_rcc_ex.c" + #include "stm32f2xx_hal_rcc_ex.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_rcc_ex.c" + #include "stm32f3xx_hal_rcc_ex.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_rcc_ex.c" + #include "stm32f4xx_hal_rcc_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_rcc_ex.c" + #include "stm32f7xx_hal_rcc_ex.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_rcc_ex.c" + #include "stm32g0xx_hal_rcc_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_rcc_ex.c" + #include "stm32g4xx_hal_rcc_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_rcc_ex.c" + #include "stm32h7xx_hal_rcc_ex.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_rcc_ex.c" + #include "stm32l0xx_hal_rcc_ex.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_rcc_ex.c" + #include "stm32l1xx_hal_rcc_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_rcc_ex.c" + #include "stm32l4xx_hal_rcc_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_rcc_ex.c" + #include "stm32mp1xx_hal_rcc_ex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_rcc_ex.c" + #include "stm32wbxx_hal_rcc_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rng.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rng.c index dbd4d5ae27..a6280117ec 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rng.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rng.c @@ -1,30 +1,30 @@ #ifdef STM32F2xx -#include "stm32f2xx_hal_rng.c" + #include "stm32f2xx_hal_rng.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_rng.c" + #include "stm32f4xx_hal_rng.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_rng.c" + #include "stm32f7xx_hal_rng.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_rng.c" + #include "stm32g0xx_hal_rng.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_rng.c" + #include "stm32g4xx_hal_rng.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_rng.c" + #include "stm32h7xx_hal_rng.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_rng.c" + #include "stm32l0xx_hal_rng.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_rng.c" + #include "stm32l4xx_hal_rng.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_rng.c" + #include "stm32mp1xx_hal_rng.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_rng.c" + #include "stm32wbxx_hal_rng.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rng_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rng_ex.c index 2660f357f3..6069aea30e 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rng_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rng_ex.c @@ -1,6 +1,6 @@ #ifdef STM32H7xx -#include "stm32h7xx_hal_rng_ex.c" + #include "stm32h7xx_hal_rng_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_rng_ex.c" + #include "stm32l4xx_hal_rng_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rtc.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rtc.c index 5bfdd69875..8f37fc3c08 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rtc.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rtc.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_rtc.c" + #include "stm32f0xx_hal_rtc.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_rtc.c" + #include "stm32f1xx_hal_rtc.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_rtc.c" + #include "stm32f2xx_hal_rtc.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_rtc.c" + #include "stm32f3xx_hal_rtc.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_rtc.c" + #include "stm32f4xx_hal_rtc.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_rtc.c" + #include "stm32f7xx_hal_rtc.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_rtc.c" + #include "stm32g0xx_hal_rtc.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_rtc.c" + #include "stm32g4xx_hal_rtc.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_rtc.c" + #include "stm32h7xx_hal_rtc.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_rtc.c" + #include "stm32l0xx_hal_rtc.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_rtc.c" + #include "stm32l1xx_hal_rtc.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_rtc.c" + #include "stm32l4xx_hal_rtc.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_rtc.c" + #include "stm32mp1xx_hal_rtc.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_rtc.c" + #include "stm32wbxx_hal_rtc.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rtc_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rtc_ex.c index 6109308498..654a9f1a60 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rtc_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_rtc_ex.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_rtc_ex.c" + #include "stm32f0xx_hal_rtc_ex.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_rtc_ex.c" + #include "stm32f1xx_hal_rtc_ex.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_rtc_ex.c" + #include "stm32f2xx_hal_rtc_ex.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_rtc_ex.c" + #include "stm32f3xx_hal_rtc_ex.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_rtc_ex.c" + #include "stm32f4xx_hal_rtc_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_rtc_ex.c" + #include "stm32f7xx_hal_rtc_ex.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_rtc_ex.c" + #include "stm32g0xx_hal_rtc_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_rtc_ex.c" + #include "stm32g4xx_hal_rtc_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_rtc_ex.c" + #include "stm32h7xx_hal_rtc_ex.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_rtc_ex.c" + #include "stm32l0xx_hal_rtc_ex.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_rtc_ex.c" + #include "stm32l1xx_hal_rtc_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_rtc_ex.c" + #include "stm32l4xx_hal_rtc_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_rtc_ex.c" + #include "stm32mp1xx_hal_rtc_ex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_rtc_ex.c" + #include "stm32wbxx_hal_rtc_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sai.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sai.c index edd5428eef..21aa197cef 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sai.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sai.c @@ -1,21 +1,21 @@ #ifdef STM32F4xx -#include "stm32f4xx_hal_sai.c" + #include "stm32f4xx_hal_sai.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_sai.c" + #include "stm32f7xx_hal_sai.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_sai.c" + #include "stm32g4xx_hal_sai.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_sai.c" + #include "stm32h7xx_hal_sai.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_sai.c" + #include "stm32l4xx_hal_sai.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_sai.c" + #include "stm32mp1xx_hal_sai.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_sai.c" + #include "stm32wbxx_hal_sai.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sai_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sai_ex.c index 5ec14797af..14ad2bcb9d 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sai_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sai_ex.c @@ -1,21 +1,21 @@ #ifdef STM32F4xx -#include "stm32f4xx_hal_sai_ex.c" + #include "stm32f4xx_hal_sai_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_sai_ex.c" + #include "stm32f7xx_hal_sai_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_sai_ex.c" + #include "stm32g4xx_hal_sai_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_sai_ex.c" + #include "stm32h7xx_hal_sai_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_sai_ex.c" + #include "stm32l4xx_hal_sai_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_sai_ex.c" + #include "stm32mp1xx_hal_sai_ex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_sai_ex.c" + #include "stm32wbxx_hal_sai_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sd.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sd.c index 3eca2e702f..65ab8cb582 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sd.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sd.c @@ -1,24 +1,24 @@ #ifdef STM32F1xx -#include "stm32f1xx_hal_sd.c" + #include "stm32f1xx_hal_sd.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_sd.c" + #include "stm32f2xx_hal_sd.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_sd.c" + #include "stm32f4xx_hal_sd.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_sd.c" + #include "stm32f7xx_hal_sd.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_sd.c" + #include "stm32h7xx_hal_sd.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_sd.c" + #include "stm32l1xx_hal_sd.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_sd.c" + #include "stm32l4xx_hal_sd.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_sd.c" + #include "stm32mp1xx_hal_sd.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sd_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sd_ex.c index f4419e4617..6e92499b2f 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sd_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sd_ex.c @@ -1,9 +1,9 @@ #ifdef STM32H7xx -#include "stm32h7xx_hal_sd_ex.c" + #include "stm32h7xx_hal_sd_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_sd_ex.c" + #include "stm32l4xx_hal_sd_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_sd_ex.c" + #include "stm32mp1xx_hal_sd_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sdadc.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sdadc.c index 2afb312bdf..4d1054d728 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sdadc.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sdadc.c @@ -1,3 +1,3 @@ #ifdef STM32F3xx -#include "stm32f3xx_hal_sdadc.c" + #include "stm32f3xx_hal_sdadc.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sdram.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sdram.c index 1bb34d0359..be92e9be72 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sdram.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sdram.c @@ -1,9 +1,9 @@ #ifdef STM32F4xx -#include "stm32f4xx_hal_sdram.c" + #include "stm32f4xx_hal_sdram.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_sdram.c" + #include "stm32f7xx_hal_sdram.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_sdram.c" + #include "stm32h7xx_hal_sdram.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smartcard.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smartcard.c index 68da9155a9..19419bec05 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smartcard.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smartcard.c @@ -1,39 +1,39 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_smartcard.c" + #include "stm32f0xx_hal_smartcard.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_smartcard.c" + #include "stm32f1xx_hal_smartcard.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_smartcard.c" + #include "stm32f2xx_hal_smartcard.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_smartcard.c" + #include "stm32f3xx_hal_smartcard.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_smartcard.c" + #include "stm32f4xx_hal_smartcard.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_smartcard.c" + #include "stm32f7xx_hal_smartcard.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_smartcard.c" + #include "stm32g0xx_hal_smartcard.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_smartcard.c" + #include "stm32g4xx_hal_smartcard.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_smartcard.c" + #include "stm32h7xx_hal_smartcard.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_smartcard.c" + #include "stm32l0xx_hal_smartcard.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_smartcard.c" + #include "stm32l1xx_hal_smartcard.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_smartcard.c" + #include "stm32l4xx_hal_smartcard.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_smartcard.c" + #include "stm32wbxx_hal_smartcard.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smartcard_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smartcard_ex.c index ec89b101dd..a123ae83cd 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smartcard_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smartcard_ex.c @@ -1,27 +1,27 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_smartcard_ex.c" + #include "stm32f0xx_hal_smartcard_ex.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_smartcard_ex.c" + #include "stm32f3xx_hal_smartcard_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_smartcard_ex.c" + #include "stm32f7xx_hal_smartcard_ex.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_smartcard_ex.c" + #include "stm32g0xx_hal_smartcard_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_smartcard_ex.c" + #include "stm32g4xx_hal_smartcard_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_smartcard_ex.c" + #include "stm32h7xx_hal_smartcard_ex.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_smartcard_ex.c" + #include "stm32l0xx_hal_smartcard_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_smartcard_ex.c" + #include "stm32l4xx_hal_smartcard_ex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_smartcard_ex.c" + #include "stm32wbxx_hal_smartcard_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smbus.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smbus.c index df71e83730..8602b229cf 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smbus.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_smbus.c @@ -1,33 +1,33 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_smbus.c" + #include "stm32f0xx_hal_smbus.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_smbus.c" + #include "stm32f3xx_hal_smbus.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_smbus.c" + #include "stm32f4xx_hal_smbus.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_smbus.c" + #include "stm32f7xx_hal_smbus.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_smbus.c" + #include "stm32g0xx_hal_smbus.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_smbus.c" + #include "stm32g4xx_hal_smbus.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_smbus.c" + #include "stm32h7xx_hal_smbus.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_smbus.c" + #include "stm32l0xx_hal_smbus.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_smbus.c" + #include "stm32l4xx_hal_smbus.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_smbus.c" + #include "stm32mp1xx_hal_smbus.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_smbus.c" + #include "stm32wbxx_hal_smbus.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_spdifrx.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_spdifrx.c index eb1f532f34..29c3fa3bb5 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_spdifrx.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_spdifrx.c @@ -1,12 +1,12 @@ #ifdef STM32F4xx -#include "stm32f4xx_hal_spdifrx.c" + #include "stm32f4xx_hal_spdifrx.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_spdifrx.c" + #include "stm32f7xx_hal_spdifrx.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_spdifrx.c" + #include "stm32h7xx_hal_spdifrx.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_spdifrx.c" + #include "stm32mp1xx_hal_spdifrx.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_spi.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_spi.c index 67506f7d98..5031a245de 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_spi.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_spi.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_spi.c" + #include "stm32f0xx_hal_spi.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_spi.c" + #include "stm32f1xx_hal_spi.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_spi.c" + #include "stm32f2xx_hal_spi.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_spi.c" + #include "stm32f3xx_hal_spi.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_spi.c" + #include "stm32f4xx_hal_spi.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_spi.c" + #include "stm32f7xx_hal_spi.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_spi.c" + #include "stm32g0xx_hal_spi.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_spi.c" + #include "stm32g4xx_hal_spi.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_spi.c" + #include "stm32h7xx_hal_spi.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_spi.c" + #include "stm32l0xx_hal_spi.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_spi.c" + #include "stm32l1xx_hal_spi.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_spi.c" + #include "stm32l4xx_hal_spi.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_spi.c" + #include "stm32mp1xx_hal_spi.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_spi.c" + #include "stm32wbxx_hal_spi.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_spi_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_spi_ex.c index 585736b501..1a5dc20a77 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_spi_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_spi_ex.c @@ -1,27 +1,27 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_spi_ex.c" + #include "stm32f0xx_hal_spi_ex.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_spi_ex.c" + #include "stm32f3xx_hal_spi_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_spi_ex.c" + #include "stm32f7xx_hal_spi_ex.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_spi_ex.c" + #include "stm32g0xx_hal_spi_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_spi_ex.c" + #include "stm32g4xx_hal_spi_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_spi_ex.c" + #include "stm32h7xx_hal_spi_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_spi_ex.c" + #include "stm32l4xx_hal_spi_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_spi_ex.c" + #include "stm32mp1xx_hal_spi_ex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_spi_ex.c" + #include "stm32wbxx_hal_spi_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sram.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sram.c index 1d076e3d78..50b6e50b10 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sram.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_sram.c @@ -1,30 +1,30 @@ #ifdef STM32F1xx -#include "stm32f1xx_hal_sram.c" + #include "stm32f1xx_hal_sram.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_sram.c" + #include "stm32f2xx_hal_sram.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_sram.c" + #include "stm32f3xx_hal_sram.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_sram.c" + #include "stm32f4xx_hal_sram.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_sram.c" + #include "stm32f7xx_hal_sram.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_sram.c" + #include "stm32g4xx_hal_sram.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_sram.c" + #include "stm32h7xx_hal_sram.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_sram.c" + #include "stm32l1xx_hal_sram.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_sram.c" + #include "stm32l4xx_hal_sram.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_sram.c" + #include "stm32mp1xx_hal_sram.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_swpmi.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_swpmi.c index 7b828e4ea9..b5c28094bd 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_swpmi.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_swpmi.c @@ -1,6 +1,6 @@ #ifdef STM32H7xx -#include "stm32h7xx_hal_swpmi.c" + #include "stm32h7xx_hal_swpmi.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_swpmi.c" + #include "stm32l4xx_hal_swpmi.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_tim.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_tim.c index 8df75de68a..78981a3465 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_tim.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_tim.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_tim.c" + #include "stm32f0xx_hal_tim.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_tim.c" + #include "stm32f1xx_hal_tim.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_tim.c" + #include "stm32f2xx_hal_tim.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_tim.c" + #include "stm32f3xx_hal_tim.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_tim.c" + #include "stm32f4xx_hal_tim.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_tim.c" + #include "stm32f7xx_hal_tim.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_tim.c" + #include "stm32g0xx_hal_tim.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_tim.c" + #include "stm32g4xx_hal_tim.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_tim.c" + #include "stm32h7xx_hal_tim.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_tim.c" + #include "stm32l0xx_hal_tim.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_tim.c" + #include "stm32l1xx_hal_tim.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_tim.c" + #include "stm32l4xx_hal_tim.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_tim.c" + #include "stm32mp1xx_hal_tim.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_tim.c" + #include "stm32wbxx_hal_tim.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_tim_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_tim_ex.c index 4f95bb1578..a969d90aae 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_tim_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_tim_ex.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_tim_ex.c" + #include "stm32f0xx_hal_tim_ex.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_tim_ex.c" + #include "stm32f1xx_hal_tim_ex.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_tim_ex.c" + #include "stm32f2xx_hal_tim_ex.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_tim_ex.c" + #include "stm32f3xx_hal_tim_ex.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_tim_ex.c" + #include "stm32f4xx_hal_tim_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_tim_ex.c" + #include "stm32f7xx_hal_tim_ex.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_tim_ex.c" + #include "stm32g0xx_hal_tim_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_tim_ex.c" + #include "stm32g4xx_hal_tim_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_tim_ex.c" + #include "stm32h7xx_hal_tim_ex.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_tim_ex.c" + #include "stm32l0xx_hal_tim_ex.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_tim_ex.c" + #include "stm32l1xx_hal_tim_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_tim_ex.c" + #include "stm32l4xx_hal_tim_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_tim_ex.c" + #include "stm32mp1xx_hal_tim_ex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_tim_ex.c" + #include "stm32wbxx_hal_tim_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_timebase_rtc_alarm_template.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_timebase_rtc_alarm_template.c index 336bad1f04..3e24f38a0e 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_timebase_rtc_alarm_template.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_timebase_rtc_alarm_template.c @@ -1,29 +1,29 @@ #if 0 -#ifdef STM32F0xx -#include "stm32f0xx_hal_timebase_rtc_alarm_template.c" -#endif -#ifdef STM32F1xx -#include "stm32f1xx_hal_timebase_rtc_alarm_template.c" -#endif -#ifdef STM32F2xx -#include "stm32f2xx_hal_timebase_rtc_alarm_template.c" -#endif -#ifdef STM32F3xx -#include "stm32f3xx_hal_timebase_rtc_alarm_template.c" -#endif -#ifdef STM32F4xx -#include "stm32f4xx_hal_timebase_rtc_alarm_template.c" -#endif -#ifdef STM32F7xx -#include "stm32f7xx_hal_timebase_rtc_alarm_template.c" -#endif -#ifdef STM32G0xx -#include "stm32g0xx_hal_timebase_rtc_alarm_template.c" -#endif -#ifdef STM32H7xx -#include "stm32h7xx_hal_timebase_rtc_alarm_template.c" -#endif -#ifdef STM32WBxx -#include "stm32wbxx_hal_timebase_rtc_alarm_template.c" -#endif + #ifdef STM32F0xx + #include "stm32f0xx_hal_timebase_rtc_alarm_template.c" + #endif + #ifdef STM32F1xx + #include "stm32f1xx_hal_timebase_rtc_alarm_template.c" + #endif + #ifdef STM32F2xx + #include "stm32f2xx_hal_timebase_rtc_alarm_template.c" + #endif + #ifdef STM32F3xx + #include "stm32f3xx_hal_timebase_rtc_alarm_template.c" + #endif + #ifdef STM32F4xx + #include "stm32f4xx_hal_timebase_rtc_alarm_template.c" + #endif + #ifdef STM32F7xx + #include "stm32f7xx_hal_timebase_rtc_alarm_template.c" + #endif + #ifdef STM32G0xx + #include "stm32g0xx_hal_timebase_rtc_alarm_template.c" + #endif + #ifdef STM32H7xx + #include "stm32h7xx_hal_timebase_rtc_alarm_template.c" + #endif + #ifdef STM32WBxx + #include "stm32wbxx_hal_timebase_rtc_alarm_template.c" + #endif #endif /* 0 */ diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_timebase_rtc_wakeup_template.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_timebase_rtc_wakeup_template.c index e02a994c80..6bd84ad02e 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_timebase_rtc_wakeup_template.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_timebase_rtc_wakeup_template.c @@ -1,26 +1,26 @@ #if 0 -#ifdef STM32F0xx -#include "stm32f0xx_hal_timebase_rtc_wakeup_template.c" -#endif -#ifdef STM32F2xx -#include "stm32f2xx_hal_timebase_rtc_wakeup_template.c" -#endif -#ifdef STM32F3xx -#include "stm32f3xx_hal_timebase_rtc_wakeup_template.c" -#endif -#ifdef STM32F4xx -#include "stm32f4xx_hal_timebase_rtc_wakeup_template.c" -#endif -#ifdef STM32F7xx -#include "stm32f7xx_hal_timebase_rtc_wakeup_template.c" -#endif -#ifdef STM32G0xx -#include "stm32g0xx_hal_timebase_rtc_wakeup_template.c" -#endif -#ifdef STM32H7xx -#include "stm32h7xx_hal_timebase_rtc_wakeup_template.c" -#endif -#ifdef STM32WBxx -#include "stm32wbxx_hal_timebase_rtc_wakeup_template.c" -#endif + #ifdef STM32F0xx + #include "stm32f0xx_hal_timebase_rtc_wakeup_template.c" + #endif + #ifdef STM32F2xx + #include "stm32f2xx_hal_timebase_rtc_wakeup_template.c" + #endif + #ifdef STM32F3xx + #include "stm32f3xx_hal_timebase_rtc_wakeup_template.c" + #endif + #ifdef STM32F4xx + #include "stm32f4xx_hal_timebase_rtc_wakeup_template.c" + #endif + #ifdef STM32F7xx + #include "stm32f7xx_hal_timebase_rtc_wakeup_template.c" + #endif + #ifdef STM32G0xx + #include "stm32g0xx_hal_timebase_rtc_wakeup_template.c" + #endif + #ifdef STM32H7xx + #include "stm32h7xx_hal_timebase_rtc_wakeup_template.c" + #endif + #ifdef STM32WBxx + #include "stm32wbxx_hal_timebase_rtc_wakeup_template.c" + #endif #endif /* 0 */ diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_timebase_tim_template.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_timebase_tim_template.c index 648fdb97ad..d1565a43e3 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_timebase_tim_template.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_timebase_tim_template.c @@ -1,41 +1,41 @@ #if 0 -#ifdef STM32F0xx -#include "stm32f0xx_hal_timebase_tim_template.c" -#endif -#ifdef STM32F1xx -#include "stm32f1xx_hal_timebase_tim_template.c" -#endif -#ifdef STM32F2xx -#include "stm32f2xx_hal_timebase_tim_template.c" -#endif -#ifdef STM32F3xx -#include "stm32f3xx_hal_timebase_tim_template.c" -#endif -#ifdef STM32F4xx -#include "stm32f4xx_hal_timebase_tim_template.c" -#endif -#ifdef STM32F7xx -#include "stm32f7xx_hal_timebase_tim_template.c" -#endif -#ifdef STM32G0xx -#include "stm32g0xx_hal_timebase_tim_template.c" -#endif -#ifdef STM32G4xx -#include "stm32g4xx_hal_timebase_tim_template.c" -#endif -#ifdef STM32H7xx -#include "stm32h7xx_hal_timebase_tim_template.c" -#endif -#ifdef STM32L1xx -#include "stm32l1xx_hal_timebase_tim_template.c" -#endif -#ifdef STM32L4xx -#include "stm32l4xx_hal_timebase_tim_template.c" -#endif -#ifdef STM32MP1xx -#include "stm32mp1xx_hal_timebase_tim_template.c" -#endif -#ifdef STM32WBxx -#include "stm32wbxx_hal_timebase_tim_template.c" -#endif + #ifdef STM32F0xx + #include "stm32f0xx_hal_timebase_tim_template.c" + #endif + #ifdef STM32F1xx + #include "stm32f1xx_hal_timebase_tim_template.c" + #endif + #ifdef STM32F2xx + #include "stm32f2xx_hal_timebase_tim_template.c" + #endif + #ifdef STM32F3xx + #include "stm32f3xx_hal_timebase_tim_template.c" + #endif + #ifdef STM32F4xx + #include "stm32f4xx_hal_timebase_tim_template.c" + #endif + #ifdef STM32F7xx + #include "stm32f7xx_hal_timebase_tim_template.c" + #endif + #ifdef STM32G0xx + #include "stm32g0xx_hal_timebase_tim_template.c" + #endif + #ifdef STM32G4xx + #include "stm32g4xx_hal_timebase_tim_template.c" + #endif + #ifdef STM32H7xx + #include "stm32h7xx_hal_timebase_tim_template.c" + #endif + #ifdef STM32L1xx + #include "stm32l1xx_hal_timebase_tim_template.c" + #endif + #ifdef STM32L4xx + #include "stm32l4xx_hal_timebase_tim_template.c" + #endif + #ifdef STM32MP1xx + #include "stm32mp1xx_hal_timebase_tim_template.c" + #endif + #ifdef STM32WBxx + #include "stm32wbxx_hal_timebase_tim_template.c" + #endif #endif /* 0 */ diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_tsc.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_tsc.c index 0d1f58ce55..a1dae86327 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_tsc.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_tsc.c @@ -1,15 +1,15 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_tsc.c" + #include "stm32f0xx_hal_tsc.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_tsc.c" + #include "stm32f3xx_hal_tsc.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_tsc.c" + #include "stm32l0xx_hal_tsc.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_tsc.c" + #include "stm32l4xx_hal_tsc.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_tsc.c" + #include "stm32wbxx_hal_tsc.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_uart.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_uart.c index b0679cf526..81f0c8ec07 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_uart.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_uart.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_uart.c" + #include "stm32f0xx_hal_uart.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_uart.c" + #include "stm32f1xx_hal_uart.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_uart.c" + #include "stm32f2xx_hal_uart.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_uart.c" + #include "stm32f3xx_hal_uart.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_uart.c" + #include "stm32f4xx_hal_uart.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_uart.c" + #include "stm32f7xx_hal_uart.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_uart.c" + #include "stm32g0xx_hal_uart.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_uart.c" + #include "stm32g4xx_hal_uart.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_uart.c" + #include "stm32h7xx_hal_uart.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_uart.c" + #include "stm32l0xx_hal_uart.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_uart.c" + #include "stm32l1xx_hal_uart.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_uart.c" + #include "stm32l4xx_hal_uart.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_uart.c" + #include "stm32mp1xx_hal_uart.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_uart.c" + #include "stm32wbxx_hal_uart.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_uart_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_uart_ex.c index 968ae71507..15860c61fc 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_uart_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_uart_ex.c @@ -1,30 +1,30 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_uart_ex.c" + #include "stm32f0xx_hal_uart_ex.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_uart_ex.c" + #include "stm32f3xx_hal_uart_ex.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_uart_ex.c" + #include "stm32f7xx_hal_uart_ex.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_uart_ex.c" + #include "stm32g0xx_hal_uart_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_uart_ex.c" + #include "stm32g4xx_hal_uart_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_uart_ex.c" + #include "stm32h7xx_hal_uart_ex.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_uart_ex.c" + #include "stm32l0xx_hal_uart_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_uart_ex.c" + #include "stm32l4xx_hal_uart_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_uart_ex.c" + #include "stm32mp1xx_hal_uart_ex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_uart_ex.c" + #include "stm32wbxx_hal_uart_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_usart.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_usart.c index 6b739557ab..3cc41c6f30 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_usart.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_usart.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_usart.c" + #include "stm32f0xx_hal_usart.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_usart.c" + #include "stm32f1xx_hal_usart.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_usart.c" + #include "stm32f2xx_hal_usart.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_usart.c" + #include "stm32f3xx_hal_usart.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_usart.c" + #include "stm32f4xx_hal_usart.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_usart.c" + #include "stm32f7xx_hal_usart.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_usart.c" + #include "stm32g0xx_hal_usart.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_usart.c" + #include "stm32g4xx_hal_usart.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_usart.c" + #include "stm32h7xx_hal_usart.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_usart.c" + #include "stm32l0xx_hal_usart.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_usart.c" + #include "stm32l1xx_hal_usart.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_usart.c" + #include "stm32l4xx_hal_usart.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_usart.c" + #include "stm32mp1xx_hal_usart.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_usart.c" + #include "stm32wbxx_hal_usart.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_usart_ex.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_usart_ex.c index 60feabff24..dd0ef8fa88 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_usart_ex.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_usart_ex.c @@ -1,24 +1,24 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_usart_ex.c" + #include "stm32f0xx_hal_usart_ex.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_usart_ex.c" + #include "stm32f3xx_hal_usart_ex.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_usart_ex.c" + #include "stm32g0xx_hal_usart_ex.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_usart_ex.c" + #include "stm32g4xx_hal_usart_ex.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_usart_ex.c" + #include "stm32h7xx_hal_usart_ex.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_usart_ex.c" + #include "stm32l4xx_hal_usart_ex.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_usart_ex.c" + #include "stm32mp1xx_hal_usart_ex.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_usart_ex.c" + #include "stm32wbxx_hal_usart_ex.c" #endif diff --git a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_wwdg.c b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_wwdg.c index 128c21045a..d9f6e61fe2 100644 --- a/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_wwdg.c +++ b/libraries/SrcWrapper/src/HAL/stm32yyxx_hal_wwdg.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_hal_wwdg.c" + #include "stm32f0xx_hal_wwdg.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_hal_wwdg.c" + #include "stm32f1xx_hal_wwdg.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_hal_wwdg.c" + #include "stm32f2xx_hal_wwdg.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_hal_wwdg.c" + #include "stm32f3xx_hal_wwdg.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_hal_wwdg.c" + #include "stm32f4xx_hal_wwdg.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_hal_wwdg.c" + #include "stm32f7xx_hal_wwdg.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_hal_wwdg.c" + #include "stm32g0xx_hal_wwdg.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_hal_wwdg.c" + #include "stm32g4xx_hal_wwdg.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_hal_wwdg.c" + #include "stm32h7xx_hal_wwdg.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_hal_wwdg.c" + #include "stm32l0xx_hal_wwdg.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_hal_wwdg.c" + #include "stm32l1xx_hal_wwdg.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_hal_wwdg.c" + #include "stm32l4xx_hal_wwdg.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_hal_wwdg.c" + #include "stm32mp1xx_hal_wwdg.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_hal_wwdg.c" + #include "stm32wbxx_hal_wwdg.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_adc.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_adc.c index aa71632ba4..c7aea10e1b 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_adc.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_adc.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_adc.c" + #include "stm32f0xx_ll_adc.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_adc.c" + #include "stm32f1xx_ll_adc.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_adc.c" + #include "stm32f2xx_ll_adc.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_adc.c" + #include "stm32f3xx_ll_adc.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_adc.c" + #include "stm32f4xx_ll_adc.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_adc.c" + #include "stm32f7xx_ll_adc.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_adc.c" + #include "stm32g0xx_ll_adc.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_adc.c" + #include "stm32g4xx_ll_adc.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_adc.c" + #include "stm32h7xx_ll_adc.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_adc.c" + #include "stm32l0xx_ll_adc.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_adc.c" + #include "stm32l1xx_ll_adc.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_adc.c" + #include "stm32l4xx_ll_adc.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_adc.c" + #include "stm32mp1xx_ll_adc.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_adc.c" + #include "stm32wbxx_ll_adc.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_bdma.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_bdma.c index a531fc747b..f4050afd2d 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_bdma.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_bdma.c @@ -1,3 +1,3 @@ #ifdef STM32H7xx -#include "stm32h7xx_ll_bdma.c" + #include "stm32h7xx_ll_bdma.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_comp.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_comp.c index 21d742b4c0..9dd92a1d57 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_comp.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_comp.c @@ -1,27 +1,27 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_comp.c" + #include "stm32f0xx_ll_comp.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_comp.c" + #include "stm32f3xx_ll_comp.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_comp.c" + #include "stm32g0xx_ll_comp.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_comp.c" + #include "stm32g4xx_ll_comp.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_comp.c" + #include "stm32h7xx_ll_comp.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_comp.c" + #include "stm32l0xx_ll_comp.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_comp.c" + #include "stm32l1xx_ll_comp.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_comp.c" + #include "stm32l4xx_ll_comp.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_comp.c" + #include "stm32wbxx_ll_comp.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_cordic.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_cordic.c index 38d3c5fd5c..6573ee4c14 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_cordic.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_cordic.c @@ -1,3 +1,3 @@ #ifdef STM32G4xx -#include "stm32g4xx_ll_cordic.c" + #include "stm32g4xx_ll_cordic.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_crc.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_crc.c index 48a8a11707..39cc2ebda0 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_crc.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_crc.c @@ -1,39 +1,39 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_crc.c" + #include "stm32f0xx_ll_crc.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_crc.c" + #include "stm32f1xx_ll_crc.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_crc.c" + #include "stm32f2xx_ll_crc.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_crc.c" + #include "stm32f3xx_ll_crc.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_crc.c" + #include "stm32f4xx_ll_crc.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_crc.c" + #include "stm32f7xx_ll_crc.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_crc.c" + #include "stm32g0xx_ll_crc.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_crc.c" + #include "stm32g4xx_ll_crc.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_crc.c" + #include "stm32h7xx_ll_crc.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_crc.c" + #include "stm32l0xx_ll_crc.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_crc.c" + #include "stm32l1xx_ll_crc.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_crc.c" + #include "stm32l4xx_ll_crc.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_crc.c" + #include "stm32wbxx_ll_crc.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_crs.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_crs.c index 5e7167e8ed..bc89f6c7be 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_crs.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_crs.c @@ -1,18 +1,18 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_crs.c" + #include "stm32f0xx_ll_crs.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_crs.c" + #include "stm32g4xx_ll_crs.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_crs.c" + #include "stm32h7xx_ll_crs.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_crs.c" + #include "stm32l0xx_ll_crs.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_crs.c" + #include "stm32l4xx_ll_crs.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_crs.c" + #include "stm32wbxx_ll_crs.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_dac.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_dac.c index d28ed73974..3ef98de228 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_dac.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_dac.c @@ -1,36 +1,36 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_dac.c" + #include "stm32f0xx_ll_dac.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_dac.c" + #include "stm32f1xx_ll_dac.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_dac.c" + #include "stm32f2xx_ll_dac.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_dac.c" + #include "stm32f3xx_ll_dac.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_dac.c" + #include "stm32f4xx_ll_dac.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_dac.c" + #include "stm32f7xx_ll_dac.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_dac.c" + #include "stm32g0xx_ll_dac.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_dac.c" + #include "stm32g4xx_ll_dac.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_dac.c" + #include "stm32h7xx_ll_dac.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_dac.c" + #include "stm32l0xx_ll_dac.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_dac.c" + #include "stm32l1xx_ll_dac.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_dac.c" + #include "stm32l4xx_ll_dac.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_delayblock.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_delayblock.c index c3f54b9e99..c681b06c61 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_delayblock.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_delayblock.c @@ -1,6 +1,6 @@ #ifdef STM32H7xx -#include "stm32h7xx_ll_delayblock.c" + #include "stm32h7xx_ll_delayblock.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_delayblock.c" + #include "stm32mp1xx_ll_delayblock.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_dma.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_dma.c index 2a02abb587..ef51e9a036 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_dma.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_dma.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_dma.c" + #include "stm32f0xx_ll_dma.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_dma.c" + #include "stm32f1xx_ll_dma.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_dma.c" + #include "stm32f2xx_ll_dma.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_dma.c" + #include "stm32f3xx_ll_dma.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_dma.c" + #include "stm32f4xx_ll_dma.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_dma.c" + #include "stm32f7xx_ll_dma.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_dma.c" + #include "stm32g0xx_ll_dma.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_dma.c" + #include "stm32g4xx_ll_dma.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_dma.c" + #include "stm32h7xx_ll_dma.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_dma.c" + #include "stm32l0xx_ll_dma.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_dma.c" + #include "stm32l1xx_ll_dma.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_dma.c" + #include "stm32l4xx_ll_dma.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_dma.c" + #include "stm32mp1xx_ll_dma.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_dma.c" + #include "stm32wbxx_ll_dma.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_dma2d.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_dma2d.c index a3ad6f41ff..d54b34530d 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_dma2d.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_dma2d.c @@ -1,12 +1,12 @@ #ifdef STM32F4xx -#include "stm32f4xx_ll_dma2d.c" + #include "stm32f4xx_ll_dma2d.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_dma2d.c" + #include "stm32f7xx_ll_dma2d.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_dma2d.c" + #include "stm32h7xx_ll_dma2d.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_dma2d.c" + #include "stm32l4xx_ll_dma2d.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_exti.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_exti.c index 38addfecd5..259c3112c7 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_exti.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_exti.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_exti.c" + #include "stm32f0xx_ll_exti.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_exti.c" + #include "stm32f1xx_ll_exti.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_exti.c" + #include "stm32f2xx_ll_exti.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_exti.c" + #include "stm32f3xx_ll_exti.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_exti.c" + #include "stm32f4xx_ll_exti.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_exti.c" + #include "stm32f7xx_ll_exti.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_exti.c" + #include "stm32g0xx_ll_exti.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_exti.c" + #include "stm32g4xx_ll_exti.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_exti.c" + #include "stm32h7xx_ll_exti.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_exti.c" + #include "stm32l0xx_ll_exti.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_exti.c" + #include "stm32l1xx_ll_exti.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_exti.c" + #include "stm32l4xx_ll_exti.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_exti.c" + #include "stm32mp1xx_ll_exti.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_exti.c" + #include "stm32wbxx_ll_exti.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_fmac.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_fmac.c index d68f1e647e..521198bf3e 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_fmac.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_fmac.c @@ -1,3 +1,3 @@ #ifdef STM32G4xx -#include "stm32g4xx_ll_fmac.c" + #include "stm32g4xx_ll_fmac.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_fmc.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_fmc.c index c3fd5cc92a..437e156d73 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_fmc.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_fmc.c @@ -1,21 +1,21 @@ #ifdef STM32F3xx -#include "stm32f3xx_ll_fmc.c" + #include "stm32f3xx_ll_fmc.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_fmc.c" + #include "stm32f4xx_ll_fmc.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_fmc.c" + #include "stm32f7xx_ll_fmc.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_fmc.c" + #include "stm32g4xx_ll_fmc.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_fmc.c" + #include "stm32h7xx_ll_fmc.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_fmc.c" + #include "stm32l4xx_ll_fmc.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_fmc.c" + #include "stm32mp1xx_ll_fmc.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_fsmc.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_fsmc.c index 0394a1ce98..9e1b0bb21e 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_fsmc.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_fsmc.c @@ -1,12 +1,12 @@ #ifdef STM32F1xx -#include "stm32f1xx_ll_fsmc.c" + #include "stm32f1xx_ll_fsmc.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_fsmc.c" + #include "stm32f2xx_ll_fsmc.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_fsmc.c" + #include "stm32f4xx_ll_fsmc.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_fsmc.c" + #include "stm32l1xx_ll_fsmc.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_gpio.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_gpio.c index 410d34a6b0..14862bf682 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_gpio.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_gpio.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_gpio.c" + #include "stm32f0xx_ll_gpio.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_gpio.c" + #include "stm32f1xx_ll_gpio.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_gpio.c" + #include "stm32f2xx_ll_gpio.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_gpio.c" + #include "stm32f3xx_ll_gpio.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_gpio.c" + #include "stm32f4xx_ll_gpio.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_gpio.c" + #include "stm32f7xx_ll_gpio.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_gpio.c" + #include "stm32g0xx_ll_gpio.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_gpio.c" + #include "stm32g4xx_ll_gpio.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_gpio.c" + #include "stm32h7xx_ll_gpio.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_gpio.c" + #include "stm32l0xx_ll_gpio.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_gpio.c" + #include "stm32l1xx_ll_gpio.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_gpio.c" + #include "stm32l4xx_ll_gpio.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_gpio.c" + #include "stm32mp1xx_ll_gpio.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_gpio.c" + #include "stm32wbxx_ll_gpio.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_hrtim.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_hrtim.c index 212dfa3f1e..e04eeefda0 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_hrtim.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_hrtim.c @@ -1,9 +1,9 @@ #ifdef STM32F3xx -#include "stm32f3xx_ll_hrtim.c" + #include "stm32f3xx_ll_hrtim.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_hrtim.c" + #include "stm32g4xx_ll_hrtim.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_hrtim.c" + #include "stm32h7xx_ll_hrtim.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_i2c.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_i2c.c index f27f37b606..37b666f5fb 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_i2c.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_i2c.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_i2c.c" + #include "stm32f0xx_ll_i2c.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_i2c.c" + #include "stm32f1xx_ll_i2c.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_i2c.c" + #include "stm32f2xx_ll_i2c.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_i2c.c" + #include "stm32f3xx_ll_i2c.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_i2c.c" + #include "stm32f4xx_ll_i2c.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_i2c.c" + #include "stm32f7xx_ll_i2c.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_i2c.c" + #include "stm32g0xx_ll_i2c.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_i2c.c" + #include "stm32g4xx_ll_i2c.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_i2c.c" + #include "stm32h7xx_ll_i2c.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_i2c.c" + #include "stm32l0xx_ll_i2c.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_i2c.c" + #include "stm32l1xx_ll_i2c.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_i2c.c" + #include "stm32l4xx_ll_i2c.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_i2c.c" + #include "stm32mp1xx_ll_i2c.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_i2c.c" + #include "stm32wbxx_ll_i2c.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_lptim.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_lptim.c index 4be561279d..15fdbf5f35 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_lptim.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_lptim.c @@ -1,27 +1,27 @@ #ifdef STM32F4xx -#include "stm32f4xx_ll_lptim.c" + #include "stm32f4xx_ll_lptim.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_lptim.c" + #include "stm32f7xx_ll_lptim.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_lptim.c" + #include "stm32g0xx_ll_lptim.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_lptim.c" + #include "stm32g4xx_ll_lptim.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_lptim.c" + #include "stm32h7xx_ll_lptim.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_lptim.c" + #include "stm32l0xx_ll_lptim.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_lptim.c" + #include "stm32l4xx_ll_lptim.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_lptim.c" + #include "stm32mp1xx_ll_lptim.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_lptim.c" + #include "stm32wbxx_ll_lptim.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_lpuart.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_lpuart.c index d96f264184..38b4344f50 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_lpuart.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_lpuart.c @@ -1,18 +1,18 @@ #ifdef STM32G0xx -#include "stm32g0xx_ll_lpuart.c" + #include "stm32g0xx_ll_lpuart.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_lpuart.c" + #include "stm32g4xx_ll_lpuart.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_lpuart.c" + #include "stm32h7xx_ll_lpuart.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_lpuart.c" + #include "stm32l0xx_ll_lpuart.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_lpuart.c" + #include "stm32l4xx_ll_lpuart.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_lpuart.c" + #include "stm32wbxx_ll_lpuart.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_mdma.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_mdma.c index a1954d8aca..1708b6c4b1 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_mdma.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_mdma.c @@ -1,3 +1,3 @@ #ifdef STM32H7xx -#include "stm32h7xx_ll_mdma.c" + #include "stm32h7xx_ll_mdma.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_opamp.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_opamp.c index 245788ad1e..5569693778 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_opamp.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_opamp.c @@ -1,15 +1,15 @@ #ifdef STM32F3xx -#include "stm32f3xx_ll_opamp.c" + #include "stm32f3xx_ll_opamp.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_opamp.c" + #include "stm32g4xx_ll_opamp.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_opamp.c" + #include "stm32h7xx_ll_opamp.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_opamp.c" + #include "stm32l1xx_ll_opamp.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_opamp.c" + #include "stm32l4xx_ll_opamp.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_pka.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_pka.c index d6df6b641b..dbed775764 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_pka.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_pka.c @@ -1,6 +1,6 @@ #ifdef STM32L4xx -#include "stm32l4xx_ll_pka.c" + #include "stm32l4xx_ll_pka.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_pka.c" + #include "stm32wbxx_ll_pka.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_pwr.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_pwr.c index 4dcee5f95e..c482c06c23 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_pwr.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_pwr.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_pwr.c" + #include "stm32f0xx_ll_pwr.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_pwr.c" + #include "stm32f1xx_ll_pwr.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_pwr.c" + #include "stm32f2xx_ll_pwr.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_pwr.c" + #include "stm32f3xx_ll_pwr.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_pwr.c" + #include "stm32f4xx_ll_pwr.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_pwr.c" + #include "stm32f7xx_ll_pwr.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_pwr.c" + #include "stm32g0xx_ll_pwr.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_pwr.c" + #include "stm32g4xx_ll_pwr.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_pwr.c" + #include "stm32h7xx_ll_pwr.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_pwr.c" + #include "stm32l0xx_ll_pwr.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_pwr.c" + #include "stm32l1xx_ll_pwr.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_pwr.c" + #include "stm32l4xx_ll_pwr.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_pwr.c" + #include "stm32mp1xx_ll_pwr.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_pwr.c" + #include "stm32wbxx_ll_pwr.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_rcc.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_rcc.c index 0fd07c0514..7513036fc5 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_rcc.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_rcc.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_rcc.c" + #include "stm32f0xx_ll_rcc.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_rcc.c" + #include "stm32f1xx_ll_rcc.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_rcc.c" + #include "stm32f2xx_ll_rcc.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_rcc.c" + #include "stm32f3xx_ll_rcc.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_rcc.c" + #include "stm32f4xx_ll_rcc.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_rcc.c" + #include "stm32f7xx_ll_rcc.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_rcc.c" + #include "stm32g0xx_ll_rcc.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_rcc.c" + #include "stm32g4xx_ll_rcc.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_rcc.c" + #include "stm32h7xx_ll_rcc.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_rcc.c" + #include "stm32l0xx_ll_rcc.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_rcc.c" + #include "stm32l1xx_ll_rcc.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_rcc.c" + #include "stm32l4xx_ll_rcc.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_rcc.c" + #include "stm32mp1xx_ll_rcc.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_rcc.c" + #include "stm32wbxx_ll_rcc.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_rng.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_rng.c index 3f3bd55069..09026da5ae 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_rng.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_rng.c @@ -1,27 +1,27 @@ #ifdef STM32F2xx -#include "stm32f2xx_ll_rng.c" + #include "stm32f2xx_ll_rng.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_rng.c" + #include "stm32f4xx_ll_rng.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_rng.c" + #include "stm32f7xx_ll_rng.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_rng.c" + #include "stm32g0xx_ll_rng.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_rng.c" + #include "stm32g4xx_ll_rng.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_rng.c" + #include "stm32h7xx_ll_rng.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_rng.c" + #include "stm32l0xx_ll_rng.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_rng.c" + #include "stm32l4xx_ll_rng.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_rng.c" + #include "stm32wbxx_ll_rng.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_rtc.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_rtc.c index b8b062efc2..fd98d87031 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_rtc.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_rtc.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_rtc.c" + #include "stm32f0xx_ll_rtc.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_rtc.c" + #include "stm32f1xx_ll_rtc.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_rtc.c" + #include "stm32f2xx_ll_rtc.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_rtc.c" + #include "stm32f3xx_ll_rtc.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_rtc.c" + #include "stm32f4xx_ll_rtc.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_rtc.c" + #include "stm32f7xx_ll_rtc.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_rtc.c" + #include "stm32g0xx_ll_rtc.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_rtc.c" + #include "stm32g4xx_ll_rtc.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_rtc.c" + #include "stm32h7xx_ll_rtc.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_rtc.c" + #include "stm32l0xx_ll_rtc.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_rtc.c" + #include "stm32l1xx_ll_rtc.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_rtc.c" + #include "stm32l4xx_ll_rtc.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_rtc.c" + #include "stm32mp1xx_ll_rtc.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_rtc.c" + #include "stm32wbxx_ll_rtc.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_sdmmc.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_sdmmc.c index c6b6f16d9f..c8eb6d2d9e 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_sdmmc.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_sdmmc.c @@ -1,24 +1,24 @@ #ifdef STM32F1xx -#include "stm32f1xx_ll_sdmmc.c" + #include "stm32f1xx_ll_sdmmc.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_sdmmc.c" + #include "stm32f2xx_ll_sdmmc.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_sdmmc.c" + #include "stm32f4xx_ll_sdmmc.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_sdmmc.c" + #include "stm32f7xx_ll_sdmmc.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_sdmmc.c" + #include "stm32h7xx_ll_sdmmc.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_sdmmc.c" + #include "stm32l1xx_ll_sdmmc.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_sdmmc.c" + #include "stm32l4xx_ll_sdmmc.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_sdmmc.c" + #include "stm32mp1xx_ll_sdmmc.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_spi.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_spi.c index 93de9368a8..0982d14ac7 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_spi.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_spi.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_spi.c" + #include "stm32f0xx_ll_spi.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_spi.c" + #include "stm32f1xx_ll_spi.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_spi.c" + #include "stm32f2xx_ll_spi.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_spi.c" + #include "stm32f3xx_ll_spi.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_spi.c" + #include "stm32f4xx_ll_spi.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_spi.c" + #include "stm32f7xx_ll_spi.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_spi.c" + #include "stm32g0xx_ll_spi.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_spi.c" + #include "stm32g4xx_ll_spi.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_spi.c" + #include "stm32h7xx_ll_spi.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_spi.c" + #include "stm32l0xx_ll_spi.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_spi.c" + #include "stm32l1xx_ll_spi.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_spi.c" + #include "stm32l4xx_ll_spi.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_spi.c" + #include "stm32mp1xx_ll_spi.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_spi.c" + #include "stm32wbxx_ll_spi.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_swpmi.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_swpmi.c index 5accb99779..4f00773b63 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_swpmi.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_swpmi.c @@ -1,6 +1,6 @@ #ifdef STM32H7xx -#include "stm32h7xx_ll_swpmi.c" + #include "stm32h7xx_ll_swpmi.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_swpmi.c" + #include "stm32l4xx_ll_swpmi.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_tim.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_tim.c index 97409f2d91..0e416b1d5c 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_tim.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_tim.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_tim.c" + #include "stm32f0xx_ll_tim.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_tim.c" + #include "stm32f1xx_ll_tim.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_tim.c" + #include "stm32f2xx_ll_tim.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_tim.c" + #include "stm32f3xx_ll_tim.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_tim.c" + #include "stm32f4xx_ll_tim.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_tim.c" + #include "stm32f7xx_ll_tim.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_tim.c" + #include "stm32g0xx_ll_tim.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_tim.c" + #include "stm32g4xx_ll_tim.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_tim.c" + #include "stm32h7xx_ll_tim.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_tim.c" + #include "stm32l0xx_ll_tim.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_tim.c" + #include "stm32l1xx_ll_tim.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_tim.c" + #include "stm32l4xx_ll_tim.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_tim.c" + #include "stm32mp1xx_ll_tim.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_tim.c" + #include "stm32wbxx_ll_tim.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_ucpd.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_ucpd.c index 521ac4cc24..a4d344216e 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_ucpd.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_ucpd.c @@ -1,6 +1,6 @@ #ifdef STM32G0xx -#include "stm32g0xx_ll_ucpd.c" + #include "stm32g0xx_ll_ucpd.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_ucpd.c" + #include "stm32g4xx_ll_ucpd.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_usart.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_usart.c index a63d824726..4f9a7c767d 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_usart.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_usart.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_usart.c" + #include "stm32f0xx_ll_usart.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_usart.c" + #include "stm32f1xx_ll_usart.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_usart.c" + #include "stm32f2xx_ll_usart.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_usart.c" + #include "stm32f3xx_ll_usart.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_usart.c" + #include "stm32f4xx_ll_usart.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_usart.c" + #include "stm32f7xx_ll_usart.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_usart.c" + #include "stm32g0xx_ll_usart.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_usart.c" + #include "stm32g4xx_ll_usart.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_usart.c" + #include "stm32h7xx_ll_usart.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_usart.c" + #include "stm32l0xx_ll_usart.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_usart.c" + #include "stm32l1xx_ll_usart.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_usart.c" + #include "stm32l4xx_ll_usart.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_usart.c" + #include "stm32mp1xx_ll_usart.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_usart.c" + #include "stm32wbxx_ll_usart.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_usb.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_usb.c index f199c82cc8..da1bd3eb8e 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_usb.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_usb.c @@ -1,36 +1,36 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_usb.c" + #include "stm32f0xx_ll_usb.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_usb.c" + #include "stm32f1xx_ll_usb.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_usb.c" + #include "stm32f2xx_ll_usb.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_usb.c" + #include "stm32f3xx_ll_usb.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_usb.c" + #include "stm32f4xx_ll_usb.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_usb.c" + #include "stm32f7xx_ll_usb.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_usb.c" + #include "stm32g4xx_ll_usb.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_usb.c" + #include "stm32h7xx_ll_usb.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_usb.c" + #include "stm32l0xx_ll_usb.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_usb.c" + #include "stm32l1xx_ll_usb.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_usb.c" + #include "stm32l4xx_ll_usb.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_usb.c" + #include "stm32wbxx_ll_usb.c" #endif diff --git a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_utils.c b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_utils.c index 665532e028..c56c392e70 100644 --- a/libraries/SrcWrapper/src/LL/stm32yyxx_ll_utils.c +++ b/libraries/SrcWrapper/src/LL/stm32yyxx_ll_utils.c @@ -1,42 +1,42 @@ #ifdef STM32F0xx -#include "stm32f0xx_ll_utils.c" + #include "stm32f0xx_ll_utils.c" #endif #ifdef STM32F1xx -#include "stm32f1xx_ll_utils.c" + #include "stm32f1xx_ll_utils.c" #endif #ifdef STM32F2xx -#include "stm32f2xx_ll_utils.c" + #include "stm32f2xx_ll_utils.c" #endif #ifdef STM32F3xx -#include "stm32f3xx_ll_utils.c" + #include "stm32f3xx_ll_utils.c" #endif #ifdef STM32F4xx -#include "stm32f4xx_ll_utils.c" + #include "stm32f4xx_ll_utils.c" #endif #ifdef STM32F7xx -#include "stm32f7xx_ll_utils.c" + #include "stm32f7xx_ll_utils.c" #endif #ifdef STM32G0xx -#include "stm32g0xx_ll_utils.c" + #include "stm32g0xx_ll_utils.c" #endif #ifdef STM32G4xx -#include "stm32g4xx_ll_utils.c" + #include "stm32g4xx_ll_utils.c" #endif #ifdef STM32H7xx -#include "stm32h7xx_ll_utils.c" + #include "stm32h7xx_ll_utils.c" #endif #ifdef STM32L0xx -#include "stm32l0xx_ll_utils.c" + #include "stm32l0xx_ll_utils.c" #endif #ifdef STM32L1xx -#include "stm32l1xx_ll_utils.c" + #include "stm32l1xx_ll_utils.c" #endif #ifdef STM32L4xx -#include "stm32l4xx_ll_utils.c" + #include "stm32l4xx_ll_utils.c" #endif #ifdef STM32MP1xx -#include "stm32mp1xx_ll_utils.c" + #include "stm32mp1xx_ll_utils.c" #endif #ifdef STM32WBxx -#include "stm32wbxx_ll_utils.c" + #include "stm32wbxx_ll_utils.c" #endif diff --git a/libraries/SrcWrapper/src/stm32/interrupt.cpp b/libraries/SrcWrapper/src/stm32/interrupt.cpp index d80887d21d..5a3d01f6da 100644 --- a/libraries/SrcWrapper/src/stm32/interrupt.cpp +++ b/libraries/SrcWrapper/src/stm32/interrupt.cpp @@ -37,7 +37,7 @@ */ #include "interrupt.h" #if defined(STM32MP1xx) -#include "lock_resource.h" + #include "lock_resource.h" #endif #if !defined(HAL_EXTI_MODULE_DISABLED) diff --git a/libraries/SrcWrapper/src/stm32/pinmap.c b/libraries/SrcWrapper/src/stm32/pinmap.c index 0a42a5f7c6..2db859c920 100644 --- a/libraries/SrcWrapper/src/stm32/pinmap.c +++ b/libraries/SrcWrapper/src/stm32/pinmap.c @@ -20,7 +20,7 @@ #include "stm32yyxx_ll_system.h" #if defined(STM32MP1xx) -#include "lock_resource.h" + #include "lock_resource.h" #endif /* Map STM_PIN to LL */ diff --git a/libraries/SrcWrapper/src/stm32/rtc.c b/libraries/SrcWrapper/src/stm32/rtc.c index b96ef8914e..9b22371274 100644 --- a/libraries/SrcWrapper/src/stm32/rtc.c +++ b/libraries/SrcWrapper/src/stm32/rtc.c @@ -40,13 +40,13 @@ #if defined(HAL_RTC_MODULE_ENABLED) && !defined(HAL_RTC_MODULE_ONLY) #if defined(STM32MP1xx) -/** - * Currently there is no RTC driver for STM32MP1xx. If RTC is used in the future - * the function call HAL_RCCEx_PeriphCLKConfig() shall be done under - * if(IS_ENGINEERING_BOOT_MODE()), since clock source selection is done by - * First Stage Boot Loader on Cortex-A. - */ -#error "RTC shall not be handled by Arduino in STM32MP1xx." + /** + * Currently there is no RTC driver for STM32MP1xx. If RTC is used in the future + * the function call HAL_RCCEx_PeriphCLKConfig() shall be done under + * if(IS_ENGINEERING_BOOT_MODE()), since clock source selection is done by + * First Stage Boot Loader on Cortex-A. + */ + #error "RTC shall not be handled by Arduino in STM32MP1xx." #endif /* STM32MP1xx */ #ifdef __cplusplus diff --git a/libraries/SrcWrapper/src/stm32/system_stm32yyxx.c b/libraries/SrcWrapper/src/stm32/system_stm32yyxx.c index e30bab1949..89da3e7ae0 100644 --- a/libraries/SrcWrapper/src/stm32/system_stm32yyxx.c +++ b/libraries/SrcWrapper/src/stm32/system_stm32yyxx.c @@ -1,44 +1,44 @@ #define USE_HAL_DRIVER #ifdef STM32F0xx -#include "system_stm32f0xx.c" + #include "system_stm32f0xx.c" #endif #ifdef STM32F1xx -#include "system_stm32f1xx.c" + #include "system_stm32f1xx.c" #endif #ifdef STM32F2xx -#include "system_stm32f2xx.c" + #include "system_stm32f2xx.c" #endif #ifdef STM32F3xx -#include "system_stm32f3xx.c" + #include "system_stm32f3xx.c" #endif #ifdef STM32F4xx -#include "system_stm32f4xx.c" + #include "system_stm32f4xx.c" #endif #ifdef STM32F7xx -#include "system_stm32f7xx.c" + #include "system_stm32f7xx.c" #endif #ifdef STM32G0xx -#include "system_stm32g0xx.c" + #include "system_stm32g0xx.c" #endif #ifdef STM32G4xx -#include "system_stm32g4xx.c" + #include "system_stm32g4xx.c" #endif #ifdef STM32H7xx -#include "system_stm32h7xx.c" + #include "system_stm32h7xx.c" #endif #ifdef STM32L0xx -#include "system_stm32l0xx.c" + #include "system_stm32l0xx.c" #endif #ifdef STM32L1xx -#include "system_stm32l1xx.c" + #include "system_stm32l1xx.c" #endif #ifdef STM32L4xx -#include "system_stm32l4xx.c" + #include "system_stm32l4xx.c" #endif #ifdef STM32MP1xx -#include "system_stm32mp1xx.c" + #include "system_stm32mp1xx.c" #endif #ifdef STM32WBxx -#include "system_stm32wbxx.c" + #include "system_stm32wbxx.c" #endif diff --git a/libraries/SrcWrapper/src/syscalls.c b/libraries/SrcWrapper/src/syscalls.c index 27b556a1bf..a2a4bfc92d 100644 --- a/libraries/SrcWrapper/src/syscalls.c +++ b/libraries/SrcWrapper/src/syscalls.c @@ -7,7 +7,7 @@ #include "stm32_def.h" #if defined ( __GNUC__ ) /* GCC CS3 */ -#include + #include #endif #include #undef errno @@ -18,12 +18,12 @@ extern size_t uart_debug_write(uint8_t *data, uint32_t size); // Helper macro to mark unused parameters and prevent compiler warnings. // Appends _UNUSED to the variable name to prevent accidentally using them. #ifdef UNUSED -#undef UNUSED + #undef UNUSED #endif #ifdef __GNUC__ -#define UNUSED(x) x ## _UNUSED __attribute__((__unused__)) + #define UNUSED(x) x ## _UNUSED __attribute__((__unused__)) #else -#define UNUSED(x) x ## _UNUSED + #define UNUSED(x) x ## _UNUSED #endif __attribute__((weak)) diff --git a/variants/AFROFLIGHT_F103CB/PinNamesVar.h b/variants/AFROFLIGHT_F103CB/PinNamesVar.h index f7fb9d83a4..d9076b4dfb 100644 --- a/variants/AFROFLIGHT_F103CB/PinNamesVar.h +++ b/variants/AFROFLIGHT_F103CB/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif diff --git a/variants/AFROFLIGHT_F103CB/variant.h b/variants/AFROFLIGHT_F103CB/variant.h index fd47503575..17486531c9 100644 --- a/variants/AFROFLIGHT_F103CB/variant.h +++ b/variants/AFROFLIGHT_F103CB/variant.h @@ -153,23 +153,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/ARMED_V1/PinNamesVar.h b/variants/ARMED_V1/PinNamesVar.h index f3c4f0ee07..2424885937 100644 --- a/variants/ARMED_V1/PinNamesVar.h +++ b/variants/ARMED_V1/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/ARMED_V1/variant.h b/variants/ARMED_V1/variant.h index b91ffd830d..da2322871e 100644 --- a/variants/ARMED_V1/variant.h +++ b/variants/ARMED_V1/variant.h @@ -153,23 +153,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE_OPEN Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE_OPEN Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/BLACK_F407XX/PinNamesVar.h b/variants/BLACK_F407XX/PinNamesVar.h index f3c4f0ee07..2424885937 100644 --- a/variants/BLACK_F407XX/PinNamesVar.h +++ b/variants/BLACK_F407XX/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/BLACK_F407XX/variant.h b/variants/BLACK_F407XX/variant.h index 6b98a273f8..fb3c7d4144 100644 --- a/variants/BLACK_F407XX/variant.h +++ b/variants/BLACK_F407XX/variant.h @@ -315,23 +315,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/BLUE_F407VE_Mini/PinNamesVar.h b/variants/BLUE_F407VE_Mini/PinNamesVar.h index f3c4f0ee07..2424885937 100644 --- a/variants/BLUE_F407VE_Mini/PinNamesVar.h +++ b/variants/BLUE_F407VE_Mini/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/BLUE_F407VE_Mini/variant.h b/variants/BLUE_F407VE_Mini/variant.h index eece2d9daa..36843ac0e4 100644 --- a/variants/BLUE_F407VE_Mini/variant.h +++ b/variants/BLUE_F407VE_Mini/variant.h @@ -192,23 +192,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/DEMO_F030F4/PinNamesVar.h b/variants/DEMO_F030F4/PinNamesVar.h index d34732ea74..32d3641110 100644 --- a/variants/DEMO_F030F4/PinNamesVar.h +++ b/variants/DEMO_F030F4/PinNamesVar.h @@ -1,25 +1,25 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif diff --git a/variants/DEMO_F030F4/variant.h b/variants/DEMO_F030F4/variant.h index d17bd51026..d80c489e31 100644 --- a/variants/DEMO_F030F4/variant.h +++ b/variants/DEMO_F030F4/variant.h @@ -101,23 +101,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/DISCO_F030R8/PinNamesVar.h b/variants/DISCO_F030R8/PinNamesVar.h index f436288aec..87d21ee39c 100644 --- a/variants/DISCO_F030R8/PinNamesVar.h +++ b/variants/DISCO_F030R8/PinNamesVar.h @@ -1,25 +1,25 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif diff --git a/variants/DISCO_F030R8/variant.h b/variants/DISCO_F030R8/variant.h index 474226824f..bb023aa3d1 100644 --- a/variants/DISCO_F030R8/variant.h +++ b/variants/DISCO_F030R8/variant.h @@ -145,23 +145,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/DISCO_F072RB/PinNamesVar.h b/variants/DISCO_F072RB/PinNamesVar.h index 3f2fff9124..52526fe78b 100644 --- a/variants/DISCO_F072RB/PinNamesVar.h +++ b/variants/DISCO_F072RB/PinNamesVar.h @@ -1,31 +1,31 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PE_6, /* Manually updated */ + SYS_WKUP3 = PE_6, /* Manually updated */ #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, + SYS_WKUP5 = PC_5, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = PB_5, + SYS_WKUP6 = PB_5, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = PB_15, + SYS_WKUP7 = PB_15, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = PF_2, /* Manually updated */ + SYS_WKUP8 = PF_2, /* Manually updated */ #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, -USB_NOE = PA_13, + USB_DM = PA_11, + USB_DP = PA_12, + USB_NOE = PA_13, #endif diff --git a/variants/DISCO_F072RB/variant.h b/variants/DISCO_F072RB/variant.h index 32a7fec7a4..8d89666b6d 100644 --- a/variants/DISCO_F072RB/variant.h +++ b/variants/DISCO_F072RB/variant.h @@ -158,23 +158,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/DISCO_F100RB/PinNamesVar.h b/variants/DISCO_F100RB/PinNamesVar.h index d34732ea74..32d3641110 100644 --- a/variants/DISCO_F100RB/PinNamesVar.h +++ b/variants/DISCO_F100RB/PinNamesVar.h @@ -1,25 +1,25 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif diff --git a/variants/DISCO_F100RB/variant.h b/variants/DISCO_F100RB/variant.h index 31271ddd0d..2766ad303d 100644 --- a/variants/DISCO_F100RB/variant.h +++ b/variants/DISCO_F100RB/variant.h @@ -127,23 +127,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/DISCO_F407VG/PinNamesVar.h b/variants/DISCO_F407VG/PinNamesVar.h index f3c4f0ee07..2424885937 100644 --- a/variants/DISCO_F407VG/PinNamesVar.h +++ b/variants/DISCO_F407VG/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/DISCO_F407VG/variant.h b/variants/DISCO_F407VG/variant.h index a2fd4bdefe..4bbee43922 100644 --- a/variants/DISCO_F407VG/variant.h +++ b/variants/DISCO_F407VG/variant.h @@ -160,24 +160,24 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial // Require connections for ST-LINK VCP on U2 pin 12 and 13. -// See UM §6.1.3 ST-LINK/V2-A VCP configuration) -#define SERIAL_PORT_HARDWARE_OPEN Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial // Require connections for ST-LINK VCP on U2 pin 12 and 13. + // See UM §6.1.3 ST-LINK/V2-A VCP configuration) + #define SERIAL_PORT_HARDWARE_OPEN Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/DISCO_F413ZH/PinNamesVar.h b/variants/DISCO_F413ZH/PinNamesVar.h index 6e50429987..10242f23a6 100644 --- a/variants/DISCO_F413ZH/PinNamesVar.h +++ b/variants/DISCO_F413ZH/PinNamesVar.h @@ -1,33 +1,33 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_0, + SYS_WKUP2 = PC_0, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PC_1, + SYS_WKUP3 = PC_1, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, #endif diff --git a/variants/DISCO_F413ZH/variant.h b/variants/DISCO_F413ZH/variant.h index 0c6e36bc10..0b7bb7b8ab 100644 --- a/variants/DISCO_F413ZH/variant.h +++ b/variants/DISCO_F413ZH/variant.h @@ -184,23 +184,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/DISCO_F746NG/PinNamesVar.h b/variants/DISCO_F746NG/PinNamesVar.h index 4e63112121..a5857a7ac1 100644 --- a/variants/DISCO_F746NG/PinNamesVar.h +++ b/variants/DISCO_F746NG/PinNamesVar.h @@ -1,52 +1,52 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PA_2, + SYS_WKUP2 = PA_2, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PC_1, + SYS_WKUP3 = PC_1, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PC_13, + SYS_WKUP4 = PC_13, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PI_8, + SYS_WKUP5 = PI_8, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = PI_11, + SYS_WKUP6 = PI_11, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -/* USB_OTG_HS_ULPI_NXT = PC_3, */ -USB_OTG_HS_ULPI_NXT = PH_4, -/* USB_OTG_HS_ULPI_DIR = PI_11, */ + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + /* USB_OTG_HS_ULPI_NXT = PC_3, */ + USB_OTG_HS_ULPI_NXT = PH_4, + /* USB_OTG_HS_ULPI_DIR = PI_11, */ #endif diff --git a/variants/DISCO_F746NG/variant.h b/variants/DISCO_F746NG/variant.h index 92de9a8a4f..75ddd8b319 100644 --- a/variants/DISCO_F746NG/variant.h +++ b/variants/DISCO_F746NG/variant.h @@ -95,23 +95,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/DISCO_G0316/PinNamesVar.h b/variants/DISCO_G0316/PinNamesVar.h index 283fee5c24..9428e0776e 100644 --- a/variants/DISCO_G0316/PinNamesVar.h +++ b/variants/DISCO_G0316/PinNamesVar.h @@ -1,25 +1,25 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PA_4, + SYS_WKUP2 = PA_4, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = PB_5, + SYS_WKUP6 = PB_5, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif diff --git a/variants/DISCO_G0316/variant.h b/variants/DISCO_G0316/variant.h index f3bea462d9..264b58ee77 100644 --- a/variants/DISCO_G0316/variant.h +++ b/variants/DISCO_G0316/variant.h @@ -95,22 +95,22 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/DISCO_L072CZ_LRWAN1/PinNamesVar.h b/variants/DISCO_L072CZ_LRWAN1/PinNamesVar.h index 40b760939e..cc92e340d0 100644 --- a/variants/DISCO_L072CZ_LRWAN1/PinNamesVar.h +++ b/variants/DISCO_L072CZ_LRWAN1/PinNamesVar.h @@ -1,31 +1,31 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, -USB_NOE = PA_13, + USB_DM = PA_11, + USB_DP = PA_12, + USB_NOE = PA_13, #endif diff --git a/variants/DISCO_L072CZ_LRWAN1/variant.h b/variants/DISCO_L072CZ_LRWAN1/variant.h index 9f65dd6826..6a4f0d2e2b 100644 --- a/variants/DISCO_L072CZ_LRWAN1/variant.h +++ b/variants/DISCO_L072CZ_LRWAN1/variant.h @@ -124,23 +124,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/DISCO_L475VG_IOT/PinNamesVar.h b/variants/DISCO_L475VG_IOT/PinNamesVar.h index 08b4a0b798..c29dcdc51e 100644 --- a/variants/DISCO_L475VG_IOT/PinNamesVar.h +++ b/variants/DISCO_L475VG_IOT/PinNamesVar.h @@ -1,35 +1,35 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PE_6, + SYS_WKUP3 = PE_6, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, + SYS_WKUP5 = PC_5, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -/* USB_OTG_FS_NOE = PA_13, */ -/* USB_OTG_FS_NOE = PC_9, */ + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + /* USB_OTG_FS_NOE = PA_13, */ + /* USB_OTG_FS_NOE = PC_9, */ #endif diff --git a/variants/DISCO_L475VG_IOT/variant.h b/variants/DISCO_L475VG_IOT/variant.h index 6ff4d5b417..46233654df 100644 --- a/variants/DISCO_L475VG_IOT/variant.h +++ b/variants/DISCO_L475VG_IOT/variant.h @@ -150,23 +150,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/DIYMORE_F407VGT/PinNamesVar.h b/variants/DIYMORE_F407VGT/PinNamesVar.h index f3c4f0ee07..2424885937 100644 --- a/variants/DIYMORE_F407VGT/PinNamesVar.h +++ b/variants/DIYMORE_F407VGT/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/DIYMORE_F407VGT/variant.h b/variants/DIYMORE_F407VGT/variant.h index 83edde647e..652b6a0d0f 100644 --- a/variants/DIYMORE_F407VGT/variant.h +++ b/variants/DIYMORE_F407VGT/variant.h @@ -190,23 +190,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/EEXTR_F030_V1/PinNamesVar.h b/variants/EEXTR_F030_V1/PinNamesVar.h index b9dd77a061..9ef092a0e5 100644 --- a/variants/EEXTR_F030_V1/PinNamesVar.h +++ b/variants/EEXTR_F030_V1/PinNamesVar.h @@ -1,25 +1,25 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = NC, + SYS_WKUP1 = NC, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif diff --git a/variants/EEXTR_F030_V1/variant.h b/variants/EEXTR_F030_V1/variant.h index bcd9d39c81..0bc557b12f 100644 --- a/variants/EEXTR_F030_V1/variant.h +++ b/variants/EEXTR_F030_V1/variant.h @@ -126,23 +126,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/ELEKTOR_F072C8/PinNamesVar.h b/variants/ELEKTOR_F072C8/PinNamesVar.h index 43f9bbd535..9906c8e95b 100644 --- a/variants/ELEKTOR_F072C8/PinNamesVar.h +++ b/variants/ELEKTOR_F072C8/PinNamesVar.h @@ -1,31 +1,31 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PE_6, /* Not available in LQFP48 */ + SYS_WKUP3 = PE_6, /* Not available in LQFP48 */ #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, /* Not available in LQFP48 */ + SYS_WKUP5 = PC_5, /* Not available in LQFP48 */ #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = PB_5, + SYS_WKUP6 = PB_5, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = PB_15, + SYS_WKUP7 = PB_15, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = PF_2, /* Not available in LQFP48 */ + SYS_WKUP8 = PF_2, /* Not available in LQFP48 */ #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, -USB_NOE = PA_13, + USB_DM = PA_11, + USB_DP = PA_12, + USB_NOE = PA_13, #endif diff --git a/variants/ELEKTOR_F072C8/variant.h b/variants/ELEKTOR_F072C8/variant.h index ba829b65bd..a153e81a69 100644 --- a/variants/ELEKTOR_F072C8/variant.h +++ b/variants/ELEKTOR_F072C8/variant.h @@ -126,23 +126,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/FEATHER_F405/PinNamesVar.h b/variants/FEATHER_F405/PinNamesVar.h index f3c4f0ee07..2424885937 100644 --- a/variants/FEATHER_F405/PinNamesVar.h +++ b/variants/FEATHER_F405/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/FEATHER_F405/variant.h b/variants/FEATHER_F405/variant.h index 6923f2c4ad..4486b73000 100644 --- a/variants/FEATHER_F405/variant.h +++ b/variants/FEATHER_F405/variant.h @@ -145,23 +145,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/FK407M1/PinNamesVar.h b/variants/FK407M1/PinNamesVar.h index f3c4f0ee07..2424885937 100644 --- a/variants/FK407M1/PinNamesVar.h +++ b/variants/FK407M1/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/FK407M1/variant.h b/variants/FK407M1/variant.h index e56ee54053..b5d59de7d7 100644 --- a/variants/FK407M1/variant.h +++ b/variants/FK407M1/variant.h @@ -173,23 +173,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/FYSETC_S6/PinNamesVar.h b/variants/FYSETC_S6/PinNamesVar.h index d923782fb3..54781a990c 100644 --- a/variants/FYSETC_S6/PinNamesVar.h +++ b/variants/FYSETC_S6/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, /* SYS_WKUP0 */ + SYS_WKUP1 = PA_0, /* SYS_WKUP0 */ #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, /* SYS_WKUP1 */ + SYS_WKUP2 = PC_13, /* SYS_WKUP1 */ #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D4 = PB_2, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D4 = PB_2, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/FYSETC_S6/variant.h b/variants/FYSETC_S6/variant.h index 5859178c99..9e7bc5d6a5 100644 --- a/variants/FYSETC_S6/variant.h +++ b/variants/FYSETC_S6/variant.h @@ -158,24 +158,24 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_USBVIRTUAL SerialUSB -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE_OPEN Serial3 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_USBVIRTUAL SerialUSB + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE_OPEN Serial3 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/Generic_F103Rx/PinNamesVar.h b/variants/Generic_F103Rx/PinNamesVar.h index 2ab6270d8d..d9e759f5d0 100644 --- a/variants/Generic_F103Rx/PinNamesVar.h +++ b/variants/Generic_F103Rx/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif \ No newline at end of file diff --git a/variants/Generic_F103Rx/variant.h b/variants/Generic_F103Rx/variant.h index 9d9889e76a..31c51a60f4 100644 --- a/variants/Generic_F103Rx/variant.h +++ b/variants/Generic_F103Rx/variant.h @@ -126,23 +126,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/Generic_F103Zx/PinNamesVar.h b/variants/Generic_F103Zx/PinNamesVar.h index f7fb9d83a4..d9076b4dfb 100644 --- a/variants/Generic_F103Zx/PinNamesVar.h +++ b/variants/Generic_F103Zx/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif diff --git a/variants/Generic_F103Zx/variant.h b/variants/Generic_F103Zx/variant.h index 237b6d85ef..f3f908ab76 100644 --- a/variants/Generic_F103Zx/variant.h +++ b/variants/Generic_F103Zx/variant.h @@ -208,23 +208,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/Generic_F401Cx/PinNamesVar.h b/variants/Generic_F401Cx/PinNamesVar.h index 3082f8842a..f5db451e6f 100644 --- a/variants/Generic_F401Cx/PinNamesVar.h +++ b/variants/Generic_F401Cx/PinNamesVar.h @@ -1,33 +1,33 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, #endif diff --git a/variants/Generic_F401Cx/variant.h b/variants/Generic_F401Cx/variant.h index b621a2bf53..819133bb62 100644 --- a/variants/Generic_F401Cx/variant.h +++ b/variants/Generic_F401Cx/variant.h @@ -121,23 +121,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/Generic_F401Rx/PinNamesVar.h b/variants/Generic_F401Rx/PinNamesVar.h index e90a617cc5..e1536bcf30 100644 --- a/variants/Generic_F401Rx/PinNamesVar.h +++ b/variants/Generic_F401Rx/PinNamesVar.h @@ -1,33 +1,33 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, #endif \ No newline at end of file diff --git a/variants/Generic_F401Rx/variant.h b/variants/Generic_F401Rx/variant.h index 661ea405cf..db3d19394f 100644 --- a/variants/Generic_F401Rx/variant.h +++ b/variants/Generic_F401Rx/variant.h @@ -139,23 +139,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ \ No newline at end of file diff --git a/variants/Generic_F410Cx/PinNamesVar.h b/variants/Generic_F410Cx/PinNamesVar.h index 21842edbbf..c1e5968c9c 100644 --- a/variants/Generic_F410Cx/PinNamesVar.h +++ b/variants/Generic_F410Cx/PinNamesVar.h @@ -1,25 +1,25 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_0, + SYS_WKUP2 = PC_0, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PC_1, + SYS_WKUP3 = PC_1, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif diff --git a/variants/Generic_F410Cx/variant.h b/variants/Generic_F410Cx/variant.h index ff522df925..544cb21c00 100644 --- a/variants/Generic_F410Cx/variant.h +++ b/variants/Generic_F410Cx/variant.h @@ -121,23 +121,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/Generic_F410Rx/PinNamesVar.h b/variants/Generic_F410Rx/PinNamesVar.h index 21842edbbf..c1e5968c9c 100644 --- a/variants/Generic_F410Rx/PinNamesVar.h +++ b/variants/Generic_F410Rx/PinNamesVar.h @@ -1,25 +1,25 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_0, + SYS_WKUP2 = PC_0, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PC_1, + SYS_WKUP3 = PC_1, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif diff --git a/variants/Generic_F410Rx/variant.h b/variants/Generic_F410Rx/variant.h index bd414e3dcc..dec53cfd25 100644 --- a/variants/Generic_F410Rx/variant.h +++ b/variants/Generic_F410Rx/variant.h @@ -136,23 +136,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/Generic_F411Cx/PinNamesVar.h b/variants/Generic_F411Cx/PinNamesVar.h index e90a617cc5..e1536bcf30 100644 --- a/variants/Generic_F411Cx/PinNamesVar.h +++ b/variants/Generic_F411Cx/PinNamesVar.h @@ -1,33 +1,33 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, #endif \ No newline at end of file diff --git a/variants/Generic_F411Cx/variant.h b/variants/Generic_F411Cx/variant.h index 5219d5a03e..fbe68e38d6 100644 --- a/variants/Generic_F411Cx/variant.h +++ b/variants/Generic_F411Cx/variant.h @@ -126,23 +126,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/Generic_F411Rx/PinNamesVar.h b/variants/Generic_F411Rx/PinNamesVar.h index 3082f8842a..f5db451e6f 100644 --- a/variants/Generic_F411Rx/PinNamesVar.h +++ b/variants/Generic_F411Rx/PinNamesVar.h @@ -1,33 +1,33 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, #endif diff --git a/variants/Generic_F411Rx/variant.h b/variants/Generic_F411Rx/variant.h index 345eabc2d9..71179e3e5f 100644 --- a/variants/Generic_F411Rx/variant.h +++ b/variants/Generic_F411Rx/variant.h @@ -131,23 +131,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/Generic_F412Cx/PinNamesVar.h b/variants/Generic_F412Cx/PinNamesVar.h index 6e50429987..10242f23a6 100644 --- a/variants/Generic_F412Cx/PinNamesVar.h +++ b/variants/Generic_F412Cx/PinNamesVar.h @@ -1,33 +1,33 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_0, + SYS_WKUP2 = PC_0, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PC_1, + SYS_WKUP3 = PC_1, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, #endif diff --git a/variants/Generic_F412Cx/variant.h b/variants/Generic_F412Cx/variant.h index 87b2a93980..16eb293e01 100644 --- a/variants/Generic_F412Cx/variant.h +++ b/variants/Generic_F412Cx/variant.h @@ -116,23 +116,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/Generic_F412Rx/PinNamesVar.h b/variants/Generic_F412Rx/PinNamesVar.h index 6e50429987..10242f23a6 100755 --- a/variants/Generic_F412Rx/PinNamesVar.h +++ b/variants/Generic_F412Rx/PinNamesVar.h @@ -1,33 +1,33 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_0, + SYS_WKUP2 = PC_0, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PC_1, + SYS_WKUP3 = PC_1, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, #endif diff --git a/variants/Generic_F412Rx/variant.h b/variants/Generic_F412Rx/variant.h index 4dd2a62511..b4606b8973 100644 --- a/variants/Generic_F412Rx/variant.h +++ b/variants/Generic_F412Rx/variant.h @@ -131,23 +131,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/Generic_F446Rx/PinNamesVar.h b/variants/Generic_F446Rx/PinNamesVar.h index d923782fb3..54781a990c 100644 --- a/variants/Generic_F446Rx/PinNamesVar.h +++ b/variants/Generic_F446Rx/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, /* SYS_WKUP0 */ + SYS_WKUP1 = PA_0, /* SYS_WKUP0 */ #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, /* SYS_WKUP1 */ + SYS_WKUP2 = PC_13, /* SYS_WKUP1 */ #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D4 = PB_2, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D4 = PB_2, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/Generic_F446Rx/variant.h b/variants/Generic_F446Rx/variant.h index d07d745d02..3625bc48bc 100644 --- a/variants/Generic_F446Rx/variant.h +++ b/variants/Generic_F446Rx/variant.h @@ -137,23 +137,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/Generic_F4x3Cx/PinNamesVar.h b/variants/Generic_F4x3Cx/PinNamesVar.h index 6e50429987..10242f23a6 100644 --- a/variants/Generic_F4x3Cx/PinNamesVar.h +++ b/variants/Generic_F4x3Cx/PinNamesVar.h @@ -1,33 +1,33 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_0, + SYS_WKUP2 = PC_0, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PC_1, + SYS_WKUP3 = PC_1, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, #endif diff --git a/variants/Generic_F4x3Cx/variant.h b/variants/Generic_F4x3Cx/variant.h index 709787527d..db79a497c3 100644 --- a/variants/Generic_F4x3Cx/variant.h +++ b/variants/Generic_F4x3Cx/variant.h @@ -117,23 +117,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/Generic_F4x3Rx/PinNamesVar.h b/variants/Generic_F4x3Rx/PinNamesVar.h index 6e50429987..10242f23a6 100644 --- a/variants/Generic_F4x3Rx/PinNamesVar.h +++ b/variants/Generic_F4x3Rx/PinNamesVar.h @@ -1,33 +1,33 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_0, + SYS_WKUP2 = PC_0, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PC_1, + SYS_WKUP3 = PC_1, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, #endif diff --git a/variants/Generic_F4x3Rx/variant.h b/variants/Generic_F4x3Rx/variant.h index a55b3bd232..eea2d00765 100644 --- a/variants/Generic_F4x3Rx/variant.h +++ b/variants/Generic_F4x3Rx/variant.h @@ -132,23 +132,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/Generic_F4x5RG/PinNamesVar.h b/variants/Generic_F4x5RG/PinNamesVar.h index f3c4f0ee07..2424885937 100644 --- a/variants/Generic_F4x5RG/PinNamesVar.h +++ b/variants/Generic_F4x5RG/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/Generic_F4x5RG/variant.h b/variants/Generic_F4x5RG/variant.h index 85b573e586..834623d789 100644 --- a/variants/Generic_F4x5RG/variant.h +++ b/variants/Generic_F4x5RG/variant.h @@ -122,23 +122,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/Generic_F4x7Vx/PinNamesVar.h b/variants/Generic_F4x7Vx/PinNamesVar.h index f3c4f0ee07..2424885937 100644 --- a/variants/Generic_F4x7Vx/PinNamesVar.h +++ b/variants/Generic_F4x7Vx/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/Generic_F4x7Vx/variant.h b/variants/Generic_F4x7Vx/variant.h index b68fec2e07..568aec969b 100644 --- a/variants/Generic_F4x7Vx/variant.h +++ b/variants/Generic_F4x7Vx/variant.h @@ -170,23 +170,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/HY_TinySTM103T/PinNamesVar.h b/variants/HY_TinySTM103T/PinNamesVar.h index f7fb9d83a4..d9076b4dfb 100644 --- a/variants/HY_TinySTM103T/PinNamesVar.h +++ b/variants/HY_TinySTM103T/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif diff --git a/variants/HY_TinySTM103T/variant.h b/variants/HY_TinySTM103T/variant.h index 2e23d6117c..cc1728ffb6 100644 --- a/variants/HY_TinySTM103T/variant.h +++ b/variants/HY_TinySTM103T/variant.h @@ -105,23 +105,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/MALYANM200_F103CB/PinNamesVar.h b/variants/MALYANM200_F103CB/PinNamesVar.h index f7fb9d83a4..d9076b4dfb 100644 --- a/variants/MALYANM200_F103CB/PinNamesVar.h +++ b/variants/MALYANM200_F103CB/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif diff --git a/variants/MALYANM200_F103CB/variant.h b/variants/MALYANM200_F103CB/variant.h index 8e2875e69f..fbb5e9cefa 100644 --- a/variants/MALYANM200_F103CB/variant.h +++ b/variants/MALYANM200_F103CB/variant.h @@ -178,23 +178,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/MALYANMx00_F070CB/PinNamesVar.h b/variants/MALYANMx00_F070CB/PinNamesVar.h index 2a9a85f6a9..6d0d761274 100644 --- a/variants/MALYANMx00_F070CB/PinNamesVar.h +++ b/variants/MALYANMx00_F070CB/PinNamesVar.h @@ -1,31 +1,31 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = PB_5, + SYS_WKUP6 = PB_5, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = PB_15, + SYS_WKUP7 = PB_15, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, -USB_NOE = PA_13, + USB_DM = PA_11, + USB_DP = PA_12, + USB_NOE = PA_13, #endif diff --git a/variants/MALYANMx00_F070CB/variant.h b/variants/MALYANMx00_F070CB/variant.h index 068b02cef1..f3f8aeb55c 100644 --- a/variants/MALYANMx00_F070CB/variant.h +++ b/variants/MALYANMx00_F070CB/variant.h @@ -156,23 +156,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/MAPLEMINI_F103CB/PinNamesVar.h b/variants/MAPLEMINI_F103CB/PinNamesVar.h index f7fb9d83a4..d9076b4dfb 100644 --- a/variants/MAPLEMINI_F103CB/PinNamesVar.h +++ b/variants/MAPLEMINI_F103CB/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif diff --git a/variants/MAPLEMINI_F103CB/variant.h b/variants/MAPLEMINI_F103CB/variant.h index 6b6e26f899..9d44516f00 100644 --- a/variants/MAPLEMINI_F103CB/variant.h +++ b/variants/MAPLEMINI_F103CB/variant.h @@ -120,23 +120,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/MKR_SHARKY/PinNamesVar.h b/variants/MKR_SHARKY/PinNamesVar.h index 1409bdf76b..f143567bb4 100644 --- a/variants/MKR_SHARKY/PinNamesVar.h +++ b/variants/MKR_SHARKY/PinNamesVar.h @@ -1,31 +1,31 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PC_12, + SYS_WKUP3 = PC_12, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, + SYS_WKUP5 = PC_5, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, -USB_NOE = PA_13, + USB_DM = PA_11, + USB_DP = PA_12, + USB_NOE = PA_13, #endif \ No newline at end of file diff --git a/variants/MKR_SHARKY/variant.h b/variants/MKR_SHARKY/variant.h index 3823f86eef..e6fc21a0f3 100644 --- a/variants/MKR_SHARKY/variant.h +++ b/variants/MKR_SHARKY/variant.h @@ -110,23 +110,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_F030R8/PinNamesVar.h b/variants/NUCLEO_F030R8/PinNamesVar.h index f436288aec..87d21ee39c 100644 --- a/variants/NUCLEO_F030R8/PinNamesVar.h +++ b/variants/NUCLEO_F030R8/PinNamesVar.h @@ -1,25 +1,25 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif diff --git a/variants/NUCLEO_F030R8/variant.h b/variants/NUCLEO_F030R8/variant.h index e5a71b4edd..11e056581a 100644 --- a/variants/NUCLEO_F030R8/variant.h +++ b/variants/NUCLEO_F030R8/variant.h @@ -120,23 +120,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_F031K6/PinNamesVar.h b/variants/NUCLEO_F031K6/PinNamesVar.h index f436288aec..87d21ee39c 100644 --- a/variants/NUCLEO_F031K6/PinNamesVar.h +++ b/variants/NUCLEO_F031K6/PinNamesVar.h @@ -1,25 +1,25 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif diff --git a/variants/NUCLEO_F031K6/variant.h b/variants/NUCLEO_F031K6/variant.h index 72b57028a7..d24629804c 100644 --- a/variants/NUCLEO_F031K6/variant.h +++ b/variants/NUCLEO_F031K6/variant.h @@ -86,23 +86,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_F091RC/PinNamesVar.h b/variants/NUCLEO_F091RC/PinNamesVar.h index 607ea04b39..5692940c74 100644 --- a/variants/NUCLEO_F091RC/PinNamesVar.h +++ b/variants/NUCLEO_F091RC/PinNamesVar.h @@ -1,25 +1,25 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PE_6, /* manually updated */ + SYS_WKUP3 = PE_6, /* manually updated */ #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, + SYS_WKUP5 = PC_5, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = PB_5, + SYS_WKUP6 = PB_5, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = PB_15, + SYS_WKUP7 = PB_15, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = PF_2, /* manually updated */ + SYS_WKUP8 = PF_2, /* manually updated */ #endif diff --git a/variants/NUCLEO_F091RC/variant.h b/variants/NUCLEO_F091RC/variant.h index a8ede2ad0a..dcca0ce18f 100644 --- a/variants/NUCLEO_F091RC/variant.h +++ b/variants/NUCLEO_F091RC/variant.h @@ -118,23 +118,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_F103RB/PinNamesVar.h b/variants/NUCLEO_F103RB/PinNamesVar.h index f7fb9d83a4..d9076b4dfb 100644 --- a/variants/NUCLEO_F103RB/PinNamesVar.h +++ b/variants/NUCLEO_F103RB/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif diff --git a/variants/NUCLEO_F103RB/variant.h b/variants/NUCLEO_F103RB/variant.h index 210c3268df..7598997f2e 100644 --- a/variants/NUCLEO_F103RB/variant.h +++ b/variants/NUCLEO_F103RB/variant.h @@ -117,23 +117,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_F207ZG/PinNamesVar.h b/variants/NUCLEO_F207ZG/PinNamesVar.h index f3c4f0ee07..2424885937 100644 --- a/variants/NUCLEO_F207ZG/PinNamesVar.h +++ b/variants/NUCLEO_F207ZG/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/NUCLEO_F207ZG/variant.h b/variants/NUCLEO_F207ZG/variant.h index d6eb784363..07e6a1ccf5 100644 --- a/variants/NUCLEO_F207ZG/variant.h +++ b/variants/NUCLEO_F207ZG/variant.h @@ -166,23 +166,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_F302R8/PinNamesVar.h b/variants/NUCLEO_F302R8/PinNamesVar.h index fa484d182f..99d2aa0832 100644 --- a/variants/NUCLEO_F302R8/PinNamesVar.h +++ b/variants/NUCLEO_F302R8/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif diff --git a/variants/NUCLEO_F302R8/variant.h b/variants/NUCLEO_F302R8/variant.h index dfeebb5c26..51b188cbc9 100644 --- a/variants/NUCLEO_F302R8/variant.h +++ b/variants/NUCLEO_F302R8/variant.h @@ -121,23 +121,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_F303K8/PinNamesVar.h b/variants/NUCLEO_F303K8/PinNamesVar.h index 6c5bb7e9a1..4a88bd7e71 100644 --- a/variants/NUCLEO_F303K8/PinNamesVar.h +++ b/variants/NUCLEO_F303K8/PinNamesVar.h @@ -1,25 +1,25 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, /* manually updated */ + SYS_WKUP2 = PC_13, /* manually updated */ #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif diff --git a/variants/NUCLEO_F303K8/variant.h b/variants/NUCLEO_F303K8/variant.h index 644195a690..d96a3a25ef 100644 --- a/variants/NUCLEO_F303K8/variant.h +++ b/variants/NUCLEO_F303K8/variant.h @@ -90,23 +90,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_F303RE/PinNamesVar.h b/variants/NUCLEO_F303RE/PinNamesVar.h index d15b1e17a9..81b582ba4c 100644 --- a/variants/NUCLEO_F303RE/PinNamesVar.h +++ b/variants/NUCLEO_F303RE/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PE_6, /* manually updated */ + SYS_WKUP3 = PE_6, /* manually updated */ #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif diff --git a/variants/NUCLEO_F303RE/variant.h b/variants/NUCLEO_F303RE/variant.h index bca0c3c27b..8c5fb039ae 100644 --- a/variants/NUCLEO_F303RE/variant.h +++ b/variants/NUCLEO_F303RE/variant.h @@ -121,23 +121,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_F429ZI/PinNamesVar.h b/variants/NUCLEO_F429ZI/PinNamesVar.h index f3c4f0ee07..2424885937 100644 --- a/variants/NUCLEO_F429ZI/PinNamesVar.h +++ b/variants/NUCLEO_F429ZI/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/NUCLEO_F429ZI/variant.h b/variants/NUCLEO_F429ZI/variant.h index 0837a4cf0e..306abd513a 100644 --- a/variants/NUCLEO_F429ZI/variant.h +++ b/variants/NUCLEO_F429ZI/variant.h @@ -155,23 +155,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_F446RE/PinNamesVar.h b/variants/NUCLEO_F446RE/PinNamesVar.h index d923782fb3..54781a990c 100644 --- a/variants/NUCLEO_F446RE/PinNamesVar.h +++ b/variants/NUCLEO_F446RE/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, /* SYS_WKUP0 */ + SYS_WKUP1 = PA_0, /* SYS_WKUP0 */ #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, /* SYS_WKUP1 */ + SYS_WKUP2 = PC_13, /* SYS_WKUP1 */ #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D4 = PB_2, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D4 = PB_2, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/NUCLEO_F446RE/variant.h b/variants/NUCLEO_F446RE/variant.h index 6254715d30..d211d06606 100644 --- a/variants/NUCLEO_F446RE/variant.h +++ b/variants/NUCLEO_F446RE/variant.h @@ -121,23 +121,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_F4x1RE/PinNamesVar.h b/variants/NUCLEO_F4x1RE/PinNamesVar.h index 3082f8842a..f5db451e6f 100644 --- a/variants/NUCLEO_F4x1RE/PinNamesVar.h +++ b/variants/NUCLEO_F4x1RE/PinNamesVar.h @@ -1,33 +1,33 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, #endif diff --git a/variants/NUCLEO_F4x1RE/variant.h b/variants/NUCLEO_F4x1RE/variant.h index 09c8100936..86a7d62c1f 100644 --- a/variants/NUCLEO_F4x1RE/variant.h +++ b/variants/NUCLEO_F4x1RE/variant.h @@ -117,23 +117,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_F767ZI/PinNamesVar.h b/variants/NUCLEO_F767ZI/PinNamesVar.h index 410f67cb8c..7aa4dab438 100644 --- a/variants/NUCLEO_F767ZI/PinNamesVar.h +++ b/variants/NUCLEO_F767ZI/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PA_2, + SYS_WKUP2 = PA_2, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PC_1, + SYS_WKUP3 = PC_1, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PC_13, + SYS_WKUP4 = PC_13, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PI_8, /* manually updated */ + SYS_WKUP5 = PI_8, /* manually updated */ #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = PI_11, /* manually updated */ + SYS_WKUP6 = PI_11, /* manually updated */ #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/NUCLEO_F767ZI/variant.h b/variants/NUCLEO_F767ZI/variant.h index e7917dff34..3dae514f20 100644 --- a/variants/NUCLEO_F767ZI/variant.h +++ b/variants/NUCLEO_F767ZI/variant.h @@ -160,23 +160,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_F7x6ZG/PinNamesVar.h b/variants/NUCLEO_F7x6ZG/PinNamesVar.h index 410f67cb8c..7aa4dab438 100644 --- a/variants/NUCLEO_F7x6ZG/PinNamesVar.h +++ b/variants/NUCLEO_F7x6ZG/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PA_2, + SYS_WKUP2 = PA_2, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PC_1, + SYS_WKUP3 = PC_1, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PC_13, + SYS_WKUP4 = PC_13, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PI_8, /* manually updated */ + SYS_WKUP5 = PI_8, /* manually updated */ #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = PI_11, /* manually updated */ + SYS_WKUP6 = PI_11, /* manually updated */ #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/NUCLEO_F7x6ZG/variant.h b/variants/NUCLEO_F7x6ZG/variant.h index c4a9565793..45330af40e 100644 --- a/variants/NUCLEO_F7x6ZG/variant.h +++ b/variants/NUCLEO_F7x6ZG/variant.h @@ -188,23 +188,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_G071RB/PinNamesVar.h b/variants/NUCLEO_G071RB/PinNamesVar.h index 959104eff1..74aa9f5fe4 100644 --- a/variants/NUCLEO_G071RB/PinNamesVar.h +++ b/variants/NUCLEO_G071RB/PinNamesVar.h @@ -1,25 +1,25 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, + SYS_WKUP5 = PC_5, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = PB_5, + SYS_WKUP6 = PB_5, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif diff --git a/variants/NUCLEO_G071RB/variant.h b/variants/NUCLEO_G071RB/variant.h index 1bd6b502c5..aeac6183ac 100644 --- a/variants/NUCLEO_G071RB/variant.h +++ b/variants/NUCLEO_G071RB/variant.h @@ -128,23 +128,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial2 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial2 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_G431KB/PinNamesVar.h b/variants/NUCLEO_G431KB/PinNamesVar.h index 57df1e06cd..eeb030dda5 100644 --- a/variants/NUCLEO_G431KB/PinNamesVar.h +++ b/variants/NUCLEO_G431KB/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PE_6, + SYS_WKUP3 = PE_6, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, + SYS_WKUP5 = PC_5, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif diff --git a/variants/NUCLEO_G431KB/variant.h b/variants/NUCLEO_G431KB/variant.h index 1a7e1ac68f..daa2e13974 100644 --- a/variants/NUCLEO_G431KB/variant.h +++ b/variants/NUCLEO_G431KB/variant.h @@ -93,23 +93,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial2 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial2 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_G431RB/PinNamesVar.h b/variants/NUCLEO_G431RB/PinNamesVar.h index 57df1e06cd..eeb030dda5 100644 --- a/variants/NUCLEO_G431RB/PinNamesVar.h +++ b/variants/NUCLEO_G431RB/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PE_6, + SYS_WKUP3 = PE_6, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, + SYS_WKUP5 = PC_5, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif diff --git a/variants/NUCLEO_G431RB/variant.h b/variants/NUCLEO_G431RB/variant.h index 85dbd7c8c2..bede52b82d 100644 --- a/variants/NUCLEO_G431RB/variant.h +++ b/variants/NUCLEO_G431RB/variant.h @@ -120,23 +120,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE SerialLP1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE SerialLP1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_G474RE/PinNamesVar.h b/variants/NUCLEO_G474RE/PinNamesVar.h index 57df1e06cd..eeb030dda5 100644 --- a/variants/NUCLEO_G474RE/PinNamesVar.h +++ b/variants/NUCLEO_G474RE/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PE_6, + SYS_WKUP3 = PE_6, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, + SYS_WKUP5 = PC_5, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif diff --git a/variants/NUCLEO_G474RE/variant.h b/variants/NUCLEO_G474RE/variant.h index e10d7f4db5..1f1b8b2cba 100644 --- a/variants/NUCLEO_G474RE/variant.h +++ b/variants/NUCLEO_G474RE/variant.h @@ -120,23 +120,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE SerialLP1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE SerialLP1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_H743ZI/PinNamesVar.h b/variants/NUCLEO_H743ZI/PinNamesVar.h index 118bc92f7e..f7764804a6 100644 --- a/variants/NUCLEO_H743ZI/PinNamesVar.h +++ b/variants/NUCLEO_H743ZI/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, /* SYS_WKUP0 */ + SYS_WKUP1 = PA_0, /* SYS_WKUP0 */ #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PA_2, /* SYS_WKUP1 */ + SYS_WKUP2 = PA_2, /* SYS_WKUP1 */ #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PC_13, /* SYS_WKUP2 */ + SYS_WKUP3 = PC_13, /* SYS_WKUP2 */ #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PI_8, /* SYS_WKUP3 - Manually added */ + SYS_WKUP4 = PI_8, /* SYS_WKUP3 - Manually added */ #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PI_11, /* SYS_WKUP4 - Manually added */ + SYS_WKUP5 = PI_11, /* SYS_WKUP4 - Manually added */ #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = PC_1, /* SYS_WKUP5 */ + SYS_WKUP6 = PC_1, /* SYS_WKUP5 */ #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/NUCLEO_H743ZI/variant.h b/variants/NUCLEO_H743ZI/variant.h index 6df67e501e..c80145edac 100644 --- a/variants/NUCLEO_H743ZI/variant.h +++ b/variants/NUCLEO_H743ZI/variant.h @@ -223,23 +223,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_L031K6/PinNamesVar.h b/variants/NUCLEO_L031K6/PinNamesVar.h index 8ccfbc4709..8d16105a66 100644 --- a/variants/NUCLEO_L031K6/PinNamesVar.h +++ b/variants/NUCLEO_L031K6/PinNamesVar.h @@ -1,25 +1,25 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PA_2, + SYS_WKUP3 = PA_2, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif diff --git a/variants/NUCLEO_L031K6/variant.h b/variants/NUCLEO_L031K6/variant.h index ac38239ec6..36b53240b0 100644 --- a/variants/NUCLEO_L031K6/variant.h +++ b/variants/NUCLEO_L031K6/variant.h @@ -96,23 +96,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_L053R8/PinNamesVar.h b/variants/NUCLEO_L053R8/PinNamesVar.h index 37b1121d9e..72a70363f6 100644 --- a/variants/NUCLEO_L053R8/PinNamesVar.h +++ b/variants/NUCLEO_L053R8/PinNamesVar.h @@ -1,32 +1,32 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, -/* USB_NOE = PA_13, */ -USB_NOE = PC_9, + USB_DM = PA_11, + USB_DP = PA_12, + /* USB_NOE = PA_13, */ + USB_NOE = PC_9, #endif diff --git a/variants/NUCLEO_L053R8/variant.h b/variants/NUCLEO_L053R8/variant.h index 2a1801526f..211ba66f92 100644 --- a/variants/NUCLEO_L053R8/variant.h +++ b/variants/NUCLEO_L053R8/variant.h @@ -120,23 +120,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_L073RZ/PinNamesVar.h b/variants/NUCLEO_L073RZ/PinNamesVar.h index 37b1121d9e..72a70363f6 100644 --- a/variants/NUCLEO_L073RZ/PinNamesVar.h +++ b/variants/NUCLEO_L073RZ/PinNamesVar.h @@ -1,32 +1,32 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, -/* USB_NOE = PA_13, */ -USB_NOE = PC_9, + USB_DM = PA_11, + USB_DP = PA_12, + /* USB_NOE = PA_13, */ + USB_NOE = PC_9, #endif diff --git a/variants/NUCLEO_L073RZ/variant.h b/variants/NUCLEO_L073RZ/variant.h index f7f720847d..42fac3d48b 100644 --- a/variants/NUCLEO_L073RZ/variant.h +++ b/variants/NUCLEO_L073RZ/variant.h @@ -134,23 +134,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_L152RE/PinNamesVar.h b/variants/NUCLEO_L152RE/PinNamesVar.h index fa484d182f..99d2aa0832 100644 --- a/variants/NUCLEO_L152RE/PinNamesVar.h +++ b/variants/NUCLEO_L152RE/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif diff --git a/variants/NUCLEO_L152RE/variant.h b/variants/NUCLEO_L152RE/variant.h index 2c30c9197b..786399ffb5 100644 --- a/variants/NUCLEO_L152RE/variant.h +++ b/variants/NUCLEO_L152RE/variant.h @@ -120,23 +120,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_L412KB/PinNamesVar.h b/variants/NUCLEO_L412KB/PinNamesVar.h index f1baf1f377..4197a4b676 100644 --- a/variants/NUCLEO_L412KB/PinNamesVar.h +++ b/variants/NUCLEO_L412KB/PinNamesVar.h @@ -1,31 +1,31 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, /* manually updated */ + SYS_WKUP2 = PC_13, /* manually updated */ #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, /* manually updated */ + SYS_WKUP4 = PA_2, /* manually updated */ #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, /* manually updated */ + SYS_WKUP5 = PC_5, /* manually updated */ #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, -USB_NOE = PA_13, + USB_DM = PA_11, + USB_DP = PA_12, + USB_NOE = PA_13, #endif diff --git a/variants/NUCLEO_L412KB/variant.h b/variants/NUCLEO_L412KB/variant.h index 63e29fceed..69f7678bbb 100644 --- a/variants/NUCLEO_L412KB/variant.h +++ b/variants/NUCLEO_L412KB/variant.h @@ -97,23 +97,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_L432KC/PinNamesVar.h b/variants/NUCLEO_L432KC/PinNamesVar.h index c62cccbbfe..ad4ef88389 100644 --- a/variants/NUCLEO_L432KC/PinNamesVar.h +++ b/variants/NUCLEO_L432KC/PinNamesVar.h @@ -1,31 +1,31 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, /* manually updated */ + SYS_WKUP2 = PC_13, /* manually updated */ #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, /* manually updated */ + SYS_WKUP5 = PC_5, /* manually updated */ #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, -USB_NOE = PA_13, + USB_DM = PA_11, + USB_DP = PA_12, + USB_NOE = PA_13, #endif diff --git a/variants/NUCLEO_L432KC/variant.h b/variants/NUCLEO_L432KC/variant.h index e6226fad7f..42ab6b7649 100644 --- a/variants/NUCLEO_L432KC/variant.h +++ b/variants/NUCLEO_L432KC/variant.h @@ -91,23 +91,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_L433RC_P/PinNamesVar.h b/variants/NUCLEO_L433RC_P/PinNamesVar.h index 864678ee95..9250480410 100644 --- a/variants/NUCLEO_L433RC_P/PinNamesVar.h +++ b/variants/NUCLEO_L433RC_P/PinNamesVar.h @@ -1,32 +1,32 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PE_6, + SYS_WKUP3 = PE_6, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, + SYS_WKUP5 = PC_5, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, -/* USB_NOE = PA_13, */ -/* USB_NOE = PC_9, */ + USB_DM = PA_11, + USB_DP = PA_12, + /* USB_NOE = PA_13, */ + /* USB_NOE = PC_9, */ #endif \ No newline at end of file diff --git a/variants/NUCLEO_L433RC_P/variant.h b/variants/NUCLEO_L433RC_P/variant.h index 952ddeff90..cafcc23e08 100644 --- a/variants/NUCLEO_L433RC_P/variant.h +++ b/variants/NUCLEO_L433RC_P/variant.h @@ -119,23 +119,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_L452RE/PinNamesVar.h b/variants/NUCLEO_L452RE/PinNamesVar.h index 137856f62d..e01a46ef00 100644 --- a/variants/NUCLEO_L452RE/PinNamesVar.h +++ b/variants/NUCLEO_L452RE/PinNamesVar.h @@ -1,32 +1,32 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PE_6, /* manually updated */ + SYS_WKUP3 = PE_6, /* manually updated */ #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, /* manually updated */ + SYS_WKUP5 = PC_5, /* manually updated */ #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, -USB_NOE = PA_13, -/* USB_NOE = PC_9, */ + USB_DM = PA_11, + USB_DP = PA_12, + USB_NOE = PA_13, + /* USB_NOE = PC_9, */ #endif diff --git a/variants/NUCLEO_L452RE/variant.h b/variants/NUCLEO_L452RE/variant.h index aa77215e9d..d75d2205da 100644 --- a/variants/NUCLEO_L452RE/variant.h +++ b/variants/NUCLEO_L452RE/variant.h @@ -187,23 +187,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial2 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial2 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_L476RG/PinNamesVar.h b/variants/NUCLEO_L476RG/PinNamesVar.h index 07381e3cba..b0f5e64074 100644 --- a/variants/NUCLEO_L476RG/PinNamesVar.h +++ b/variants/NUCLEO_L476RG/PinNamesVar.h @@ -1,35 +1,35 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PE_6, /* manually updated */ + SYS_WKUP3 = PE_6, /* manually updated */ #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, + SYS_WKUP5 = PC_5, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -/* USB_OTG_FS_NOE = PA_13, */ -USB_OTG_FS_NOE = PC_9, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + /* USB_OTG_FS_NOE = PA_13, */ + USB_OTG_FS_NOE = PC_9, #endif diff --git a/variants/NUCLEO_L476RG/variant.h b/variants/NUCLEO_L476RG/variant.h index 9be876fd72..e01bad2bba 100644 --- a/variants/NUCLEO_L476RG/variant.h +++ b/variants/NUCLEO_L476RG/variant.h @@ -120,23 +120,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif // __cplusplus diff --git a/variants/NUCLEO_L496ZG/PinNamesVar.h b/variants/NUCLEO_L496ZG/PinNamesVar.h index 30ab8b9c4d..9a908ede19 100644 --- a/variants/NUCLEO_L496ZG/PinNamesVar.h +++ b/variants/NUCLEO_L496ZG/PinNamesVar.h @@ -1,36 +1,36 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PE_6, + SYS_WKUP3 = PE_6, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, + SYS_WKUP5 = PC_5, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -/* USB_OTG_FS_NOE = PA_13, */ -/* USB_OTG_FS_SOF = PA_14, */ -USB_OTG_FS_NOE = PC_9, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + /* USB_OTG_FS_NOE = PA_13, */ + /* USB_OTG_FS_SOF = PA_14, */ + USB_OTG_FS_NOE = PC_9, #endif diff --git a/variants/NUCLEO_L496ZG/variant.h b/variants/NUCLEO_L496ZG/variant.h index 4b9407d5fd..6b18246a24 100644 --- a/variants/NUCLEO_L496ZG/variant.h +++ b/variants/NUCLEO_L496ZG/variant.h @@ -214,23 +214,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/NUCLEO_L4R5ZI/PinNamesVar.h b/variants/NUCLEO_L4R5ZI/PinNamesVar.h index 30ab8b9c4d..9a908ede19 100644 --- a/variants/NUCLEO_L4R5ZI/PinNamesVar.h +++ b/variants/NUCLEO_L4R5ZI/PinNamesVar.h @@ -1,36 +1,36 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PE_6, + SYS_WKUP3 = PE_6, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, + SYS_WKUP5 = PC_5, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -/* USB_OTG_FS_NOE = PA_13, */ -/* USB_OTG_FS_SOF = PA_14, */ -USB_OTG_FS_NOE = PC_9, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + /* USB_OTG_FS_NOE = PA_13, */ + /* USB_OTG_FS_SOF = PA_14, */ + USB_OTG_FS_NOE = PC_9, #endif diff --git a/variants/NUCLEO_L4R5ZI/variant.h b/variants/NUCLEO_L4R5ZI/variant.h index 27eb19fc3f..adac8a18ca 100644 --- a/variants/NUCLEO_L4R5ZI/variant.h +++ b/variants/NUCLEO_L4R5ZI/variant.h @@ -213,23 +213,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/PILL_F103XX/PinNamesVar.h b/variants/PILL_F103XX/PinNamesVar.h index f7fb9d83a4..d9076b4dfb 100644 --- a/variants/PILL_F103XX/PinNamesVar.h +++ b/variants/PILL_F103XX/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif diff --git a/variants/PILL_F103XX/variant.h b/variants/PILL_F103XX/variant.h index 2f7d5dfb5f..b4d425dbaf 100644 --- a/variants/PILL_F103XX/variant.h +++ b/variants/PILL_F103XX/variant.h @@ -126,23 +126,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/PILL_F303XX/PinNamesVar.h b/variants/PILL_F303XX/PinNamesVar.h index 5d85116ce3..26f45e806e 100644 --- a/variants/PILL_F303XX/PinNamesVar.h +++ b/variants/PILL_F303XX/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif \ No newline at end of file diff --git a/variants/PILL_F303XX/variant.h b/variants/PILL_F303XX/variant.h index dffc3271ed..074d7297cd 100644 --- a/variants/PILL_F303XX/variant.h +++ b/variants/PILL_F303XX/variant.h @@ -121,24 +121,24 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 -#define SERIAL_PORT_USBVIRTUAL SerialUSB + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 + #define SERIAL_PORT_USBVIRTUAL SerialUSB #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/PNUCLEO_WB55RG/PinNamesVar.h b/variants/PNUCLEO_WB55RG/PinNamesVar.h index 3be9d6ce7a..8b8e08c59f 100644 --- a/variants/PNUCLEO_WB55RG/PinNamesVar.h +++ b/variants/PNUCLEO_WB55RG/PinNamesVar.h @@ -1,31 +1,31 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PC_12, + SYS_WKUP3 = PC_12, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, + SYS_WKUP5 = PC_5, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, -USB_NOE = PA_13, + USB_DM = PA_11, + USB_DP = PA_12, + USB_NOE = PA_13, #endif diff --git a/variants/PNUCLEO_WB55RG/variant.h b/variants/PNUCLEO_WB55RG/variant.h index 9c767a1397..5c63db398a 100644 --- a/variants/PNUCLEO_WB55RG/variant.h +++ b/variants/PNUCLEO_WB55RG/variant.h @@ -128,23 +128,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/PRNTR_Vx/PeripheralPins.c b/variants/PRNTR_Vx/PeripheralPins.c index 3bbbf9394c..78400bb17b 100644 --- a/variants/PRNTR_Vx/PeripheralPins.c +++ b/variants/PRNTR_Vx/PeripheralPins.c @@ -15,7 +15,7 @@ #include "PeripheralPins.h" #if !defined(ARDUINO_PRNTR_F407_V1) && !defined(ARDUINO_PRNTR_V2) -#error Expected either ARDUINO_PRNTR_F407_V1 or ARDUINO_PRNTR_V2 to be defined. Wrong board variant? + #error Expected either ARDUINO_PRNTR_F407_V1 or ARDUINO_PRNTR_V2 to be defined. Wrong board variant? #endif /* ===== diff --git a/variants/PRNTR_Vx/PinNamesVar.h b/variants/PRNTR_Vx/PinNamesVar.h index cb34ea2726..831cce29ae 100644 --- a/variants/PRNTR_Vx/PinNamesVar.h +++ b/variants/PRNTR_Vx/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = NC, + SYS_WKUP1 = NC, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/PRNTR_Vx/variant.h b/variants/PRNTR_Vx/variant.h index 9f3393823f..394f590d8a 100644 --- a/variants/PRNTR_Vx/variant.h +++ b/variants/PRNTR_Vx/variant.h @@ -234,23 +234,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/PX_HER0/PinNamesVar.h b/variants/PX_HER0/PinNamesVar.h index ed8256d326..6fae3d1e12 100644 --- a/variants/PX_HER0/PinNamesVar.h +++ b/variants/PX_HER0/PinNamesVar.h @@ -1,32 +1,32 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, -// USB_NOE = PA_13, -// USB_NOE = PC_9, + USB_DM = PA_11, + USB_DP = PA_12, + // USB_NOE = PA_13, + // USB_NOE = PC_9, #endif diff --git a/variants/PX_HER0/variant.h b/variants/PX_HER0/variant.h index 1ed7aec1c0..cbcb025d07 100644 --- a/variants/PX_HER0/variant.h +++ b/variants/PX_HER0/variant.h @@ -202,24 +202,24 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 -#define SERIAL_PORT_USBVIRTUAL SerialUSB + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 + #define SERIAL_PORT_USBVIRTUAL SerialUSB #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/RAK811_TRACKER/PinNamesVar.h b/variants/RAK811_TRACKER/PinNamesVar.h index fa484d182f..99d2aa0832 100644 --- a/variants/RAK811_TRACKER/PinNamesVar.h +++ b/variants/RAK811_TRACKER/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif diff --git a/variants/RAK811_TRACKER/variant.h b/variants/RAK811_TRACKER/variant.h index 0b3bd0538f..0db4b60cc0 100644 --- a/variants/RAK811_TRACKER/variant.h +++ b/variants/RAK811_TRACKER/variant.h @@ -149,23 +149,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/REMRAM_V1/PinNamesVar.h b/variants/REMRAM_V1/PinNamesVar.h index f67fb58a10..1e7348d6f3 100644 --- a/variants/REMRAM_V1/PinNamesVar.h +++ b/variants/REMRAM_V1/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PA_2, + SYS_WKUP2 = PA_2, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PC_1, + SYS_WKUP3 = PC_1, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PC_13, + SYS_WKUP4 = PC_13, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PI_8, + SYS_WKUP5 = PI_8, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = PI_11, + SYS_WKUP6 = PI_11, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -USB_OTG_HS_ULPI_D0 = PA_3, -USB_OTG_HS_SOF = PA_4, -USB_OTG_HS_ULPI_CK = PA_5, -USB_OTG_HS_ULPI_D1 = PB_0, -USB_OTG_HS_ULPI_D2 = PB_1, -USB_OTG_HS_ULPI_D7 = PB_5, -USB_OTG_HS_ULPI_D3 = PB_10, -USB_OTG_HS_ULPI_D4 = PB_11, -USB_OTG_HS_ID = PB_12, -USB_OTG_HS_ULPI_D5 = PB_12, -USB_OTG_HS_ULPI_D6 = PB_13, -USB_OTG_HS_VBUS = PB_13, -USB_OTG_HS_DM = PB_14, -USB_OTG_HS_DP = PB_15, -USB_OTG_HS_ULPI_STP = PC_0, -USB_OTG_HS_ULPI_DIR = PC_2, -USB_OTG_HS_ULPI_NXT = PC_3, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + USB_OTG_HS_ULPI_D0 = PA_3, + USB_OTG_HS_SOF = PA_4, + USB_OTG_HS_ULPI_CK = PA_5, + USB_OTG_HS_ULPI_D1 = PB_0, + USB_OTG_HS_ULPI_D2 = PB_1, + USB_OTG_HS_ULPI_D7 = PB_5, + USB_OTG_HS_ULPI_D3 = PB_10, + USB_OTG_HS_ULPI_D4 = PB_11, + USB_OTG_HS_ID = PB_12, + USB_OTG_HS_ULPI_D5 = PB_12, + USB_OTG_HS_ULPI_D6 = PB_13, + USB_OTG_HS_VBUS = PB_13, + USB_OTG_HS_DM = PB_14, + USB_OTG_HS_DP = PB_15, + USB_OTG_HS_ULPI_STP = PC_0, + USB_OTG_HS_ULPI_DIR = PC_2, + USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/REMRAM_V1/variant.h b/variants/REMRAM_V1/variant.h index 86b985a888..89a6e88877 100644 --- a/variants/REMRAM_V1/variant.h +++ b/variants/REMRAM_V1/variant.h @@ -185,8 +185,8 @@ extern "C" *----------------------------------------------------------------------------*/ #ifdef __cplusplus -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/RHF76_052/PinNamesVar.h b/variants/RHF76_052/PinNamesVar.h index f436288aec..87d21ee39c 100644 --- a/variants/RHF76_052/PinNamesVar.h +++ b/variants/RHF76_052/PinNamesVar.h @@ -1,25 +1,25 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif diff --git a/variants/RHF76_052/variant.h b/variants/RHF76_052/variant.h index 6a4b3e1274..8373ea4950 100644 --- a/variants/RHF76_052/variant.h +++ b/variants/RHF76_052/variant.h @@ -75,23 +75,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/RUMBA32_F446VE/PinNamesVar.h b/variants/RUMBA32_F446VE/PinNamesVar.h index 77f1689b3d..bff3f21349 100644 --- a/variants/RUMBA32_F446VE/PinNamesVar.h +++ b/variants/RUMBA32_F446VE/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, /* SYS_WKUP0 */ + SYS_WKUP1 = PA_0, /* SYS_WKUP0 */ #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, #endif diff --git a/variants/RUMBA32_F446VE/variant.h b/variants/RUMBA32_F446VE/variant.h index f59dba9691..61d2042539 100644 --- a/variants/RUMBA32_F446VE/variant.h +++ b/variants/RUMBA32_F446VE/variant.h @@ -155,23 +155,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE_OPEN Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE_OPEN Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/SPARKY_F303CC/PinNamesVar.h b/variants/SPARKY_F303CC/PinNamesVar.h index 5d85116ce3..26f45e806e 100644 --- a/variants/SPARKY_F303CC/PinNamesVar.h +++ b/variants/SPARKY_F303CC/PinNamesVar.h @@ -1,30 +1,30 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_DM = PA_11, -USB_DP = PA_12, + USB_DM = PA_11, + USB_DP = PA_12, #endif \ No newline at end of file diff --git a/variants/SPARKY_F303CC/variant.h b/variants/SPARKY_F303CC/variant.h index 72cbfcf91e..94f895af7e 100644 --- a/variants/SPARKY_F303CC/variant.h +++ b/variants/SPARKY_F303CC/variant.h @@ -123,23 +123,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial3 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial3 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/ST3DP001_EVAL/PinNamesVar.h b/variants/ST3DP001_EVAL/PinNamesVar.h index e90a617cc5..e1536bcf30 100644 --- a/variants/ST3DP001_EVAL/PinNamesVar.h +++ b/variants/ST3DP001_EVAL/PinNamesVar.h @@ -1,33 +1,33 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, #endif \ No newline at end of file diff --git a/variants/ST3DP001_EVAL/variant.h b/variants/ST3DP001_EVAL/variant.h index ebea1127d2..c1f5d8a475 100644 --- a/variants/ST3DP001_EVAL/variant.h +++ b/variants/ST3DP001_EVAL/variant.h @@ -191,23 +191,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/STEVAL_MKSBOX1V1/PinNamesVar.h b/variants/STEVAL_MKSBOX1V1/PinNamesVar.h index 661e7324e6..4a930e71f2 100644 --- a/variants/STEVAL_MKSBOX1V1/PinNamesVar.h +++ b/variants/STEVAL_MKSBOX1V1/PinNamesVar.h @@ -1,36 +1,36 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, + SYS_WKUP2 = PC_13, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PE_6, + SYS_WKUP3 = PE_6, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PA_2, + SYS_WKUP4 = PA_2, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PC_5, + SYS_WKUP5 = PC_5, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -//USB_OTG_FS_SOF = PA_8, -//USB_OTG_FS_VBUS = PA_9, -//USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -//USB_OTG_FS_NOE = PA_13, -//USB_OTG_FS_SOF = PA_14, -//USB_OTG_FS_NOE = PC_9, + //USB_OTG_FS_SOF = PA_8, + //USB_OTG_FS_VBUS = PA_9, + //USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + //USB_OTG_FS_NOE = PA_13, + //USB_OTG_FS_SOF = PA_14, + //USB_OTG_FS_NOE = PC_9, #endif diff --git a/variants/STEVAL_MKSBOX1V1/variant.h b/variants/STEVAL_MKSBOX1V1/variant.h index 7d0beb595c..8d1cc3edd6 100644 --- a/variants/STEVAL_MKSBOX1V1/variant.h +++ b/variants/STEVAL_MKSBOX1V1/variant.h @@ -178,23 +178,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/STM32MP157_DK/PinNamesVar.h b/variants/STM32MP157_DK/PinNamesVar.h index f14e108b68..fb1770e87b 100644 --- a/variants/STM32MP157_DK/PinNamesVar.h +++ b/variants/STM32MP157_DK/PinNamesVar.h @@ -1,25 +1,25 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PA_2, + SYS_WKUP2 = PA_2, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = PC_13, + SYS_WKUP3 = PC_13, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = PI_8, + SYS_WKUP4 = PI_8, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = PI_11, + SYS_WKUP5 = PI_11, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = PC_1, + SYS_WKUP6 = PC_1, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif diff --git a/variants/STM32MP157_DK/variant.h b/variants/STM32MP157_DK/variant.h index d94a9c0936..029f316b99 100644 --- a/variants/STM32MP157_DK/variant.h +++ b/variants/STM32MP157_DK/variant.h @@ -161,24 +161,24 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial -#define SERIAL_PORT_LINUXBRIDGE SerialVirtIO + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial + #define SERIAL_PORT_LINUXBRIDGE SerialVirtIO #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/THUNDERPACK/PinNamesVar.h b/variants/THUNDERPACK/PinNamesVar.h index f013c66a7c..43ec346ddb 100644 --- a/variants/THUNDERPACK/PinNamesVar.h +++ b/variants/THUNDERPACK/PinNamesVar.h @@ -1,43 +1,43 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -#ifdef ARDUINO_THUNDERPACK_L072 -SYS_WKUP2 = PC_13, -#else /* ARDUINO_THUNDERPACK_F411 */ -SYS_WKUP2 = NC, -#endif + #ifdef ARDUINO_THUNDERPACK_L072 + SYS_WKUP2 = PC_13, + #else /* ARDUINO_THUNDERPACK_F411 */ + SYS_WKUP2 = NC, + #endif #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -#ifdef ARDUINO_THUNDERPACK_L072 -USB_DM = PA_11, -USB_DP = PA_12, -USB_NOE = PA_13, -#else /* ARDUINO_THUNDERPACK_F411 */ -USB_OTG_FS_SOF = PA_8, -USB_OTG_FS_VBUS = PA_9, -USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -#endif + #ifdef ARDUINO_THUNDERPACK_L072 + USB_DM = PA_11, + USB_DP = PA_12, + USB_NOE = PA_13, + #else /* ARDUINO_THUNDERPACK_F411 */ + USB_OTG_FS_SOF = PA_8, + USB_OTG_FS_VBUS = PA_9, + USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + #endif #endif \ No newline at end of file diff --git a/variants/THUNDERPACK/variant.h b/variants/THUNDERPACK/variant.h index df0fd3ae0f..d9be0e39af 100644 --- a/variants/THUNDERPACK/variant.h +++ b/variants/THUNDERPACK/variant.h @@ -110,23 +110,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/VAKE_F446VE/PinNamesVar.h b/variants/VAKE_F446VE/PinNamesVar.h index 9ba428cdaf..fce1c27e5d 100644 --- a/variants/VAKE_F446VE/PinNamesVar.h +++ b/variants/VAKE_F446VE/PinNamesVar.h @@ -1,50 +1,50 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, /* SYS_WKUP0 */ + SYS_WKUP1 = PA_0, /* SYS_WKUP0 */ #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = PC_13, /* SYS_WKUP1 */ + SYS_WKUP2 = PC_13, /* SYS_WKUP1 */ #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif /* USB */ #ifdef USBCON -// USB_OTG_FS_SOF = PA_8, -// USB_OTG_FS_VBUS = PA_9, -// USB_OTG_FS_ID = PA_10, -USB_OTG_FS_DM = PA_11, -USB_OTG_FS_DP = PA_12, -// USB_OTG_HS_ULPI_D0 = PA_3, -// USB_OTG_HS_SOF = PA_4, -// USB_OTG_HS_ULPI_CK = PA_5, -// USB_OTG_HS_ULPI_D1 = PB_0, -// USB_OTG_HS_ULPI_D2 = PB_1, -// USB_OTG_HS_ULPI_D4 = PB_2, -// USB_OTG_HS_ULPI_D7 = PB_5, -// USB_OTG_HS_ULPI_D3 = PB_10, -// USB_OTG_HS_ID = PB_12, -// USB_OTG_HS_ULPI_D5 = PB_12, -// USB_OTG_HS_ULPI_D6 = PB_13, -// USB_OTG_HS_VBUS = PB_13, -// USB_OTG_HS_DM = PB_14, -// USB_OTG_HS_DP = PB_15, -// USB_OTG_HS_ULPI_STP = PC_0, -// USB_OTG_HS_ULPI_DIR = PC_2, -// USB_OTG_HS_ULPI_NXT = PC_3, + // USB_OTG_FS_SOF = PA_8, + // USB_OTG_FS_VBUS = PA_9, + // USB_OTG_FS_ID = PA_10, + USB_OTG_FS_DM = PA_11, + USB_OTG_FS_DP = PA_12, + // USB_OTG_HS_ULPI_D0 = PA_3, + // USB_OTG_HS_SOF = PA_4, + // USB_OTG_HS_ULPI_CK = PA_5, + // USB_OTG_HS_ULPI_D1 = PB_0, + // USB_OTG_HS_ULPI_D2 = PB_1, + // USB_OTG_HS_ULPI_D4 = PB_2, + // USB_OTG_HS_ULPI_D7 = PB_5, + // USB_OTG_HS_ULPI_D3 = PB_10, + // USB_OTG_HS_ID = PB_12, + // USB_OTG_HS_ULPI_D5 = PB_12, + // USB_OTG_HS_ULPI_D6 = PB_13, + // USB_OTG_HS_VBUS = PB_13, + // USB_OTG_HS_DM = PB_14, + // USB_OTG_HS_DP = PB_15, + // USB_OTG_HS_ULPI_STP = PC_0, + // USB_OTG_HS_ULPI_DIR = PC_2, + // USB_OTG_HS_ULPI_NXT = PC_3, #endif diff --git a/variants/VAKE_F446VE/variant.h b/variants/VAKE_F446VE/variant.h index 51eaa7c75c..0e5d6fd90e 100644 --- a/variants/VAKE_F446VE/variant.h +++ b/variants/VAKE_F446VE/variant.h @@ -141,23 +141,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial4 -#define SERIAL_PORT_HARDWARE Serial1 + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial4 + #define SERIAL_PORT_HARDWARE Serial1 #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/WRAITH32_F051K6/PinNamesVar.h b/variants/WRAITH32_F051K6/PinNamesVar.h index f599f022e3..83817ea403 100644 --- a/variants/WRAITH32_F051K6/PinNamesVar.h +++ b/variants/WRAITH32_F051K6/PinNamesVar.h @@ -1,25 +1,25 @@ /* SYS_WKUP */ #ifdef PWR_WAKEUP_PIN1 -SYS_WKUP1 = PA_0, + SYS_WKUP1 = PA_0, #endif #ifdef PWR_WAKEUP_PIN2 -SYS_WKUP2 = NC, + SYS_WKUP2 = NC, #endif #ifdef PWR_WAKEUP_PIN3 -SYS_WKUP3 = NC, + SYS_WKUP3 = NC, #endif #ifdef PWR_WAKEUP_PIN4 -SYS_WKUP4 = NC, + SYS_WKUP4 = NC, #endif #ifdef PWR_WAKEUP_PIN5 -SYS_WKUP5 = NC, + SYS_WKUP5 = NC, #endif #ifdef PWR_WAKEUP_PIN6 -SYS_WKUP6 = NC, + SYS_WKUP6 = NC, #endif #ifdef PWR_WAKEUP_PIN7 -SYS_WKUP7 = NC, + SYS_WKUP7 = NC, #endif #ifdef PWR_WAKEUP_PIN8 -SYS_WKUP8 = NC, + SYS_WKUP8 = NC, #endif \ No newline at end of file diff --git a/variants/WRAITH32_F051K6/variant.h b/variants/WRAITH32_F051K6/variant.h index 56d9b52f51..b60f7e3a83 100644 --- a/variants/WRAITH32_F051K6/variant.h +++ b/variants/WRAITH32_F051K6/variant.h @@ -92,23 +92,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */ diff --git a/variants/board_template/variant.h b/variants/board_template/variant.h index a636ede352..d43a4d5cec 100644 --- a/variants/board_template/variant.h +++ b/variants/board_template/variant.h @@ -183,23 +183,23 @@ extern "C" { *----------------------------------------------------------------------------*/ #ifdef __cplusplus -// These serial port names are intended to allow libraries and architecture-neutral -// sketches to automatically default to the correct port name for a particular type -// of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, -// the first hardware serial port whose RX/TX pins are not dedicated to another use. -// -// SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor -// -// SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial -// -// SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library -// -// SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. -// -// SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX -// pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + // These serial port names are intended to allow libraries and architecture-neutral + // sketches to automatically default to the correct port name for a particular type + // of use. For example, a GPS module would normally connect to SERIAL_PORT_HARDWARE_OPEN, + // the first hardware serial port whose RX/TX pins are not dedicated to another use. + // + // SERIAL_PORT_MONITOR Port which normally prints to the Arduino Serial Monitor + // + // SERIAL_PORT_USBVIRTUAL Port which is USB virtual serial + // + // SERIAL_PORT_LINUXBRIDGE Port which connects to a Linux system via Bridge library + // + // SERIAL_PORT_HARDWARE Hardware serial port, physical RX & TX pins. + // + // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX + // pins are NOT connected to anything by default. + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif #endif /* _VARIANT_ARDUINO_STM32_ */