From 5326afcfb2ecfb27b7e473fd43e1adec9e3595ec Mon Sep 17 00:00:00 2001 From: Rania JMAI Date: Thu, 27 Apr 2023 16:40:32 +0100 Subject: [PATCH] Release v1.8.5 --- Drivers/BSP/Components/stlm75/LICENSE.md | 27 + .../BSP/Components/stlm75/Release_Notes.html | 57 +- Drivers/BSP/Components/stlm75/stlm75.c | 57 +- Drivers/BSP/Components/stlm75/stlm75.h | 32 +- Drivers/BSP/STM3210C_EVAL/LICENSE.md | 27 + Drivers/BSP/STM3210C_EVAL/README.md | 41 + Drivers/BSP/STM3210C_EVAL/Release_Notes.html | 938 ++-- .../BSP/STM3210C_EVAL/_htmresc/favicon.png | Bin 0 -> 4126 bytes .../_htmresc/mini-st_2020.css} | 357 +- .../STM3210C_EVAL/_htmresc/st_logo_2020.png | Bin 0 -> 7520 bytes Drivers/BSP/STM3210C_EVAL/stm3210c_eval.c | 38 +- Drivers/BSP/STM3210C_EVAL/stm3210c_eval.h | 30 +- .../stm3210c_eval_accelerometer.c | 28 +- .../stm3210c_eval_accelerometer.h | 28 +- .../BSP/STM3210C_EVAL/stm3210c_eval_audio.c | 28 +- .../BSP/STM3210C_EVAL/stm3210c_eval_audio.h | 28 +- .../BSP/STM3210C_EVAL/stm3210c_eval_eeprom.c | 28 +- .../BSP/STM3210C_EVAL/stm3210c_eval_eeprom.h | 32 +- Drivers/BSP/STM3210C_EVAL/stm3210c_eval_io.c | 30 +- Drivers/BSP/STM3210C_EVAL/stm3210c_eval_io.h | 30 +- Drivers/BSP/STM3210C_EVAL/stm3210c_eval_lcd.c | 30 +- Drivers/BSP/STM3210C_EVAL/stm3210c_eval_lcd.h | 28 +- Drivers/BSP/STM3210C_EVAL/stm3210c_eval_sd.c | 52 +- Drivers/BSP/STM3210C_EVAL/stm3210c_eval_sd.h | 28 +- Drivers/BSP/STM3210C_EVAL/stm3210c_eval_ts.c | 30 +- Drivers/BSP/STM3210C_EVAL/stm3210c_eval_ts.h | 28 +- Drivers/BSP/STM3210E_EVAL/License.md | 28 +- Drivers/BSP/STM3210E_EVAL/README.md | 41 + Drivers/BSP/STM3210E_EVAL/Release_Notes.html | 1028 ++--- .../BSP/STM3210E_EVAL/_htmresc/favicon.png | Bin 0 -> 4126 bytes .../STM3210E_EVAL/_htmresc/mini-st_2020.css} | 357 +- .../BSP/STM3210E_EVAL/_htmresc/st_logo.png | Bin 18616 -> 0 bytes .../STM3210E_EVAL/_htmresc/st_logo_2020.png | Bin 0 -> 7520 bytes Drivers/BSP/STM3210E_EVAL/stm3210e_eval.c | 33 +- Drivers/BSP/STM3210E_EVAL/stm3210e_eval.h | 28 +- .../BSP/STM3210E_EVAL/stm3210e_eval_audio.c | 28 +- .../BSP/STM3210E_EVAL/stm3210e_eval_audio.h | 28 +- Drivers/BSP/STM3210E_EVAL/stm3210e_eval_lcd.c | 32 +- Drivers/BSP/STM3210E_EVAL/stm3210e_eval_lcd.h | 28 +- .../BSP/STM3210E_EVAL/stm3210e_eval_nand.c | 28 +- .../BSP/STM3210E_EVAL/stm3210e_eval_nand.h | 28 +- Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nor.c | 28 +- Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nor.h | 28 +- Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sd.c | 36 +- Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sd.h | 28 +- .../STM3210E_EVAL/stm3210e_eval_serialflash.c | 28 +- .../STM3210E_EVAL/stm3210e_eval_serialflash.h | 28 +- .../BSP/STM3210E_EVAL/stm3210e_eval_sram.c | 28 +- .../BSP/STM3210E_EVAL/stm3210e_eval_sram.h | 28 +- .../BSP/STM3210E_EVAL/stm3210e_eval_tsensor.c | 28 +- .../BSP/STM3210E_EVAL/stm3210e_eval_tsensor.h | 28 +- Drivers/BSP/STM32F1xx_Nucleo/LICENSE.md | 27 + Drivers/BSP/STM32F1xx_Nucleo/README.md | 36 + .../BSP/STM32F1xx_Nucleo/Release_Notes.html | 591 +-- .../BSP/STM32F1xx_Nucleo/_htmresc/favicon.png | Bin 0 -> 4126 bytes .../_htmresc/mini-st_2020.css} | 357 +- .../_htmresc/st_logo_2020.png | Bin 0 -> 7520 bytes .../BSP/STM32F1xx_Nucleo/stm32f1xx_nucleo.c | 30 +- .../BSP/STM32F1xx_Nucleo/stm32f1xx_nucleo.h | 28 +- Drivers/BSP/STM32VL-Discovery/LICENSE.md | 27 + Drivers/BSP/STM32VL-Discovery/README.md | 36 + .../BSP/STM32VL-Discovery/Release_Notes.html | 312 +- .../STM32VL-Discovery/_htmresc/favicon.png | Bin 0 -> 4126 bytes .../_htmresc/mini-st_2020.css | 357 +- .../_htmresc/st_logo_2020.png | Bin 0 -> 7520 bytes .../BSP/STM32VL-Discovery/stm32vl_discovery.c | 32 +- .../BSP/STM32VL-Discovery/stm32vl_discovery.h | 28 +- .../Device/ST/STM32F1xx/Include/stm32f100xb.h | 32 +- .../Device/ST/STM32F1xx/Include/stm32f100xe.h | 36 +- .../Device/ST/STM32F1xx/Include/stm32f101x6.h | 20 +- .../Device/ST/STM32F1xx/Include/stm32f101xb.h | 20 +- .../Device/ST/STM32F1xx/Include/stm32f101xe.h | 22 +- .../Device/ST/STM32F1xx/Include/stm32f101xg.h | 38 +- .../Device/ST/STM32F1xx/Include/stm32f102x6.h | 24 +- .../Device/ST/STM32F1xx/Include/stm32f102xb.h | 20 +- .../Device/ST/STM32F1xx/Include/stm32f103x6.h | 36 +- .../Device/ST/STM32F1xx/Include/stm32f103xb.h | 32 +- .../Device/ST/STM32F1xx/Include/stm32f103xe.h | 42 +- .../Device/ST/STM32F1xx/Include/stm32f103xg.h | 54 +- .../Device/ST/STM32F1xx/Include/stm32f105xc.h | 40 +- .../Device/ST/STM32F1xx/Include/stm32f107xc.h | 56 +- .../Device/ST/STM32F1xx/Include/stm32f1xx.h | 20 +- .../ST/STM32F1xx/Include/system_stm32f1xx.h | 16 +- Drivers/CMSIS/Device/ST/STM32F1xx/License.md | 206 +- Drivers/CMSIS/Device/ST/STM32F1xx/README.md | 9 +- .../Device/ST/STM32F1xx/Release_Notes.html | 67 +- .../Templates/arm/startup_stm32f100xb.s | 10 +- .../Templates/arm/startup_stm32f100xe.s | 10 +- .../Templates/arm/startup_stm32f101x6.s | 10 +- .../Templates/arm/startup_stm32f101xb.s | 10 +- .../Templates/arm/startup_stm32f101xe.s | 10 +- .../Templates/arm/startup_stm32f101xg.s | 10 +- .../Templates/arm/startup_stm32f102x6.s | 10 +- .../Templates/arm/startup_stm32f102xb.s | 10 +- .../Templates/arm/startup_stm32f103x6.s | 10 +- .../Templates/arm/startup_stm32f103xb.s | 10 +- .../Templates/arm/startup_stm32f103xe.s | 10 +- .../Templates/arm/startup_stm32f103xg.s | 10 +- .../Templates/arm/startup_stm32f105xc.s | 10 +- .../Templates/arm/startup_stm32f107xc.s | 10 +- .../Templates/gcc/linker/STM32F100XB_FLASH.ld | 2 +- .../Templates/gcc/linker/STM32F100XE_FLASH.ld | 2 +- .../Templates/gcc/linker/STM32F101X6_FLASH.ld | 2 +- .../Templates/gcc/linker/STM32F101XB_FLASH.ld | 2 +- .../Templates/gcc/linker/STM32F101XE_FLASH.ld | 2 +- .../Templates/gcc/linker/STM32F101XG_FLASH.ld | 2 +- .../Templates/gcc/linker/STM32F102X6_FLASH.ld | 2 +- .../Templates/gcc/linker/STM32F102XB_FLASH.ld | 2 +- .../Templates/gcc/linker/STM32F103X6_FLASH.ld | 2 +- .../Templates/gcc/linker/STM32F103XB_FLASH.ld | 2 +- .../Templates/gcc/linker/STM32F103XE_FLASH.ld | 2 +- .../Templates/gcc/linker/STM32F103XG_FLASH.ld | 2 +- .../Templates/gcc/linker/STM32F105XC_FLASH.ld | 2 +- .../Templates/gcc/linker/STM32F107XC_FLASH.ld | 2 +- .../Templates/gcc/startup_stm32f100xb.s | 19 +- .../Templates/gcc/startup_stm32f100xe.s | 19 +- .../Templates/gcc/startup_stm32f101x6.s | 17 +- .../Templates/gcc/startup_stm32f101xb.s | 17 +- .../Templates/gcc/startup_stm32f101xe.s | 17 +- .../Templates/gcc/startup_stm32f101xg.s | 17 +- .../Templates/gcc/startup_stm32f102x6.s | 17 +- .../Templates/gcc/startup_stm32f102xb.s | 17 +- .../Templates/gcc/startup_stm32f103x6.s | 17 +- .../Templates/gcc/startup_stm32f103xb.s | 17 +- .../Templates/gcc/startup_stm32f103xe.s | 17 +- .../Templates/gcc/startup_stm32f103xg.s | 17 +- .../Templates/gcc/startup_stm32f105xc.s | 18 +- .../Templates/gcc/startup_stm32f107xc.s | 18 +- .../Templates/iar/startup_stm32f100xb.s | 17 +- .../Templates/iar/startup_stm32f100xe.s | 17 +- .../Templates/iar/startup_stm32f101x6.s | 17 +- .../Templates/iar/startup_stm32f101xb.s | 17 +- .../Templates/iar/startup_stm32f101xe.s | 17 +- .../Templates/iar/startup_stm32f101xg.s | 17 +- .../Templates/iar/startup_stm32f102x6.s | 17 +- .../Templates/iar/startup_stm32f102xb.s | 17 +- .../Templates/iar/startup_stm32f103x6.s | 17 +- .../Templates/iar/startup_stm32f103xb.s | 17 +- .../Templates/iar/startup_stm32f103xe.s | 17 +- .../Templates/iar/startup_stm32f103xg.s | 17 +- .../Templates/iar/startup_stm32f105xc.s | 17 +- .../Templates/iar/startup_stm32f107xc.s | 17 +- .../Source/Templates/system_stm32f1xx.c | 14 +- .../Device/ST/STM32F1xx/_htmresc/favicon.png | Bin 0 -> 4126 bytes .../ST/STM32F1xx/_htmresc/mini-st_2020.css | 1703 ++++++++ .../Device/ST/STM32F1xx/_htmresc/st_logo.png | Bin 18616 -> 0 bytes .../ST/STM32F1xx/_htmresc/st_logo_2020.png | Bin 0 -> 7520 bytes .../Inc/Legacy/stm32_hal_legacy.h | 857 +++- .../Inc/Legacy/stm32f1xx_hal_can_ex_legacy.h | 13 +- .../Inc/Legacy/stm32f1xx_hal_can_legacy.h | 32 +- .../Inc/stm32_assert_template.h | 13 +- .../STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h | 13 +- .../Inc/stm32f1xx_hal_adc.h | 16 +- .../Inc/stm32f1xx_hal_adc_ex.h | 14 +- .../Inc/stm32f1xx_hal_can.h | 63 +- .../Inc/stm32f1xx_hal_cec.h | 305 +- .../Inc/stm32f1xx_hal_conf_template.h | 13 +- .../Inc/stm32f1xx_hal_cortex.h | 12 +- .../Inc/stm32f1xx_hal_crc.h | 15 +- .../Inc/stm32f1xx_hal_dac.h | 44 +- .../Inc/stm32f1xx_hal_dac_ex.h | 24 +- .../Inc/stm32f1xx_hal_def.h | 15 +- .../Inc/stm32f1xx_hal_dma.h | 36 +- .../Inc/stm32f1xx_hal_dma_ex.h | 12 +- .../Inc/stm32f1xx_hal_eth.h | 16 +- .../Inc/stm32f1xx_hal_exti.h | 12 +- .../Inc/stm32f1xx_hal_flash.h | 13 +- .../Inc/stm32f1xx_hal_flash_ex.h | 13 +- .../Inc/stm32f1xx_hal_gpio.h | 12 +- .../Inc/stm32f1xx_hal_gpio_ex.h | 12 +- .../Inc/stm32f1xx_hal_hcd.h | 36 +- .../Inc/stm32f1xx_hal_i2c.h | 12 +- .../Inc/stm32f1xx_hal_i2s.h | 12 +- .../Inc/stm32f1xx_hal_irda.h | 24 +- .../Inc/stm32f1xx_hal_iwdg.h | 13 +- .../Inc/stm32f1xx_hal_mmc.h | 28 +- .../Inc/stm32f1xx_hal_nand.h | 54 +- .../Inc/stm32f1xx_hal_nor.h | 15 +- .../Inc/stm32f1xx_hal_pccard.h | 13 +- .../Inc/stm32f1xx_hal_pcd.h | 116 +- .../Inc/stm32f1xx_hal_pcd_ex.h | 17 +- .../Inc/stm32f1xx_hal_pwr.h | 13 +- .../Inc/stm32f1xx_hal_rcc.h | 15 +- .../Inc/stm32f1xx_hal_rcc_ex.h | 13 +- .../Inc/stm32f1xx_hal_rtc.h | 13 +- .../Inc/stm32f1xx_hal_rtc_ex.h | 13 +- .../Inc/stm32f1xx_hal_sd.h | 13 +- .../Inc/stm32f1xx_hal_smartcard.h | 24 +- .../Inc/stm32f1xx_hal_spi.h | 15 +- .../Inc/stm32f1xx_hal_sram.h | 15 +- .../Inc/stm32f1xx_hal_tim.h | 151 +- .../Inc/stm32f1xx_hal_tim_ex.h | 31 +- .../Inc/stm32f1xx_hal_uart.h | 84 +- .../Inc/stm32f1xx_hal_usart.h | 51 +- .../Inc/stm32f1xx_hal_wwdg.h | 15 +- .../Inc/stm32f1xx_ll_adc.h | 135 +- .../Inc/stm32f1xx_ll_bus.h | 13 +- .../Inc/stm32f1xx_ll_cortex.h | 14 +- .../Inc/stm32f1xx_ll_crc.h | 15 +- .../Inc/stm32f1xx_ll_dac.h | 60 +- .../Inc/stm32f1xx_ll_dma.h | 14 +- .../Inc/stm32f1xx_ll_exti.h | 12 +- .../Inc/stm32f1xx_ll_fsmc.h | 29 +- .../Inc/stm32f1xx_ll_gpio.h | 78 +- .../Inc/stm32f1xx_ll_i2c.h | 56 +- .../Inc/stm32f1xx_ll_iwdg.h | 13 +- .../Inc/stm32f1xx_ll_pwr.h | 13 +- .../Inc/stm32f1xx_ll_rcc.h | 13 +- .../Inc/stm32f1xx_ll_rtc.h | 13 +- .../Inc/stm32f1xx_ll_sdmmc.h | 34 +- .../Inc/stm32f1xx_ll_spi.h | 12 +- .../Inc/stm32f1xx_ll_system.h | 25 +- .../Inc/stm32f1xx_ll_tim.h | 172 +- .../Inc/stm32f1xx_ll_usart.h | 178 +- .../Inc/stm32f1xx_ll_usb.h | 442 +- .../Inc/stm32f1xx_ll_utils.h | 24 +- .../Inc/stm32f1xx_ll_wwdg.h | 13 +- Drivers/STM32F1xx_HAL_Driver/License.md | 2 +- Drivers/STM32F1xx_HAL_Driver/README.md | 19 +- .../STM32F1xx_HAL_Driver/Release_Notes.html | 204 +- .../Src/Legacy/stm32f1xx_hal_can.c | 40 +- .../STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c | 31 +- .../Src/stm32f1xx_hal_adc.c | 79 +- .../Src/stm32f1xx_hal_adc_ex.c | 68 +- .../Src/stm32f1xx_hal_can.c | 97 +- .../Src/stm32f1xx_hal_cec.c | 556 +-- .../Src/stm32f1xx_hal_cortex.c | 12 +- .../Src/stm32f1xx_hal_crc.c | 28 +- .../Src/stm32f1xx_hal_dac.c | 169 +- .../Src/stm32f1xx_hal_dac_ex.c | 66 +- .../Src/stm32f1xx_hal_dma.c | 20 +- .../Src/stm32f1xx_hal_eth.c | 26 +- .../Src/stm32f1xx_hal_exti.c | 30 +- .../Src/stm32f1xx_hal_flash.c | 13 +- .../Src/stm32f1xx_hal_flash_ex.c | 21 +- .../Src/stm32f1xx_hal_gpio.c | 73 +- .../Src/stm32f1xx_hal_gpio_ex.c | 23 +- .../Src/stm32f1xx_hal_hcd.c | 603 +-- .../Src/stm32f1xx_hal_i2c.c | 464 +- .../Src/stm32f1xx_hal_i2s.c | 25 +- .../Src/stm32f1xx_hal_irda.c | 114 +- .../Src/stm32f1xx_hal_iwdg.c | 27 +- .../Src/stm32f1xx_hal_mmc.c | 490 ++- .../Src/stm32f1xx_hal_msp_template.c | 13 +- .../Src/stm32f1xx_hal_nand.c | 108 +- .../Src/stm32f1xx_hal_nor.c | 295 +- .../Src/stm32f1xx_hal_pccard.c | 40 +- .../Src/stm32f1xx_hal_pcd.c | 403 +- .../Src/stm32f1xx_hal_pcd_ex.c | 15 +- .../Src/stm32f1xx_hal_pwr.c | 13 +- .../Src/stm32f1xx_hal_rcc.c | 25 +- .../Src/stm32f1xx_hal_rcc_ex.c | 21 +- .../Src/stm32f1xx_hal_rtc.c | 57 +- .../Src/stm32f1xx_hal_rtc_ex.c | 20 +- .../Src/stm32f1xx_hal_sd.c | 43 +- .../Src/stm32f1xx_hal_smartcard.c | 86 +- .../Src/stm32f1xx_hal_spi.c | 114 +- .../Src/stm32f1xx_hal_sram.c | 78 +- .../Src/stm32f1xx_hal_tim.c | 986 +++-- .../Src/stm32f1xx_hal_tim_ex.c | 340 +- ...tm32f1xx_hal_timebase_rtc_alarm_template.c | 25 +- .../Src/stm32f1xx_hal_timebase_tim_template.c | 15 +- .../Src/stm32f1xx_hal_uart.c | 442 +- .../Src/stm32f1xx_hal_usart.c | 165 +- .../Src/stm32f1xx_hal_wwdg.c | 28 +- .../Src/stm32f1xx_ll_adc.c | 21 +- .../Src/stm32f1xx_ll_crc.c | 16 +- .../Src/stm32f1xx_ll_dac.c | 81 +- .../Src/stm32f1xx_ll_dma.c | 12 +- .../Src/stm32f1xx_ll_exti.c | 12 +- .../Src/stm32f1xx_ll_fsmc.c | 27 +- .../Src/stm32f1xx_ll_gpio.c | 12 +- .../Src/stm32f1xx_ll_i2c.c | 12 +- .../Src/stm32f1xx_ll_pwr.c | 13 +- .../Src/stm32f1xx_ll_rcc.c | 13 +- .../Src/stm32f1xx_ll_rtc.c | 13 +- .../Src/stm32f1xx_ll_sdmmc.c | 195 +- .../Src/stm32f1xx_ll_spi.c | 14 +- .../Src/stm32f1xx_ll_tim.c | 91 +- .../Src/stm32f1xx_ll_usart.c | 52 +- .../Src/stm32f1xx_ll_usb.c | 550 ++- .../Src/stm32f1xx_ll_utils.c | 13 +- .../STM32F1xx_HAL_Driver/_htmresc/favicon.png | Bin 0 -> 4126 bytes .../_htmresc/mini-st_2020.css | 1703 ++++++++ .../STM32F1xx_HAL_Driver/_htmresc/st_logo.png | Bin 18616 -> 0 bytes .../_htmresc/st_logo_2020.png | Bin 0 -> 7520 bytes .../Core/Src/usbd_core.c | 2 +- .../Third_Party/FreeRTOS/License/license.txt | 37 - Projects/Release_Notes.html | 2589 +++++++++++ .../FatFs_uSD/EWARM/startup_stm32f107xc.s | 12 +- .../Applications/FatFs/FatFs_uSD/Inc/ffconf.h | 2 +- .../Applications/FatFs/FatFs_uSD/Inc/main.h | 13 +- .../FatFs/FatFs_uSD/Inc/stm32f1xx_hal_conf.h | 14 +- .../FatFs/FatFs_uSD/Inc/stm32f1xx_it.h | 13 +- .../FatFs_uSD/MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../FatFs_uSD/SW4STM32/startup_stm32f107xc.s | 16 +- .../Applications/FatFs/FatFs_uSD/Src/main.c | 13 +- .../FatFs/FatFs_uSD/Src/stm32f1xx_it.c | 13 +- .../FatFs/FatFs_uSD/Src/system_stm32f1xx.c | 12 +- .../Applications/FatFs/FatFs_uSD/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../FreeRTOS_ThreadCreation/Inc/main.h | 14 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../FreeRTOS_ThreadCreation/Src/main.c | 13 +- .../Src/stm32f1xx_hal_timebase_tim.c | 15 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../FreeRTOS_ThreadCreation/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../IAP/IAP_Binary_Template/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../IAP_Binary_Template/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../IAP/IAP_Binary_Template/Src/main.c | 13 +- .../IAP_Binary_Template/Src/stm32f1xx_it.c | 14 +- .../Src/system_stm32f1xx.c | 12 +- .../IAP/IAP_Binary_Template/readme.txt | 13 +- .../IAP/IAP_Main/EWARM/startup_stm32f107xc.s | 12 +- .../Applications/IAP/IAP_Main/Inc/common.h | 13 +- .../Applications/IAP/IAP_Main/Inc/flash_if.h | 15 +- .../Applications/IAP/IAP_Main/Inc/main.h | 13 +- .../Applications/IAP/IAP_Main/Inc/menu.h | 13 +- .../IAP/IAP_Main/Inc/stm32f1xx_hal_conf.h | 14 +- .../IAP/IAP_Main/Inc/stm32f1xx_it.h | 13 +- .../Applications/IAP/IAP_Main/Inc/ymodem.h | 13 +- .../IAP_Main/MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../IAP_Main/SW4STM32/startup_stm32f107xc.s | 16 +- .../Applications/IAP/IAP_Main/Src/common.c | 13 +- .../Applications/IAP/IAP_Main/Src/flash_if.c | 13 +- .../Applications/IAP/IAP_Main/Src/main.c | 13 +- .../Applications/IAP/IAP_Main/Src/menu.c | 13 +- .../IAP/IAP_Main/Src/stm32f1xx_it.c | 14 +- .../IAP/IAP_Main/Src/system_stm32f1xx.c | 12 +- .../Applications/IAP/IAP_Main/Src/ymodem.c | 15 +- .../Applications/IAP/IAP_Main/readme.txt | 13 +- .../STM3210C_EVAL/Applications/LICENSE.md | 80 + .../EWARM/startup_stm32f107xc.s | 12 +- .../LwIP_TCP_Echo_Client/Inc/app_ethernet.h | 15 +- .../LwIP_TCP_Echo_Client/Inc/ethernetif.h | 11 +- .../LwIP_TCP_Echo_Client/Inc/lcd_log_conf.h | 13 +- .../LwIP/LwIP_TCP_Echo_Client/Inc/lwipopts.h | 15 +- .../LwIP/LwIP_TCP_Echo_Client/Inc/main.h | 14 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../LwIP_TCP_Echo_Client/Inc/stm32f1xx_it.h | 13 +- .../LwIP_TCP_Echo_Client/Inc/tcp_echoclient.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../LwIP_TCP_Echo_Client/Src/app_ethernet.c | 17 +- .../LwIP_TCP_Echo_Client/Src/ethernetif.c | 14 +- .../LwIP/LwIP_TCP_Echo_Client/Src/main.c | 13 +- .../LwIP_TCP_Echo_Client/Src/stm32f1xx_it.c | 14 +- .../Src/system_stm32f1xx.c | 12 +- .../LwIP_TCP_Echo_Client/Src/tcp_echoclient.c | 19 +- .../LwIP/LwIP_TCP_Echo_Client/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../LwIP_TCP_Echo_Server/Inc/app_ethernet.h | 15 +- .../LwIP_TCP_Echo_Server/Inc/ethernetif.h | 11 +- .../LwIP_TCP_Echo_Server/Inc/lcd_log_conf.h | 13 +- .../LwIP/LwIP_TCP_Echo_Server/Inc/lwipopts.h | 15 +- .../LwIP/LwIP_TCP_Echo_Server/Inc/main.h | 14 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../LwIP_TCP_Echo_Server/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../LwIP_TCP_Echo_Server/Src/app_ethernet.c | 17 +- .../LwIP_TCP_Echo_Server/Src/ethernetif.c | 14 +- .../LwIP/LwIP_TCP_Echo_Server/Src/main.c | 13 +- .../LwIP_TCP_Echo_Server/Src/stm32f1xx_it.c | 14 +- .../Src/system_stm32f1xx.c | 12 +- .../LwIP_TCP_Echo_Server/Src/tcp_echoserver.c | 6 +- .../LwIP/LwIP_TCP_Echo_Server/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../LwIP_UDP_Echo_Client/Inc/app_ethernet.h | 15 +- .../LwIP_UDP_Echo_Client/Inc/ethernetif.h | 11 +- .../LwIP_UDP_Echo_Client/Inc/lcd_log_conf.h | 13 +- .../LwIP/LwIP_UDP_Echo_Client/Inc/lwipopts.h | 15 +- .../LwIP/LwIP_UDP_Echo_Client/Inc/main.h | 14 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../LwIP_UDP_Echo_Client/Inc/stm32f1xx_it.h | 13 +- .../LwIP_UDP_Echo_Client/Inc/udp_echoclient.h | 14 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../LwIP_UDP_Echo_Client/Src/app_ethernet.c | 17 +- .../LwIP_UDP_Echo_Client/Src/ethernetif.c | 14 +- .../LwIP/LwIP_UDP_Echo_Client/Src/main.c | 13 +- .../LwIP_UDP_Echo_Client/Src/stm32f1xx_it.c | 14 +- .../Src/system_stm32f1xx.c | 12 +- .../LwIP_UDP_Echo_Client/Src/udp_echoclient.c | 13 +- .../LwIP/LwIP_UDP_Echo_Client/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../LwIP_UDP_Echo_Server/Inc/app_ethernet.h | 15 +- .../LwIP_UDP_Echo_Server/Inc/ethernetif.h | 11 +- .../LwIP_UDP_Echo_Server/Inc/lcd_log_conf.h | 13 +- .../LwIP/LwIP_UDP_Echo_Server/Inc/lwipopts.h | 15 +- .../LwIP/LwIP_UDP_Echo_Server/Inc/main.h | 14 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../LwIP_UDP_Echo_Server/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../LwIP_UDP_Echo_Server/Src/app_ethernet.c | 17 +- .../LwIP_UDP_Echo_Server/Src/ethernetif.c | 14 +- .../LwIP/LwIP_UDP_Echo_Server/Src/main.c | 13 +- .../LwIP_UDP_Echo_Server/Src/stm32f1xx_it.c | 14 +- .../Src/system_stm32f1xx.c | 12 +- .../LwIP_UDP_Echo_Server/Src/udp_echoserver.c | 13 +- .../LwIP/LwIP_UDP_Echo_Server/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../USB_Device/CDC_Standalone/Inc/main.h | 13 +- .../CDC_Standalone/Inc/stm32f1xx_hal_conf.h | 14 +- .../CDC_Standalone/Inc/stm32f1xx_it.h | 13 +- .../CDC_Standalone/Inc/usbd_cdc_interface.h | 13 +- .../USB_Device/CDC_Standalone/Inc/usbd_conf.h | 13 +- .../USB_Device/CDC_Standalone/Inc/usbd_desc.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../USB_Device/CDC_Standalone/Src/main.c | 13 +- .../CDC_Standalone/Src/stm32f1xx_hal_msp.c | 13 +- .../CDC_Standalone/Src/stm32f1xx_it.c | 13 +- .../CDC_Standalone/Src/system_stm32f1xx.c | 12 +- .../CDC_Standalone/Src/usbd_cdc_interface.c | 13 +- .../USB_Device/CDC_Standalone/Src/usbd_conf.c | 15 +- .../USB_Device/CDC_Standalone/Src/usbd_desc.c | 16 +- .../USB_Device/CDC_Standalone/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../CustomHID_Standalone/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../CustomHID_Standalone/Inc/stm32f1xx_it.h | 13 +- .../CustomHID_Standalone/Inc/usbd_conf.h | 13 +- .../Inc/usbd_customhid_if.h | 13 +- .../CustomHID_Standalone/Inc/usbd_desc.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../CustomHID_Standalone/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 14 +- .../CustomHID_Standalone/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../CustomHID_Standalone/Src/usbd_conf.c | 15 +- .../Src/usbd_customhid_if.c | 17 +- .../CustomHID_Standalone/Src/usbd_desc.c | 15 +- .../CustomHID_Standalone/readme.txt | 16 +- .../DFU_Standalone/Binary/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../USB_Device/DFU_Standalone/Inc/main.h | 13 +- .../DFU_Standalone/Inc/stm32f1xx_hal_conf.h | 14 +- .../DFU_Standalone/Inc/stm32f1xx_it.h | 13 +- .../USB_Device/DFU_Standalone/Inc/usbd_conf.h | 13 +- .../USB_Device/DFU_Standalone/Inc/usbd_desc.h | 13 +- .../DFU_Standalone/Inc/usbd_dfu_flash.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../USB_Device/DFU_Standalone/Src/main.c | 15 +- .../DFU_Standalone/Src/stm32f1xx_it.c | 13 +- .../DFU_Standalone/Src/system_stm32f1xx.c | 12 +- .../USB_Device/DFU_Standalone/Src/usbd_conf.c | 15 +- .../USB_Device/DFU_Standalone/Src/usbd_desc.c | 15 +- .../DFU_Standalone/Src/usbd_dfu_flash.c | 13 +- .../USB_Device/DFU_Standalone/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../USB_Device/HID_Standalone/Inc/main.h | 13 +- .../HID_Standalone/Inc/stm32f1xx_hal_conf.h | 14 +- .../HID_Standalone/Inc/stm32f1xx_it.h | 13 +- .../USB_Device/HID_Standalone/Inc/usbd_conf.h | 13 +- .../USB_Device/HID_Standalone/Inc/usbd_desc.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../USB_Device/HID_Standalone/Src/main.c | 13 +- .../HID_Standalone/Src/stm32f1xx_it.c | 14 +- .../HID_Standalone/Src/system_stm32f1xx.c | 12 +- .../USB_Device/HID_Standalone/Src/usbd_conf.c | 15 +- .../USB_Device/HID_Standalone/Src/usbd_desc.c | 15 +- .../USB_Device/HID_Standalone/readme.txt | 16 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../USB_Device/MSC_Standalone/Inc/main.h | 13 +- .../MSC_Standalone/Inc/stm32f1xx_hal_conf.h | 14 +- .../MSC_Standalone/Inc/stm32f1xx_it.h | 13 +- .../USB_Device/MSC_Standalone/Inc/usbd_conf.h | 13 +- .../USB_Device/MSC_Standalone/Inc/usbd_desc.h | 13 +- .../MSC_Standalone/Inc/usbd_storage.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../USB_Device/MSC_Standalone/Src/main.c | 13 +- .../MSC_Standalone/Src/stm32f1xx_it.c | 13 +- .../MSC_Standalone/Src/system_stm32f1xx.c | 12 +- .../USB_Device/MSC_Standalone/Src/usbd_conf.c | 15 +- .../USB_Device/MSC_Standalone/Src/usbd_desc.c | 15 +- .../MSC_Standalone/Src/usbd_storage.c | 16 +- .../USB_Device/MSC_Standalone/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../USB_Host/CDC_Standalone/Inc/ffconf.h | 2 +- .../CDC_Standalone/Inc/lcd_log_conf.h | 13 +- .../USB_Host/CDC_Standalone/Inc/main.h | 13 +- .../CDC_Standalone/Inc/stm32f1xx_hal_conf.h | 14 +- .../CDC_Standalone/Inc/stm32f1xx_it.h | 13 +- .../USB_Host/CDC_Standalone/Inc/usbh_conf.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../CDC_Standalone/Src/cdc_configuration.c | 17 +- .../USB_Host/CDC_Standalone/Src/cdc_receive.c | 13 +- .../USB_Host/CDC_Standalone/Src/cdc_send.c | 13 +- .../USB_Host/CDC_Standalone/Src/explorer.c | 13 +- .../USB_Host/CDC_Standalone/Src/main.c | 13 +- .../USB_Host/CDC_Standalone/Src/menu.c | 13 +- .../CDC_Standalone/Src/stm32f1xx_it.c | 14 +- .../CDC_Standalone/Src/system_stm32f1xx.c | 12 +- .../USB_Host/CDC_Standalone/Src/usbh_conf.c | 13 +- .../USB_Host/CDC_Standalone/readme.txt | 13 +- .../HID_RTOS/EWARM/startup_stm32f107xc.s | 12 +- .../USB_Host/HID_RTOS/Inc/lcd_log_conf.h | 13 +- .../Applications/USB_Host/HID_RTOS/Inc/main.h | 13 +- .../HID_RTOS/Inc/stm32f1xx_hal_conf.h | 14 +- .../USB_Host/HID_RTOS/Inc/stm32f1xx_it.h | 13 +- .../USB_Host/HID_RTOS/Inc/usbh_conf.h | 13 +- .../HID_RTOS/MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../HID_RTOS/SW4STM32/startup_stm32f107xc.s | 16 +- .../USB_Host/HID_RTOS/Src/keyboard.c | 15 +- .../Applications/USB_Host/HID_RTOS/Src/main.c | 13 +- .../Applications/USB_Host/HID_RTOS/Src/menu.c | 13 +- .../USB_Host/HID_RTOS/Src/mouse.c | 17 +- .../HID_RTOS/Src/stm32f1xx_hal_timebase_tim.c | 15 +- .../USB_Host/HID_RTOS/Src/stm32f1xx_it.c | 14 +- .../USB_Host/HID_RTOS/Src/system_stm32f1xx.c | 12 +- .../USB_Host/HID_RTOS/Src/usbh_conf.c | 13 +- .../Applications/USB_Host/HID_RTOS/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../HID_Standalone/Inc/lcd_log_conf.h | 13 +- .../USB_Host/HID_Standalone/Inc/main.h | 13 +- .../HID_Standalone/Inc/stm32f1xx_hal_conf.h | 14 +- .../HID_Standalone/Inc/stm32f1xx_it.h | 13 +- .../USB_Host/HID_Standalone/Inc/usbh_conf.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../USB_Host/HID_Standalone/Src/keyboard.c | 13 +- .../USB_Host/HID_Standalone/Src/main.c | 13 +- .../USB_Host/HID_Standalone/Src/menu.c | 13 +- .../USB_Host/HID_Standalone/Src/mouse.c | 17 +- .../HID_Standalone/Src/stm32f1xx_it.c | 14 +- .../HID_Standalone/Src/system_stm32f1xx.c | 12 +- .../USB_Host/HID_Standalone/Src/usbh_conf.c | 13 +- .../USB_Host/HID_Standalone/readme.txt | 13 +- .../MSC_RTOS/EWARM/startup_stm32f107xc.s | 12 +- .../USB_Host/MSC_RTOS/Inc/ffconf.h | 2 +- .../USB_Host/MSC_RTOS/Inc/lcd_log_conf.h | 13 +- .../Applications/USB_Host/MSC_RTOS/Inc/main.h | 13 +- .../MSC_RTOS/Inc/stm32f1xx_hal_conf.h | 14 +- .../USB_Host/MSC_RTOS/Inc/stm32f1xx_it.h | 13 +- .../USB_Host/MSC_RTOS/Inc/usbh_conf.h | 13 +- .../MSC_RTOS/MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../MSC_RTOS/SW4STM32/startup_stm32f107xc.s | 16 +- .../USB_Host/MSC_RTOS/Src/explorer.c | 13 +- .../USB_Host/MSC_RTOS/Src/file_operations.c | 13 +- .../Applications/USB_Host/MSC_RTOS/Src/main.c | 13 +- .../Applications/USB_Host/MSC_RTOS/Src/menu.c | 13 +- .../MSC_RTOS/Src/stm32f1xx_hal_timebase_tim.c | 15 +- .../USB_Host/MSC_RTOS/Src/stm32f1xx_it.c | 14 +- .../USB_Host/MSC_RTOS/Src/system_stm32f1xx.c | 12 +- .../USB_Host/MSC_RTOS/Src/usbh_conf.c | 13 +- .../USB_Host/MSC_RTOS/Src/usbh_diskio.c | 13 +- .../Applications/USB_Host/MSC_RTOS/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../USB_Host/MSC_Standalone/Inc/ffconf.h | 2 +- .../MSC_Standalone/Inc/lcd_log_conf.h | 13 +- .../USB_Host/MSC_Standalone/Inc/main.h | 13 +- .../MSC_Standalone/Inc/stm32f1xx_hal_conf.h | 14 +- .../MSC_Standalone/Inc/stm32f1xx_it.h | 13 +- .../USB_Host/MSC_Standalone/Inc/usbh_conf.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../USB_Host/MSC_Standalone/Src/explorer.c | 13 +- .../MSC_Standalone/Src/file_operations.c | 13 +- .../USB_Host/MSC_Standalone/Src/main.c | 13 +- .../USB_Host/MSC_Standalone/Src/menu.c | 13 +- .../MSC_Standalone/Src/stm32f1xx_it.c | 14 +- .../MSC_Standalone/Src/system_stm32f1xx.c | 12 +- .../USB_Host/MSC_Standalone/Src/usbh_conf.c | 13 +- .../USB_Host/MSC_Standalone/Src/usbh_diskio.c | 13 +- .../USB_Host/MSC_Standalone/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../ADC/ADC_DualModeInterleaved/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../ADC/ADC_DualModeInterleaved/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../ADC/ADC_DualModeInterleaved/readme.txt | 15 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../ADC_Regular_injected_groups/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../ADC_Regular_injected_groups/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../ADC_Regular_injected_groups/readme.txt | 13 +- .../Examples/BSP/EWARM/startup_stm32f107xc.s | 12 +- .../Examples/BSP/Inc/lcd_log_conf.h | 13 +- .../STM3210C_EVAL/Examples/BSP/Inc/main.h | 13 +- .../Examples/BSP/Inc/stm32f1xx_hal_conf.h | 14 +- .../Examples/BSP/Inc/stm32f1xx_it.h | 13 +- .../BSP/MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../BSP/SW4STM32/startup_stm32f107xc.s | 16 +- .../Examples/BSP/Src/audio_play.c | 14 +- .../STM3210C_EVAL/Examples/BSP/Src/eeprom.c | 12 +- .../STM3210C_EVAL/Examples/BSP/Src/joystick.c | 13 +- Projects/STM3210C_EVAL/Examples/BSP/Src/lcd.c | 12 +- Projects/STM3210C_EVAL/Examples/BSP/Src/log.c | 13 +- .../STM3210C_EVAL/Examples/BSP/Src/main.c | 13 +- .../STM3210C_EVAL/Examples/BSP/Src/mems.c | 12 +- Projects/STM3210C_EVAL/Examples/BSP/Src/sd.c | 13 +- .../Examples/BSP/Src/stm32f1xx_it.c | 13 +- .../Examples/BSP/Src/system_stm32f1xx.c | 12 +- .../Examples/BSP/Src/touchscreen.c | 13 +- .../Examples/BSP/Src/ts_calibration.c | 13 +- .../STM3210C_EVAL/Examples/BSP/readme.txt | 13 +- .../CRC_Example/EWARM/startup_stm32f107xc.s | 12 +- .../Examples/CRC/CRC_Example/Inc/main.h | 13 +- .../CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h | 14 +- .../CRC/CRC_Example/Inc/stm32f1xx_it.h | 13 +- .../CRC_Example/MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../Examples/CRC/CRC_Example/Src/main.c | 13 +- .../CRC/CRC_Example/Src/stm32f1xx_hal_msp.c | 13 +- .../CRC/CRC_Example/Src/stm32f1xx_it.c | 13 +- .../CRC/CRC_Example/Src/system_stm32f1xx.c | 12 +- .../Examples/CRC/CRC_Example/readme.txt | 18 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../DAC/DAC_SignalsGeneration/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../DAC_SignalsGeneration/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../DAC/DAC_SignalsGeneration/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../DAC_SignalsGeneration/Src/stm32f1xx_it.c | 14 +- .../Src/system_stm32f1xx.c | 12 +- .../DAC/DAC_SignalsGeneration/readme.txt | 14 +- .../GPIO_IOToggle/EWARM/startup_stm32f107xc.s | 12 +- .../Examples/GPIO/GPIO_IOToggle/Inc/main.h | 13 +- .../GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h | 14 +- .../GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../Examples/GPIO/GPIO_IOToggle/Src/main.c | 13 +- .../GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c | 13 +- .../GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c | 12 +- .../Examples/GPIO/GPIO_IOToggle/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h | 12 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../HAL/HAL_TimeBase_RTC_ALARM/Src/main.c | 13 +- .../Src/stm32f1xx_hal_timebase_rtc_alarm.c | 21 +- .../HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../HAL/HAL_TimeBase_RTC_ALARM/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../Examples/HAL/HAL_TimeBase_TIM/Inc/main.h | 13 +- .../HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h | 14 +- .../HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../Examples/HAL/HAL_TimeBase_TIM/Src/main.c | 13 +- .../Src/stm32f1xx_hal_timebase_tim.c | 15 +- .../HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c | 13 +- .../HAL_TimeBase_TIM/Src/system_stm32f1xx.c | 12 +- .../Examples/HAL/HAL_TimeBase_TIM/readme.txt | 13 +- .../I2S/I2S_Audio/EWARM/startup_stm32f107xc.s | 12 +- .../Examples/I2S/I2S_Audio/Inc/main.h | 13 +- .../I2S/I2S_Audio/Inc/stm32f1xx_hal_conf.h | 14 +- .../Examples/I2S/I2S_Audio/Inc/stm32f1xx_it.h | 13 +- .../I2S_Audio/MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../I2S_Audio/SW4STM32/startup_stm32f107xc.s | 16 +- .../Examples/I2S/I2S_Audio/Src/main.c | 15 +- .../I2S/I2S_Audio/Src/stm32f1xx_hal_msp.c | 13 +- .../Examples/I2S/I2S_Audio/Src/stm32f1xx_it.c | 13 +- .../I2S/I2S_Audio/Src/system_stm32f1xx.c | 12 +- .../Examples/I2S/I2S_Audio/readme.txt | 14 +- .../IWDG_Example/EWARM/startup_stm32f107xc.s | 12 +- .../Examples/IWDG/IWDG_Example/Inc/main.h | 13 +- .../IWDG_Example/Inc/stm32f1xx_hal_conf.h | 14 +- .../IWDG/IWDG_Example/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../Examples/IWDG/IWDG_Example/Src/main.c | 13 +- .../IWDG/IWDG_Example/Src/stm32f1xx_hal_msp.c | 13 +- .../IWDG/IWDG_Example/Src/stm32f1xx_it.c | 13 +- .../IWDG/IWDG_Example/Src/system_stm32f1xx.c | 12 +- .../Examples/IWDG/IWDG_Example/readme.txt | 13 +- Projects/STM3210C_EVAL/Examples/LICENSE.md | 27 + .../EWARM/startup_stm32f107xc.s | 12 +- .../Examples/RCC/RCC_ClockConfig/Inc/main.h | 13 +- .../RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h | 14 +- .../RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../Examples/RCC/RCC_ClockConfig/Src/main.c | 13 +- .../RCC/RCC_ClockConfig/Src/stm32f1xx_it.c | 13 +- .../RCC_ClockConfig/Src/system_stm32f1xx.c | 12 +- .../Examples/RCC/RCC_ClockConfig/readme.txt | 13 +- .../RTC/RTC_LSI/EWARM/startup_stm32f107xc.s | 12 +- .../Examples/RTC/RTC_LSI/Inc/main.h | 13 +- .../RTC/RTC_LSI/Inc/stm32f1xx_hal_conf.h | 14 +- .../Examples/RTC/RTC_LSI/Inc/stm32f1xx_it.h | 13 +- .../RTC/RTC_LSI/MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../RTC_LSI/SW4STM32/startup_stm32f107xc.s | 16 +- .../Examples/RTC/RTC_LSI/Src/main.c | 13 +- .../RTC/RTC_LSI/Src/stm32f1xx_hal_msp.c | 15 +- .../Examples/RTC/RTC_LSI/Src/stm32f1xx_it.c | 13 +- .../RTC/RTC_LSI/Src/system_stm32f1xx.c | 12 +- .../Examples/RTC/RTC_LSI/readme.txt | 13 +- .../SMARTCARD_T0/EWARM/startup_stm32f107xc.s | 12 +- .../SMARTCARD/SMARTCARD_T0/Inc/main.h | 13 +- .../SMARTCARD_T0/Inc/platform_config.h | 15 +- .../SMARTCARD/SMARTCARD_T0/Inc/smartcard.h | 19 +- .../SMARTCARD_T0/Inc/stm32f1xx_hal_conf.h | 14 +- .../SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../SMARTCARD/SMARTCARD_T0/Src/main.c | 13 +- .../SMARTCARD/SMARTCARD_T0/Src/smartcard.c | 13 +- .../SMARTCARD_T0/Src/stm32f1xx_hal_msp.c | 13 +- .../SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_it.c | 13 +- .../SMARTCARD_T0/Src/system_stm32f1xx.c | 12 +- .../SMARTCARD/SMARTCARD_T0/readme.txt | 13 +- .../TIM_TimeBase/EWARM/startup_stm32f107xc.s | 12 +- .../Examples/TIM/TIM_TimeBase/Inc/main.h | 13 +- .../TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h | 14 +- .../TIM/TIM_TimeBase/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../Examples/TIM/TIM_TimeBase/Src/main.c | 13 +- .../TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c | 13 +- .../TIM/TIM_TimeBase/Src/stm32f1xx_it.c | 13 +- .../TIM/TIM_TimeBase/Src/system_stm32f1xx.c | 12 +- .../Examples/TIM/TIM_TimeBase/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../UART/UART_HyperTerminal_DMA/Inc/main.h | 15 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../UART_HyperTerminal_DMA/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../UART/UART_HyperTerminal_DMA/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../UART_HyperTerminal_DMA/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../UART/UART_HyperTerminal_DMA/readme.txt | 13 +- .../UART_Printf/EWARM/startup_stm32f107xc.s | 12 +- .../Examples/UART/UART_Printf/Inc/main.h | 13 +- .../UART/UART_Printf/Inc/stm32f1xx_hal_conf.h | 14 +- .../UART/UART_Printf/Inc/stm32f1xx_it.h | 13 +- .../UART_Printf/MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../Examples/UART/UART_Printf/Src/main.c | 13 +- .../UART/UART_Printf/Src/stm32f1xx_hal_msp.c | 13 +- .../UART/UART_Printf/Src/stm32f1xx_it.c | 13 +- .../UART/UART_Printf/Src/system_stm32f1xx.c | 12 +- .../Examples/UART/UART_Printf/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../UART/UART_TwoBoards_ComDMA/Inc/main.h | 15 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../UART_TwoBoards_ComDMA/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../UART/UART_TwoBoards_ComDMA/Src/main.c | 17 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../UART_TwoBoards_ComDMA/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../UART/UART_TwoBoards_ComDMA/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../UART/UART_TwoBoards_ComIT/Inc/main.h | 15 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../UART_TwoBoards_ComIT/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../UART/UART_TwoBoards_ComIT/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../UART_TwoBoards_ComIT/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../UART/UART_TwoBoards_ComIT/readme.txt | 13 +- .../EWARM/startup_stm32f107xc.s | 12 +- .../UART/UART_TwoBoards_ComPolling/Inc/main.h | 15 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../UART/UART_TwoBoards_ComPolling/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../UART/UART_TwoBoards_ComPolling/readme.txt | 13 +- .../Templates/EWARM/startup_stm32f107xc.s | 12 +- Projects/STM3210C_EVAL/Templates/Inc/main.h | 13 +- .../Templates/Inc/stm32f1xx_hal_conf.h | 14 +- .../Templates/Inc/stm32f1xx_it.h | 13 +- Projects/STM3210C_EVAL/Templates/LICENSE.md | 27 + .../Templates/MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C_EVAL/STM32F107RCTx_FLASH.ld | 2 +- .../Templates/SW4STM32/startup_stm32f107xc.s | 16 +- Projects/STM3210C_EVAL/Templates/Src/main.c | 13 +- .../Templates/Src/stm32f1xx_hal_msp.c | 13 +- .../Templates/Src/stm32f1xx_it.c | 13 +- .../Templates/Src/system_stm32f1xx.c | 12 +- Projects/STM3210C_EVAL/Templates/readme.txt | 13 +- .../Templates_LL/EWARM/startup_stm32f107xc.s | 12 +- .../STM3210C_EVAL/Templates_LL/Inc/main.h | 13 +- .../Templates_LL/Inc/stm32_assert.h | 14 +- .../Templates_LL/Inc/stm32f1xx_it.h | 13 +- .../STM3210C_EVAL/Templates_LL/LICENSE.md | 27 + .../MDK-ARM/startup_stm32f107xc.s | 9 +- .../STM3210C-EVAL/STM32F107VCTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f107xc.s | 16 +- .../STM3210C_EVAL/Templates_LL/Src/main.c | 13 +- .../Templates_LL/Src/stm32f1xx_it.c | 13 +- .../Templates_LL/Src/system_stm32f1xx.c | 12 +- .../STM3210C_EVAL/Templates_LL/readme.txt | 13 +- .../FatFs_uSD/EWARM/startup_stm32f103xg.s | 13 +- .../Applications/FatFs/FatFs_uSD/Inc/ffconf.h | 2 +- .../Applications/FatFs/FatFs_uSD/Inc/main.h | 13 +- .../FatFs/FatFs_uSD/Inc/stm32f1xx_hal_conf.h | 14 +- .../FatFs/FatFs_uSD/Inc/stm32f1xx_it.h | 13 +- .../FatFs_uSD/MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../FatFs_uSD/SW4STM32/startup_stm32f103xg.s | 15 +- .../Applications/FatFs/FatFs_uSD/Src/main.c | 13 +- .../FatFs/FatFs_uSD/Src/stm32f1xx_it.c | 13 +- .../FatFs/FatFs_uSD/Src/system_stm32f1xx.c | 12 +- .../Applications/FatFs/FatFs_uSD/readme.txt | 13 +- .../FreeRTOS_Mail/EWARM/startup_stm32f103xg.s | 13 +- .../FreeRTOS/FreeRTOS_Mail/Inc/main.h | 15 +- .../FreeRTOS_Mail/Inc/stm32f1xx_hal_conf.h | 14 +- .../FreeRTOS/FreeRTOS_Mail/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../FreeRTOS/FreeRTOS_Mail/Src/main.c | 13 +- .../Src/stm32f1xx_hal_timebase_tim.c | 15 +- .../FreeRTOS/FreeRTOS_Mail/Src/stm32f1xx_it.c | 13 +- .../FreeRTOS_Mail/Src/system_stm32f1xx.c | 12 +- .../FreeRTOS/FreeRTOS_Mail/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../FreeRTOS/FreeRTOS_Signal/Inc/main.h | 15 +- .../FreeRTOS_Signal/Inc/stm32f1xx_hal_conf.h | 14 +- .../FreeRTOS_Signal/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../FreeRTOS/FreeRTOS_Signal/Src/main.c | 13 +- .../Src/stm32f1xx_hal_timebase_tim.c | 15 +- .../FreeRTOS_Signal/Src/stm32f1xx_it.c | 13 +- .../FreeRTOS_Signal/Src/system_stm32f1xx.c | 12 +- .../FreeRTOS/FreeRTOS_Signal/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../FreeRTOS_SignalFromISR/Inc/main.h | 15 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../FreeRTOS_SignalFromISR/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../FreeRTOS_SignalFromISR/Src/main.c | 13 +- .../Src/stm32f1xx_hal_timebase_tim.c | 15 +- .../FreeRTOS_SignalFromISR/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../FreeRTOS_SignalFromISR/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../FreeRTOS_ThreadCreation/Inc/main.h | 14 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../FreeRTOS_ThreadCreation/Src/main.c | 13 +- .../Src/stm32f1xx_hal_timebase_tim.c | 15 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../FreeRTOS_ThreadCreation/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../IAP/IAP_Binary_Template/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../IAP_Binary_Template/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../IAP/IAP_Binary_Template/Src/main.c | 13 +- .../IAP_Binary_Template/Src/stm32f1xx_it.c | 14 +- .../Src/system_stm32f1xx.c | 12 +- .../IAP/IAP_Binary_Template/readme.txt | 13 +- .../IAP/IAP_Main/EWARM/startup_stm32f103xg.s | 13 +- .../Applications/IAP/IAP_Main/Inc/common.h | 13 +- .../Applications/IAP/IAP_Main/Inc/flash_if.h | 15 +- .../Applications/IAP/IAP_Main/Inc/main.h | 13 +- .../Applications/IAP/IAP_Main/Inc/menu.h | 13 +- .../IAP/IAP_Main/Inc/stm32f1xx_hal_conf.h | 14 +- .../IAP/IAP_Main/Inc/stm32f1xx_it.h | 13 +- .../Applications/IAP/IAP_Main/Inc/ymodem.h | 13 +- .../IAP_Main/MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../IAP_Main/SW4STM32/startup_stm32f103xg.s | 15 +- .../Applications/IAP/IAP_Main/Src/common.c | 13 +- .../Applications/IAP/IAP_Main/Src/flash_if.c | 13 +- .../Applications/IAP/IAP_Main/Src/main.c | 13 +- .../Applications/IAP/IAP_Main/Src/menu.c | 13 +- .../IAP/IAP_Main/Src/stm32f1xx_it.c | 14 +- .../IAP/IAP_Main/Src/system_stm32f1xx.c | 12 +- .../Applications/IAP/IAP_Main/Src/ymodem.c | 15 +- .../Applications/IAP/IAP_Main/readme.txt | 13 +- .../STM3210E_EVAL/Applications/LICENSE.md | 80 + .../EWARM/startup_stm32f103xg.s | 13 +- .../USB_Device/CDC_Standalone/Inc/main.h | 13 +- .../CDC_Standalone/Inc/stm32f1xx_hal_conf.h | 14 +- .../CDC_Standalone/Inc/stm32f1xx_it.h | 13 +- .../CDC_Standalone/Inc/usbd_cdc_interface.h | 13 +- .../USB_Device/CDC_Standalone/Inc/usbd_conf.h | 13 +- .../USB_Device/CDC_Standalone/Inc/usbd_desc.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../USB_Device/CDC_Standalone/Src/main.c | 13 +- .../CDC_Standalone/Src/stm32f1xx_hal_msp.c | 13 +- .../CDC_Standalone/Src/stm32f1xx_it.c | 14 +- .../CDC_Standalone/Src/system_stm32f1xx.c | 12 +- .../CDC_Standalone/Src/usbd_cdc_interface.c | 21 +- .../USB_Device/CDC_Standalone/Src/usbd_conf.c | 15 +- .../USB_Device/CDC_Standalone/Src/usbd_desc.c | 16 +- .../USB_Device/CDC_Standalone/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../CustomHID_Standalone/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../CustomHID_Standalone/Inc/stm32f1xx_it.h | 13 +- .../CustomHID_Standalone/Inc/usbd_conf.h | 13 +- .../Inc/usbd_customhid_if.h | 13 +- .../CustomHID_Standalone/Inc/usbd_desc.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../CustomHID_Standalone/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../CustomHID_Standalone/Src/stm32f1xx_it.c | 14 +- .../Src/system_stm32f1xx.c | 12 +- .../CustomHID_Standalone/Src/usbd_conf.c | 15 +- .../Src/usbd_customhid_if.c | 17 +- .../CustomHID_Standalone/Src/usbd_desc.c | 15 +- .../CustomHID_Standalone/readme.txt | 16 +- .../DFU_Standalone/Binary/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../USB_Device/DFU_Standalone/Inc/main.h | 13 +- .../DFU_Standalone/Inc/stm32f1xx_hal_conf.h | 14 +- .../DFU_Standalone/Inc/stm32f1xx_it.h | 13 +- .../USB_Device/DFU_Standalone/Inc/usbd_conf.h | 13 +- .../USB_Device/DFU_Standalone/Inc/usbd_desc.h | 13 +- .../DFU_Standalone/Inc/usbd_dfu_flash.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../USB_Device/DFU_Standalone/Src/main.c | 13 +- .../DFU_Standalone/Src/stm32f1xx_it.c | 13 +- .../DFU_Standalone/Src/system_stm32f1xx.c | 12 +- .../USB_Device/DFU_Standalone/Src/usbd_conf.c | 15 +- .../USB_Device/DFU_Standalone/Src/usbd_desc.c | 15 +- .../DFU_Standalone/Src/usbd_dfu_flash.c | 13 +- .../USB_Device/DFU_Standalone/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../USB_Device/HID_Standalone/Inc/main.h | 13 +- .../HID_Standalone/Inc/stm32f1xx_hal_conf.h | 14 +- .../HID_Standalone/Inc/stm32f1xx_it.h | 13 +- .../USB_Device/HID_Standalone/Inc/usbd_conf.h | 13 +- .../USB_Device/HID_Standalone/Inc/usbd_desc.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../USB_Device/HID_Standalone/Src/main.c | 13 +- .../HID_Standalone/Src/stm32f1xx_it.c | 14 +- .../HID_Standalone/Src/system_stm32f1xx.c | 12 +- .../USB_Device/HID_Standalone/Src/usbd_conf.c | 15 +- .../USB_Device/HID_Standalone/Src/usbd_desc.c | 15 +- .../USB_Device/HID_Standalone/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../USB_Device/MSC_Standalone/Inc/main.h | 13 +- .../MSC_Standalone/Inc/stm32f1xx_hal_conf.h | 14 +- .../MSC_Standalone/Inc/stm32f1xx_it.h | 13 +- .../USB_Device/MSC_Standalone/Inc/usbd_conf.h | 13 +- .../USB_Device/MSC_Standalone/Inc/usbd_desc.h | 13 +- .../MSC_Standalone/Inc/usbd_storage.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../USB_Device/MSC_Standalone/Src/main.c | 13 +- .../MSC_Standalone/Src/stm32f1xx_it.c | 13 +- .../MSC_Standalone/Src/system_stm32f1xx.c | 12 +- .../USB_Device/MSC_Standalone/Src/usbd_conf.c | 15 +- .../USB_Device/MSC_Standalone/Src/usbd_desc.c | 15 +- .../MSC_Standalone/Src/usbd_storage.c | 15 +- .../USB_Device/MSC_Standalone/readme.txt | 13 +- .../ADC_Sequencer/EWARM/startup_stm32f103xg.s | 13 +- .../Examples/ADC/ADC_Sequencer/Inc/main.h | 13 +- .../ADC_Sequencer/Inc/stm32f1xx_hal_conf.h | 14 +- .../ADC/ADC_Sequencer/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/ADC/ADC_Sequencer/Src/main.c | 13 +- .../ADC/ADC_Sequencer/Src/stm32f1xx_hal_msp.c | 13 +- .../ADC/ADC_Sequencer/Src/stm32f1xx_it.c | 13 +- .../ADC/ADC_Sequencer/Src/system_stm32f1xx.c | 12 +- .../Examples/ADC/ADC_Sequencer/readme.txt | 13 +- .../Examples/BSP/EWARM/startup_stm32f103xg.s | 13 +- .../Examples/BSP/Inc/lcd_log_conf.h | 13 +- .../STM3210E_EVAL/Examples/BSP/Inc/main.h | 13 +- .../Examples/BSP/Inc/stm32f1xx_hal_conf.h | 14 +- .../Examples/BSP/Inc/stm32f1xx_it.h | 13 +- .../BSP/MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../BSP/SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/BSP/Src/audio_play.c | 14 +- .../STM3210E_EVAL/Examples/BSP/Src/flash.c | 18 +- .../STM3210E_EVAL/Examples/BSP/Src/joystick.c | 13 +- Projects/STM3210E_EVAL/Examples/BSP/Src/lcd.c | 12 +- Projects/STM3210E_EVAL/Examples/BSP/Src/log.c | 13 +- .../STM3210E_EVAL/Examples/BSP/Src/main.c | 13 +- .../STM3210E_EVAL/Examples/BSP/Src/nand.c | 12 +- Projects/STM3210E_EVAL/Examples/BSP/Src/nor.c | 12 +- Projects/STM3210E_EVAL/Examples/BSP/Src/sd.c | 13 +- .../STM3210E_EVAL/Examples/BSP/Src/sram.c | 12 +- .../Examples/BSP/Src/stm32f1xx_it.c | 13 +- .../Examples/BSP/Src/system_stm32f1xx.c | 12 +- .../Examples/BSP/Src/temperature_sensor.c | 12 +- .../STM3210E_EVAL/Examples/BSP/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../Examples/CAN/CAN_Networking/Inc/main.h | 13 +- .../CAN_Networking/Inc/stm32f1xx_hal_conf.h | 14 +- .../CAN/CAN_Networking/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/CAN/CAN_Networking/Src/main.c | 13 +- .../CAN_Networking/Src/stm32f1xx_hal_msp.c | 13 +- .../CAN/CAN_Networking/Src/stm32f1xx_it.c | 14 +- .../CAN/CAN_Networking/Src/system_stm32f1xx.c | 12 +- .../Examples/CAN/CAN_Networking/readme.txt | 14 +- .../CRC_Example/EWARM/startup_stm32f103xg.s | 13 +- .../Examples/CRC/CRC_Example/Inc/main.h | 13 +- .../CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h | 14 +- .../CRC/CRC_Example/Inc/stm32f1xx_it.h | 13 +- .../CRC_Example/MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/CRC/CRC_Example/Src/main.c | 13 +- .../CRC/CRC_Example/Src/stm32f1xx_hal_msp.c | 13 +- .../CRC/CRC_Example/Src/stm32f1xx_it.c | 13 +- .../CRC/CRC_Example/Src/system_stm32f1xx.c | 12 +- .../Examples/CRC/CRC_Example/readme.txt | 18 +- .../CORTEXM_MPU/EWARM/startup_stm32f103xg.s | 13 +- .../Examples/Cortex/CORTEXM_MPU/Inc/main.h | 13 +- .../Cortex/CORTEXM_MPU/Inc/stm32_mpu.h | 13 +- .../CORTEXM_MPU/Inc/stm32f1xx_hal_conf.h | 14 +- .../Cortex/CORTEXM_MPU/Inc/stm32f1xx_it.h | 13 +- .../CORTEXM_MPU/MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/Cortex/CORTEXM_MPU/Src/main.c | 13 +- .../Cortex/CORTEXM_MPU/Src/stm32_mpu.c | 13 +- .../Cortex/CORTEXM_MPU/Src/stm32f1xx_it.c | 13 +- .../Cortex/CORTEXM_MPU/Src/system_stm32f1xx.c | 12 +- .../Examples/Cortex/CORTEXM_MPU/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../Cortex/CORTEXM_ModePrivilege/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../CORTEXM_ModePrivilege/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Cortex/CORTEXM_ModePrivilege/Src/main.c | 13 +- .../CORTEXM_ModePrivilege/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../Cortex/CORTEXM_ModePrivilege/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../Cortex/CORTEXM_SysTick/Inc/main.h | 13 +- .../CORTEXM_SysTick/Inc/stm32f1xx_hal_conf.h | 14 +- .../Cortex/CORTEXM_SysTick/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Cortex/CORTEXM_SysTick/Src/main.c | 13 +- .../Cortex/CORTEXM_SysTick/Src/stm32f1xx_it.c | 13 +- .../CORTEXM_SysTick/Src/system_stm32f1xx.c | 12 +- .../Cortex/CORTEXM_SysTick/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../DAC/DAC_SimpleConversion/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../DAC_SimpleConversion/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../DAC/DAC_SimpleConversion/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../DAC_SimpleConversion/Src/stm32f1xx_it.c | 14 +- .../Src/system_stm32f1xx.c | 12 +- .../DAC/DAC_SimpleConversion/readme.txt | 14 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../Examples/DMA/DMA_FLASHToRAM/Inc/main.h | 13 +- .../DMA_FLASHToRAM/Inc/stm32f1xx_hal_conf.h | 14 +- .../DMA/DMA_FLASHToRAM/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/DMA/DMA_FLASHToRAM/Src/main.c | 13 +- .../DMA/DMA_FLASHToRAM/Src/stm32f1xx_it.c | 13 +- .../DMA/DMA_FLASHToRAM/Src/system_stm32f1xx.c | 12 +- .../Examples/DMA/DMA_FLASHToRAM/readme.txt | 13 +- .../FSMC_NAND/EWARM/startup_stm32f103xg.s | 13 +- .../Examples/FSMC/FSMC_NAND/Inc/main.h | 13 +- .../FSMC/FSMC_NAND/Inc/stm32f1xx_hal_conf.h | 14 +- .../FSMC/FSMC_NAND/Inc/stm32f1xx_it.h | 13 +- .../FSMC_NAND/MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../FSMC_NAND/SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/FSMC/FSMC_NAND/Src/main.c | 13 +- .../FSMC/FSMC_NAND/Src/stm32f1xx_hal_msp.c | 13 +- .../FSMC/FSMC_NAND/Src/stm32f1xx_it.c | 13 +- .../FSMC/FSMC_NAND/Src/system_stm32f1xx.c | 12 +- .../Examples/FSMC/FSMC_NAND/readme.txt | 13 +- .../FSMC/FSMC_NOR/EWARM/startup_stm32f103xg.s | 13 +- .../Examples/FSMC/FSMC_NOR/Inc/main.h | 13 +- .../FSMC/FSMC_NOR/Inc/stm32f1xx_hal_conf.h | 14 +- .../Examples/FSMC/FSMC_NOR/Inc/stm32f1xx_it.h | 13 +- .../FSMC_NOR/MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../FSMC_NOR/SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/FSMC/FSMC_NOR/Src/main.c | 13 +- .../FSMC/FSMC_NOR/Src/stm32f1xx_hal_msp.c | 13 +- .../Examples/FSMC/FSMC_NOR/Src/stm32f1xx_it.c | 13 +- .../FSMC/FSMC_NOR/Src/system_stm32f1xx.c | 12 +- .../Examples/FSMC/FSMC_NOR/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../FSMC/FSMC_NOR_CodeExecute/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../FSMC_NOR_CodeExecute/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../FSMC/FSMC_NOR_CodeExecute/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../FSMC_NOR_CodeExecute/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../FSMC/FSMC_NOR_CodeExecute/readme.txt | 13 +- .../FSMC_SRAM/EWARM/startup_stm32f103xg.s | 13 +- .../Examples/FSMC/FSMC_SRAM/Inc/main.h | 13 +- .../FSMC/FSMC_SRAM/Inc/stm32f1xx_hal_conf.h | 14 +- .../FSMC/FSMC_SRAM/Inc/stm32f1xx_it.h | 13 +- .../FSMC_SRAM/MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../FSMC_SRAM/SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/FSMC/FSMC_SRAM/Src/main.c | 13 +- .../FSMC/FSMC_SRAM/Src/stm32f1xx_hal_msp.c | 13 +- .../FSMC/FSMC_SRAM/Src/stm32f1xx_it.c | 13 +- .../FSMC/FSMC_SRAM/Src/system_stm32f1xx.c | 12 +- .../Examples/FSMC/FSMC_SRAM/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../FSMC/FSMC_SRAM_DataMemory/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../FSMC_SRAM_DataMemory/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../FSMC/FSMC_SRAM_DataMemory/Src/main.c | 13 +- .../FSMC_SRAM_DataMemory/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../FSMC/FSMC_SRAM_DataMemory/readme.txt | 13 +- .../GPIO_IOToggle/EWARM/startup_stm32f103xg.s | 13 +- .../Examples/GPIO/GPIO_IOToggle/Inc/main.h | 13 +- .../GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h | 14 +- .../GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/GPIO/GPIO_IOToggle/Src/main.c | 13 +- .../GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c | 13 +- .../GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c | 12 +- .../Examples/GPIO/GPIO_IOToggle/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h | 12 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../HAL/HAL_TimeBase_RTC_ALARM/Src/main.c | 13 +- .../Src/stm32f1xx_hal_timebase_rtc_alarm.c | 21 +- .../HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../HAL/HAL_TimeBase_RTC_ALARM/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../Examples/HAL/HAL_TimeBase_TIM/Inc/main.h | 13 +- .../HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h | 14 +- .../HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/HAL/HAL_TimeBase_TIM/Src/main.c | 13 +- .../Src/stm32f1xx_hal_timebase_tim.c | 15 +- .../HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c | 13 +- .../HAL_TimeBase_TIM/Src/system_stm32f1xx.c | 12 +- .../Examples/HAL/HAL_TimeBase_TIM/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../I2C/I2C_TwoBoards_AdvComIT/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../I2C/I2C_TwoBoards_AdvComIT/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../I2C_TwoBoards_AdvComIT/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../I2C/I2C_TwoBoards_AdvComIT/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../I2C/I2C_TwoBoards_ComDMA/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../I2C_TwoBoards_ComDMA/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../I2C/I2C_TwoBoards_ComDMA/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../I2C_TwoBoards_ComDMA/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../I2C/I2C_TwoBoards_ComDMA/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../I2C/I2C_TwoBoards_ComIT/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../I2C_TwoBoards_ComIT/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../I2C/I2C_TwoBoards_ComIT/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../I2C_TwoBoards_ComIT/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../I2C/I2C_TwoBoards_ComIT/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../I2C/I2C_TwoBoards_ComPolling/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../I2C/I2C_TwoBoards_ComPolling/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../I2C/I2C_TwoBoards_ComPolling/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../I2C_TwoBoards_RestartAdvComIT/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../I2C_TwoBoards_RestartAdvComIT/Src/main.c | 15 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../I2C_TwoBoards_RestartAdvComIT/readme.txt | 21 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../I2C/I2C_TwoBoards_RestartComIT/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../I2C/I2C_TwoBoards_RestartComIT/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../I2C/I2C_TwoBoards_RestartComIT/readme.txt | 15 +- Projects/STM3210E_EVAL/Examples/LICENSE.md | 27 + .../PWR/PWR_PVD/EWARM/startup_stm32f103xg.s | 13 +- .../Examples/PWR/PWR_PVD/Inc/main.h | 13 +- .../PWR/PWR_PVD/Inc/stm32f1xx_hal_conf.h | 14 +- .../Examples/PWR/PWR_PVD/Inc/stm32f1xx_it.h | 13 +- .../PWR/PWR_PVD/MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../PWR_PVD/SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/PWR/PWR_PVD/Src/main.c | 13 +- .../Examples/PWR/PWR_PVD/Src/stm32f1xx_it.c | 13 +- .../PWR/PWR_PVD/Src/system_stm32f1xx.c | 12 +- .../Examples/PWR/PWR_PVD/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../Examples/RCC/RCC_ClockConfig/Inc/main.h | 13 +- .../RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h | 14 +- .../RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/RCC/RCC_ClockConfig/Src/main.c | 13 +- .../RCC/RCC_ClockConfig/Src/stm32f1xx_it.c | 13 +- .../RCC_ClockConfig/Src/system_stm32f1xx.c | 12 +- .../Examples/RCC/RCC_ClockConfig/readme.txt | 13 +- .../RTC_Calendar/EWARM/startup_stm32f103xg.s | 13 +- .../Examples/RTC/RTC_Calendar/Inc/main.h | 13 +- .../RTC/RTC_Calendar/Inc/stm32f1xx_hal_conf.h | 14 +- .../RTC/RTC_Calendar/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/RTC/RTC_Calendar/Src/main.c | 13 +- .../RTC/RTC_Calendar/Src/stm32f1xx_hal_msp.c | 15 +- .../RTC/RTC_Calendar/Src/stm32f1xx_it.c | 13 +- .../RTC/RTC_Calendar/Src/system_stm32f1xx.c | 12 +- .../Examples/RTC/RTC_Calendar/readme.txt | 15 +- .../RTC_Tamper/EWARM/startup_stm32f103xg.s | 13 +- .../Examples/RTC/RTC_Tamper/Inc/main.h | 15 +- .../RTC/RTC_Tamper/Inc/stm32f1xx_hal_conf.h | 14 +- .../RTC/RTC_Tamper/Inc/stm32f1xx_it.h | 13 +- .../RTC_Tamper/MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../RTC_Tamper/SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/RTC/RTC_Tamper/Src/main.c | 13 +- .../RTC/RTC_Tamper/Src/stm32f1xx_hal_msp.c | 15 +- .../RTC/RTC_Tamper/Src/stm32f1xx_it.c | 13 +- .../RTC/RTC_Tamper/Src/system_stm32f1xx.c | 12 +- .../Examples/RTC/RTC_Tamper/readme.txt | 16 +- .../SMARTCARD_T0/EWARM/startup_stm32f103xg.s | 13 +- .../SMARTCARD/SMARTCARD_T0/Inc/main.h | 13 +- .../SMARTCARD_T0/Inc/platform_config.h | 15 +- .../SMARTCARD/SMARTCARD_T0/Inc/smartcard.h | 19 +- .../SMARTCARD_T0/Inc/stm32f1xx_hal_conf.h | 14 +- .../SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../SMARTCARD/SMARTCARD_T0/Src/main.c | 13 +- .../SMARTCARD/SMARTCARD_T0/Src/smartcard.c | 13 +- .../SMARTCARD_T0/Src/stm32f1xx_hal_msp.c | 13 +- .../SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_it.c | 13 +- .../SMARTCARD_T0/Src/system_stm32f1xx.c | 12 +- .../SMARTCARD/SMARTCARD_T0/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../TIM/TIM_ComplementarySignals/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../TIM/TIM_ComplementarySignals/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../TIM/TIM_ComplementarySignals/readme.txt | 15 +- .../TIM/TIM_DMA/EWARM/startup_stm32f103xg.s | 13 +- .../Examples/TIM/TIM_DMA/Inc/main.h | 13 +- .../TIM/TIM_DMA/Inc/stm32f1xx_hal_conf.h | 14 +- .../Examples/TIM/TIM_DMA/Inc/stm32f1xx_it.h | 13 +- .../TIM/TIM_DMA/MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../TIM_DMA/SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/TIM/TIM_DMA/Src/main.c | 17 +- .../TIM/TIM_DMA/Src/stm32f1xx_hal_msp.c | 13 +- .../Examples/TIM/TIM_DMA/Src/stm32f1xx_it.c | 13 +- .../TIM/TIM_DMA/Src/system_stm32f1xx.c | 12 +- .../Examples/TIM/TIM_DMA/readme.txt | 15 +- .../EWARM/startup_stm32f103xg.s | 13 +- .../Examples/TIM/TIM_InputCapture/Inc/main.h | 13 +- .../TIM_InputCapture/Inc/stm32f1xx_hal_conf.h | 14 +- .../TIM/TIM_InputCapture/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/TIM/TIM_InputCapture/Src/main.c | 13 +- .../TIM_InputCapture/Src/stm32f1xx_hal_msp.c | 13 +- .../TIM/TIM_InputCapture/Src/stm32f1xx_it.c | 13 +- .../TIM_InputCapture/Src/system_stm32f1xx.c | 12 +- .../Examples/TIM/TIM_InputCapture/readme.txt | 13 +- .../TIM_PWMOutput/EWARM/startup_stm32f103xg.s | 13 +- .../Examples/TIM/TIM_PWMOutput/Inc/main.h | 13 +- .../TIM_PWMOutput/Inc/stm32f1xx_hal_conf.h | 14 +- .../TIM/TIM_PWMOutput/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/TIM/TIM_PWMOutput/Src/main.c | 13 +- .../TIM/TIM_PWMOutput/Src/stm32f1xx_hal_msp.c | 13 +- .../TIM/TIM_PWMOutput/Src/stm32f1xx_it.c | 13 +- .../TIM/TIM_PWMOutput/Src/system_stm32f1xx.c | 12 +- .../Examples/TIM/TIM_PWMOutput/readme.txt | 13 +- .../TIM_TimeBase/EWARM/startup_stm32f103xg.s | 13 +- .../Examples/TIM/TIM_TimeBase/Inc/main.h | 13 +- .../TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h | 14 +- .../TIM/TIM_TimeBase/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/TIM/TIM_TimeBase/Src/main.c | 13 +- .../TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c | 13 +- .../TIM/TIM_TimeBase/Src/stm32f1xx_it.c | 13 +- .../TIM/TIM_TimeBase/Src/system_stm32f1xx.c | 12 +- .../Examples/TIM/TIM_TimeBase/readme.txt | 13 +- .../UART_Printf/EWARM/startup_stm32f103xg.s | 13 +- .../Examples/UART/UART_Printf/Inc/main.h | 13 +- .../UART/UART_Printf/Inc/stm32f1xx_hal_conf.h | 14 +- .../UART/UART_Printf/Inc/stm32f1xx_it.h | 13 +- .../UART_Printf/MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples/UART/UART_Printf/Src/main.c | 13 +- .../UART/UART_Printf/Src/stm32f1xx_hal_msp.c | 13 +- .../UART/UART_Printf/Src/stm32f1xx_it.c | 13 +- .../UART/UART_Printf/Src/system_stm32f1xx.c | 12 +- .../Examples/UART/UART_Printf/readme.txt | 13 +- .../CORTEX_MPU/EWARM/startup_stm32f103xg.s | 9 +- .../Examples_LL/CORTEX/CORTEX_MPU/Inc/main.h | 13 +- .../CORTEX/CORTEX_MPU/Inc/stm32_assert.h | 14 +- .../CORTEX/CORTEX_MPU/Inc/stm32f1xx_it.h | 13 +- .../CORTEX_MPU/MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../CORTEX_MPU/SW4STM32/startup_stm32f103xg.s | 15 +- .../Examples_LL/CORTEX/CORTEX_MPU/Src/main.c | 13 +- .../CORTEX/CORTEX_MPU/Src/stm32f1xx_it.c | 13 +- .../CORTEX/CORTEX_MPU/Src/system_stm32f1xx.c | 12 +- .../Examples_LL/CORTEX/CORTEX_MPU/readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 9 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 13 +- .../EWARM/startup_stm32f103xg.s | 9 +- .../DAC_GenerateWaveform_TriggerHW/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../DAC_GenerateWaveform_TriggerHW/Src/main.c | 17 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../DAC_GenerateWaveform_TriggerHW/readme.txt | 15 +- .../EWARM/startup_stm32f103xg.s | 9 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Src/main.c | 17 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 15 +- Projects/STM3210E_EVAL/Examples_LL/LICENSE.md | 27 + .../EWARM/startup_stm32f103xg.s | 9 +- .../Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../Src/main.c | 15 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 15 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 13 +- .../STM3210E_EVAL/Examples_MIX/LICENSE.md | 27 + .../Templates/EWARM/startup_stm32f103xg.s | 13 +- Projects/STM3210E_EVAL/Templates/Inc/main.h | 13 +- .../Templates/Inc/stm32f1xx_hal_conf.h | 14 +- .../Templates/Inc/stm32f1xx_it.h | 13 +- Projects/STM3210E_EVAL/Templates/LICENSE.md | 27 + .../Templates/MDK-ARM/Project.uvoptx | 6 + .../Templates/MDK-ARM/Project.uvprojx | 14 +- .../Templates/MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E_EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../Templates/SW4STM32/startup_stm32f103xg.s | 15 +- Projects/STM3210E_EVAL/Templates/Src/main.c | 13 +- .../Templates/Src/stm32f1xx_hal_msp.c | 13 +- .../Templates/Src/stm32f1xx_it.c | 13 +- .../Templates/Src/system_stm32f1xx.c | 12 +- Projects/STM3210E_EVAL/Templates/readme.txt | 13 +- .../Templates_LL/EWARM/startup_stm32f103xg.s | 13 +- .../STM3210E_EVAL/Templates_LL/Inc/main.h | 13 +- .../Templates_LL/Inc/stm32_assert.h | 14 +- .../Templates_LL/Inc/stm32f1xx_it.h | 13 +- .../STM3210E_EVAL/Templates_LL/LICENSE.md | 27 + .../MDK-ARM/startup_stm32f103xg.s | 9 +- .../STM3210E-EVAL/STM32F103ZGHx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xg.s | 15 +- .../STM3210E_EVAL/Templates_LL/Src/main.c | 13 +- .../Templates_LL/Src/stm32f1xx_it.c | 13 +- .../Templates_LL/Src/system_stm32f1xx.c | 12 +- .../STM3210E_EVAL/Templates_LL/readme.txt | 13 +- Projects/STM32CubeProjectsList.html | 8 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../EEPROM/EEPROM_Emulation/Inc/eeprom.h | 13 +- .../EEPROM_Emulation/Inc/stm32f1xx_hal_conf.h | 14 +- .../EEPROM_Emulation/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../EEPROM/EEPROM_Emulation/Src/eeprom.c | 19 +- .../EEPROM/EEPROM_Emulation/Src/main.c | 13 +- .../EEPROM_Emulation/Src/stm32f1xx_it.c | 13 +- .../EEPROM_Emulation/Src/system_stm32f1xx.c | 12 +- .../EEPROM/EEPROM_Emulation/readme.txt | 15 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../FreeRTOS_ThreadCreation/Inc/main.h | 14 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../FreeRTOS_ThreadCreation/Src/main.c | 13 +- .../Src/stm32f1xx_hal_timebase_tim.c | 15 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../FreeRTOS_ThreadCreation/readme.txt | 13 +- .../Applications/LICENSE.md | 80 + .../Applications/Release_Notes.html | 4 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../USB_Device/HID_Standalone/Inc/main.h | 13 +- .../HID_Standalone/Inc/stm32f1xx_hal_conf.h | 14 +- .../HID_Standalone/Inc/stm32f1xx_it.h | 13 +- .../USB_Device/HID_Standalone/Inc/usbd_conf.h | 13 +- .../USB_Device/HID_Standalone/Inc/usbd_desc.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../USB_Device/HID_Standalone/Src/main.c | 13 +- .../HID_Standalone/Src/stm32f1xx_it.c | 13 +- .../HID_Standalone/Src/system_stm32f1xx.c | 12 +- .../USB_Device/HID_Standalone/Src/usbd_conf.c | 15 +- .../USB_Device/HID_Standalone/Src/usbd_desc.c | 15 +- .../USB_Device/HID_Standalone/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../Inc/fatfs_storage.h | 13 +- .../Adafruit_LCD_1_8_SD_Joystick/Inc/ffconf.h | 2 +- .../Adafruit_LCD_1_8_SD_Joystick/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/fatfs_storage.c | 19 +- .../Adafruit_LCD_1_8_SD_Joystick/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../Adafruit_LCD_1_8_SD_Joystick/readme.txt | 13 +- .../Demonstrations/LICENSE.md | 80 + .../EWARM/startup_stm32f103xb.s | 12 +- .../ADC/ADC_AnalogWatchdog/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../ADC/ADC_AnalogWatchdog/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../ADC/ADC_AnalogWatchdog/Src/main.c | 15 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../ADC/ADC_AnalogWatchdog/Src/stm32f1xx_it.c | 13 +- .../ADC_AnalogWatchdog/Src/system_stm32f1xx.c | 12 +- .../ADC/ADC_AnalogWatchdog/readme.txt | 13 +- .../CRC_Example/EWARM/startup_stm32f103xb.s | 12 +- .../Examples/CRC/CRC_Example/Inc/main.h | 13 +- .../CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h | 14 +- .../CRC/CRC_Example/Inc/stm32f1xx_it.h | 13 +- .../CRC_Example/MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples/CRC/CRC_Example/Src/main.c | 13 +- .../CRC/CRC_Example/Src/stm32f1xx_hal_msp.c | 13 +- .../CRC/CRC_Example/Src/stm32f1xx_it.c | 13 +- .../CRC/CRC_Example/Src/system_stm32f1xx.c | 12 +- .../Examples/CRC/CRC_Example/readme.txt | 18 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../FLASH/FLASH_EraseProgram/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../FLASH_EraseProgram/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../FLASH/FLASH_EraseProgram/Src/main.c | 13 +- .../FLASH_EraseProgram/Src/stm32f1xx_it.c | 13 +- .../FLASH_EraseProgram/Src/system_stm32f1xx.c | 12 +- .../FLASH/FLASH_EraseProgram/readme.txt | 15 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../FLASH/FLASH_WriteProtection/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../FLASH_WriteProtection/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../FLASH/FLASH_WriteProtection/Src/main.c | 13 +- .../FLASH_WriteProtection/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../FLASH/FLASH_WriteProtection/readme.txt | 13 +- .../GPIO_IOToggle/EWARM/startup_stm32f103xb.s | 12 +- .../Examples/GPIO/GPIO_IOToggle/Inc/main.h | 13 +- .../GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h | 14 +- .../GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples/GPIO/GPIO_IOToggle/Src/main.c | 13 +- .../GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c | 13 +- .../GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c | 12 +- .../Examples/GPIO/GPIO_IOToggle/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h | 12 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../HAL/HAL_TimeBase_RTC_ALARM/Src/main.c | 13 +- .../Src/stm32f1xx_hal_timebase_rtc_alarm.c | 21 +- .../HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../HAL/HAL_TimeBase_RTC_ALARM/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../Examples/HAL/HAL_TimeBase_TIM/Inc/main.h | 13 +- .../HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h | 14 +- .../HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples/HAL/HAL_TimeBase_TIM/Src/main.c | 13 +- .../Src/stm32f1xx_hal_timebase_tim.c | 15 +- .../HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c | 13 +- .../HAL_TimeBase_TIM/Src/system_stm32f1xx.c | 12 +- .../Examples/HAL/HAL_TimeBase_TIM/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../I2C/I2C_TwoBoards_AdvComIT/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../I2C/I2C_TwoBoards_AdvComIT/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../I2C_TwoBoards_AdvComIT/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../I2C/I2C_TwoBoards_AdvComIT/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../I2C/I2C_TwoBoards_ComDMA/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../I2C_TwoBoards_ComDMA/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../I2C/I2C_TwoBoards_ComDMA/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../I2C_TwoBoards_ComDMA/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../I2C/I2C_TwoBoards_ComDMA/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../I2C/I2C_TwoBoards_ComIT/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../I2C_TwoBoards_ComIT/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../I2C/I2C_TwoBoards_ComIT/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../I2C_TwoBoards_ComIT/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../I2C/I2C_TwoBoards_ComIT/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../I2C/I2C_TwoBoards_ComPolling/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../I2C/I2C_TwoBoards_ComPolling/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../I2C/I2C_TwoBoards_ComPolling/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../I2C_TwoBoards_RestartAdvComIT/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../I2C_TwoBoards_RestartAdvComIT/Src/main.c | 15 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../I2C_TwoBoards_RestartAdvComIT/readme.txt | 21 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../I2C/I2C_TwoBoards_RestartComIT/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../I2C/I2C_TwoBoards_RestartComIT/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../I2C/I2C_TwoBoards_RestartComIT/readme.txt | 15 +- .../STM32F103RB-Nucleo/Examples/LICENSE.md | 27 + .../PWR_STANDBY/EWARM/startup_stm32f103xb.s | 12 +- .../Examples/PWR/PWR_STANDBY/Inc/main.h | 13 +- .../PWR/PWR_STANDBY/Inc/stm32f1xx_hal_conf.h | 14 +- .../PWR/PWR_STANDBY/Inc/stm32f1xx_it.h | 13 +- .../PWR_STANDBY/MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples/PWR/PWR_STANDBY/Src/main.c | 13 +- .../PWR/PWR_STANDBY/Src/stm32f1xx_it.c | 13 +- .../PWR/PWR_STANDBY/Src/system_stm32f1xx.c | 12 +- .../Examples/PWR/PWR_STANDBY/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Examples/RCC/RCC_ClockConfig/Inc/main.h | 13 +- .../RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h | 14 +- .../RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 13 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples/RCC/RCC_ClockConfig/Src/main.c | 13 +- .../RCC/RCC_ClockConfig/Src/stm32f1xx_it.c | 13 +- .../RCC_ClockConfig/Src/system_stm32f1xx.c | 12 +- .../Examples/RCC/RCC_ClockConfig/readme.txt | 13 +- .../RTC/RTC_Alarm/EWARM/startup_stm32f103xb.s | 12 +- .../Examples/RTC/RTC_Alarm/Inc/main.h | 15 +- .../RTC/RTC_Alarm/Inc/stm32f1xx_hal_conf.h | 14 +- .../Examples/RTC/RTC_Alarm/Inc/stm32f1xx_it.h | 13 +- .../RTC_Alarm/MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../RTC_Alarm/SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples/RTC/RTC_Alarm/Src/main.c | 13 +- .../RTC/RTC_Alarm/Src/stm32f1xx_hal_msp.c | 15 +- .../Examples/RTC/RTC_Alarm/Src/stm32f1xx_it.c | 13 +- .../RTC/RTC_Alarm/Src/system_stm32f1xx.c | 12 +- .../Examples/RTC/RTC_Alarm/readme.txt | 16 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../SPI/SPI_FullDuplex_ComDMA/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../SPI_FullDuplex_ComDMA/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../SPI/SPI_FullDuplex_ComDMA/Src/main.c | 15 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../SPI_FullDuplex_ComDMA/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../SPI/SPI_FullDuplex_ComDMA/readme.txt | 18 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../SPI/SPI_FullDuplex_ComIT/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../SPI_FullDuplex_ComIT/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../SPI/SPI_FullDuplex_ComIT/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../SPI_FullDuplex_ComIT/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../SPI/SPI_FullDuplex_ComIT/readme.txt | 18 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../SPI/SPI_FullDuplex_ComPolling/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../SPI/SPI_FullDuplex_ComPolling/Src/main.c | 15 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../SPI/SPI_FullDuplex_ComPolling/readme.txt | 18 +- .../TIM/TIM_DMA/EWARM/startup_stm32f103xb.s | 12 +- .../Examples/TIM/TIM_DMA/Inc/main.h | 13 +- .../TIM/TIM_DMA/Inc/stm32f1xx_hal_conf.h | 14 +- .../Examples/TIM/TIM_DMA/Inc/stm32f1xx_it.h | 13 +- .../TIM/TIM_DMA/MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../TIM_DMA/SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples/TIM/TIM_DMA/Src/main.c | 17 +- .../TIM/TIM_DMA/Src/stm32f1xx_hal_msp.c | 13 +- .../Examples/TIM/TIM_DMA/Src/stm32f1xx_it.c | 13 +- .../TIM/TIM_DMA/Src/system_stm32f1xx.c | 12 +- .../Examples/TIM/TIM_DMA/readme.txt | 13 +- .../TIM_TimeBase/EWARM/startup_stm32f103xb.s | 12 +- .../Examples/TIM/TIM_TimeBase/Inc/main.h | 13 +- .../TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h | 14 +- .../TIM/TIM_TimeBase/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples/TIM/TIM_TimeBase/Src/main.c | 13 +- .../TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c | 13 +- .../TIM/TIM_TimeBase/Src/stm32f1xx_it.c | 13 +- .../TIM/TIM_TimeBase/Src/system_stm32f1xx.c | 12 +- .../Examples/TIM/TIM_TimeBase/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../UART/UART_HyperTerminal_DMA/Inc/main.h | 15 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../UART_HyperTerminal_DMA/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../UART/UART_HyperTerminal_DMA/Src/main.c | 17 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../UART_HyperTerminal_DMA/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../UART/UART_HyperTerminal_DMA/readme.txt | 13 +- .../UART_Printf/EWARM/startup_stm32f103xb.s | 12 +- .../Examples/UART/UART_Printf/Inc/main.h | 13 +- .../UART/UART_Printf/Inc/stm32f1xx_hal_conf.h | 14 +- .../UART/UART_Printf/Inc/stm32f1xx_it.h | 13 +- .../UART_Printf/MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples/UART/UART_Printf/Src/main.c | 13 +- .../UART/UART_Printf/Src/stm32f1xx_hal_msp.c | 13 +- .../UART/UART_Printf/Src/stm32f1xx_it.c | 13 +- .../UART/UART_Printf/Src/system_stm32f1xx.c | 12 +- .../Examples/UART/UART_Printf/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../UART/UART_TwoBoards_ComDMA/Inc/main.h | 15 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../UART_TwoBoards_ComDMA/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../UART/UART_TwoBoards_ComDMA/Src/main.c | 17 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../UART_TwoBoards_ComDMA/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../UART/UART_TwoBoards_ComDMA/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../UART/UART_TwoBoards_ComIT/Inc/main.h | 15 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../UART_TwoBoards_ComIT/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../UART/UART_TwoBoards_ComIT/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../UART_TwoBoards_ComIT/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../UART/UART_TwoBoards_ComIT/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 12 +- .../UART/UART_TwoBoards_ComPolling/Inc/main.h | 15 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../UART/UART_TwoBoards_ComPolling/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../UART/UART_TwoBoards_ComPolling/readme.txt | 13 +- .../WWDG_Example/EWARM/startup_stm32f103xb.s | 12 +- .../Examples/WWDG/WWDG_Example/Inc/main.h | 13 +- .../WWDG_Example/Inc/stm32f1xx_hal_conf.h | 14 +- .../WWDG/WWDG_Example/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples/WWDG/WWDG_Example/Src/main.c | 13 +- .../WWDG/WWDG_Example/Src/stm32f1xx_hal_msp.c | 13 +- .../WWDG/WWDG_Example/Src/stm32f1xx_it.c | 13 +- .../WWDG/WWDG_Example/Src/system_stm32f1xx.c | 12 +- .../Examples/WWDG/WWDG_Example/readme.txt | 16 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../ADC/ADC_AnalogWatchdog/Inc/main.h | 13 +- .../ADC/ADC_AnalogWatchdog/Inc/stm32_assert.h | 14 +- .../ADC/ADC_AnalogWatchdog/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../ADC/ADC_AnalogWatchdog/Src/main.c | 37 +- .../ADC/ADC_AnalogWatchdog/Src/stm32f1xx_it.c | 13 +- .../ADC_AnalogWatchdog/Src/system_stm32f1xx.c | 12 +- .../ADC/ADC_AnalogWatchdog/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 37 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 37 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../ADC/ADC_GroupsRegularInjected/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../ADC/ADC_GroupsRegularInjected/Src/main.c | 43 +- .../Src/stm32f1xx_it.c | 15 +- .../Src/system_stm32f1xx.c | 12 +- .../ADC/ADC_GroupsRegularInjected/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 39 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 17 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../ADC_MultimodeDualInterleaved/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../ADC_MultimodeDualInterleaved/Src/main.c | 55 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../ADC_MultimodeDualInterleaved/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../ADC_SingleConversion_TriggerSW/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../ADC_SingleConversion_TriggerSW/Src/main.c | 37 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../ADC_SingleConversion_TriggerSW/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 37 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 37 +- .../Src/stm32f1xx_it.c | 15 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 37 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../ADC/ADC_TemperatureSensor/Inc/main.h | 13 +- .../ADC_TemperatureSensor/Inc/stm32_assert.h | 14 +- .../ADC_TemperatureSensor/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../ADC/ADC_TemperatureSensor/Src/main.c | 41 +- .../ADC_TemperatureSensor/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../ADC/ADC_TemperatureSensor/readme.txt | 17 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../CRC/CRC_CalculateAndCheck/Inc/main.h | 13 +- .../CRC_CalculateAndCheck/Inc/stm32_assert.h | 14 +- .../CRC_CalculateAndCheck/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../CRC/CRC_CalculateAndCheck/Src/main.c | 13 +- .../CRC_CalculateAndCheck/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../CRC/CRC_CalculateAndCheck/readme.txt | 16 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../DMA/DMA_CopyFromFlashToMemory/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../DMA/DMA_CopyFromFlashToMemory/Src/main.c | 25 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../DMA/DMA_CopyFromFlashToMemory/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../DMA_CopyFromFlashToMemory_Init/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../DMA_CopyFromFlashToMemory_Init/Src/main.c | 27 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../DMA_CopyFromFlashToMemory_Init/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../EXTI/EXTI_ToggleLedOnIT/Inc/main.h | 13 +- .../EXTI_ToggleLedOnIT/Inc/stm32_assert.h | 14 +- .../EXTI_ToggleLedOnIT/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../EXTI/EXTI_ToggleLedOnIT/Src/main.c | 13 +- .../EXTI_ToggleLedOnIT/Src/stm32f1xx_it.c | 13 +- .../EXTI_ToggleLedOnIT/Src/system_stm32f1xx.c | 12 +- .../EXTI/EXTI_ToggleLedOnIT/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../EXTI/EXTI_ToggleLedOnIT_Init/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../EXTI/EXTI_ToggleLedOnIT_Init/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../EXTI/EXTI_ToggleLedOnIT_Init/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../GPIO/GPIO_InfiniteLedToggling/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../GPIO/GPIO_InfiniteLedToggling/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../GPIO/GPIO_InfiniteLedToggling/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../GPIO_InfiniteLedToggling_Init/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../GPIO_InfiniteLedToggling_Init/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../GPIO_InfiniteLedToggling_Init/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 15 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 25 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../I2C_OneBoard_Communication_IT/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../I2C_OneBoard_Communication_IT/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../I2C_OneBoard_Communication_IT/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 19 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 17 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../I2C_TwoBoards_MasterTx_SlaveRx/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../I2C_TwoBoards_MasterTx_SlaveRx/Src/main.c | 19 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../I2C_TwoBoards_MasterTx_SlaveRx/readme.txt | 17 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 19 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 17 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../IWDG_RefreshUntilUserEvent/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../IWDG_RefreshUntilUserEvent/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../IWDG_RefreshUntilUserEvent/readme.txt | 13 +- .../STM32F103RB-Nucleo/Examples_LL/LICENSE.md | 27 + .../EWARM/startup_stm32f103xb.s | 8 +- .../PWR/PWR_EnterStandbyMode/Inc/main.h | 13 +- .../PWR_EnterStandbyMode/Inc/stm32_assert.h | 14 +- .../PWR_EnterStandbyMode/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../PWR/PWR_EnterStandbyMode/Src/main.c | 13 +- .../PWR_EnterStandbyMode/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../PWR/PWR_EnterStandbyMode/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../PWR/PWR_EnterStopMode/Inc/main.h | 13 +- .../PWR/PWR_EnterStopMode/Inc/stm32_assert.h | 14 +- .../PWR/PWR_EnterStopMode/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../PWR/PWR_EnterStopMode/Src/main.c | 13 +- .../PWR/PWR_EnterStopMode/Src/stm32f1xx_it.c | 13 +- .../PWR_EnterStopMode/Src/system_stm32f1xx.c | 12 +- .../PWR/PWR_EnterStopMode/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../RCC/RCC_OutputSystemClockOnMCO/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../RCC/RCC_OutputSystemClockOnMCO/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../RCC/RCC_OutputSystemClockOnMCO/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../RCC/RCC_UseHSEasSystemClock/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../RCC/RCC_UseHSEasSystemClock/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../RCC/RCC_UseHSEasSystemClock/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../RCC_UseHSI_PLLasSystemClock/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../RCC_UseHSI_PLLasSystemClock/Src/main.c | 15 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../RCC_UseHSI_PLLasSystemClock/readme.txt | 13 +- .../RTC/RTC_Alarm/EWARM/startup_stm32f103xb.s | 8 +- .../Examples_LL/RTC/RTC_Alarm/Inc/main.h | 13 +- .../RTC/RTC_Alarm/Inc/stm32_assert.h | 14 +- .../RTC/RTC_Alarm/Inc/stm32f1xx_it.h | 13 +- .../RTC_Alarm/MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../RTC_Alarm/SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples_LL/RTC/RTC_Alarm/Src/main.c | 13 +- .../RTC/RTC_Alarm/Src/stm32f1xx_it.c | 13 +- .../RTC/RTC_Alarm/Src/system_stm32f1xx.c | 12 +- .../Examples_LL/RTC/RTC_Alarm/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Examples_LL/RTC/RTC_Alarm_Init/Inc/main.h | 13 +- .../RTC/RTC_Alarm_Init/Inc/stm32_assert.h | 14 +- .../RTC/RTC_Alarm_Init/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples_LL/RTC/RTC_Alarm_Init/Src/main.c | 13 +- .../RTC/RTC_Alarm_Init/Src/stm32f1xx_it.c | 13 +- .../RTC/RTC_Alarm_Init/Src/system_stm32f1xx.c | 12 +- .../Examples_LL/RTC/RTC_Alarm_Init/readme.txt | 13 +- .../RTC_Calendar/EWARM/startup_stm32f103xb.s | 8 +- .../Examples_LL/RTC/RTC_Calendar/Inc/main.h | 13 +- .../RTC/RTC_Calendar/Inc/stm32_assert.h | 14 +- .../RTC/RTC_Calendar/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples_LL/RTC/RTC_Calendar/Src/main.c | 13 +- .../RTC/RTC_Calendar/Src/stm32f1xx_it.c | 13 +- .../RTC/RTC_Calendar/Src/system_stm32f1xx.c | 12 +- .../Examples_LL/RTC/RTC_Calendar/readme.txt | 13 +- .../RTC_Tamper/EWARM/startup_stm32f103xb.s | 8 +- .../Examples_LL/RTC/RTC_Tamper/Inc/main.h | 13 +- .../RTC/RTC_Tamper/Inc/stm32_assert.h | 14 +- .../RTC/RTC_Tamper/Inc/stm32f1xx_it.h | 13 +- .../RTC_Tamper/MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../RTC_Tamper/SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples_LL/RTC/RTC_Tamper/Src/main.c | 13 +- .../RTC/RTC_Tamper/Src/stm32f1xx_it.c | 13 +- .../RTC/RTC_Tamper/Src/system_stm32f1xx.c | 12 +- .../Examples_LL/RTC/RTC_Tamper/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../SPI_OneBoard_HalfDuplex_DMA/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../SPI_OneBoard_HalfDuplex_DMA/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 15 +- .../Src/system_stm32f1xx.c | 12 +- .../SPI_OneBoard_HalfDuplex_DMA/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 15 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../SPI/SPI_OneBoard_HalfDuplex_IT/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../SPI/SPI_OneBoard_HalfDuplex_IT/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../SPI/SPI_OneBoard_HalfDuplex_IT/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../SPI_TwoBoards_FullDuplex_DMA/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../SPI_TwoBoards_FullDuplex_DMA/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../SPI_TwoBoards_FullDuplex_DMA/readme.txt | 15 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../SPI_TwoBoards_FullDuplex_IT/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../SPI_TwoBoards_FullDuplex_IT/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../SPI_TwoBoards_FullDuplex_IT/readme.txt | 15 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../TIM/TIM_BreakAndDeadtime/Inc/main.h | 13 +- .../TIM_BreakAndDeadtime/Inc/stm32_assert.h | 14 +- .../TIM_BreakAndDeadtime/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../TIM/TIM_BreakAndDeadtime/Src/main.c | 13 +- .../TIM_BreakAndDeadtime/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../TIM/TIM_BreakAndDeadtime/readme.txt | 16 +- .../TIM/TIM_DMA/EWARM/startup_stm32f103xb.s | 8 +- .../Examples_LL/TIM/TIM_DMA/Inc/main.h | 13 +- .../TIM/TIM_DMA/Inc/stm32_assert.h | 14 +- .../TIM/TIM_DMA/Inc/stm32f1xx_it.h | 13 +- .../TIM/TIM_DMA/MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../TIM_DMA/SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples_LL/TIM/TIM_DMA/Src/main.c | 13 +- .../TIM/TIM_DMA/Src/stm32f1xx_it.c | 13 +- .../TIM/TIM_DMA/Src/system_stm32f1xx.c | 12 +- .../Examples_LL/TIM/TIM_DMA/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../TIM/TIM_InputCapture/Inc/main.h | 13 +- .../TIM/TIM_InputCapture/Inc/stm32_assert.h | 14 +- .../TIM/TIM_InputCapture/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../TIM/TIM_InputCapture/Src/main.c | 13 +- .../TIM/TIM_InputCapture/Src/stm32f1xx_it.c | 13 +- .../TIM_InputCapture/Src/system_stm32f1xx.c | 12 +- .../TIM/TIM_InputCapture/readme.txt | 13 +- .../TIM_OnePulse/EWARM/startup_stm32f103xb.s | 8 +- .../Examples_LL/TIM/TIM_OnePulse/Inc/main.h | 13 +- .../TIM/TIM_OnePulse/Inc/stm32_assert.h | 14 +- .../TIM/TIM_OnePulse/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples_LL/TIM/TIM_OnePulse/Src/main.c | 13 +- .../TIM/TIM_OnePulse/Src/stm32f1xx_it.c | 13 +- .../TIM/TIM_OnePulse/Src/system_stm32f1xx.c | 12 +- .../Examples_LL/TIM/TIM_OnePulse/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../TIM/TIM_OutputCompare/Inc/main.h | 13 +- .../TIM/TIM_OutputCompare/Inc/stm32_assert.h | 14 +- .../TIM/TIM_OutputCompare/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../TIM/TIM_OutputCompare/Src/main.c | 13 +- .../TIM/TIM_OutputCompare/Src/stm32f1xx_it.c | 13 +- .../TIM_OutputCompare/Src/system_stm32f1xx.c | 12 +- .../TIM/TIM_OutputCompare/readme.txt | 15 +- .../TIM_PWMOutput/EWARM/startup_stm32f103xb.s | 8 +- .../Examples_LL/TIM/TIM_PWMOutput/Inc/main.h | 13 +- .../TIM/TIM_PWMOutput/Inc/stm32_assert.h | 14 +- .../TIM/TIM_PWMOutput/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples_LL/TIM/TIM_PWMOutput/Src/main.c | 13 +- .../TIM/TIM_PWMOutput/Src/stm32f1xx_it.c | 13 +- .../TIM/TIM_PWMOutput/Src/system_stm32f1xx.c | 12 +- .../Examples_LL/TIM/TIM_PWMOutput/readme.txt | 15 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../TIM/TIM_PWMOutput_Init/Inc/main.h | 13 +- .../TIM/TIM_PWMOutput_Init/Inc/stm32_assert.h | 14 +- .../TIM/TIM_PWMOutput_Init/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../TIM/TIM_PWMOutput_Init/Src/main.c | 13 +- .../TIM/TIM_PWMOutput_Init/Src/stm32f1xx_it.c | 13 +- .../TIM_PWMOutput_Init/Src/system_stm32f1xx.c | 12 +- .../TIM/TIM_PWMOutput_Init/readme.txt | 15 +- .../TIM_TimeBase/EWARM/startup_stm32f103xb.s | 8 +- .../Examples_LL/TIM/TIM_TimeBase/Inc/main.h | 13 +- .../TIM/TIM_TimeBase/Inc/stm32_assert.h | 14 +- .../TIM/TIM_TimeBase/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples_LL/TIM/TIM_TimeBase/Src/main.c | 13 +- .../TIM/TIM_TimeBase/Src/stm32f1xx_it.c | 13 +- .../TIM/TIM_TimeBase/Src/system_stm32f1xx.c | 12 +- .../Examples_LL/TIM/TIM_TimeBase/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../USART_Communication_Rx_IT/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../USART_Communication_Rx_IT/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../USART_Communication_Rx_IT/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 15 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../USART_Communication_Rx_IT_Init/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../USART_Communication_Rx_IT_Init/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../USART_Communication_Rx_IT_Init/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../USART/USART_Communication_Tx/Inc/main.h | 13 +- .../USART_Communication_Tx/Inc/stm32_assert.h | 14 +- .../USART_Communication_Tx/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../USART/USART_Communication_Tx/Src/main.c | 13 +- .../USART_Communication_Tx/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../USART/USART_Communication_Tx/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../USART_Communication_TxRx_DMA/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../USART_Communication_TxRx_DMA/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../USART_Communication_TxRx_DMA/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../USART_Communication_Tx_IT/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../USART_Communication_Tx_IT/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 15 +- .../Src/system_stm32f1xx.c | 12 +- .../USART_Communication_Tx_IT/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../USART_HardwareFlowControl/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../USART_HardwareFlowControl/Src/main.c | 15 +- .../Src/stm32f1xx_it.c | 15 +- .../Src/system_stm32f1xx.c | 12 +- .../USART_HardwareFlowControl/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 17 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../UTILS_ConfigureSystemClock/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../UTILS_ConfigureSystemClock/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../UTILS_ConfigureSystemClock/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../UTILS/UTILS_ReadDeviceInfo/Inc/main.h | 13 +- .../UTILS_ReadDeviceInfo/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../UTILS/UTILS_ReadDeviceInfo/Src/main.c | 13 +- .../UTILS_ReadDeviceInfo/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../UTILS/UTILS_ReadDeviceInfo/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../WWDG_RefreshUntilUserEvent/Inc/main.h | 13 +- .../Inc/stm32_assert.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../WWDG_RefreshUntilUserEvent/Src/main.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../WWDG_RefreshUntilUserEvent/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../CRC/CRC_CalculateAndCheck/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../CRC_CalculateAndCheck/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../CRC/CRC_CalculateAndCheck/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../CRC_CalculateAndCheck/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../CRC/CRC_CalculateAndCheck/readme.txt | 16 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../DMA/DMA_FLASHToRAM/Inc/main.h | 13 +- .../DMA_FLASHToRAM/Inc/stm32f1xx_hal_conf.h | 14 +- .../DMA/DMA_FLASHToRAM/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../DMA/DMA_FLASHToRAM/Src/main.c | 13 +- .../DMA/DMA_FLASHToRAM/Src/stm32f1xx_it.c | 13 +- .../DMA/DMA_FLASHToRAM/Src/system_stm32f1xx.c | 12 +- .../DMA/DMA_FLASHToRAM/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 13 +- .../Examples_MIX/LICENSE.md | 27 + .../PWR/PWR_STOP/EWARM/startup_stm32f103xb.s | 8 +- .../Examples_MIX/PWR/PWR_STOP/Inc/main.h | 13 +- .../PWR/PWR_STOP/Inc/stm32_assert.h | 14 +- .../PWR/PWR_STOP/Inc/stm32f1xx_hal_conf.h | 14 +- .../PWR/PWR_STOP/Inc/stm32f1xx_it.h | 13 +- .../PWR_STOP/MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../PWR_STOP/SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples_MIX/PWR/PWR_STOP/Src/main.c | 13 +- .../PWR/PWR_STOP/Src/stm32f1xx_hal_msp.c | 13 +- .../PWR/PWR_STOP/Src/stm32f1xx_it.c | 13 +- .../PWR/PWR_STOP/Src/system_stm32f1xx.c | 12 +- .../Examples_MIX/PWR/PWR_STOP/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../SPI/SPI_FullDuplex_ComPolling/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../SPI/SPI_FullDuplex_ComPolling/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../SPI/SPI_FullDuplex_ComPolling/readme.txt | 16 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../SPI_HalfDuplex_ComPollingIT/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../SPI_HalfDuplex_ComPollingIT/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../SPI_HalfDuplex_ComPollingIT/readme.txt | 16 +- .../TIM_6Steps/EWARM/startup_stm32f103xb.s | 8 +- .../Examples_MIX/TIM/TIM_6Steps/Inc/main.h | 13 +- .../TIM/TIM_6Steps/Inc/stm32f1xx_hal_conf.h | 14 +- .../TIM/TIM_6Steps/Inc/stm32f1xx_it.h | 13 +- .../TIM_6Steps/MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../TIM_6Steps/SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples_MIX/TIM/TIM_6Steps/Src/main.c | 13 +- .../TIM/TIM_6Steps/Src/stm32f1xx_hal_msp.c | 13 +- .../TIM/TIM_6Steps/Src/stm32f1xx_it.c | 13 +- .../TIM/TIM_6Steps/Src/system_stm32f1xx.c | 12 +- .../Examples_MIX/TIM/TIM_6Steps/readme.txt | 13 +- .../TIM_PWMInput/EWARM/startup_stm32f103xb.s | 8 +- .../Examples_MIX/TIM/TIM_PWMInput/Inc/main.h | 13 +- .../TIM/TIM_PWMInput/Inc/stm32f1xx_hal_conf.h | 14 +- .../TIM/TIM_PWMInput/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Examples_MIX/TIM/TIM_PWMInput/Src/main.c | 13 +- .../TIM/TIM_PWMInput/Src/stm32f1xx_hal_msp.c | 13 +- .../TIM/TIM_PWMInput/Src/stm32f1xx_it.c | 13 +- .../TIM/TIM_PWMInput/Src/system_stm32f1xx.c | 12 +- .../Examples_MIX/TIM/TIM_PWMInput/readme.txt | 15 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../UART/UART_HyperTerminal_IT/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../UART_HyperTerminal_IT/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../UART/UART_HyperTerminal_IT/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../UART_HyperTerminal_IT/Src/stm32f1xx_it.c | 15 +- .../Src/system_stm32f1xx.c | 12 +- .../UART/UART_HyperTerminal_IT/readme.txt | 13 +- .../EWARM/startup_stm32f103xb.s | 8 +- .../Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../readme.txt | 13 +- .../Templates/EWARM/startup_stm32f103xb.s | 12 +- .../STM32F103RB-Nucleo/Templates/Inc/main.h | 13 +- .../Templates/Inc/stm32f1xx_hal_conf.h | 14 +- .../Templates/Inc/stm32f1xx_it.h | 13 +- .../STM32F103RB-Nucleo/Templates/LICENSE.md | 27 + .../Templates/MDK-ARM/startup_stm32f103xb.s | 9 +- .../STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld | 2 +- .../Templates/SW4STM32/startup_stm32f103xb.s | 16 +- .../STM32F103RB-Nucleo/Templates/Src/main.c | 13 +- .../Templates/Src/stm32f1xx_hal_msp.c | 13 +- .../Templates/Src/stm32f1xx_it.c | 13 +- .../Templates/Src/system_stm32f1xx.c | 12 +- .../STM32F103RB-Nucleo/Templates/readme.txt | 13 +- .../Templates_LL/EWARM/startup_stm32f103xb.s | 12 +- .../Templates_LL/Inc/main.h | 13 +- .../Templates_LL/Inc/stm32_assert.h | 14 +- .../Templates_LL/Inc/stm32f1xx_it.h | 13 +- .../Templates_LL/LICENSE.md | 27 + .../MDK-ARM/startup_stm32f103xb.s | 9 +- .../NUCLEO-F103RB/STM32F103RBTx_FLASH.ld | 2 +- .../SW4STM32/startup_stm32f103xb.s | 16 +- .../Templates_LL/Src/main.c | 13 +- .../Templates_LL/Src/stm32f1xx_it.c | 13 +- .../Templates_LL/Src/system_stm32f1xx.c | 12 +- .../Templates_LL/readme.txt | 13 +- .../EWARM/startup_stm32f100xb.s | 12 +- .../ADC_Regular_injected_groups/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f100xb.s | 9 +- .../ADC_Regular_injected_groups/Src/main.c | 15 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../ADC_Regular_injected_groups/readme.txt | 13 +- .../CRC_Example/EWARM/startup_stm32f100xb.s | 12 +- .../Examples/CRC/CRC_Example/Inc/main.h | 13 +- .../CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h | 14 +- .../CRC/CRC_Example/Inc/stm32f1xx_it.h | 13 +- .../CRC_Example/MDK-ARM/startup_stm32f100xb.s | 9 +- .../Examples/CRC/CRC_Example/Src/main.c | 13 +- .../CRC/CRC_Example/Src/stm32f1xx_hal_msp.c | 13 +- .../CRC/CRC_Example/Src/stm32f1xx_it.c | 13 +- .../CRC/CRC_Example/Src/system_stm32f1xx.c | 12 +- .../Examples/CRC/CRC_Example/readme.txt | 18 +- .../GPIO_EXTI/EWARM/startup_stm32f100xb.s | 12 +- .../Examples/GPIO/GPIO_EXTI/Inc/main.h | 13 +- .../GPIO/GPIO_EXTI/Inc/stm32f1xx_hal_conf.h | 14 +- .../GPIO/GPIO_EXTI/Inc/stm32f1xx_it.h | 13 +- .../GPIO_EXTI/MDK-ARM/startup_stm32f100xb.s | 9 +- .../Examples/GPIO/GPIO_EXTI/Src/main.c | 13 +- .../GPIO/GPIO_EXTI/Src/stm32f1xx_it.c | 13 +- .../GPIO/GPIO_EXTI/Src/system_stm32f1xx.c | 12 +- .../Examples/GPIO/GPIO_EXTI/readme.txt | 13 +- .../GPIO_IOToggle/EWARM/startup_stm32f100xb.s | 12 +- .../Examples/GPIO/GPIO_IOToggle/Inc/main.h | 13 +- .../GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h | 14 +- .../GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f100xb.s | 9 +- .../Examples/GPIO/GPIO_IOToggle/Src/main.c | 13 +- .../GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c | 13 +- .../GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c | 12 +- .../Examples/GPIO/GPIO_IOToggle/readme.txt | 13 +- .../EWARM/startup_stm32f100xb.s | 12 +- .../HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h | 12 +- .../MDK-ARM/startup_stm32f100xb.s | 9 +- .../HAL/HAL_TimeBase_RTC_ALARM/Src/main.c | 13 +- .../Src/stm32f1xx_hal_timebase_rtc_alarm.c | 21 +- .../HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../HAL/HAL_TimeBase_RTC_ALARM/readme.txt | 13 +- .../EWARM/startup_stm32f100xb.s | 12 +- .../Examples/HAL/HAL_TimeBase_TIM/Inc/main.h | 13 +- .../HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h | 14 +- .../HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f100xb.s | 9 +- .../Examples/HAL/HAL_TimeBase_TIM/Src/main.c | 13 +- .../Src/stm32f1xx_hal_timebase_tim.c | 15 +- .../HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c | 13 +- .../HAL_TimeBase_TIM/Src/system_stm32f1xx.c | 12 +- .../Examples/HAL/HAL_TimeBase_TIM/readme.txt | 13 +- .../STM32VL-Discovery/Examples/LICENSE.md | 27 + .../PWR/PWR_SLEEP/EWARM/startup_stm32f100xb.s | 12 +- .../Examples/PWR/PWR_SLEEP/Inc/main.h | 13 +- .../PWR/PWR_SLEEP/Inc/stm32f1xx_hal_conf.h | 14 +- .../Examples/PWR/PWR_SLEEP/Inc/stm32f1xx_it.h | 13 +- .../PWR_SLEEP/MDK-ARM/startup_stm32f100xb.s | 9 +- .../Examples/PWR/PWR_SLEEP/Src/main.c | 13 +- .../Examples/PWR/PWR_SLEEP/Src/stm32f1xx_it.c | 13 +- .../PWR/PWR_SLEEP/Src/system_stm32f1xx.c | 12 +- .../Examples/PWR/PWR_SLEEP/readme.txt | 13 +- .../EWARM/startup_stm32f100xb.s | 12 +- .../Examples/RCC/RCC_ClockConfig/Inc/main.h | 13 +- .../RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h | 14 +- .../RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f100xb.s | 9 +- .../Examples/RCC/RCC_ClockConfig/Src/main.c | 13 +- .../RCC/RCC_ClockConfig/Src/stm32f1xx_it.c | 13 +- .../RCC_ClockConfig/Src/system_stm32f1xx.c | 12 +- .../Examples/RCC/RCC_ClockConfig/readme.txt | 13 +- .../EWARM/startup_stm32f100xb.s | 12 +- .../RTC/RTC_LowPower_STANDBY/Inc/main.h | 15 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../RTC_LowPower_STANDBY/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f100xb.s | 9 +- .../RTC/RTC_LowPower_STANDBY/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../RTC_LowPower_STANDBY/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../RTC/RTC_LowPower_STANDBY/readme.txt | 13 +- .../EWARM/startup_stm32f100xb.s | 12 +- .../SPI/SPI_FullDuplex_ComDMA/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../SPI_FullDuplex_ComDMA/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f100xb.s | 9 +- .../SPI/SPI_FullDuplex_ComDMA/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../SPI_FullDuplex_ComDMA/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../SPI/SPI_FullDuplex_ComDMA/readme.txt | 18 +- .../EWARM/startup_stm32f100xb.s | 12 +- .../SPI/SPI_FullDuplex_ComIT/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../SPI_FullDuplex_ComIT/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f100xb.s | 9 +- .../SPI/SPI_FullDuplex_ComIT/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../SPI_FullDuplex_ComIT/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../SPI/SPI_FullDuplex_ComIT/readme.txt | 18 +- .../EWARM/startup_stm32f100xb.s | 12 +- .../SPI/SPI_FullDuplex_ComPolling/Inc/main.h | 13 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f100xb.s | 9 +- .../SPI/SPI_FullDuplex_ComPolling/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../SPI/SPI_FullDuplex_ComPolling/readme.txt | 18 +- .../TIM_TimeBase/EWARM/startup_stm32f100xb.s | 12 +- .../Examples/TIM/TIM_TimeBase/Inc/main.h | 13 +- .../TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h | 14 +- .../TIM/TIM_TimeBase/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f100xb.s | 9 +- .../Examples/TIM/TIM_TimeBase/Src/main.c | 13 +- .../TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c | 13 +- .../TIM/TIM_TimeBase/Src/stm32f1xx_it.c | 13 +- .../TIM/TIM_TimeBase/Src/system_stm32f1xx.c | 12 +- .../Examples/TIM/TIM_TimeBase/readme.txt | 13 +- .../EWARM/startup_stm32f100xb.s | 12 +- .../UART/UART_HyperTerminal_DMA/Inc/main.h | 15 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../UART_HyperTerminal_DMA/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f100xb.s | 9 +- .../UART/UART_HyperTerminal_DMA/Src/main.c | 17 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../UART_HyperTerminal_DMA/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../UART/UART_HyperTerminal_DMA/readme.txt | 13 +- .../UART_Printf/EWARM/startup_stm32f100xb.s | 12 +- .../Examples/UART/UART_Printf/Inc/main.h | 13 +- .../UART/UART_Printf/Inc/stm32f1xx_hal_conf.h | 14 +- .../UART/UART_Printf/Inc/stm32f1xx_it.h | 13 +- .../UART_Printf/MDK-ARM/startup_stm32f100xb.s | 9 +- .../Examples/UART/UART_Printf/Src/main.c | 13 +- .../UART/UART_Printf/Src/stm32f1xx_hal_msp.c | 13 +- .../UART/UART_Printf/Src/stm32f1xx_it.c | 13 +- .../UART/UART_Printf/Src/system_stm32f1xx.c | 12 +- .../Examples/UART/UART_Printf/readme.txt | 13 +- .../EWARM/startup_stm32f100xb.s | 12 +- .../UART/UART_TwoBoards_ComDMA/Inc/main.h | 15 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../UART_TwoBoards_ComDMA/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f100xb.s | 9 +- .../UART/UART_TwoBoards_ComDMA/Src/main.c | 17 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../UART_TwoBoards_ComDMA/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../UART/UART_TwoBoards_ComDMA/readme.txt | 13 +- .../EWARM/startup_stm32f100xb.s | 12 +- .../UART/UART_TwoBoards_ComIT/Inc/main.h | 15 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../UART_TwoBoards_ComIT/Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f100xb.s | 9 +- .../UART/UART_TwoBoards_ComIT/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../UART_TwoBoards_ComIT/Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../UART/UART_TwoBoards_ComIT/readme.txt | 13 +- .../EWARM/startup_stm32f100xb.s | 12 +- .../UART/UART_TwoBoards_ComPolling/Inc/main.h | 15 +- .../Inc/stm32f1xx_hal_conf.h | 14 +- .../Inc/stm32f1xx_it.h | 13 +- .../MDK-ARM/startup_stm32f100xb.s | 9 +- .../UART/UART_TwoBoards_ComPolling/Src/main.c | 13 +- .../Src/stm32f1xx_hal_msp.c | 13 +- .../Src/stm32f1xx_it.c | 13 +- .../Src/system_stm32f1xx.c | 12 +- .../UART/UART_TwoBoards_ComPolling/readme.txt | 13 +- .../Templates/EWARM/startup_stm32f100xb.s | 12 +- .../STM32VL-Discovery/Templates/Inc/main.h | 13 +- .../Templates/Inc/stm32f1xx_hal_conf.h | 14 +- .../Templates/Inc/stm32f1xx_it.h | 13 +- .../STM32VL-Discovery/Templates/LICENSE.md | 27 + .../Templates/MDK-ARM/Project.uvoptx | 320 +- .../Templates/MDK-ARM/Project.uvprojx | 20 +- .../Templates/MDK-ARM/startup_stm32f100xb.s | 9 +- .../STM32VL-Discovery/Templates/Src/main.c | 13 +- .../Templates/Src/stm32f1xx_hal_msp.c | 13 +- .../Templates/Src/stm32f1xx_it.c | 13 +- .../Templates/Src/system_stm32f1xx.c | 12 +- .../STM32VL-Discovery/Templates/readme.txt | 13 +- .../Templates_LL/EWARM/startup_stm32f100xb.s | 12 +- .../STM32VL-Discovery/Templates_LL/Inc/main.h | 13 +- .../Templates_LL/Inc/stm32_assert.h | 14 +- .../Templates_LL/Inc/stm32f1xx_it.h | 13 +- .../STM32VL-Discovery/Templates_LL/LICENSE.md | 27 + .../MDK-ARM/startup_stm32f100xb.s | 9 +- .../STM32VL-Discovery/Templates_LL/Src/main.c | 13 +- .../Templates_LL/Src/stm32f1xx_it.c | 13 +- .../Templates_LL/Src/system_stm32f1xx.c | 12 +- .../STM32VL-Discovery/Templates_LL/readme.txt | 13 +- Release_Notes.html | 1878 ++++---- Utilities/CPU/LICENSE.md | 27 + Utilities/CPU/Release_Notes.html | 288 +- Utilities/CPU/_htmresc/favicon.png | Bin 0 -> 4126 bytes Utilities/CPU/_htmresc/mini-st_2020.css | 1703 ++++++++ Utilities/CPU/_htmresc/st_logo_2020.png | Bin 0 -> 7520 bytes Utilities/CPU/cpu_utils.c | 66 +- Utilities/CPU/cpu_utils.h | 33 +- Utilities/Fonts/LICENSE.md | 11 + Utilities/Fonts/Release_Notes.html | 234 +- Utilities/Fonts/_htmresc/favicon.png | Bin 0 -> 4126 bytes Utilities/Fonts/_htmresc/mini-st_2020.css | 1703 ++++++++ Utilities/Fonts/_htmresc/st_logo_2020.png | Bin 0 -> 7520 bytes Utilities/Fonts/font12.c | 2274 +++++----- Utilities/Fonts/font16.c | 3084 +++++++------ Utilities/Fonts/font20.c | 3854 ++++++++--------- Utilities/Fonts/font24.c | 35 +- Utilities/Fonts/font8.c | 1296 +++--- Utilities/Fonts/fonts.h | 56 +- Utilities/Log/LICENSE.md | 11 + Utilities/Log/Release_Notes.html | 255 +- Utilities/Log/_htmresc/favicon.png | Bin 0 -> 4126 bytes Utilities/Log/_htmresc/mini-st_2020.css | 1703 ++++++++ Utilities/Log/_htmresc/st_logo_2020.png | Bin 0 -> 7520 bytes Utilities/Log/lcd_log.c | 31 +- Utilities/Log/lcd_log.h | 30 +- Utilities/Log/lcd_log_conf_template.h | 33 +- _htmresc/CMSIS_Logo_Final.jpg | Bin 123676 -> 0 bytes _htmresc/Eval_archi.bmp | Bin 639238 -> 0 bytes _htmresc/ReleaseNotes_Patch.html | 31 +- _htmresc/STM32Cube.bmp | Bin 2246766 -> 1802394 bytes _htmresc/favicon.png | Bin 0 -> 4126 bytes _htmresc/logo.bmp | Bin 6798 -> 0 bytes _htmresc/mini-st_2020.css | 1703 ++++++++ _htmresc/st_logo.png | Bin 18616 -> 0 bytes _htmresc/st_logo_2020.png | Bin 0 -> 7520 bytes _htmresc/stmtouch.bmp | Bin 401910 -> 0 bytes package.xml | 2 +- 2972 files changed, 42242 insertions(+), 36001 deletions(-) create mode 100644 Drivers/BSP/Components/stlm75/LICENSE.md create mode 100644 Drivers/BSP/STM3210C_EVAL/LICENSE.md create mode 100644 Drivers/BSP/STM3210C_EVAL/README.md create mode 100644 Drivers/BSP/STM3210C_EVAL/_htmresc/favicon.png rename Drivers/BSP/{STM3210E_EVAL/_htmresc/mini-st.css => STM3210C_EVAL/_htmresc/mini-st_2020.css} (78%) create mode 100644 Drivers/BSP/STM3210C_EVAL/_htmresc/st_logo_2020.png create mode 100644 Drivers/BSP/STM3210E_EVAL/README.md create mode 100644 Drivers/BSP/STM3210E_EVAL/_htmresc/favicon.png rename Drivers/{STM32F1xx_HAL_Driver/_htmresc/mini-st.css => BSP/STM3210E_EVAL/_htmresc/mini-st_2020.css} (78%) delete mode 100644 Drivers/BSP/STM3210E_EVAL/_htmresc/st_logo.png create mode 100644 Drivers/BSP/STM3210E_EVAL/_htmresc/st_logo_2020.png create mode 100644 Drivers/BSP/STM32F1xx_Nucleo/LICENSE.md create mode 100644 Drivers/BSP/STM32F1xx_Nucleo/README.md create mode 100644 Drivers/BSP/STM32F1xx_Nucleo/_htmresc/favicon.png rename Drivers/{CMSIS/Device/ST/STM32F1xx/_htmresc/mini-st.css => BSP/STM32F1xx_Nucleo/_htmresc/mini-st_2020.css} (78%) create mode 100644 Drivers/BSP/STM32F1xx_Nucleo/_htmresc/st_logo_2020.png create mode 100644 Drivers/BSP/STM32VL-Discovery/LICENSE.md create mode 100644 Drivers/BSP/STM32VL-Discovery/README.md create mode 100644 Drivers/BSP/STM32VL-Discovery/_htmresc/favicon.png rename _htmresc/mini-st.css => Drivers/BSP/STM32VL-Discovery/_htmresc/mini-st_2020.css (78%) create mode 100644 Drivers/BSP/STM32VL-Discovery/_htmresc/st_logo_2020.png create mode 100644 Drivers/CMSIS/Device/ST/STM32F1xx/_htmresc/favicon.png create mode 100644 Drivers/CMSIS/Device/ST/STM32F1xx/_htmresc/mini-st_2020.css delete mode 100644 Drivers/CMSIS/Device/ST/STM32F1xx/_htmresc/st_logo.png create mode 100644 Drivers/CMSIS/Device/ST/STM32F1xx/_htmresc/st_logo_2020.png create mode 100644 Drivers/STM32F1xx_HAL_Driver/_htmresc/favicon.png create mode 100644 Drivers/STM32F1xx_HAL_Driver/_htmresc/mini-st_2020.css delete mode 100644 Drivers/STM32F1xx_HAL_Driver/_htmresc/st_logo.png create mode 100644 Drivers/STM32F1xx_HAL_Driver/_htmresc/st_logo_2020.png delete mode 100644 Middlewares/Third_Party/FreeRTOS/License/license.txt create mode 100644 Projects/Release_Notes.html create mode 100644 Projects/STM3210C_EVAL/Applications/LICENSE.md create mode 100644 Projects/STM3210C_EVAL/Examples/LICENSE.md create mode 100644 Projects/STM3210C_EVAL/Templates/LICENSE.md create mode 100644 Projects/STM3210C_EVAL/Templates_LL/LICENSE.md create mode 100644 Projects/STM3210E_EVAL/Applications/LICENSE.md create mode 100644 Projects/STM3210E_EVAL/Examples/LICENSE.md create mode 100644 Projects/STM3210E_EVAL/Examples_LL/LICENSE.md create mode 100644 Projects/STM3210E_EVAL/Examples_MIX/LICENSE.md create mode 100644 Projects/STM3210E_EVAL/Templates/LICENSE.md create mode 100644 Projects/STM3210E_EVAL/Templates_LL/LICENSE.md create mode 100644 Projects/STM32F103RB-Nucleo/Applications/LICENSE.md create mode 100644 Projects/STM32F103RB-Nucleo/Demonstrations/LICENSE.md create mode 100644 Projects/STM32F103RB-Nucleo/Examples/LICENSE.md create mode 100644 Projects/STM32F103RB-Nucleo/Examples_LL/LICENSE.md create mode 100644 Projects/STM32F103RB-Nucleo/Examples_MIX/LICENSE.md create mode 100644 Projects/STM32F103RB-Nucleo/Templates/LICENSE.md create mode 100644 Projects/STM32F103RB-Nucleo/Templates_LL/LICENSE.md create mode 100644 Projects/STM32VL-Discovery/Examples/LICENSE.md create mode 100644 Projects/STM32VL-Discovery/Templates/LICENSE.md create mode 100644 Projects/STM32VL-Discovery/Templates_LL/LICENSE.md create mode 100644 Utilities/CPU/LICENSE.md create mode 100644 Utilities/CPU/_htmresc/favicon.png create mode 100644 Utilities/CPU/_htmresc/mini-st_2020.css create mode 100644 Utilities/CPU/_htmresc/st_logo_2020.png create mode 100644 Utilities/Fonts/LICENSE.md create mode 100644 Utilities/Fonts/_htmresc/favicon.png create mode 100644 Utilities/Fonts/_htmresc/mini-st_2020.css create mode 100644 Utilities/Fonts/_htmresc/st_logo_2020.png create mode 100644 Utilities/Log/LICENSE.md create mode 100644 Utilities/Log/_htmresc/favicon.png create mode 100644 Utilities/Log/_htmresc/mini-st_2020.css create mode 100644 Utilities/Log/_htmresc/st_logo_2020.png delete mode 100644 _htmresc/CMSIS_Logo_Final.jpg delete mode 100644 _htmresc/Eval_archi.bmp create mode 100644 _htmresc/favicon.png delete mode 100644 _htmresc/logo.bmp create mode 100644 _htmresc/mini-st_2020.css delete mode 100644 _htmresc/st_logo.png create mode 100644 _htmresc/st_logo_2020.png delete mode 100644 _htmresc/stmtouch.bmp diff --git a/Drivers/BSP/Components/stlm75/LICENSE.md b/Drivers/BSP/Components/stlm75/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Drivers/BSP/Components/stlm75/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Drivers/BSP/Components/stlm75/Release_Notes.html b/Drivers/BSP/Components/stlm75/Release_Notes.html index 4fd3290..b7d899a 100644 --- a/Drivers/BSP/Components/stlm75/Release_Notes.html +++ b/Drivers/BSP/Components/stlm75/Release_Notes.html @@ -91,7 +91,20 @@ Notes for STLM75 Component Driver

Update History

-

V1.0.1 +

V1.0.2 +/ 27-January-2023

+

Main +Changes

+ + + + + + + + + +
  • Fix compilation warning in STLM75_Init() with IAR version higher than V8.30.1.
  • All source files: update disclaimer to add reference to the new license agreement.

V1.0.1 / 24-November-2014

Main Changes

@@ -117,47 +130,7 @@ Changes

-
  • First official release of STLM75 Temperature Sensor Component driver
-

License
-

-
Redistribution -and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met:
-
-
    -
  1. Redistributions -of source code must retain the above copyright notice, this list of -conditions and the following disclaimer.
  2. -
  3. Redistributions -in binary form must reproduce the above copyright notice, this list of -conditions and the following disclaimer in the -documentation and/or other materials provided with the distribution.
  4. -
  5. Neither the -name of STMicroelectronics nor the names of its contributors may be -used to endorse or promote products derived
    -
  6. -
-       -from this software without specific prior written permission.
-
-THIS -SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, -INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF -THE POSSIBILITY OF SUCH DAMAGE.
-

- +

For diff --git a/Drivers/BSP/Components/stlm75/stlm75.c b/Drivers/BSP/Components/stlm75/stlm75.c index 2d69b4f..5a098a4 100644 --- a/Drivers/BSP/Components/stlm75/stlm75.c +++ b/Drivers/BSP/Components/stlm75/stlm75.c @@ -2,36 +2,17 @@ ****************************************************************************** * @file stlm75.c * @author MCD Application Team - * @version V1.0.1 - * @date 24-November-2014 * @brief This file provides a set of functions needed to manage the STLM75 * Temperature Sensor. ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2014 STMicroelectronics

+ * Copyright (c) 2014 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,7 +29,7 @@ */ /** @defgroup STLM75 - * @brief This file provides a set of functions needed to drive the + * @brief This file provides a set of functions needed to drive the * STLM75 Temperature Sensor. * @{ */ @@ -79,7 +60,7 @@ /** @defgroup STLM75_Private_Variables * @{ - */ + */ TSENSOR_DrvTypeDef Stlm75Drv = { STLM75_Init, @@ -107,12 +88,12 @@ TSENSOR_DrvTypeDef Stlm75Drv = /** * @brief Set STLM75 Initialization. * @param DeviceAddr : Device ID address. - * @param pInitStruct: pointer to a STLM75_InitTypeDef structure + * @param pInitStruct: pointer to a STLM75_InitTypeDef structure * that contains the configuration setting for the STLM75. * @retval None */ void STLM75_Init(uint16_t DeviceAddr, TSENSOR_InitTypeDef *pInitStruct) -{ +{ uint8_t confreg = 0; uint16_t tempreg = 0; @@ -122,24 +103,24 @@ void STLM75_Init(uint16_t DeviceAddr, TSENSOR_InitTypeDef *pInitStruct) /* Set the Temperature Registers */ /* Keep the sign bit and shift the temperature value (as given value is integer, the 0.5 digit is not set) */ - tempreg = (((pInitStruct->TemperatureLimitHigh & 0x007F) << 8) | (pInitStruct->TemperatureLimitHigh & 0x8000)); + tempreg = (((pInitStruct->TemperatureLimitHigh & 0x7F) << 8) | (pInitStruct->TemperatureLimitHigh & 0x80)); TSENSOR_IO_Write(DeviceAddr, (uint8_t*)(&tempreg), LM75_REG_TOS, 2); - tempreg = (((pInitStruct->TemperatureLimitLow & 0x007F) << 8) | (pInitStruct->TemperatureLimitLow & 0x8000)); + tempreg = (((pInitStruct->TemperatureLimitLow & 0x7F) << 8) | (pInitStruct->TemperatureLimitLow & 0x80)); TSENSOR_IO_Write(DeviceAddr, (uint8_t*)(&tempreg), LM75_REG_THYS, 2); } /** - * @brief Read ID address of STLM75 + * @brief Check if STLM75 sensor is ready or not * @param DeviceAddr : Device ID address. * @param Trials: Number of trials - * @retval ID name + * @retval READY or NOT */ uint8_t STLM75_IsReady(uint16_t DeviceAddr, uint32_t Trials) { /* Configure the low level interface ---------------------------------------*/ TSENSOR_IO_Init(); - + /* Check is Temperature Sensor is Ready to use */ return TSENSOR_IO_IsDeviceReady(DeviceAddr, Trials); } @@ -161,9 +142,9 @@ uint8_t STLM75_ReadStatus(uint16_t DeviceAddr) } /** - * @brief Read ID address of STLM75 - * @param DeviceAddr : Device ID address. - * @retval ID name + * @brief Read temperature value of STLM75 + * @param DeviceAddr: Device ID address + * @retval temperature value */ uint16_t STLM75_ReadTemp(uint16_t DeviceAddr) { @@ -172,7 +153,7 @@ uint16_t STLM75_ReadTemp(uint16_t DeviceAddr) /* Read Temperature registers */ TSENSOR_IO_Read(DeviceAddr, (uint8_t*)(&tempreg), LM75_REG_TEMP, 2); - + tmp = ((tempreg & 0x00FF) << 8) | ((tempreg & 0xFF00) >> 8); tempreg = (((tmp & 0x7F80) >> 7) | (tmp & 0x8000)); @@ -194,5 +175,3 @@ uint16_t STLM75_ReadTemp(uint16_t DeviceAddr) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/Components/stlm75/stlm75.h b/Drivers/BSP/Components/stlm75/stlm75.h index 8143ae6..0f882b5 100644 --- a/Drivers/BSP/Components/stlm75/stlm75.h +++ b/Drivers/BSP/Components/stlm75/stlm75.h @@ -2,36 +2,17 @@ ****************************************************************************** * @file stlm75.h * @author MCD Application Team - * @version V1.0.1 - * @date 24-November-2014 * @brief This file contains all the functions prototypes for the stlm75.c * temperature sensor driver. ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2014 STMicroelectronics

+ * Copyright (c) 2014 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -139,6 +120,3 @@ uint16_t TSENSOR_IO_IsDeviceReady(uint16_t DevAddress, uint32_t #endif #endif /* __STTS751_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210C_EVAL/LICENSE.md b/Drivers/BSP/STM3210C_EVAL/LICENSE.md new file mode 100644 index 0000000..53e726d --- /dev/null +++ b/Drivers/BSP/STM3210C_EVAL/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2014 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/Drivers/BSP/STM3210C_EVAL/README.md b/Drivers/BSP/STM3210C_EVAL/README.md new file mode 100644 index 0000000..1cc3111 --- /dev/null +++ b/Drivers/BSP/STM3210C_EVAL/README.md @@ -0,0 +1,41 @@ +# BSP STM3210C-EVAL Component + +![latest tag](https://img.shields.io/github/v/tag/STMicroelectronics/stm3210c-eval.svg?color=brightgreen) + +## Overview + +**STM32Cube** is an STMicroelectronics original initiative to ease developers' life by reducing efforts, time and cost. + +**STM32Cube** covers the overall STM32 products portfolio. It includes a comprehensive embedded software platform delivered for each STM32 series. + * The CMSIS modules (core and device) corresponding to the ARM(tm) core implemented in this STM32 product. + * The STM32 HAL-LL drivers, an abstraction layer offering a set of APIs ensuring maximized portability across the STM32 portfolio. + * The BSP drivers of each evaluation, demonstration or nucleo board provided for this STM32 series. + * A consistent set of middleware libraries such as RTOS, USB, FatFS, graphics, touch sensing library... + * A full set of software projects (basic examples, applications, and demonstrations) for each board provided for this STM32 series. + +Two models of publication are proposed for the STM32Cube embedded software: + * The monolithic **MCU Package**: all STM32Cube software modules of one STM32 series are present (Drivers, Middleware, Projects, Utilities) in the repository (usual name **STM32Cubexx**, xx corresponding to the STM32 series). + * The **MCU component**: each STM32Cube software module being part of the STM32Cube MCU Package, is delivered as an individual repository, allowing the user to select and get only the required software functions. + +## Description + +This **stm3210c-eval** MCU component repository is one element of the **STM32CubeF1** MCU embedded software package, providing the **STM3210C-EVAL** BSP BOARD component part. + +## Release note + +Details about the content of this release are available in the release note [here](https://htmlpreview.github.io/?https://github.com/STMicroelectronics/stm3210c-eval/blob/main/Release_Notes.html). + +## Compatibility information + +Below is the list of the BSP *component* drivers to be used with this BSP *board* driver. It is **crucial** that you use a consistent set of CMSIS - HAL - BSP versions, as mentioned in [this](https://htmlpreview.github.io/?https://github.com/STMicroelectronics/STM32CubeF1/blob/master/Release_Notes.html) release note. + +* [stm32-bsp-common](https://github.com/STMicroelectronics/stm32-bsp-common) +* [stm32-cs43l22](https://github.com/STMicroelectronics/stm32-cs43l22) +* [stm32-ili9320](https://github.com/STMicroelectronics/stm32-ili9320) +* [stm32-ili9325](https://github.com/STMicroelectronics/stm32-ili9325) +* [stm32-lis302dl](https://github.com/STMicroelectronics/stm32-lis302dl) +* [stm32-stmpe811](https://github.com/STMicroelectronics/stm32-stmpe811) + +## Troubleshooting + +Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) guide. diff --git a/Drivers/BSP/STM3210C_EVAL/Release_Notes.html b/Drivers/BSP/STM3210C_EVAL/Release_Notes.html index 3985ebf..80375e0 100644 --- a/Drivers/BSP/STM3210C_EVAL/Release_Notes.html +++ b/Drivers/BSP/STM3210C_EVAL/Release_Notes.html @@ -1,558 +1,384 @@ - - - - - - - - - - - - - - - - - Release Notes for STM3210C_EVAL Evaluation Board Drivers - - - - - - - - - - -
-


-

-
- - - - - - -
- - - - - - - - - -
-

Back to Release page

-
-

Release -Notes for STM3210C_EVAL Evaluation Board Drivers

-

Copyright -2014 STMicroelectronics

-

-
-

 

- - - - - - -
-

Contents

-
    -
  1. STM3210C_EVAL Evaluation Board Drivers -update History
  2. -
  3. License
  4. -
- - -

STM3210C_EVAL Evaluation Board Drivers update History

V6.1.0 / 14-April-2017

- -

Main -Changes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • Add STM3210C_EVAL_BSP_User_Manual.chm file
  • stm3210c_eval.c/.h:
    • Update SPI/SD I/O low level API to support SD high capacity card (> 2Gbytes)
    • SD_IO_Init(): remove SD pin detecting NVIC configuration
      • Up to user application to configure the SD detecting pin with or without interrupt.
  • stm3210c_eval_sd.c/.h:
    • Update BSP SD APIs to support SD high capacity card (> 2Gbytes)
  • stm3210c_eval_audio.c/.h:
    • Add BSP_AUDIO_OUT_MspInit() and BSP_AUDIO_OUT_MspDeInit() as weak APIs to manage audio hardware resources initialization/de-initialization.

V6.0.2 / 29-April-2016

Main -Changes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • Add AUDIO_IO_DeInit for compatibility with comon V4.0.1.
  • Set the NVIC priority to the lowest possible to not interfere with user settings.

V6.0.1 / 18-December-2015

Main -Changes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • Rename GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH for compatibility with STM32F1xx HAL Drivers V1.0.2.
  • Rename GPIO_SPEED_MEDIUM to GPIO_SPEED_FREQ_MEDIUM for compatibility with STM32F1xx HAL Drivers V1.0.2.

V6.0.0 / 16-December-2014

Main -Changes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • Major update -based on STM32Cube specification: drivers architecture and APIs -modified vs. V5.1.0 and thus the 2 versions are not compatible.
    -
  • This version has to be used only with STM32CubeF1 based development

V5.1.0 / 8-January-2013

- - -

Main -Changes

- - - -
    -
  • stm3210e_eval_lcd.c: update to support new LCD AM240320LGTNQW00H (controller HX8347-D)
  • -
-

V5.0.1 / 05-March-2012

-

Main -Changes

- -
  • All source files: license disclaimer text update and add link to the License file on ST Internet.
- - -

V5.0.0 / 03-February-2012

-

Main -Changes

- -
  • All source files: update disclaimer to add reference to the new license agreement
  • Update STM32 Evaluation Board Drivers architecture and folder organization, full API compatibility maintained vs. V4.6.2
    • All the HW drivers required for each board are provided within this board folder. The concerned drivers are:
      • stm32_eval_i2c_ee.c\.h: I2C M24Cxx EEPROM memory driver
      • stm32_eval_i2c_tsensor.c\.h: I2C LM75 temperature sensor driver
      • stm32_eval_spi_flash.c\.h: SPI M25Pxxx FLASH memory driver
      • stm32_eval_sdio_sd.c\.h: SDIO SD Card memory driver
      • stm32_eval_spi_sd.c\.h: SPI SD Card memory driver 
      • These drivers were moved from \Common to \STM32XXX_EVAL folder(s)
    • \Common folder contains only drivers for the fonts and log module used by the LCD driver
    • stm32_eval.c\.h files removed, as consequence you need to perform the following update on your project configuration  (based on EVAL drivers V4.6.2):
      • In the project files, add your EVAL board driver source file "stm3210e_eval.c" instead of "stm32_eval.c"
      • Include your EVAL board driver header file #include "stm3210e_eval.h" instead of #include "stm32_eval.h"
      • If -you are using the EVAL board's LCD, you need to add the include of -the LCD header file #include "stm3210e_eval_lcd.h"
        • If -you are using the LCD log module, after copying it to the application -folder you have to edit it and update the name of the LCD header file. For more details, refer to the lcd_log_conf_template.h driver description.
  • stm3210e_eval_lcd.c
    • Remove “static” from TextColor and BackColor variables declaration (need to be changed from other application modules) 
  • stm3210e_eval.h/.c
    • change value of “SDIO_TRANSFER_CLK_DIV” define from 0 to 1 to achieve SD max frequency at 24MHz.
    • Remove SD_DMAEndOfTransferStatus() function as now the DMA transfer is tracked using DMA End of transfer interrupt.
    • Update SD_LowLevel_DMA_TxConfig() and SD_LowLevel_DMA_RxConfig() functions to enable the DMA transfer complete IT
  • stm3210e_eval_sdio_sd.h/.c
    • Add new function SD_ProcessDMAIRQ() to be called from the DMA end of transfer interrupt. 
    • Add some improvements by handling SDIO errors and adding timeout for different loops.
    • Update to support SDHC memory cards with capacity greater than 4 GB
      • SD_CardInfo structure, define CardCapacity variable as 64-bit long (instead of 32-bit)
      • Declare ReadAddr and WriteAddr parameters in SD_ReadBlock(),SD_WriteBlock(), SD_ReadMultiBlocks() and SD_WriteMultiBlocks() as 64-bit long (instead of 32-bit)
    • Refer to the driver header file's comments for more information on how to use the provided API.
  • stm3210e_eval_fsmc_nor.c
    • NOR_ProgramBuffer() function: remove this comment "This function must be used only with S29GL128P NOR memory."  

V4.6.2 / 22-July-2011

-

Main -Changes

- -
  • STM3210C_EVAL
    • stm3210c_eval_lcd.c: update to support new LCD AM240320D5TOQW01H (controller ILI9325)
  • STM322xG-EVAL
    • stm322xg_eval.h: fix value of the SDIO clock divider (SDIO_TRANSFER_CLK_DIV constant) to 2 instead of 0
    • stm322xg_eval_lcd.c: increase FSMC AddressSetupTime value from 1 to 3 to be compliant with some LCD access timing
    • stm322xg_eval_audio_codec.c: update Codec_CtrlInterface_Init() and Codec_GPIO_Init() functions to not reconfigure the I2C peripheral if it's already enabled and configured (to -avoid configuring the I2C twice when using both Audio codec and IO -Expander drivers in the same application).

V4.6.1 / 18-April-2011

-

Main -Changes

- -
  • Update some STM322xG_EVAL drivers (no change on the API) to fix warnings with TASKING C compiler.
  • Change the Release Notes name to STM32 Evaluation Board Drivers
  • stm322xg_eval.c
    • SD_LowLevel_Init(): change SDIO pins speed configuration to "GPIO_Speed_25MHz"

V4.6.0 / 11-March-2011

-

Main -Changes

- -
  • Official version supporting STM322xG_EVAL evaluation board RevB (for STM32F2xx devices).
  • Common
    • Add -new LCD log utility drivers: The LCD Log module allows to automatically -set a header and footer on any application using the LCD display and -allows to dump user, debug and error messages by using the following -macros: LCD_ErrLog(),    LCD_UsrLog() and LCD_DbgLog().
Note: the STM322xG_EVAL board RevA was wrongly named STM3220F_EVAL

V4.5.0 / 07-March-2011

-

Main -Changes

- -
  • stm32_eval_sdio_sd.c\.h: driver improvement
    • SD Clock increased to 24MHz to improve the data transfer performance.
    • Add -new functions to check the SDIO peripheral and SD Card status at any -time: SD_WaitReadOperation(), SD_WaitWriteOperation(). The -software sequence is little bit changed but without any impact on -driver API. For more details, refer to the stm32_eval_sdio_sd.c -driver description.
    • Add -new structure containing the SD Status register parameters. This -structure is called by the -         - SD_SendSDStatus() function.
    • Transfers mode updated
      • Read/Write Block using Polling and DMA modes
      • Read/Write Multi Blocks using DMA mode only
      • Interrupt mode removed
    • Data transfer functions are managing only fixed Block size (512-byte) 
  • STM32100B-EVAL
    • stm32100b_eval_cec.c: fix some strict ANSI-C errors
  • STM32100E-EVAL
    • stm32100e_eval_cec.c: fix some strict ANSI-C errors
-

V4.4.0 / 31-December-2010

-

Main -Changes

- -
  • Add new directory for STM32L152-EVAL board containing the following files:
    • stm32l152_eval.h/.c, stm32l152_eval_lcd.h/.c, stm32l152_eval_glass_lcd.h/.c, stm32l152_eval_i2c_ee.h/.c
  • Add support for the STM32100E-EVAL Rev B: SPI FLASH CS pin "sFLASH_CS_PIN" changed from PB.02 to PE.06.
  • stm32100e_eval_lcd.h/.c: Add support for "LCD_ILI9325" LCD controller.
  • stm32100e_eval_fsmc_onenand.h/.c driver updated to correct asynchronous and synchronous read operations procedures.
    -
- -

4.3.0 -- 10/15/2010

-
  1. General
- -
  • I2C EEPROM, Temperature Sensor and IOE Expander drivers updated to use the DMA for read/write transfer and add more robustness
  • SD Card (SDIO) driver updated to add more robustness
  • SPI Flash and SD Card (SPI) drivers: SPI MISO pin configuration changed to Input Floating 
- - - -
  1. Utilities
- - - - - -
  • Add new directory for STM32100E-EVAL board containing the following files:
    • stm32100e_eval.h/.c, -stm32100e_eval_lcd.h/.c, stm32100e_eval_cec.h/.c, -stm32100e_eval_fsmc_onenand.h/.c, stm32100e_eval_fsmc_sram.h/.c, -stm32100e_eval_ioe.h/.c
      -
  • Common
    • stm32_eval_sdio_sd.c: -Update the DMA End of Transfer Check loop inside the SD_ReadBlock(), -SD_WriteBlock(), SD_ReadMultiBlocks() and SD_Write MultiBlocks().
    • stm32_eval_i2c_ee.c/.h
      -
      • Enhanced sEE_WaitEepromStandbyState() function for more robustness.
      • Enhanced Read and Write operations to manage I2C limitations.
      • Add Timeout management with user callback implementation which allows recovering from I2C bus errors.
      • Add -critical sections user callbacks allowing to disable then enable -interrupts when I2C operation require to be not interrupted.
    • stm32_eval_i2c_tsensor.c/.h
      -
      • Enhanced I2C communication functions by using DMA for registers Read and Write operations.
      • Add Timeout management with user callback implementation which allows recovering from I2C bus errors.
  • STM32100B_EVAL
    • stm32100b_eval.h: Add LM75 DMA defines.
    • stm32100b_eval_lcd.c: Change "SPI_FLASH" by "sFLASH" in LCD_DrawBMP() function.
  • STM3210B_EVAL
    • stm3210b_eval.h: Add LM75 DMA defines.
    • stm3210b_eval_lcd.c: Change "SPI_FLASH" by "sFLASH" in LCD_DrawBMP() function.
  • STM3210C_EVAL
    • stm3210c_eval.h: Add EEPROM driver Timeout define.
    • stm3210c_eval_lcd.c: Change "SPI_FLASH" by "sFLASH" in LCD_DrawBMP() function.
    • stm3210c_eval_i2c_ioe.c
      • Enhanced I2C communication functions by using DMA for registers Read and Write operations.
      • Add Timeout management with user callback implementation which allows recovering from I2C bus errors.
      • change IOE_I2C_SPEED from "400000" to "300000".
  • STM3210E_EVAL
    • stm3210e_eval.c: change "void SD_WaitForDMAEndOfTransfer(void)" to "uint32_t SD_DMAEndOfTransferStatus(void)".
    • stm3210e_eval.h: Add LM75 DMA defines.
    • stm3210e_eval_fsmc_nand.h: remove "NAND_CMD_AREA_TRUE1" define.
    • stm3210e_eval_fsmc_nand.c: Update FSMC timing in NAND_Init() function to be aligned with AN2784 application note.
    • stm3210e_eval_fsmc_nor.c
      • NOR_Init() function: add FSMC_AsynchronousWait field to FSMC_NORSRAMInitStructure 
    • stm3210e_eval_fsmc_sram.c
      -
      • Update FSMC timing in SRAM_Init() function to be aligned with AN2784 application note.
        -
      • SRAM_Init() function: add FSMC_AsynchronousWait field to FSMC_NORSRAMInitStructure 
    • stm3210e_eval_lcd.c
      • LCD_FSMCConfig() function: add FSMC_AsynchronousWait field to FSMC_NORSRAMInitStructure 
- - -

4.2.0 -- 04/16/2010

-
  1. General
- -
  • I2C EEPROM driver -update to use the DMA to -perform data transfer to/from EEPROM memory.
- -
  1. Utilities
-
  • STM32_EVAL
-
    • stm32_eval_i2c_ee.c: -updated to use the DMA to perform data transfer to/from -EEPROM memory. For more details, refer to the description provided -within this file.
    • stm3210c_eval.c: add low level -functions to configure the DMA (needed for I2C EEPROM driver)
      -
    • stm3210c_eval_ioe.c: add a delay -in IOE_TS_GetState() function to wait till the end of ADC -conversion
    • stm3210e_eval_fsmc_nor.c: add PD6 pin configuration in -NOR_Init() function
    • stm3210b_eval_lcd.c: remove the -second ";" from "static void PutPixel(int16_t x, int16_t y);;" 
-

4.1.0 -- 03/01/2010

-
  1. General
-
  • Add support -for STM32 Low-density Value line (STM32F100x4/6) and -Medium-density Value line (STM32F100x8/B) devices.
  • Add support for the -STMicroelectronics STM32100B-EVAL evaluation board.
-
  1. Utilities
-
  • STM32_EVAL
-
  • Add new directory -"Common" containing a common drivers for all STM32 evaluation boards: -fonts.h/.c, stm32_eval_i2c_ee.h/.c, stm32_eval_spi_flash.h/.c, - stm32_eval_i2c_tsensor.h/.c, - stm32_eval_spi_sd.h/.c -and stm32_eval_sdio_sd.h/.c
  • Add new driver for the -STM32100B-EVAL managing Leds, push button and COM ports.
  • New HDMI CEC High level -driver.
    -
  • For all LCD drivers new fonts has -been added.
  • New FSMC memories -drivers for STM3210E-EVAL board: stm3210e_eval_fsmc_sram.h/.c, stm3210e_eval_fsmc_nor.h/.c -and stm3210e_eval_fsmc_nand.h/.c.

License

-Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met:
-
-
  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions -in binary form must reproduce the above copyright notice, this list of -conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived
    -
    -
-        from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- -
-
-
-

For -complete documentation on STM32 Microcontrollers visit www.st.com/STM32

-
-

-
+ + + + + + + Release Notes for STM3210C_EVAL Evaluation Board Drivers + + + + + + +
+
+
+

Release Notes for STM3210C_EVAL Evaluation Board Drivers

+

Copyright © 2014 STMicroelectronics
+

+ +
+

Purpose

+

This directory contains the board drivers to demonstrate the capabilities of the STM3210C Evaluation Kit.

-

 

+
+

Update History

+
+ +
+

Main Changes

+
    +
  • All source files: update disclaimer to add reference to the new license agreement.
  • +
- - \ No newline at end of file +
+
+ +
+

Main Changes

+
    +
  • Add STM3210C_EVAL_BSP_User_Manual.chm file
  • +
  • stm3210c_eval.c/.h: +
      +
    • Update SPI/SD I/O low level API to support SD high capacity card (> 2Gbytes)
    • +
    • SD_IO_Init(): remove SD pin detecting NVIC configuration +
        +
      • Up to user application to configure the SD detecting pin with or without interrupt.
      • +
    • +
  • +
  • stm3210c_eval_sd.c/.h: +
      +
    • Update BSP SD APIs to support SD high capacity card (> 2Gbytes)
    • +
  • +
  • stm3210c_eval_audio.c/.h: +
      +
    • Add BSP_AUDIO_OUT_MspInit() and BSP_AUDIO_OUT_MspDeInit() as weak APIs to manage audio hardware resources initialization/de-initialization.
    • +
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Add AUDIO_IO_DeInit for compatibility with common V4.0.1.
  • +
  • Set the NVIC priority to the lowest possible to not interfere with user settings.
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Rename GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH for compatibility with STM32F1xx HAL Drivers V1.0.2.
  • +
  • Rename GPIO_SPEED_MEDIUM to GPIO_SPEED_FREQ_MEDIUM for compatibility with STM32F1xx HAL Drivers V1.0.2.
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Major update based on STM32Cube specification: drivers architecture and APIs modified vs. V5.1.0 and thus the 2 versions are not compatible.
  • +
  • This version has to be used only with STM32CubeF1 based development.
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • stm3210e_eval_lcd.c: update to support new LCD AM240320LGTNQW00H (controller HX8347-D).
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • All source files: license disclaimer text update and add link to the License file on ST Internet.
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • All source files: update disclaimer to add reference to the new license agreement
  • +
  • Update STM32 Evaluation Board Drivers architecture and folder organization, full API compatibility maintained vs. V4.6.2 +
      +
    • All the HW drivers required for each board are provided within this board folder. The concerned drivers are: +
        +
      • stm32_eval_i2c_ee.c.h: I2C M24Cxx EEPROM memory driver
      • +
      • stm32_eval_i2c_tsensor.c.h: I2C LM75 temperature sensor driver
      • +
      • stm32_eval_spi_flash.c.h: SPI M25Pxxx FLASH memory driver
      • +
      • stm32_eval_sdio_sd.c.h: SDIO SD Card memory driver
      • +
      • stm32_eval_spi_sd.c.h: SPI SD Card memory driver
      • +
      • These drivers were moved from to 32XXX_EVAL folder(s)
      • +
    • +
    • Common folder contains only drivers for the fonts and log module used by the LCD driver
    • +
    • stm32_eval.c.h files removed, as consequence you need to perform the following update on your project configuration (based on EVAL drivers V4.6.2): +
        +
      • In the project files, add your EVAL board driver source file “stm3210e_eval.c†instead of “stm32_eval.câ€
      • +
      • Include your EVAL board driver header file #include “stm3210e_eval.h†instead of #include “stm32_eval.hâ€
      • +
      • If you are using the EVAL board’s LCD, you need to add the include of the LCD header file #include “stm3210e_eval_lcd.h†+
          +
        • If you are using the LCD log module, after copying it to the application folder you have to edit it and update the name of the LCD header file. For more details, refer to the lcd_log_conf_template.h driver description.
        • +
      • +
    • +
  • +
  • stm3210e_eval_lcd.c +
      +
    • Remove “static†from TextColor and BackColor variables declaration (need to be changed from other application modules)
    • +
  • +
  • stm3210e_eval.h/.c +
      +
    • change value of “SDIO_TRANSFER_CLK_DIV†define from 0 to 1 to achieve SD max frequency at 24MHz.
    • +
    • Remove SD_DMAEndOfTransferStatus() function as now the DMA transfer is tracked using DMA End of transfer interrupt.
    • +
    • Update SD_LowLevel_DMA_TxConfig() and SD_LowLevel_DMA_RxConfig() functions to enable the DMA transfer complete IT
    • +
  • +
  • stm3210e_eval_sdio_sd.h/.c +
      +
    • Add new function SD_ProcessDMAIRQ() to be called from the DMA end of transfer interrupt.
    • +
    • Add some improvements by handling SDIO errors and adding timeout for different loops.
    • +
    • Update to support SDHC memory cards with capacity greater than 4 GB +
        +
      • SD_CardInfo structure, define CardCapacity variable as 64-bit long (instead of 32-bit)
      • +
      • Declare ReadAddr and WriteAddr parameters in SD_ReadBlock(),SD_WriteBlock(), SD_ReadMultiBlocks() and SD_WriteMultiBlocks() as 64-bit long (instead of 32-bit)
      • +
    • +
    • Refer to the driver header file’s comments for more information on how to use the provided API.
    • +
  • +
  • stm3210e_eval_fsmc_nor.c +
      +
    • NOR_ProgramBuffer() function: remove this comment “This function must be used only with S29GL128P NOR memory.â€
    • +
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • STM3210C_EVAL +
      +
    • stm3210c_eval_lcd.c: update to support new LCD AM240320D5TOQW01H (controller ILI9325)
    • +
  • +
  • STM322xG-EVAL +
      +
    • stm322xg_eval.h: fix value of the SDIO clock divider (SDIO_TRANSFER_CLK_DIV constant) to 2 instead of 0
    • +
    • stm322xg_eval_lcd.c: increase FSMC AddressSetupTime value from 1 to 3 to be compliant with some LCD access timing
    • +
    • stm322xg_eval_audio_codec.c: update Codec_CtrlInterface_Init() and Codec_GPIO_Init() functions to not reconfigure the I2C peripheral if it’s already enabled and configured (to avoid configuring the I2C twice when using both Audio codec and IO Expander drivers in the same application).
    • +
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Update some STM322xG_EVAL drivers (no change on the API) to fix warnings with TASKING C compiler.
  • +
  • Change the Release Notes name to STM32 Evaluation Board Drivers
  • +
  • stm322xg_eval.c +
      +
    • SD_LowLevel_Init(): change SDIO pins speed configuration to “GPIO_Speed_25MHzâ€
    • +
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Official version supporting STM322xG_EVAL evaluation board RevB (for STM32F2xx devices).
  • +
  • Common +
      +
    • Add new LCD log utility drivers: The LCD Log module allows to automatically set a header and footer on any application using the LCD display and allows to dump user, debug and error messages by using the following macros: LCD_ErrLog(), LCD_UsrLog() and LCD_DbgLog().
    • +
  • +
  • Note: the STM322xG_EVAL board RevA was wrongly named STM3220F_EVAL
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • stm32_eval_sdio_sd.c.h: driver improvement +
      +
    • SD Clock increased to 24MHz to improve the data transfer performance.
    • +
    • Add new functions to check the SDIO peripheral and SD Card status at any time: SD_WaitReadOperation(), SD_WaitWriteOperation(). The software sequence is little bit changed but without any impact on driver API. For more details, refer to the stm32_eval_sdio_sd.c driver description.
    • +
    • Add new structure containing the SD Status register parameters. This structure is called by the SD_SendSDStatus() function.
    • +
    • Transfers mode updated +
        +
      • Read/Write Block using Polling and DMA modes
      • +
      • Read/Write Multi Blocks using DMA mode only
      • +
      • Interrupt mode removed
      • +
    • +
    • Data transfer functions are managing only fixed Block size (512-byte)
    • +
  • +
  • STM32100B-EVAL +
      +
    • stm32100b_eval_cec.c: fix some strict ANSI-C errors
    • +
  • +
  • STM32100E-EVAL +
      +
    • stm32100e_eval_cec.c: fix some strict ANSI-C errors
    • +
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Add new directory for STM32L152-EVAL board containing the following files: +
      +
    • stm32l152_eval.h/.c, stm32l152_eval_lcd.h/.c, stm32l152_eval_glass_lcd.h/.c, stm32l152_eval_i2c_ee.h/.c
    • +
  • +
  • Add support for the STM32100E-EVAL Rev B: SPI FLASH CS pin “sFLASH_CS_PIN†changed from PB.02 to PE.06.
  • +
  • stm32100e_eval_lcd.h/.c: Add support for “LCD_ILI9325†LCD controller.
  • +
  • stm32100e_eval_fsmc_onenand.h/.c driver updated to correct asynchronous and synchronous read operations procedures.
  • +
+
+
+
+ +
+

General

+
    +
  • I2C EEPROM, Temperature Sensor and IOE Expander drivers updated to use the DMA for read/write transfer and add more robustness
  • +
  • SD Card (SDIO) driver updated to add more robustness
  • +
  • SPI Flash and SD Card (SPI) drivers: SPI MISO pin configuration changed to Input Floating
  • +
+

Utilities

+
    +
  • Add new directory for STM32100E-EVAL board containing the following files: +
      +
    • stm32100e_eval.h/.c, stm32100e_eval_lcd.h/.c, stm32100e_eval_cec.h/.c, stm32100e_eval_fsmc_onenand.h/.c, stm32100e_eval_fsmc_sram.h/.c, stm32100e_eval_ioe.h/.c
    • +
  • +
  • Common +
      +
    • stm32_eval_sdio_sd.c: Update the DMA End of Transfer Check loop inside the SD_ReadBlock(), SD_WriteBlock(), SD_ReadMultiBlocks() and SD_Write MultiBlocks().
    • +
    • stm32_eval_i2c_ee.c/.h +
        +
      • Enhanced sEE_WaitEepromStandbyState() function for more robustness.
      • +
      • Enhanced Read and Write operations to manage I2C limitations.
      • +
      • Add Timeout management with user callback implementation which allows recovering from I2C bus errors.
      • +
      • Add critical sections user callbacks allowing to disable then enable interrupts when I2C operation require to be not interrupted.
      • +
    • +
    • stm32_eval_i2c_tsensor.c/.h +
        +
      • Enhanced I2C communication functions by using DMA for registers Read and Write operations.
      • +
      • Add Timeout management with user callback implementation which allows recovering from I2C bus errors.
      • +
    • +
  • +
  • STM32100B_EVAL +
      +
    • stm32100b_eval.h: Add LM75 DMA defines.
    • +
    • stm32100b_eval_lcd.c: Change “SPI_FLASH†by “sFLASH†in LCD_DrawBMP() function.
    • +
  • +
  • STM3210B_EVAL +
      +
    • stm3210b_eval.h: Add LM75 DMA defines.
    • +
    • stm3210b_eval_lcd.c: Change “SPI_FLASH†by “sFLASH†in LCD_DrawBMP() function.
    • +
  • +
  • STM3210C_EVAL +
      +
    • stm3210c_eval.h: Add EEPROM driver Timeout define.
    • +
    • stm3210c_eval_lcd.c: Change “SPI_FLASH†by “sFLASH†in LCD_DrawBMP() function.
    • +
    • stm3210c_eval_i2c_ioe.c +
        +
      • Enhanced I2C communication functions by using DMA for registers Read and Write operations.
      • +
      • Add Timeout management with user callback implementation which allows recovering from I2C bus errors.
      • +
      • change IOE_I2C_SPEED from “400000†to “300000â€.
      • +
    • +
  • +
  • STM3210E_EVAL +
      +
    • stm3210e_eval.c: change “void SD_WaitForDMAEndOfTransfer(void)†to “uint32_t SD_DMAEndOfTransferStatus(void)â€.
    • +
    • stm3210e_eval.h: Add LM75 DMA defines.
    • +
    • stm3210e_eval_fsmc_nand.h: remove “NAND_CMD_AREA_TRUE1†define.
    • +
    • stm3210e_eval_fsmc_nand.c: Update FSMC timing in NAND_Init() function to be aligned with AN2784 application note.
    • +
    • stm3210e_eval_fsmc_nor.c +
        +
      • NOR_Init() function: add FSMC_AsynchronousWait field to FSMC_NORSRAMInitStructure
      • +
    • +
    • stm3210e_eval_fsmc_sram.c +
        +
      • Update FSMC timing in SRAM_Init() function to be aligned with AN2784 application note.
      • +
      • SRAM_Init() function: add FSMC_AsynchronousWait field to FSMC_NORSRAMInitStructure
      • +
    • +
    • stm3210e_eval_lcd.c +
        +
      • LCD_FSMCConfig() function: add FSMC_AsynchronousWait field to FSMC_NORSRAMInitStructure
      • +
    • +
  • +
+
+
+
+ +
+

General

+
    +
  • I2C EEPROM driver update to use the DMA to perform data transfer to/from EEPROM memory.
  • +
+

Utilities

+
    +
  • STM32_EVAL +
      +
    • stm32_eval_i2c_ee.c: updated to use the DMA to perform data transfer to/from EEPROM memory. For more details, refer to the description provided within this file.
    • +
    • stm3210c_eval.c: add low level functions to configure the DMA (needed for I2C EEPROM driver)
    • +
    • stm3210c_eval_ioe.c: add a delay in IOE_TS_GetState() function to wait till the end of ADC conversion
    • +
    • stm3210e_eval_fsmc_nor.c: add PD6 pin configuration in NOR_Init() function
    • +
    • stm3210b_eval_lcd.c: remove the second “;†from “static void PutPixel(int16_t x, int16_t y);;â€
    • +
  • +
+
+
+
+ +
+

General

+
    +
  • Add support for STM32 Low-density Value line (STM32F100x4/6) and Medium-density Value line (STM32F100x8/B) devices.
  • +
  • Add support for the STMicroelectronics STM32100B-EVAL evaluation board.
  • +
+

Utilities

+
    +
  • STM32_EVAL +
      +
    • Add new directory “Common†containing a common drivers for all STM32 evaluation boards: fonts.h/.c, stm32_eval_i2c_ee.h/.c, stm32_eval_spi_flash.h/.c, stm32_eval_i2c_tsensor.h/.c, stm32_eval_spi_sd.h/.c and stm32_eval_sdio_sd.h/.c
    • +
    • Add new driver for the STM32100B-EVAL managing Leds, push button and COM ports.
    • +
    • New HDMI CEC High level driver.
    • +
    • For all LCD drivers new fonts has been added.
    • +
    • New FSMC memories drivers for STM3210E-EVAL board: stm3210e_eval_fsmc_sram.h/.c, stm3210e_eval_fsmc_nor.h/.c and stm3210e_eval_fsmc_nand.h/.c.
    • +
  • +
+
+
+
+
+ + + diff --git a/Drivers/BSP/STM3210C_EVAL/_htmresc/favicon.png b/Drivers/BSP/STM3210C_EVAL/_htmresc/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..06713eec4974e141c6e9b4156d34e61e89f282ca GIT binary patch literal 4126 zcmV+(5aI8MP)ZIGU@QfPy~$kHP}Vz9c$a)g>fT6hB^OaK4>c|MGS0000HbW%=J|NsC0|NsC0 z|NsC0|NsC0041%NVgLXD!bwCyRCwCllie1CAP9sJ&9ooo{hxLjw5@YC+xxf~%TE}{ zNd5%935b--eKa7{Q8)vZ;eI6pGFH>rL)887WOA={e(b_&0g-g6to#Hm2B3vqWV>1u z@z7*I(bdWdx-Y=OT@|og)oZEgAbc7ep|Gf{$7j1Oa#T&r4>0xv(+}tR_4biWa z1Q-BfcsgeLIJPbT0000rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-kiKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z000F^NklQWRUVq~pvFslpiNq83Yr*1(ELa!!kppKfxQKEkPzz^I>0W)!71xam z(B64`)5a~kHf9SBOp*Wvo{xA*e4|Kv3g6TCo+fF8q^C$|g>#NlXyY$%lmkmCh$x1Z zFbJ_hiDG`37w>KPVB83d7E3>R@-M9$`|}|QFF}1qSk!nanPdVd3K38edo3y+D*=Uo zfOWCwj(F@GSjPG&B<0O;H!Zm0g>eDeK09{b@xB};mEy; z;Gp5H_Cr65qKM1uYIu6x&16!Ei=BHfJLe)1IUnFqc6d#D=ZVQmV9C73vy1=x$SK;s z=*CYZP+Ei1D5Vjl#u88v5dv#jId?iu)8mM}{mD`GcMXtAC5ap?ZoKr&iYuqTKHe$t zTR%R$ZZwxec?l+0r_LIVbe-mzH+D0*ZYsu4BE~~JA2A+AD?BAArO=g8ZfvXtU~o9c zZ(Bd-RFK5jh*DvM1v6^41HB@0K0qn7E8E&Xz1mk6hvmx?*|WB_H!dcO;5R$=<4b~s z5zr3N4zxlkMKOrDeny(PGpEM6^hGyc7lhg>MWtM!af*pn%&q_PxI(n^(-Zd{ICPAp z(WE@Zz5|EZyt{MEDy&l5$Cba^zU!9k&;Vs7lk$@o02LOwb#e2{#3%Cn2>kQF(RKUU z+tW!;FT0@d+TX^L;>@3RytlTP&ts$pqA}TwENBlg9?$-D zF9Sn4URZx8)hVBw<~NY=h3=so7{jEhG%Zc_0QBSvY~K4BS|W5MAem5XSb6m}VDN$f zy+b3n9qjIJoHM5pqYa`IPH9AIoM=!AE1Er>r|3E}#Jq-S)cTrfD&TZjAuN@+V}3mi zlhOce+q<8>Y?i93G=*Z3Web`ri!Q%p%LR*(bB?;|)B`&=J&ab0Z(UKpbzyZV5o*#& z0FLzzaI$v*-#WB)+`n>BoJ*1AwU0XSu;@w&Hu1WYXVR#!8itC%68CzMeiXhL#`9W$9J30NB-Wg!ex`hBlg9F5u@&o4>hd`TWPv z{r{JbyvQGZzbyvPS}zAifbhF49z~X|@9v|!=No>qsF|P~vf=g>7#%0yk<U?Ha8*Z4HW>#8w>z$A3 z>^uQlk;$a-6CQ(uc@RM)Cbss!xuPVl2@c1u-5tEUw}U8OfP_J+QYhfu$B<0Cj3xm7 c?*aZZ00ulYFs-m=@&Et;07*qoM6N<$f~=14i~s-t literal 0 HcmV?d00001 diff --git a/Drivers/BSP/STM3210E_EVAL/_htmresc/mini-st.css b/Drivers/BSP/STM3210C_EVAL/_htmresc/mini-st_2020.css similarity index 78% rename from Drivers/BSP/STM3210E_EVAL/_htmresc/mini-st.css rename to Drivers/BSP/STM3210C_EVAL/_htmresc/mini-st_2020.css index 71fbc14..3d9e81a 100644 --- a/Drivers/BSP/STM3210E_EVAL/_htmresc/mini-st.css +++ b/Drivers/BSP/STM3210C_EVAL/_htmresc/mini-st_2020.css @@ -1,39 +1,39 @@ @charset "UTF-8"; /* - Flavor name: Default (mini-default) - Author: Angelos Chalaris (chalarangelo@gmail.com) - Maintainers: Angelos Chalaris - mini.css version: v3.0.0-alpha.3 + Flavor name: Custom (mini-custom) + Generated online - https://minicss.org/flavors + mini.css version: v3.0.1 */ /* Browsers resets and base typography. */ /* Core module CSS variable definitions */ :root { - --fore-color: #111; - --secondary-fore-color: #444; - --back-color: #f8f8f8; - --secondary-back-color: #f0f0f0; - --blockquote-color: #f57c00; - --pre-color: #1565c0; - --border-color: #aaa; - --secondary-border-color: #ddd; - --heading-ratio: 1.19; + --fore-color: #03234b; + --secondary-fore-color: #03234b; + --back-color: #ffffff; + --secondary-back-color: #ffffff; + --blockquote-color: #e6007e; + --pre-color: #e6007e; + --border-color: #3cb4e6; + --secondary-border-color: #3cb4e6; + --heading-ratio: 1.2; --universal-margin: 0.5rem; - --universal-padding: 0.125rem; - --universal-border-radius: 0.125rem; - --a-link-color: #0277bd; - --a-visited-color: #01579b; } + --universal-padding: 0.25rem; + --universal-border-radius: 0.075rem; + --background-margin: 1.5%; + --a-link-color: #3cb4e6; + --a-visited-color: #8c0078; } html { - font-size: 14px; } + font-size: 13.5px; } a, b, del, em, i, ins, q, span, strong, u { font-size: 1em; } html, * { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Helvetica, sans-serif; - line-height: 1.4; + font-family: -apple-system, BlinkMacSystemFont, Helvetica, arial, sans-serif; + line-height: 1.25; -webkit-text-size-adjust: 100%; } * { @@ -42,7 +42,10 @@ html, * { body { margin: 0; color: var(--fore-color); - background: var(--back-color); } + @background: var(--back-color); + background: var(--back-color) linear-gradient(#ffd200, #ffd200) repeat-y left top; + background-size: var(--background-margin); + } details { display: block; } @@ -62,9 +65,9 @@ img { height: auto; } h1, h2, h3, h4, h5, h6 { - line-height: 1.2; + line-height: 1.25; margin: calc(1.5 * var(--universal-margin)) var(--universal-margin); - font-weight: 500; } + font-weight: 400; } h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { color: var(--secondary-fore-color); display: block; @@ -74,21 +77,15 @@ h1 { font-size: calc(1rem * var(--heading-ratio) * var(--heading-ratio) * var(--heading-ratio)); } h2 { - font-size: calc(1rem * var(--heading-ratio) * var(--heading-ratio); ); - background: var(--mark-back-color); - font-weight: 600; - padding: 0.1em 0.5em 0.2em 0.5em; - color: var(--mark-fore-color); } - + font-size: calc(1rem * var(--heading-ratio) * var(--heading-ratio) ); + border-style: none none solid none ; + border-width: thin; + border-color: var(--border-color); } h3 { - font-size: calc(1rem * var(--heading-ratio)); - padding-left: calc(2 * var(--universal-margin)); - /* background: var(--border-color); */ - } + font-size: calc(1rem * var(--heading-ratio) ); } h4 { - font-size: 1rem;); - padding-left: calc(4 * var(--universal-margin)); } + font-size: calc(1rem * var(--heading-ratio)); } h5 { font-size: 1rem; } @@ -101,7 +98,7 @@ p { ol, ul { margin: var(--universal-margin); - padding-left: calc(6 * var(--universal-margin)); } + padding-left: calc(3 * var(--universal-margin)); } b, strong { font-weight: 700; } @@ -111,7 +108,7 @@ hr { border: 0; line-height: 1.25em; margin: var(--universal-margin); - height: 0.0625rem; + height: 0.0714285714rem; background: linear-gradient(to right, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent); } blockquote { @@ -121,16 +118,16 @@ blockquote { color: var(--secondary-fore-color); margin: var(--universal-margin); padding: calc(3 * var(--universal-padding)); - border: 0.0625rem solid var(--secondary-border-color); - border-left: 0.375rem solid var(--blockquote-color); + border: 0.0714285714rem solid var(--secondary-border-color); + border-left: 0.3rem solid var(--blockquote-color); border-radius: 0 var(--universal-border-radius) var(--universal-border-radius) 0; } blockquote:before { position: absolute; top: calc(0rem - var(--universal-padding)); left: 0; font-family: sans-serif; - font-size: 3rem; - font-weight: 700; + font-size: 2rem; + font-weight: 800; content: "\201c"; color: var(--blockquote-color); } blockquote[cite]:after { @@ -160,8 +157,8 @@ pre { background: var(--secondary-back-color); padding: calc(1.5 * var(--universal-padding)); margin: var(--universal-margin); - border: 0.0625rem solid var(--secondary-border-color); - border-left: 0.25rem solid var(--pre-color); + border: 0.0714285714rem solid var(--secondary-border-color); + border-left: 0.2857142857rem solid var(--pre-color); border-radius: 0 var(--universal-border-radius) var(--universal-border-radius) 0; } sup, sub, code, kbd { @@ -204,7 +201,8 @@ a { box-sizing: border-box; display: flex; flex: 0 1 auto; - flex-flow: row wrap; } + flex-flow: row wrap; + margin: 0 0 0 var(--background-margin); } .col-sm, [class^='col-sm-'], @@ -565,9 +563,9 @@ a { order: 999; } } /* Card component CSS variable definitions */ :root { - --card-back-color: #f8f8f8; - --card-fore-color: #111; - --card-border-color: #ddd; } + --card-back-color: #3cb4e6; + --card-fore-color: #03234b; + --card-border-color: #03234b; } .card { display: flex; @@ -578,7 +576,7 @@ a { width: 100%; background: var(--card-back-color); color: var(--card-fore-color); - border: 0.0625rem solid var(--card-border-color); + border: 0.0714285714rem solid var(--card-border-color); border-radius: var(--universal-border-radius); margin: var(--universal-margin); overflow: hidden; } @@ -592,7 +590,7 @@ a { margin: 0; border: 0; border-radius: 0; - border-bottom: 0.0625rem solid var(--card-border-color); + border-bottom: 0.0714285714rem solid var(--card-border-color); padding: var(--universal-padding); width: 100%; } .card > .sectione.media { @@ -617,17 +615,18 @@ a { width: auto; } .card.warning { -/* --card-back-color: #ffca28; */ --card-back-color: #e5b8b7; - --card-border-color: #e8b825; } + --card-fore-color: #3b234b; + --card-border-color: #8c0078; } .card.error { - --card-back-color: #b71c1c; - --card-fore-color: #f8f8f8; - --card-border-color: #a71a1a; } + --card-back-color: #464650; + --card-fore-color: #ffffff; + --card-border-color: #8c0078; } .card > .sectione.dark { - --card-back-color: #e0e0e0; } + --card-back-color: #3b234b; + --card-fore-color: #ffffff; } .card > .sectione.double-padded { padding: calc(1.5 * var(--universal-padding)); } @@ -637,12 +636,12 @@ a { */ /* Input_control module CSS variable definitions */ :root { - --form-back-color: #f0f0f0; - --form-fore-color: #111; - --form-border-color: #ddd; - --input-back-color: #f8f8f8; - --input-fore-color: #111; - --input-border-color: #ddd; + --form-back-color: #ffe97f; + --form-fore-color: #03234b; + --form-border-color: #3cb4e6; + --input-back-color: #ffffff; + --input-fore-color: #03234b; + --input-border-color: #3cb4e6; --input-focus-color: #0288d1; --input-invalid-color: #d32f2f; --button-back-color: #e2e2e2; @@ -655,13 +654,13 @@ a { form { background: var(--form-back-color); color: var(--form-fore-color); - border: 0.0625rem solid var(--form-border-color); + border: 0.0714285714rem solid var(--form-border-color); border-radius: var(--universal-border-radius); margin: var(--universal-margin); padding: calc(2 * var(--universal-padding)) var(--universal-padding); } fieldset { - border: 0.0625rem solid var(--form-border-color); + border: 0.0714285714rem solid var(--form-border-color); border-radius: var(--universal-border-radius); margin: calc(var(--universal-margin) / 4); padding: var(--universal-padding); } @@ -671,7 +670,7 @@ legend { display: table; max-width: 100%; white-space: normal; - font-weight: 700; + font-weight: 500; padding: calc(var(--universal-padding) / 2); } label { @@ -716,7 +715,7 @@ input:not([type]), [type="text"], [type="email"], [type="number"], [type="search box-sizing: border-box; background: var(--input-back-color); color: var(--input-fore-color); - border: 0.0625rem solid var(--input-border-color); + border: 0.0714285714rem solid var(--input-border-color); border-radius: var(--universal-border-radius); margin: calc(var(--universal-margin) / 2); padding: var(--universal-padding) calc(1.5 * var(--universal-padding)); } @@ -763,8 +762,8 @@ option { [type="radio"]:checked:before { border-radius: 100%; content: ''; - top: calc(0.0625rem + var(--universal-padding) / 2); - left: calc(0.0625rem + var(--universal-padding) / 2); + top: calc(0.0714285714rem + var(--universal-padding) / 2); + left: calc(0.0714285714rem + var(--universal-padding) / 2); background: var(--input-fore-color); width: 0.5rem; height: 0.5rem; } @@ -793,7 +792,7 @@ a[role="button"], label[role="button"], [role="button"] { display: inline-block; background: var(--button-back-color); color: var(--button-fore-color); - border: 0.0625rem solid var(--button-border-color); + border: 0.0714285714rem solid var(--button-border-color); border-radius: var(--universal-border-radius); padding: var(--universal-padding) calc(1.5 * var(--universal-padding)); margin: var(--universal-margin); @@ -814,7 +813,7 @@ input:disabled, input[disabled], textarea:disabled, textarea[disabled], select:d .button-group { display: flex; - border: 0.0625rem solid var(--button-group-border-color); + border: 0.0714285714rem solid var(--button-group-border-color); border-radius: var(--universal-border-radius); margin: var(--universal-margin); } .button-group > button, .button-group [type="button"], .button-group > [type="submit"], .button-group > [type="reset"], .button-group > .button, .button-group > [role="button"] { @@ -826,13 +825,13 @@ input:disabled, input[disabled], textarea:disabled, textarea[disabled], select:d border-radius: 0; box-shadow: none; } .button-group > :not(:first-child) { - border-left: 0.0625rem solid var(--button-group-border-color); } + border-left: 0.0714285714rem solid var(--button-group-border-color); } @media screen and (max-width: 499px) { .button-group { flex-direction: column; } .button-group > :not(:first-child) { border: 0; - border-top: 0.0625rem solid var(--button-group-border-color); } } + border-top: 0.0714285714rem solid var(--button-group-border-color); } } /* Custom elements for forms and input elements. @@ -874,29 +873,29 @@ button.large, [type="button"].large, [type="submit"].large, [type="reset"].large */ /* Navigation module CSS variable definitions */ :root { - --header-back-color: #f8f8f8; - --header-hover-back-color: #f0f0f0; - --header-fore-color: #444; - --header-border-color: #ddd; - --nav-back-color: #f8f8f8; - --nav-hover-back-color: #f0f0f0; - --nav-fore-color: #444; - --nav-border-color: #ddd; - --nav-link-color: #0277bd; - --footer-fore-color: #444; - --footer-back-color: #f8f8f8; - --footer-border-color: #ddd; - --footer-link-color: #0277bd; - --drawer-back-color: #f8f8f8; - --drawer-hover-back-color: #f0f0f0; - --drawer-border-color: #ddd; - --drawer-close-color: #444; } + --header-back-color: #03234b; + --header-hover-back-color: #ffd200; + --header-fore-color: #ffffff; + --header-border-color: #3cb4e6; + --nav-back-color: #ffffff; + --nav-hover-back-color: #ffe97f; + --nav-fore-color: #e6007e; + --nav-border-color: #3cb4e6; + --nav-link-color: #3cb4e6; + --footer-fore-color: #ffffff; + --footer-back-color: #03234b; + --footer-border-color: #3cb4e6; + --footer-link-color: #3cb4e6; + --drawer-back-color: #ffffff; + --drawer-hover-back-color: #ffe97f; + --drawer-border-color: #3cb4e6; + --drawer-close-color: #e6007e; } header { - height: 3.1875rem; + height: 2.75rem; background: var(--header-back-color); color: var(--header-fore-color); - border-bottom: 0.0625rem solid var(--header-border-color); + border-bottom: 0.0714285714rem solid var(--header-border-color); padding: calc(var(--universal-padding) / 4) 0; white-space: nowrap; overflow-x: auto; @@ -927,7 +926,7 @@ header { nav { background: var(--nav-back-color); color: var(--nav-fore-color); - border: 0.0625rem solid var(--nav-border-color); + border: 0.0714285714rem solid var(--nav-border-color); border-radius: var(--universal-border-radius); margin: var(--universal-margin); } nav * { @@ -946,10 +945,10 @@ nav { nav .sublink-1:before { position: absolute; left: calc(var(--universal-padding) - 1 * var(--universal-padding)); - top: -0.0625rem; + top: -0.0714285714rem; content: ''; height: 100%; - border: 0.0625rem solid var(--nav-border-color); + border: 0.0714285714rem solid var(--nav-border-color); border-left: 0; } nav .sublink-2 { position: relative; @@ -957,16 +956,16 @@ nav { nav .sublink-2:before { position: absolute; left: calc(var(--universal-padding) - 3 * var(--universal-padding)); - top: -0.0625rem; + top: -0.0714285714rem; content: ''; height: 100%; - border: 0.0625rem solid var(--nav-border-color); + border: 0.0714285714rem solid var(--nav-border-color); border-left: 0; } footer { background: var(--footer-back-color); color: var(--footer-fore-color); - border-top: 0.0625rem solid var(--footer-border-color); + border-top: 0.0714285714rem solid var(--footer-border-color); padding: calc(2 * var(--universal-padding)) var(--universal-padding); font-size: 0.875rem; } footer a, footer a:visited { @@ -1013,7 +1012,7 @@ footer.sticky { height: 100vh; overflow-y: auto; background: var(--drawer-back-color); - border: 0.0625rem solid var(--drawer-border-color); + border: 0.0714285714rem solid var(--drawer-border-color); border-radius: 0; margin: 0; z-index: 1110; @@ -1060,38 +1059,36 @@ footer.sticky { */ /* Table module CSS variable definitions. */ :root { - --table-border-color: #aaa; - --table-border-separator-color: #666; - --table-head-back-color: #e6e6e6; - --table-head-fore-color: #111; - --table-body-back-color: #f8f8f8; - --table-body-fore-color: #111; - --table-body-alt-back-color: #eee; } + --table-border-color: #03234b; + --table-border-separator-color: #03234b; + --table-head-back-color: #03234b; + --table-head-fore-color: #ffffff; + --table-body-back-color: #ffffff; + --table-body-fore-color: #03234b; + --table-body-alt-back-color: #f4f4f4; } table { border-collapse: separate; border-spacing: 0; - : margin: calc(1.5 * var(--universal-margin)) var(--universal-margin); + margin: 0; display: flex; flex: 0 1 auto; flex-flow: row wrap; padding: var(--universal-padding); - padding-top: 0; - margin: calc(1.5 * var(--universal-margin)) var(--universal-margin); } + padding-top: 0; } table caption { - font-size: 1.25 * rem; + font-size: 1rem; margin: calc(2 * var(--universal-margin)) 0; max-width: 100%; - flex: 0 0 100%; - text-align: left;} + flex: 0 0 100%; } table thead, table tbody { display: flex; flex-flow: row wrap; - border: 0.0625rem solid var(--table-border-color); } + border: 0.0714285714rem solid var(--table-border-color); } table thead { z-index: 999; border-radius: var(--universal-border-radius) var(--universal-border-radius) 0 0; - border-bottom: 0.0625rem solid var(--table-border-separator-color); } + border-bottom: 0.0714285714rem solid var(--table-border-separator-color); } table tbody { border-top: 0; margin-top: calc(0 - var(--universal-margin)); @@ -1109,11 +1106,11 @@ table { table td { background: var(--table-body-back-color); color: var(--table-body-fore-color); - border-top: 0.0625rem solid var(--table-border-color); } + border-top: 0.0714285714rem solid var(--table-border-color); } table:not(.horizontal) { overflow: auto; - max-height: 850px; } + max-height: 100%; } table:not(.horizontal) thead, table:not(.horizontal) tbody { max-width: 100%; flex: 0 0 100%; } @@ -1134,32 +1131,33 @@ table.horizontal { border: 0; } table.horizontal thead, table.horizontal tbody { border: 0; + flex: .2 0 0; flex-flow: row nowrap; } table.horizontal tbody { overflow: auto; justify-content: space-between; - flex: 1 0 0; - margin-left: calc( 4 * var(--universal-margin)); + flex: .8 0 0; + margin-left: 0; padding-bottom: calc(var(--universal-padding) / 4); } table.horizontal tr { flex-direction: column; flex: 1 0 auto; } table.horizontal th, table.horizontal td { - width: 100%; + width: auto; border: 0; - border-bottom: 0.0625rem solid var(--table-border-color); } + border-bottom: 0.0714285714rem solid var(--table-border-color); } table.horizontal th:not(:first-child), table.horizontal td:not(:first-child) { border-top: 0; } table.horizontal th { text-align: right; - border-left: 0.0625rem solid var(--table-border-color); - border-right: 0.0625rem solid var(--table-border-separator-color); } + border-left: 0.0714285714rem solid var(--table-border-color); + border-right: 0.0714285714rem solid var(--table-border-separator-color); } table.horizontal thead tr:first-child { padding-left: 0; } table.horizontal th:first-child, table.horizontal td:first-child { - border-top: 0.0625rem solid var(--table-border-color); } + border-top: 0.0714285714rem solid var(--table-border-color); } table.horizontal tbody tr:last-child td { - border-right: 0.0625rem solid var(--table-border-color); } + border-right: 0.0714285714rem solid var(--table-border-color); } table.horizontal tbody tr:last-child td:first-child { border-top-right-radius: 0.25rem; } table.horizontal tbody tr:last-child td:last-child { @@ -1191,12 +1189,12 @@ table.horizontal { display: table-row-group; } table tr, table.horizontal tr { display: block; - border: 0.0625rem solid var(--table-border-color); + border: 0.0714285714rem solid var(--table-border-color); border-radius: var(--universal-border-radius); - background: #fafafa; + background: #ffffff; padding: var(--universal-padding); margin: var(--universal-margin); - margin-bottom: calc(2 * var(--universal-margin)); } + margin-bottom: calc(1 * var(--universal-margin)); } table th, table td, table.horizontal th, table.horizontal td { width: auto; } table td, table.horizontal td { @@ -1211,9 +1209,6 @@ table.horizontal { border-top: 0; } table tbody tr:last-child td, table.horizontal tbody tr:last-child td { border-right: 0; } } -:root { - --table-body-alt-back-color: #eee; } - table tr:nth-of-type(2n) > td { background: var(--table-body-alt-back-color); } @@ -1234,8 +1229,8 @@ table.hoverable tr:hover, table.hoverable tr:hover > td, table.hoverable tr:focu */ /* Contextual module CSS variable definitions */ :root { - --mark-back-color: #0277bd; - --mark-fore-color: #fafafa; } + --mark-back-color: #3cb4e6; + --mark-fore-color: #ffffff; } mark { background: var(--mark-back-color); @@ -1243,11 +1238,11 @@ mark { font-size: 0.95em; line-height: 1em; border-radius: var(--universal-border-radius); - padding: calc(var(--universal-padding) / 4) calc(var(--universal-padding) / 2); } + padding: calc(var(--universal-padding) / 4) var(--universal-padding); } mark.inline-block { display: inline-block; font-size: 1em; - line-height: 1.5; + line-height: 1.4; padding: calc(var(--universal-padding) / 2) var(--universal-padding); } :root { @@ -1314,8 +1309,8 @@ mark { :root { --modal-overlay-color: rgba(0, 0, 0, 0.45); - --modal-close-color: #444; - --modal-close-hover-color: #f0f0f0; } + --modal-close-color: #e6007e; + --modal-close-hover-color: #ffe97f; } [type="checkbox"].modal { height: 1px; @@ -1368,13 +1363,14 @@ mark { z-index: 1211; } :root { - --collapse-label-back-color: #e8e8e8; - --collapse-label-fore-color: #212121; - --collapse-label-hover-back-color: #f0f0f0; - --collapse-selected-label-back-color: #ececec; - --collapse-border-color: #ddd; - --collapse-content-back-color: #fafafa; - --collapse-selected-label-border-color: #0277bd; } + --collapse-label-back-color: #03234b; + --collapse-label-fore-color: #ffffff; + --collapse-label-hover-back-color: #3cb4e6; + --collapse-selected-label-back-color: #3cb4e6; + --collapse-border-color: var(--collapse-label-back-color); + --collapse-selected-border-color: #ceecf8; + --collapse-content-back-color: #ffffff; + --collapse-selected-label-border-color: #3cb4e6; } .collapse { width: calc(100% - 2 * var(--universal-margin)); @@ -1395,13 +1391,13 @@ mark { .collapse > label { flex-grow: 1; display: inline-block; - height: 1.5rem; + height: 1.25rem; cursor: pointer; - transition: background 0.3s; + transition: background 0.2s; color: var(--collapse-label-fore-color); background: var(--collapse-label-back-color); - border: 0.0625rem solid var(--collapse-border-color); - padding: calc(1.5 * var(--universal-padding)); } + border: 0.0714285714rem solid var(--collapse-selected-border-color); + padding: calc(1.25 * var(--universal-padding)); } .collapse > label:hover, .collapse > label:focus { background: var(--collapse-label-hover-back-color); } .collapse > label + div { @@ -1418,7 +1414,7 @@ mark { max-height: 1px; } .collapse > :checked + label { background: var(--collapse-selected-label-back-color); - border-bottom-color: var(--collapse-selected-label-border-color); } + border-color: var(--collapse-selected-label-border-color); } .collapse > :checked + label + div { box-sizing: border-box; position: relative; @@ -1427,13 +1423,13 @@ mark { overflow: auto; margin: 0; background: var(--collapse-content-back-color); - border: 0.0625rem solid var(--collapse-border-color); + border: 0.0714285714rem solid var(--collapse-selected-border-color); border-top: 0; padding: var(--universal-padding); clip: auto; -webkit-clip-path: inset(0%); clip-path: inset(0%); - max-height: 850px; } + max-height: 100%; } .collapse > label:not(:first-of-type) { border-top: 0; } .collapse > label:first-of-type { @@ -1450,11 +1446,8 @@ mark { /* Custom elements for contextual background elements, toasts and tooltips. */ -mark.secondary { - --mark-back-color: #d32f2f; } - mark.tertiary { - --mark-back-color: #308732; } + --mark-back-color: #3cb4e6; } mark.tag { padding: calc(var(--universal-padding)/2) var(--universal-padding); @@ -1463,9 +1456,9 @@ mark.tag { /* Definitions for progress elements and spinners. */ -/* Progess module CSS variable definitions */ +/* Progress module CSS variable definitions */ :root { - --progress-back-color: #ddd; + --progress-back-color: #3cb4e6; --progress-fore-color: #555; } progress { @@ -1558,45 +1551,45 @@ span[class^='icon-'] { filter: invert(100%); } span.icon-alert { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12' y2='16'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12' y2='16'%3E%3C/line%3E%3C/svg%3E"); } span.icon-bookmark { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E"); } span.icon-calendar { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); } span.icon-credit { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='1' y1='10' x2='23' y2='10'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='1' y1='10' x2='23' y2='10'%3E%3C/line%3E%3C/svg%3E"); } span.icon-edit { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34'%3E%3C/path%3E%3Cpolygon points='18 2 22 6 12 16 8 16 8 12 18 2'%3E%3C/polygon%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34'%3E%3C/path%3E%3Cpolygon points='18 2 22 6 12 16 8 16 8 12 18 2'%3E%3C/polygon%3E%3C/svg%3E"); } span.icon-link { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E"); } span.icon-help { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='17' x2='12' y2='17'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='17' x2='12' y2='17'%3E%3C/line%3E%3C/svg%3E"); } span.icon-home { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E"); } span.icon-info { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12' y2='8'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12' y2='8'%3E%3C/line%3E%3C/svg%3E"); } span.icon-lock { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E"); } span.icon-mail { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E"); } span.icon-location { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E"); } span.icon-phone { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E"); } span.icon-rss { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11a9 9 0 0 1 9 9'%3E%3C/path%3E%3Cpath d='M4 4a16 16 0 0 1 16 16'%3E%3C/path%3E%3Ccircle cx='5' cy='19' r='1'%3E%3C/circle%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11a9 9 0 0 1 9 9'%3E%3C/path%3E%3Cpath d='M4 4a16 16 0 0 1 16 16'%3E%3C/path%3E%3Ccircle cx='5' cy='19' r='1'%3E%3C/circle%3E%3C/svg%3E"); } span.icon-search { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); } span.icon-settings { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'%3E%3C/path%3E%3C/svg%3E"); } span.icon-share { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'%3E%3C/circle%3E%3Ccircle cx='6' cy='12' r='3'%3E%3C/circle%3E%3Ccircle cx='18' cy='19' r='3'%3E%3C/circle%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'%3E%3C/line%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'%3E%3C/circle%3E%3Ccircle cx='6' cy='12' r='3'%3E%3C/circle%3E%3Ccircle cx='18' cy='19' r='3'%3E%3C/circle%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'%3E%3C/line%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'%3E%3C/line%3E%3C/svg%3E"); } span.icon-cart { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E"); } span.icon-upload { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='17 8 12 3 7 8'%3E%3C/polyline%3E%3Cline x1='12' y1='3' x2='12' y2='15'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='17 8 12 3 7 8'%3E%3C/polyline%3E%3Cline x1='12' y1='3' x2='12' y2='15'%3E%3C/line%3E%3C/svg%3E"); } span.icon-user { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E"); } /* Definitions for utilities and helper classes. @@ -1604,7 +1597,7 @@ span.icon-user { /* Utility module CSS variable definitions */ :root { --generic-border-color: rgba(0, 0, 0, 0.3); - --generic-box-shadow: 0 0.25rem 0.25rem 0 rgba(0, 0, 0, 0.125), 0 0.125rem 0.125rem -0.125rem rgba(0, 0, 0, 0.25); } + --generic-box-shadow: 0 0.2857142857rem 0.2857142857rem 0 rgba(0, 0, 0, 0.125), 0 0.1428571429rem 0.1428571429rem -0.1428571429rem rgba(0, 0, 0, 0.125); } .hidden { display: none !important; } @@ -1622,7 +1615,7 @@ span.icon-user { overflow: hidden !important; } .bordered { - border: 0.0625rem solid var(--generic-border-color) !important; } + border: 0.0714285714rem solid var(--generic-border-color) !important; } .rounded { border-radius: var(--universal-border-radius) !important; } @@ -1697,4 +1690,14 @@ span.icon-user { clip-path: inset(100%) !important; overflow: hidden !important; } } -/*# sourceMappingURL=mini-default.css.map */ +/*# sourceMappingURL=mini-custom.css.map */ + +img[alt="ST logo"] { display: block; margin: auto; width: 75%; max-width: 250px; min-width: 71px; } +img[alt="Cube logo"] { float: right; width: 30%; max-width: 10rem; min-width: 8rem; padding-right: 1rem;} + +.figure { + display: block; + margin-left: auto; + margin-right: auto; + text-align: center; +} \ No newline at end of file diff --git a/Drivers/BSP/STM3210C_EVAL/_htmresc/st_logo_2020.png b/Drivers/BSP/STM3210C_EVAL/_htmresc/st_logo_2020.png new file mode 100644 index 0000000000000000000000000000000000000000..d6cebb5ac70e0594cbe37a6b60036a80ef3bed37 GIT binary patch literal 7520 zcmcI|WmKC@*KTl!K!Z~t6qn*&DDF_CK%q#B6QmH_DHL}I6b%;K-J$eBN|2xh0+bea zmtyV5bG|?CpZBcu=iF<}z4q*xz1LhL*PcBwx;m;Pgmi=e0DweYO-UaBz)*UWZ}4#+ zCC-V!SC16}H#HLv0Dy?%--0o{5_}H;Jf%=ql7H=+dziOk_)KzUSaiQ9L<^g!49k}} z?4y$V zrsn3Ul^TY`00G_J_8;F7Sr5c3Y)f-yOYl{fS0avfKJg7R%r!y-ohcBkr6XBZBkE)( z_t+tVV2}G1_CN!)yWes*wa-AGwk31N_T1`)4COlfz+o(9S90e?6jHV4)!>`j+oRqp z)gb?rtSdw<#&c?q!OKB+Ncn!kr5JR2EYan8HAPXBw*Oh-F(6GmaC!`$p7fl!_Cdu> z5@PUMR_K5&jgevDepWqepZVdMHR$q>ga=7k0ltW$HHVn>HRa!#(+BW_jN$5rx^MtR zzWT7tNWQeFzEp+86jOYI=I)*GZYEiXlf-Mw%tJ^ptL%2)%#PmUjxC4wx@%KxQ)8kO?|7E1 zd@5gd9_$*6nx?fj*iF_EJT*PYLFP}d8*Fw>cu3@&nm%V_C}V7HMmg|Nl#1J1^#)uz zZag|X>{6j-myvL}3(H8o3resNBq_jcuJuyT!QuXnNN&zG^tG? z>y*dy1#XfwyCE#UiLT(~LYAVwp)epErJLsHBA|l0xo)kxLAPob+7tFlr{7x8(#v|O zknK}QC6|~=cTJ0;x9MWMKua;LdTKIHX>35a@7{5y0MQ|zqsP64mM~`gJ&&R{pSUBA zf3Y>k>d|xdzBFztjtO~{y%@LUdwSgzEj=69hH3-NNWx7<|49%2%lvTEeE3_|$~iDd zlktnxf|NB>Bui)yY;%TXgWA;rhODxR!-4GzxKd473I)3;j zS4-Vun<^vqZ4)HbwVzq%5%)S!>Q(Y&PkF ze1ab_oy?_$PZT-mKJ3K^;6MrB*Wc$lkYJ_460AFYEq{AjlDxm;5GRwOsm>doJy3Z;a$FSu-q`X)Hw&o~?_`Dnpx4dOj6#)bGOdZbj4hD`l|&#v~K+WrGO zpLCVQg=*h=4H1sK)D*Pxtb#p`c+g-eK65k!CEZjLIrfm}5<4@KVqZ#8(S$vs{?Xv) zN(}CKeeLR%I)W!p(l-`utKmBbJk-On{)ciqUN5%?TS8uwKU(8}Mxhsb&qHL~DDcB@qi} z4z%efV#K69a#lShPt5}*7ME@^xunFR{k;|qp z`_Hgdj_Qle?%Ydlr3f^SdRkUncIj7qTiu85tA$v`#419Nlof8tjqUjO z!Rwyq$Krfh`(@MiE+)yie&jU^crprYV&?zN!2b33S2qtW+zB$nahDhVZiQ12bmcwYBcT8KS>v`jsuI@X zy^k^7>TM5Ndp@}pSl6vmkk*u`@C`z(gq||K2>y=Y#w1i`Nk2zAP7{_^ACq;bQmT<4 z;b~K3=?mhZX#~jQnZjdU={NFp^HRr~;^PXQ*UIHzkq}Xsn!56*ZCOOEt|^ zawUwGqs;zCEGKTz&(a(@h#0sCE+@`3Y<&}9!(;Pw&`C+d#D?`##&!@*ERaH0fksrh zfk2svh3!d~h{SC6BNKN2j6(lzC>S^_*eh{@gR zP$rV4$nqV1y|zYpd;nQr-`Vlp(5sQXx9AibC?xc7pUV)v2cWfHu3{KLbfP;;;`I&)mWqLcXt6s+5fps9R?K>hGR$5;=( zo#;zzQ5!w+(99p1_gh^?F#$tpMd+4%G|K`XG_#@A>30WD2L9!0a>wRASg`M?^z#)| zifb$d^KUD&3qLsr-@}r_7p${gdmRqhy819bj?yI-v({I?0o3_8d>CZmCzqH4{{QtD z|6dvgm<^~668G`6wLw4C4y-o9E9ZG3RiH^&;rrKSBT@bMR+!TlYo*9P;?Z>xORMV3ndQp9EyNn!!~j&x&$gDVke|t#!{QoegHm+sT7cSjwSu z)jZlx1pHrrx0&YCZWJ4xC&U%r_IwfJOxnYqYMcZn&_hgnKuls z>(Y$qjIhcweo^A_VVq_#UR&urF%UbI^><5L5zbV9owMQviM*_{@i|dke!!v8a_yG! zl%#ay{(6U_N3-)yeif3tx6>aQSf1r zO~OuNW<8a~bi6Xby0@tKw0@f1R!@+3S2nf#F&j~l0mrNCtjoZdPYob?g!Vx4F-uA2 z4uS>8eR?dA9i>C|cm-m5lO0m@$f(DB6Z<9Pe07xR`l4$ks3eZ@v5}1?^YNQy-tB(` zgUNZrGVf#b~`}jew;MQG1O~VDk_i*<)p9DfFfd;vLy4QZT zMYh|DxJg3-!{szUN*uo&`&DUkzq4qG2`Lj;Ar46DYUymcviS{Unhzmx z=LwZ-Lr{t1z?9Oip%!z{j+Z%_@u?C78I`V4fC`icG1c|2;`EoLK$ z)9|wrAV&V1Vgts~tQCw0X?X{74W"NJQ zW3BP!5c~4zzHJScwQK9L_%m%L`*q{1aW_3rObki~B~=Dwp`;@w`>xZ6;L_6oR^ecEcmup`yb}lgsmv zQByrxc)Qqm(Hwmq%fLjqcrJ5QR?z_*vb~Iy~RXUY8u-D8AqTzetwNNA8~N z$j&1>#IrkSslUqXW|l}q_TlTVKAjRI@~7(GLf4M>GM!3u_)y6ORe6BQUmrQ16%OdZKo(?AYXK$u@=)TPUi1EZaLBu zuEB(5GX2vcoHS%zMUW!DZ)&xRo@mhouk|hMgHIG>cO-Ah(0AMNlq@?cPpy==-!#qR zBov7l3G?P*KM(vU;Apo-(-Bw;sdQJkh~r)W$KRQKd!#(A8M34^MhD10Ra={AqSvjy z3>PkgA}f^@Rg1$dX=jaEB_V%_vn(W<111_s!g>CYrcwJTJ63Eeg6{_C`aMQIgKctR zHMjkr+y6gK!v6=6;CGl#?PqmiX`A@dmmvZ}-X$*q8}G(xq|voo`=$YZuQAa8f9ApK z1VQiEUQC=OO{|Nc8ZrXH208X|XCzIRO?+Nb55Jt@va9hqBpv)uY6ma-csvSlJoJOC zK;w~s?#r)K@gm*;((JsWHU-KvFTF)q>AzwPq)I+}OrSpxh!-CM1VEMfw1fpfVL7p{ z)I$rNp5kPYDsvXL>8nV{#0fa*lm`Z;0Z=c^1qveY2uk&7nhMRl`0EsvUuvwdF&o)PCVN3wmFBPegWzooF6y~b} zY>X2;LO~&rbvx59?(4^aR+s1C6hI4r&x9Q9jL9);KZEw_x%TWZXaMzK6|2XG9$IU% zkEq}t^YOaa4s`%7F31X-#SfMgNp+4R=g2G|O^W)6^2fEsmkTTaVhKCip+3qWuN8?y zaSD_k6%-@Ifhm`z02=ZWA-pi5`A=7ztHWpP2K5rCW{>!wIUOYrH``#bz>qVSH76=8 zyJ!sNBxt;dMTn}yzUTCq1!w;N7pzb?WJrQ50W+`meL{k8i0VhFsPUz(07k`l` zg1Ifl1fc-^p^MQCpK~Jk&L!*mWfNA!&MSu`sPmti>K-;I5Dk00nB3vOl4!JwjEx^X zWQsIp2Ea_>`9f@%zGl4i3FAO9=e$2^b_>_I*dqiLJ=@TejStM?^yX$9dW`#ha)PEF zPr0zUJX!j-juYK*olG_9axQniXhF|E}oSTG_S)FZ3sN4T@q zy{l;!{UGc};YVaT97tx3s7P$WsW2^*I+Hy;vqndG!9S?tZtDIRif1=bBsqtW-n7$O zWy}Z%jKSkgLX#1p>|#4l-!$c+kA`++Ixv(Rm`;Ilb3q3tD|QjaPQ8)BJ=8R*15?nL zJR{yuqOG&!JrSZ${#NY#b!k)yDajQ$A}fUQhe7ueN6h2Pj3wY5eo|7$PaJD zM69(ee1qlSyLn)Ln6)o53Lj)elqG}gb^c}qd(q&$8B5N%nSvEjUIoEXO^obv=A7QGZzNzjO*H=*b2!86Wnqdy~8ePkq@1D1)Q^O)JG;fUCV z`rgD}dJ{7BUyBbgoTL91w^q-CfBpDr?0R38`L%p9&Q#%r*@=9p-Ioqy+WscLq?jq5 zfyYNkxr7w)-(!c85mt!FjNJ4UE6P8p8sc#Kb4L1N3!yaCo9@t3n8s}K)1!w8x77xU zo-NY3SR*Pgt#~7F;y^J&Y%z^+C9wu;hN|TC7dqSHOB&kE)Q)6Ad(l&+tA@$@w0bhJ z6xc6EJ6nm{=|V7Vo&qcXc4i)D?X0Uk$p7~iI#ci?#fxvM z78`u%m5S@^_F;_foidufzP z&ueh-zU1yM&8~0lmOfkio-gBex`)?hCJcI8Jv*R0c|WUqSq z?RU?Rmm=3t_2C%%UW9c*D%T{T{EjryCKnsz9-*Bs0}M*xS&-odhCK5eS_Eqi&c6J4o|f&;uUT=p7Fedw#EUl4%Jv{w zq-cCF^otBvw~~$yj6O>>;VqU)3Ml&Atm$B(Ht8=+&x2VS5aWD&t*+04{@k^Gn~yHY zWYC%@ld;g_qz=k*;Iv&xs5M85cEZCU&n2Baf>R6*bN>V|!)eF&l#C93eAMLD=ZF7= zOISFfB5P;F!ngWD3jfMJE_53F&dFc{h2TwSbT*(h6!c}_5_UFeB_*DiyCrtQ7Byr@ z-aCWVt?J}YP7-lfelbrCgZ5mdv(^W&Yf^OvpI}#NbS1Lc`r4&t#3kM!utm&#a;?GR z-1FusfX7&?a9h`%8wf-ub7UXp44xm4w04)S$}}_hPqn-#IabO^bo6$K07>?%G5Xs( zA$*lz_K>lAJ_o<;fsP-*-%~O(716KRqVq+X@=5J~Z~bba(yWL`;EN`@Mr2it&Lkgb z&I|R5!`ZSk%)xFX*FYDaAh=5qWSY@rx1Du9J$$=lh#!~NcFJM&aOv)eqg_@`i^zJCR9a%_{k_i%msw5q z*3!~#Xx3r|VaAwiG}~9M#c`=$Uk6~xe)47ymW+;0DD_lV67L#ouJBa7mF{)X^?eIvPdOMu4ksr`jUP$~{x@?ev2 zdX#ite2RMim01PEg`;qfwg^;v8nx9F!CtNCvz)V{PVgCs*;_@_Rk*oLx@f7hJ7^^1 zu66b)mb!ZMXLZ%8dj-+JCMoWS-Wji-Q-~U7Pt~UiXMej8JcNjk<6?Wk9eLBIhu&Vo^0;AH> z;Q5^a!NZhP(vDfBv&?jdnQavv#8N0E{ZEgs>|1)qYo^t5 zIV$g~`C2%g$*(z4)8hJlK2mF-MJW#3%Cs6`uAvsgRtTo8n!Et)1pZx@_9I18 zw7ER9v~DyrC*R$do9aEw5r@B)YzHOLB^-c9Eu9D!sFmI8^VljVKE89{zY_8PTSF+J b^}%0^qYmp2WD(pA|JtZ4>nPPKybJpu3@X?! literal 0 HcmV?d00001 diff --git a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval.c b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval.c index ae88e0c..fcd7ba2 100644 --- a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval.c +++ b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval.c @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -87,7 +70,7 @@ typedef struct */ #define __STM3210C_EVAL_BSP_VERSION_MAIN (0x06) /*!< [31:24] main version */ #define __STM3210C_EVAL_BSP_VERSION_SUB1 (0x01) /*!< [23:16] sub1 version */ -#define __STM3210C_EVAL_BSP_VERSION_SUB2 (0x00) /*!< [15:8] sub2 version */ +#define __STM3210C_EVAL_BSP_VERSION_SUB2 (0x01) /*!< [15:8] sub2 version */ #define __STM3210C_EVAL_BSP_VERSION_RC (0x00) /*!< [7:0] release candidate */ #define __STM3210C_EVAL_BSP_VERSION ((__STM3210C_EVAL_BSP_VERSION_MAIN << 24)\ |(__STM3210C_EVAL_BSP_VERSION_SUB1 << 16)\ @@ -640,7 +623,7 @@ static HAL_StatusTypeDef I2Cx_ReadMultiple(uint8_t Addr, uint16_t Reg, uint16_t /* Check the communication status */ if(status != HAL_OK) { - /* I2C error occured */ + /* I2C error occurred */ I2Cx_Error(Addr); } return status; @@ -754,10 +737,10 @@ static HAL_StatusTypeDef I2Cx_IsDeviceReady(uint16_t DevAddress, uint32_t Trials */ static void I2Cx_Error(uint8_t Addr) { - /* De-initialize the IOE comunication BUS */ + /* De-initialize the IOE communication BUS */ HAL_I2C_DeInit(&heval_I2c); - /* Re-Initiaize the IOE comunication BUS */ + /* Re-Initiaize the IOE communication BUS */ I2Cx_Init(); } @@ -1462,5 +1445,4 @@ uint8_t AUDIO_IO_Read (uint8_t Addr, uint8_t Reg) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval.h b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval.h index 542153e..c34a87f 100644 --- a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval.h +++ b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval.h @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -484,5 +467,4 @@ JOYState_TypeDef BSP_JOY_GetState(void); /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_accelerometer.c b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_accelerometer.c index ca98d12..c42dd1b 100644 --- a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_accelerometer.c +++ b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_accelerometer.c @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -210,4 +193,3 @@ void BSP_ACCELERO_GetXYZ(int16_t *pDataXYZ) */ -/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_accelerometer.h b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_accelerometer.h index a56d8f1..a7eb75f 100644 --- a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_accelerometer.h +++ b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_accelerometer.h @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -106,4 +89,3 @@ void BSP_ACCELERO_GetXYZ(int16_t *pDataXYZ); */ -/******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_audio.c b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_audio.c index be59bca..5c2832f 100644 --- a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_audio.c +++ b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_audio.c @@ -103,29 +103,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -624,4 +607,3 @@ static void I2SOUT_DeInit(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_audio.h b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_audio.h index a868268..b0bd4e6 100644 --- a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_audio.h +++ b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_audio.h @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -183,4 +166,3 @@ void BSP_AUDIO_OUT_MspDeInit(I2S_HandleTypeDef *hi2s, void *Params); #endif /* __STM3210C_EVAL_AUDIO_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_eeprom.c b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_eeprom.c index 2b61266..8483147 100644 --- a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_eeprom.c +++ b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_eeprom.c @@ -41,29 +41,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -515,5 +498,4 @@ static uint32_t EEPROM_I2C_WaitEepromStandbyState(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_eeprom.h b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_eeprom.h index 5f9c961..55275b7 100644 --- a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_eeprom.h +++ b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_eeprom.h @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -77,7 +60,7 @@ typedef struct */ /* EEPROMs hardware address and page size */ #define EEPROM_ADDRESS_M24C64_32 0xA0 /* Support the devices: M24C32 and M24C64 */ -/* The M24C08W contains 4 blocks (128byte each) with the adresses below: E2 = 0 +/* The M24C08W contains 4 blocks (128byte each) with the addresses below: E2 = 0 EEPROM Addresses defines */ #define EEPROM_ADDRESS_M24C08_BLOCK0 0xA0 #define EEPROM_ADDRESS_M24C08_BLOCK1 0xA2 @@ -113,7 +96,7 @@ uint32_t BSP_EEPROM_WriteBuffer(uint8_t* pBuffer, uint16_t WriteAddr, uint32_t /* USER Callbacks: This function is declared as __weak in EEPROM driver and should be implemented into user application. BSP_EEPROM_TIMEOUT_UserCallback() function is called whenever a timeout condition - occure during communication (waiting on an event that doesn't occur, bus + occur during communication (waiting on an event that doesn't occur, bus errors, busy devices ...). */ void BSP_EEPROM_TIMEOUT_UserCallback(void); @@ -145,4 +128,3 @@ HAL_StatusTypeDef EEPROM_I2C_IO_IsDeviceReady(uint16_t DevAddress, uint32_ * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_io.c b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_io.c index 7bd9064..d1ce2e7 100644 --- a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_io.c +++ b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_io.c @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -350,5 +333,4 @@ void BSP_IO_TogglePin(uint32_t IO_Pin) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_io.h b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_io.h index 29bfb32..38f904b 100644 --- a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_io.h +++ b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_io.h @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -145,5 +128,4 @@ void BSP_IO_TogglePin(uint32_t IO_Pin); /** * @} - */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + */ diff --git a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_lcd.c b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_lcd.c index 21acd46..3b146e6 100644 --- a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_lcd.c +++ b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_lcd.c @@ -22,7 +22,7 @@ (++) Initialize the LCD using the BSP_LCD_Init() function. (#) Display on LCD - (++) Clear the hole LCD using yhe BSP_LCD_Clear() function or only one specified + (++) Clear the hole LCD using the BSP_LCD_Clear() function or only one specified string line using the BSP_LCD_ClearStringLine() function. (++) Display a character on the specified line and column using the BSP_LCD_DisplayChar() function or a complete string line using the BSP_LCD_DisplayStringAtLine() function. @@ -34,29 +34,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -927,5 +910,4 @@ static void LCD_SetDisplayWindow(uint16_t Xpos, uint16_t Ypos, uint16_t Width, u * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_lcd.h b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_lcd.h index 2cfe495..bcd3bc6 100644 --- a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_lcd.h +++ b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_lcd.h @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -200,4 +183,3 @@ void BSP_LCD_DisplayOn(void); * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_sd.c b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_sd.c index 792128e..06c98eb 100644 --- a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_sd.c +++ b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_sd.c @@ -31,29 +31,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -78,7 +61,7 @@ + Micro SD card operations o The micro SD card can be accessed with read/write block(s) operations once - it is reay for access. The access cand be performed in polling + it is ready for access. The access cand be performed in polling mode by calling the functions BSP_SD_ReadBlocks()/BSP_SD_WriteBlocks() o The SD erase block(s) is performed using the function BSP_SD_Erase() with specifying the number of blocks to erase. @@ -129,7 +112,7 @@ typedef struct { #define SD_DUMMY_BYTE 0xFF -#define SD_MAX_FRAME_LENGTH 17 /* Lenght = 16 + 1 */ +#define SD_MAX_FRAME_LENGTH 17 /* Length = 16 + 1 */ #define SD_CMD_LENGTH 6 #define SD_MAX_TRY 100 /* Number of try */ @@ -159,7 +142,7 @@ typedef enum { #define SD_TOKEN_START_DATA_MULTIPLE_BLOCK_READ 0xFE /* Data token start byte, Start Multiple Block Read */ #define SD_TOKEN_START_DATA_SINGLE_BLOCK_WRITE 0xFE /* Data token start byte, Start Single Block Write */ #define SD_TOKEN_START_DATA_MULTIPLE_BLOCK_WRITE 0xFD /* Data token start byte, Start Multiple Block Write */ -#define SD_TOKEN_STOP_DATA_MULTIPLE_BLOCK_WRITE 0xFD /* Data toke stop byte, Stop Multiple Block Write */ +#define SD_TOKEN_STOP_DATA_MULTIPLE_BLOCK_WRITE 0xFD /* Data token stop byte, Stop Multiple Block Write */ /** * @brief Commands: CMDxx = CMD-number | 0x40 @@ -193,7 +176,7 @@ typedef enum { #define SD_CMD_READ_OCR 58 /* CMD55 = 0x79 */ /** - * @brief SD reponses and error flags + * @brief SD responses and error flags */ typedef enum { @@ -404,7 +387,7 @@ error : SD_IO_CSState(1); SD_IO_WriteByte(SD_DUMMY_BYTE); - /* Return the reponse */ + /* Return the response */ return retr; } @@ -479,7 +462,7 @@ error : SD_IO_CSState(1); SD_IO_WriteByte(SD_DUMMY_BYTE); - /* Return the reponse */ + /* Return the response */ return retr; } @@ -517,7 +500,7 @@ uint8_t BSP_SD_Erase(uint32_t StartAddr, uint32_t EndAddr) } } - /* Return the reponse */ + /* Return the response */ return retr; } @@ -654,7 +637,7 @@ uint8_t SD_GetCSDRegister(SD_CSD* Csd) SD_IO_CSState(1); SD_IO_WriteByte(SD_DUMMY_BYTE); - /* Return the reponse */ + /* Return the response */ return retr; } @@ -746,7 +729,7 @@ uint8_t SD_GetCIDRegister(SD_CID* Cid) SD_IO_CSState(1); SD_IO_WriteByte(SD_DUMMY_BYTE); - /* Return the reponse */ + /* Return the response */ return retr; } @@ -763,9 +746,9 @@ SD_CmdAnswer_typedef SD_SendCmd(uint8_t Cmd, uint32_t Arg, uint8_t Crc, uint8_t uint8_t frame[SD_CMD_LENGTH], frameout[SD_CMD_LENGTH]; SD_CmdAnswer_typedef retr = {0xFF, 0xFF , 0xFF, 0xFF, 0xFF}; - /* R1 Lenght = NCS(0)+ 6 Bytes command + NCR(min1 max8) + 1 Bytes answer + NEC(0) = 15bytes */ + /* R1 Length = NCS(0)+ 6 Bytes command + NCR(min1 max8) + 1 Bytes answer + NEC(0) = 15bytes */ /* R1b identical to R1 + Busy information */ - /* R2 Lenght = NCS(0)+ 6 Bytes command + NCR(min1 max8) + 2 Bytes answer + NEC(0) = 16bytes */ + /* R2 Length = NCS(0)+ 6 Bytes command + NCR(min1 max8) + 2 Bytes answer + NEC(0) = 16bytes */ /* Prepare Frame to send */ frame[0] = (Cmd | 0x40); /* Construct byte 1 */ @@ -817,7 +800,7 @@ SD_CmdAnswer_typedef SD_SendCmd(uint8_t Cmd, uint32_t Arg, uint8_t Crc, uint8_t /** * @brief Gets the SD card data response and check the busy flag. * @retval The SD status: Read data response xxx01 - * - status 010: Data accecpted + * - status 010: Data accepted * - status 101: Data rejected due to a crc error * - status 110: Data rejected due to a Write error. * - status 111: Data rejected due to other error. @@ -1024,4 +1007,3 @@ uint8_t SD_WaitData(uint8_t data) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_sd.h b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_sd.h index fd3cde3..be7bb55 100644 --- a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_sd.h +++ b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_sd.h @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -242,4 +225,3 @@ void HAL_Delay(__IO uint32_t Delay); #endif /* __STM3210C_EVAL_SD_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_ts.c b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_ts.c index f84cffd..f78f231 100644 --- a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_ts.c +++ b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_ts.c @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -232,5 +215,4 @@ void BSP_TS_ITClear(void) /** * @} - */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + */ diff --git a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_ts.h b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_ts.h index 3f831ec..fc9cf35 100644 --- a/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_ts.h +++ b/Drivers/BSP/STM3210C_EVAL/stm3210c_eval_ts.h @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -134,4 +117,3 @@ void BSP_TS_ITClear(void); * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/License.md b/Drivers/BSP/STM3210E_EVAL/License.md index 3289450..53e726d 100644 --- a/Drivers/BSP/STM3210E_EVAL/License.md +++ b/Drivers/BSP/STM3210E_EVAL/License.md @@ -1,3 +1,27 @@ -# Copyright (c) *2010* STMicroelectronics +Copyright 2014 STMicroelectronics. +All rights reserved. -This software component is licensed by STMicroelectronics under the **BSD-3-Clause** license. You may not use this software except in compliance with this license. You may obtain a copy of the license [here](https://opensource.org/licenses/BSD-3-Clause). \ No newline at end of file +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/Drivers/BSP/STM3210E_EVAL/README.md b/Drivers/BSP/STM3210E_EVAL/README.md new file mode 100644 index 0000000..5bf6b49 --- /dev/null +++ b/Drivers/BSP/STM3210E_EVAL/README.md @@ -0,0 +1,41 @@ +# BSP STM3210E-EVAL Component + +![latest tag](https://img.shields.io/github/v/tag/STMicroelectronics/stm3210e-eval.svg?color=brightgreen) + +## Overview + +**STM32Cube** is an STMicroelectronics original initiative to ease developers' life by reducing efforts, time and cost. + +**STM32Cube** covers the overall STM32 products portfolio. It includes a comprehensive embedded software platform delivered for each STM32 series. + * The CMSIS modules (core and device) corresponding to the ARM(tm) core implemented in this STM32 product. + * The STM32 HAL-LL drivers, an abstraction layer offering a set of APIs ensuring maximized portability across the STM32 portfolio. + * The BSP drivers of each evaluation, demonstration or nucleo board provided for this STM32 series. + * A consistent set of middleware libraries such as RTOS, USB, FatFS, graphics, touch sensing library... + * A full set of software projects (basic examples, applications, and demonstrations) for each board provided for this STM32 series. + +Two models of publication are proposed for the STM32Cube embedded software: + * The monolithic **MCU Package**: all STM32Cube software modules of one STM32 series are present (Drivers, Middleware, Projects, Utilities) in the repository (usual name **STM32Cubexx**, xx corresponding to the STM32 series). + * The **MCU component**: each STM32Cube software module being part of the STM32Cube MCU Package, is delivered as an individual repository, allowing the user to select and get only the required software functions. + +## Description + +This **stm3210e-eval** MCU component repository is one element of the **STM32CubeF1** MCU embedded software package, providing the **STM3210E-EVAL** BSP BOARD component part. + +## Release note + +Details about the content of this release are available in the release note [here](https://htmlpreview.github.io/?https://github.com/STMicroelectronics/stm3210e-eval/blob/main/Release_Notes.html). + +## Compatibility information + +Below is the list of the BSP *component* drivers to be used with this BSP *board* driver. It is **crucial** that you use a consistent set of CMSIS - HAL - BSP versions, as mentioned in [this](https://htmlpreview.github.io/?https://github.com/STMicroelectronics/STM32CubeF1/blob/master/Release_Notes.html) release note. + +* [stm32-bsp-common](https://github.com/STMicroelectronics/stm32-bsp-common) +* [stm32-ak4343](https://github.com/STMicroelectronics/stm32-ak4343) +* [stm32-hx8347d](https://github.com/STMicroelectronics/stm32-hx8347d) +* [stm32-ili9320](https://github.com/STMicroelectronics/stm32-ili9320) +* [stm32-spfd5408](https://github.com/STMicroelectronics/stm32-spfd5408) +* [stm32-stlm75](https://github.com/STMicroelectronics/stm32-stlm75) + +## Troubleshooting + +Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) guide. diff --git a/Drivers/BSP/STM3210E_EVAL/Release_Notes.html b/Drivers/BSP/STM3210E_EVAL/Release_Notes.html index 03582af..814d282 100644 --- a/Drivers/BSP/STM3210E_EVAL/Release_Notes.html +++ b/Drivers/BSP/STM3210E_EVAL/Release_Notes.html @@ -1,640 +1,392 @@ - - - - - - - - - - - - - - - - - - - Release Notes for STM3210E_EVAL Evaluation Board Drivers - - - - - - - - - -
-


-

-
- - - - - - -
- - - - - - - - - -
-

Back to Release page

-
-

Release -Notes for STM3210E_EVAL Evaluation Board Drivers

-

Copyright -2014 STMicroelectronics

-

-
-

 

- - - - - - -
-

Contents

-
    -
  1. STM3210E_EVAL Evaluation Board Drivers -update History
  2. -
  3. License
  4. -
- - -

STM3210E_EVAL Evaluation Board Drivers update History

-

V7.0.1 / 18-May-2021

- - - -

Main -Changes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
  • Add a License.md file at the root of each BSP Board driver.
  • -
-

V7.0.0 / 14-April-2017

- - -

Main -Changes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • Add STM3210E_EVAL_BSP_User_Manual.chm file
  • stm3210e_eval_sd.c/.h:
    • Update BSP SD APIs following new HAL SD drivers implementation
    • Fix BlockSize to 512 bytes
  • stm3210e_eval_audio.c/.h:
    • Add BSP_AUDIO_OUT_MspInit() and BSP_AUDIO_OUT_MspDeInit() as weak APIs to manage audio hardware resources initialization/de-initialization.
  • Notes:
    -
    • These BSP drivers break the compatibility with previous versions.
    • If FatFs is required, "FatFS R0.11 ST modified 20170214" must be used with this version of BSP drivers.

V6.0.2 / 29-April-2016

Main -Changes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • Add AUDIO_IO_DeInit for compatibility with comon V4.0.1.
  • Set the NVIC priority to the lowest possible to not interfere with user settings.

V6.0.1 / 18-December-2015

Main -Changes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • Rename GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH for compatibility with STM32F1xx HAL Drivers V1.0.2.
  • Rename GPIO_SPEED_MEDIUM to GPIO_SPEED_FREQ_MEDIUM for compatibility with STM32F1xx HAL Drivers V1.0.2.

V6.0.0 / 16-December-2014

Main -Changes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • Major update -based on STM32Cube specification: drivers architecture and APIs -modified vs. V5.1.0 and thus the 2 versions are not compatible.
    -
  • This version has to be used only with STM32CubeF1 based development

V5.1.0 / 8-January-2013

- - -

Main -Changes

- - - -
    -
  • stm3210e_eval_lcd.c: update to support new LCD AM240320LGTNQW00H (controller HX8347-D)
  • -
-

V5.0.1 / 05-March-2012

-

Main -Changes

- -
  • All source files: license disclaimer text update and add link to the License file on ST Internet.
- - -

V5.0.0 / 03-February-2012

-

Main -Changes

- -
  • All source files: update disclaimer to add reference to the new license agreement
  • Update STM32 Evaluation Board Drivers architecture and folder organization, full API compatibility maintained vs. V4.6.2
    • All the HW drivers required for each board are provided within this board folder. The concerned drivers are:
      • stm32_eval_i2c_ee.c\.h: I2C M24Cxx EEPROM memory driver
      • stm32_eval_i2c_tsensor.c\.h: I2C LM75 temperature sensor driver
      • stm32_eval_spi_flash.c\.h: SPI M25Pxxx FLASH memory driver
      • stm32_eval_sdio_sd.c\.h: SDIO SD Card memory driver
      • stm32_eval_spi_sd.c\.h: SPI SD Card memory driver 
      • These drivers were moved from \Common to \STM32XXX_EVAL folder(s)
    • \Common folder contains only drivers for the fonts and log module used by the LCD driver
    • stm32_eval.c\.h files removed, as consequence you need to perform the following update on your project configuration  (based on EVAL drivers V4.6.2):
      • In the project files, add your EVAL board driver source file "stm3210e_eval.c" instead of "stm32_eval.c"
      • Include your EVAL board driver header file #include "stm3210e_eval.h" instead of #include "stm32_eval.h"
      • If -you are using the EVAL board's LCD, you need to add the include of -the LCD header file #include "stm3210e_eval_lcd.h"
        • If -you are using the LCD log module, after copying it to the application -folder you have to edit it and update the name of the LCD header file. For more details, refer to the lcd_log_conf_template.h driver description.
  • stm3210e_eval_lcd.c
    • Remove “static” from TextColor and BackColor variables declaration (need to be changed from other application modules) 
  • stm3210e_eval.h/.c
    • change value of “SDIO_TRANSFER_CLK_DIV” define from 0 to 1 to achieve SD max frequency at 24MHz.
    • Remove SD_DMAEndOfTransferStatus() function as now the DMA transfer is tracked using DMA End of transfer interrupt.
    • Update SD_LowLevel_DMA_TxConfig() and SD_LowLevel_DMA_RxConfig() functions to enable the DMA transfer complete IT
  • stm3210e_eval_sdio_sd.h/.c
    • Add new function SD_ProcessDMAIRQ() to be called from the DMA end of transfer interrupt. 
    • Add some improvements by handling SDIO errors and adding timeout for different loops.
    • Update to support SDHC memory cards with capacity greater than 4 GB
      • SD_CardInfo structure, define CardCapacity variable as 64-bit long (instead of 32-bit)
      • Declare ReadAddr and WriteAddr parameters in SD_ReadBlock(),SD_WriteBlock(), SD_ReadMultiBlocks() and SD_WriteMultiBlocks() as 64-bit long (instead of 32-bit)
    • Refer to the driver header file's comments for more information on how to use the provided API.
  • stm3210e_eval_fsmc_nor.c
    • NOR_ProgramBuffer() function: remove this comment "This function must be used only with S29GL128P NOR memory."  

V4.6.2 / 22-July-2011

-

Main -Changes

- -
  • STM3210C_EVAL
    • stm3210c_eval_lcd.c: update to support new LCD AM240320D5TOQW01H (controller ILI9325)
  • STM322xG-EVAL
    • stm322xg_eval.h: fix value of the SDIO clock divider (SDIO_TRANSFER_CLK_DIV constant) to 2 instead of 0
    • stm322xg_eval_lcd.c: increase FSMC AddressSetupTime value from 1 to 3 to be compliant with some LCD access timing
    • stm322xg_eval_audio_codec.c: update Codec_CtrlInterface_Init() and Codec_GPIO_Init() functions to not reconfigure the I2C peripheral if it's already enabled and configured (to -avoid configuring the I2C twice when using both Audio codec and IO -Expander drivers in the same application).

V4.6.1 / 18-April-2011

-

Main -Changes

- -
  • Update some STM322xG_EVAL drivers (no change on the API) to fix warnings with TASKING C compiler.
  • Change the Release Notes name to STM32 Evaluation Board Drivers
  • stm322xg_eval.c
    • SD_LowLevel_Init(): change SDIO pins speed configuration to "GPIO_Speed_25MHz"

V4.6.0 / 11-March-2011

-

Main -Changes

- -
  • Official version supporting STM322xG_EVAL evaluation board RevB (for STM32F2xx devices).
  • Common
    • Add -new LCD log utility drivers: The LCD Log module allows to automatically -set a header and footer on any application using the LCD display and -allows to dump user, debug and error messages by using the following -macros: LCD_ErrLog(),    LCD_UsrLog() and LCD_DbgLog().
Note: the STM322xG_EVAL board RevA was wrongly named STM3220F_EVAL

V4.5.0 / 07-March-2011

-

Main -Changes

- -
  • stm32_eval_sdio_sd.c\.h: driver improvement
    • SD Clock increased to 24MHz to improve the data transfer performance.
    • Add -new functions to check the SDIO peripheral and SD Card status at any -time: SD_WaitReadOperation(), SD_WaitWriteOperation(). The -software sequence is little bit changed but without any impact on -driver API. For more details, refer to the stm32_eval_sdio_sd.c -driver description.
    • Add -new structure containing the SD Status register parameters. This -structure is called by the -         - SD_SendSDStatus() function.
    • Transfers mode updated
      • Read/Write Block using Polling and DMA modes
      • Read/Write Multi Blocks using DMA mode only
      • Interrupt mode removed
    • Data transfer functions are managing only fixed Block size (512-byte) 
  • STM32100B-EVAL
    • stm32100b_eval_cec.c: fix some strict ANSI-C errors
  • STM32100E-EVAL
    • stm32100e_eval_cec.c: fix some strict ANSI-C errors
-

V4.4.0 / 31-December-2010

-

Main -Changes

- -
  • Add new directory for STM32L152-EVAL board containing the following files:
    • stm32l152_eval.h/.c, stm32l152_eval_lcd.h/.c, stm32l152_eval_glass_lcd.h/.c, stm32l152_eval_i2c_ee.h/.c
  • Add support for the STM32100E-EVAL Rev B: SPI FLASH CS pin "sFLASH_CS_PIN" changed from PB.02 to PE.06.
  • stm32100e_eval_lcd.h/.c: Add support for "LCD_ILI9325" LCD controller.
  • stm32100e_eval_fsmc_onenand.h/.c driver updated to correct asynchronous and synchronous read operations procedures.
    -
- -

4.3.0 -- 10/15/2010

-
  1. General
- -
  • I2C EEPROM, Temperature Sensor and IOE Expander drivers updated to use the DMA for read/write transfer and add more robustness
  • SD Card (SDIO) driver updated to add more robustness
  • SPI Flash and SD Card (SPI) drivers: SPI MISO pin configuration changed to Input Floating 
- - - -
  1. Utilities
- - - - - -
  • Add new directory for STM32100E-EVAL board containing the following files:
    • stm32100e_eval.h/.c, -stm32100e_eval_lcd.h/.c, stm32100e_eval_cec.h/.c, -stm32100e_eval_fsmc_onenand.h/.c, stm32100e_eval_fsmc_sram.h/.c, -stm32100e_eval_ioe.h/.c
      -
  • Common
    • stm32_eval_sdio_sd.c: -Update the DMA End of Transfer Check loop inside the SD_ReadBlock(), -SD_WriteBlock(), SD_ReadMultiBlocks() and SD_Write MultiBlocks().
    • stm32_eval_i2c_ee.c/.h
      -
      • Enhanced sEE_WaitEepromStandbyState() function for more robustness.
      • Enhanced Read and Write operations to manage I2C limitations.
      • Add Timeout management with user callback implementation which allows recovering from I2C bus errors.
      • Add -critical sections user callbacks allowing to disable then enable -interrupts when I2C operation require to be not interrupted.
    • stm32_eval_i2c_tsensor.c/.h
      -
      • Enhanced I2C communication functions by using DMA for registers Read and Write operations.
      • Add Timeout management with user callback implementation which allows recovering from I2C bus errors.
  • STM32100B_EVAL
    • stm32100b_eval.h: Add LM75 DMA defines.
    • stm32100b_eval_lcd.c: Change "SPI_FLASH" by "sFLASH" in LCD_DrawBMP() function.
  • STM3210B_EVAL
    • stm3210b_eval.h: Add LM75 DMA defines.
    • stm3210b_eval_lcd.c: Change "SPI_FLASH" by "sFLASH" in LCD_DrawBMP() function.
  • STM3210C_EVAL
    • stm3210c_eval.h: Add EEPROM driver Timeout define.
    • stm3210c_eval_lcd.c: Change "SPI_FLASH" by "sFLASH" in LCD_DrawBMP() function.
    • stm3210c_eval_i2c_ioe.c
      • Enhanced I2C communication functions by using DMA for registers Read and Write operations.
      • Add Timeout management with user callback implementation which allows recovering from I2C bus errors.
      • change IOE_I2C_SPEED from "400000" to "300000".
  • STM3210E_EVAL
    • stm3210e_eval.c: change "void SD_WaitForDMAEndOfTransfer(void)" to "uint32_t SD_DMAEndOfTransferStatus(void)".
    • stm3210e_eval.h: Add LM75 DMA defines.
    • stm3210e_eval_fsmc_nand.h: remove "NAND_CMD_AREA_TRUE1" define.
    • stm3210e_eval_fsmc_nand.c: Update FSMC timing in NAND_Init() function to be aligned with AN2784 application note.
    • stm3210e_eval_fsmc_nor.c
      • NOR_Init() function: add FSMC_AsynchronousWait field to FSMC_NORSRAMInitStructure 
    • stm3210e_eval_fsmc_sram.c
      -
      • Update FSMC timing in SRAM_Init() function to be aligned with AN2784 application note.
        -
      • SRAM_Init() function: add FSMC_AsynchronousWait field to FSMC_NORSRAMInitStructure 
    • stm3210e_eval_lcd.c
      • LCD_FSMCConfig() function: add FSMC_AsynchronousWait field to FSMC_NORSRAMInitStructure 
- - -

4.2.0 -- 04/16/2010

-
  1. General
- -
  • I2C EEPROM driver -update to use the DMA to -perform data transfer to/from EEPROM memory.
- -
  1. Utilities
-
  • STM32_EVAL
-
    • stm32_eval_i2c_ee.c: -updated to use the DMA to perform data transfer to/from -EEPROM memory. For more details, refer to the description provided -within this file.
    • stm3210c_eval.c: add low level -functions to configure the DMA (needed for I2C EEPROM driver)
      -
    • stm3210c_eval_ioe.c: add a delay -in IOE_TS_GetState() function to wait till the end of ADC -conversion
    • stm3210e_eval_fsmc_nor.c: add PD6 pin configuration in -NOR_Init() function
    • stm3210b_eval_lcd.c: remove the -second ";" from "static void PutPixel(int16_t x, int16_t y);;" 
-

4.1.0 -- 03/01/2010

-
  1. General
-
  • Add support -for STM32 Low-density Value line (STM32F100x4/6) and -Medium-density Value line (STM32F100x8/B) devices.
  • Add support for the -STMicroelectronics STM32100B-EVAL evaluation board.
-
  1. Utilities
-
  • STM32_EVAL
-
  • Add new directory -"Common" containing a common drivers for all STM32 evaluation boards: -fonts.h/.c, stm32_eval_i2c_ee.h/.c, stm32_eval_spi_flash.h/.c, - stm32_eval_i2c_tsensor.h/.c, - stm32_eval_spi_sd.h/.c -and stm32_eval_sdio_sd.h/.c
  • Add new driver for the -STM32100B-EVAL managing Leds, push button and COM ports.
  • New HDMI CEC High level -driver.
    -
  • For all LCD drivers new fonts has -been added.
  • New FSMC memories -drivers for STM3210E-EVAL board: stm3210e_eval_fsmc_sram.h/.c, stm3210e_eval_fsmc_nor.h/.c -and stm3210e_eval_fsmc_nand.h/.c.

License

-Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met:
-
-
  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions -in binary form must reproduce the above copyright notice, this list of -conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived
    -
    -
-        from this software without specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- -
-
-
-

For -complete documentation on STM32 Microcontrollers visit www.st.com/STM32

-
-

-
+ + + + + + + Release Notes for STM3210E_EVAL Evaluation Board Drivers + + + + + + +
+
+
+

Release Notes for STM3210E_EVAL Evaluation Board Drivers

+

Copyright © 2014 STMicroelectronics
+

+ +
+

Purpose

+

This directory contains the board drivers to demonstrate the capabilities of the STM3210E Evaluation Kit.

-

 

+
+

Update History

+
+ +
+

Main Changes

+
    +
  • All source files: update disclaimer to add reference to the new license agreement.
  • +
  • Update to initialize LCD page size.
  • +
- - \ No newline at end of file +
+
+ +
+

Main Changes

+
    +
  • Add a License.md file at the root of the BSP Board driver.
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Add STM3210E_EVAL_BSP_User_Manual.chm file
  • +
  • stm3210e_eval_sd.c/.h: +
      +
    • Update BSP SD APIs following new HAL SD drivers implementation
    • +
    • Fix BlockSize to 512 bytes
    • +
  • +
  • stm3210e_eval_audio.c/.h: +
      +
    • Add BSP_AUDIO_OUT_MspInit() and BSP_AUDIO_OUT_MspDeInit() as weak APIs to manage audio hardware resources initialization/de-initialization.
    • +
  • +
  • Notes: +
      +
    • These BSP drivers break the compatibility with previous versions.
    • +
    • If FatFs is required, “FatFS R0.11 ST modified 20170214†must be used with this version of BSP drivers.
    • +
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Add AUDIO_IO_DeInit for compatibility with common V4.0.1.
  • +
  • Set the NVIC priority to the lowest possible to not interfere with user settings.
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Rename GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH for compatibility with STM32F1xx HAL Drivers V1.0.2.
  • +
  • Rename GPIO_SPEED_MEDIUM to GPIO_SPEED_FREQ_MEDIUM for compatibility with STM32F1xx HAL Drivers V1.0.2.
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Major update based on STM32Cube specification: drivers architecture and APIs modified vs. V5.1.0 and thus the 2 versions are not compatible.
  • +
  • This version has to be used only with STM32CubeF1 based development.
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • stm3210e_eval_lcd.c: update to support new LCD AM240320LGTNQW00H (controller HX8347-D).
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • All source files: license disclaimer text update and add link to the License file on ST Internet.
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • All source files: update disclaimer to add reference to the new license agreement
  • +
  • Update STM32 Evaluation Board Drivers architecture and folder organization, full API compatibility maintained vs. V4.6.2 +
      +
    • All the HW drivers required for each board are provided within this board folder. The concerned drivers are: +
        +
      • stm32_eval_i2c_ee.c.h: I2C M24Cxx EEPROM memory driver
      • +
      • stm32_eval_i2c_tsensor.c.h: I2C LM75 temperature sensor driver
      • +
      • stm32_eval_spi_flash.c.h: SPI M25Pxxx FLASH memory driver
      • +
      • stm32_eval_sdio_sd.c.h: SDIO SD Card memory driver
      • +
      • stm32_eval_spi_sd.c.h: SPI SD Card memory driver
      • +
      • These drivers were moved from to 32XXX_EVAL folder(s)
      • +
    • +
    • Common folder contains only drivers for the fonts and log module used by the LCD driver
    • +
    • stm32_eval.c.h files removed, as consequence you need to perform the following update on your project configuration (based on EVAL drivers V4.6.2): +
        +
      • In the project files, add your EVAL board driver source file “stm3210e_eval.c†instead of “stm32_eval.câ€
      • +
      • Include your EVAL board driver header file #include “stm3210e_eval.h†instead of #include “stm32_eval.hâ€
      • +
      • If you are using the EVAL board’s LCD, you need to add the include of the LCD header file #include “stm3210e_eval_lcd.h†+
          +
        • If you are using the LCD log module, after copying it to the application folder you have to edit it and update the name of the LCD header file. For more details, refer to the lcd_log_conf_template.h driver description.
        • +
      • +
    • +
  • +
  • stm3210e_eval_lcd.c +
      +
    • Remove “static†from TextColor and BackColor variables declaration (need to be changed from other application modules)
    • +
  • +
  • stm3210e_eval.h/.c +
      +
    • change value of “SDIO_TRANSFER_CLK_DIV†define from 0 to 1 to achieve SD max frequency at 24MHz.
    • +
    • Remove SD_DMAEndOfTransferStatus() function as now the DMA transfer is tracked using DMA End of transfer interrupt.
    • +
    • Update SD_LowLevel_DMA_TxConfig() and SD_LowLevel_DMA_RxConfig() functions to enable the DMA transfer complete IT
    • +
  • +
  • stm3210e_eval_sdio_sd.h/.c +
      +
    • Add new function SD_ProcessDMAIRQ() to be called from the DMA end of transfer interrupt.
    • +
    • Add some improvements by handling SDIO errors and adding timeout for different loops.
    • +
    • Update to support SDHC memory cards with capacity greater than 4 GB +
        +
      • SD_CardInfo structure, define CardCapacity variable as 64-bit long (instead of 32-bit)
      • +
      • Declare ReadAddr and WriteAddr parameters in SD_ReadBlock(),SD_WriteBlock(), SD_ReadMultiBlocks() and SD_WriteMultiBlocks() as 64-bit long (instead of 32-bit)
      • +
    • +
    • Refer to the driver header file’s comments for more information on how to use the provided API.
    • +
  • +
  • stm3210e_eval_fsmc_nor.c +
      +
    • NOR_ProgramBuffer() function: remove this comment “This function must be used only with S29GL128P NOR memory.â€
    • +
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • STM3210C_EVAL +
      +
    • stm3210c_eval_lcd.c: update to support new LCD AM240320D5TOQW01H (controller ILI9325)
    • +
  • +
  • STM322xG-EVAL +
      +
    • stm322xg_eval.h: fix value of the SDIO clock divider (SDIO_TRANSFER_CLK_DIV constant) to 2 instead of 0
    • +
    • stm322xg_eval_lcd.c: increase FSMC AddressSetupTime value from 1 to 3 to be compliant with some LCD access timing
    • +
    • stm322xg_eval_audio_codec.c: update Codec_CtrlInterface_Init() and Codec_GPIO_Init() functions to not reconfigure the I2C peripheral if it’s already enabled and configured (to avoid configuring the I2C twice when using both Audio codec and IO Expander drivers in the same application).
    • +
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Update some STM322xG_EVAL drivers (no change on the API) to fix warnings with TASKING C compiler.
  • +
  • Change the Release Notes name to STM32 Evaluation Board Drivers
  • +
  • stm322xg_eval.c +
      +
    • SD_LowLevel_Init(): change SDIO pins speed configuration to “GPIO_Speed_25MHzâ€
    • +
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Official version supporting STM322xG_EVAL evaluation board RevB (for STM32F2xx devices).
  • +
  • Common +
      +
    • Add new LCD log utility drivers: The LCD Log module allows to automatically set a header and footer on any application using the LCD display and allows to dump user, debug and error messages by using the following macros: LCD_ErrLog(), LCD_UsrLog() and LCD_DbgLog().
    • +
  • +
  • Note: the STM322xG_EVAL board RevA was wrongly named STM3220F_EVAL
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • stm32_eval_sdio_sd.c.h: driver improvement +
      +
    • SD Clock increased to 24MHz to improve the data transfer performance.
    • +
    • Add new functions to check the SDIO peripheral and SD Card status at any time: SD_WaitReadOperation(), SD_WaitWriteOperation(). The software sequence is little bit changed but without any impact on driver API. For more details, refer to the stm32_eval_sdio_sd.c driver description.
    • +
    • Add new structure containing the SD Status register parameters. This structure is called by the SD_SendSDStatus() function.
    • +
    • Transfers mode updated +
        +
      • Read/Write Block using Polling and DMA modes
      • +
      • Read/Write Multi Blocks using DMA mode only
      • +
      • Interrupt mode removed
      • +
    • +
    • Data transfer functions are managing only fixed Block size (512-byte)
    • +
  • +
  • STM32100B-EVAL +
      +
    • stm32100b_eval_cec.c: fix some strict ANSI-C errors
    • +
  • +
  • STM32100E-EVAL +
      +
    • stm32100e_eval_cec.c: fix some strict ANSI-C errors
    • +
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Add new directory for STM32L152-EVAL board containing the following files: +
      +
    • stm32l152_eval.h/.c, stm32l152_eval_lcd.h/.c, stm32l152_eval_glass_lcd.h/.c, stm32l152_eval_i2c_ee.h/.c
    • +
  • +
  • Add support for the STM32100E-EVAL Rev B: SPI FLASH CS pin “sFLASH_CS_PIN†changed from PB.02 to PE.06.
  • +
  • stm32100e_eval_lcd.h/.c: Add support for “LCD_ILI9325†LCD controller.
  • +
  • stm32100e_eval_fsmc_onenand.h/.c driver updated to correct asynchronous and synchronous read operations procedures.
  • +
+
+
+
+ +
+

General

+
    +
  • I2C EEPROM, Temperature Sensor and IOE Expander drivers updated to use the DMA for read/write transfer and add more robustness
  • +
  • SD Card (SDIO) driver updated to add more robustness
  • +
  • SPI Flash and SD Card (SPI) drivers: SPI MISO pin configuration changed to Input Floating
  • +
+

Utilities

+
    +
  • Add new directory for STM32100E-EVAL board containing the following files: +
      +
    • stm32100e_eval.h/.c, stm32100e_eval_lcd.h/.c, stm32100e_eval_cec.h/.c, stm32100e_eval_fsmc_onenand.h/.c, stm32100e_eval_fsmc_sram.h/.c, stm32100e_eval_ioe.h/.c
    • +
  • +
  • Common +
      +
    • stm32_eval_sdio_sd.c: Update the DMA End of Transfer Check loop inside the SD_ReadBlock(), SD_WriteBlock(), SD_ReadMultiBlocks() and SD_Write MultiBlocks().
    • +
    • stm32_eval_i2c_ee.c/.h +
        +
      • Enhanced sEE_WaitEepromStandbyState() function for more robustness.
      • +
      • Enhanced Read and Write operations to manage I2C limitations.
      • +
      • Add Timeout management with user callback implementation which allows recovering from I2C bus errors.
      • +
      • Add critical sections user callbacks allowing to disable then enable interrupts when I2C operation require to be not interrupted.
      • +
    • +
    • stm32_eval_i2c_tsensor.c/.h +
        +
      • Enhanced I2C communication functions by using DMA for registers Read and Write operations.
      • +
      • Add Timeout management with user callback implementation which allows recovering from I2C bus errors.
      • +
    • +
  • +
  • STM32100B_EVAL +
      +
    • stm32100b_eval.h: Add LM75 DMA defines.
    • +
    • stm32100b_eval_lcd.c: Change “SPI_FLASH†by “sFLASH†in LCD_DrawBMP() function.
    • +
  • +
  • STM3210B_EVAL +
      +
    • stm3210b_eval.h: Add LM75 DMA defines.
    • +
    • stm3210b_eval_lcd.c: Change “SPI_FLASH†by “sFLASH†in LCD_DrawBMP() function.
    • +
  • +
  • STM3210C_EVAL +
      +
    • stm3210c_eval.h: Add EEPROM driver Timeout define.
    • +
    • stm3210c_eval_lcd.c: Change “SPI_FLASH†by “sFLASH†in LCD_DrawBMP() function.
    • +
    • stm3210c_eval_i2c_ioe.c +
        +
      • Enhanced I2C communication functions by using DMA for registers Read and Write operations.
      • +
      • Add Timeout management with user callback implementation which allows recovering from I2C bus errors.
      • +
      • change IOE_I2C_SPEED from “400000†to “300000â€.
      • +
    • +
  • +
  • STM3210E_EVAL +
      +
    • stm3210e_eval.c: change “void SD_WaitForDMAEndOfTransfer(void)†to “uint32_t SD_DMAEndOfTransferStatus(void)â€.
    • +
    • stm3210e_eval.h: Add LM75 DMA defines.
    • +
    • stm3210e_eval_fsmc_nand.h: remove “NAND_CMD_AREA_TRUE1†define.
    • +
    • stm3210e_eval_fsmc_nand.c: Update FSMC timing in NAND_Init() function to be aligned with AN2784 application note.
    • +
    • stm3210e_eval_fsmc_nor.c +
        +
      • NOR_Init() function: add FSMC_AsynchronousWait field to FSMC_NORSRAMInitStructure
      • +
    • +
    • stm3210e_eval_fsmc_sram.c +
        +
      • Update FSMC timing in SRAM_Init() function to be aligned with AN2784 application note.
      • +
      • SRAM_Init() function: add FSMC_AsynchronousWait field to FSMC_NORSRAMInitStructure
      • +
    • +
    • stm3210e_eval_lcd.c +
        +
      • LCD_FSMCConfig() function: add FSMC_AsynchronousWait field to FSMC_NORSRAMInitStructure
      • +
    • +
  • +
+
+
+
+ +
+

General

+
    +
  • I2C EEPROM driver update to use the DMA to perform data transfer to/from EEPROM memory.
  • +
+

Utilities

+
    +
  • STM32_EVAL +
      +
    • stm32_eval_i2c_ee.c: updated to use the DMA to perform data transfer to/from EEPROM memory. For more details, refer to the description provided within this file.
    • +
    • stm3210c_eval.c: add low level functions to configure the DMA (needed for I2C EEPROM driver)
    • +
    • stm3210c_eval_ioe.c: add a delay in IOE_TS_GetState() function to wait till the end of ADC conversion
    • +
    • stm3210e_eval_fsmc_nor.c: add PD6 pin configuration in NOR_Init() function
    • +
    • stm3210b_eval_lcd.c: remove the second “;†from “static void PutPixel(int16_t x, int16_t y);;â€
    • +
  • +
+
+
+
+ +
+

General

+
    +
  • Add support for STM32 Low-density Value line (STM32F100x4/6) and Medium-density Value line (STM32F100x8/B) devices.
  • +
  • Add support for the STMicroelectronics STM32100B-EVAL evaluation board.
  • +
+

Utilities

+
    +
  • STM32_EVAL +
      +
    • Add new directory “Common†containing a common drivers for all STM32 evaluation boards: fonts.h/.c, stm32_eval_i2c_ee.h/.c, stm32_eval_spi_flash.h/.c, stm32_eval_i2c_tsensor.h/.c, stm32_eval_spi_sd.h/.c and stm32_eval_sdio_sd.h/.c
    • +
    • Add new driver for the STM32100B-EVAL managing Leds, push button and COM ports.
    • +
    • New HDMI CEC High level driver.
    • +
    • For all LCD drivers new fonts has been added.
    • +
    • New FSMC memories drivers for STM3210E-EVAL board: stm3210e_eval_fsmc_sram.h/.c, stm3210e_eval_fsmc_nor.h/.c and stm3210e_eval_fsmc_nand.h/.c.
    • +
  • +
+
+
+
+
+ + + diff --git a/Drivers/BSP/STM3210E_EVAL/_htmresc/favicon.png b/Drivers/BSP/STM3210E_EVAL/_htmresc/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..06713eec4974e141c6e9b4156d34e61e89f282ca GIT binary patch literal 4126 zcmV+(5aI8MP)ZIGU@QfPy~$kHP}Vz9c$a)g>fT6hB^OaK4>c|MGS0000HbW%=J|NsC0|NsC0 z|NsC0|NsC0041%NVgLXD!bwCyRCwCllie1CAP9sJ&9ooo{hxLjw5@YC+xxf~%TE}{ zNd5%935b--eKa7{Q8)vZ;eI6pGFH>rL)887WOA={e(b_&0g-g6to#Hm2B3vqWV>1u z@z7*I(bdWdx-Y=OT@|og)oZEgAbc7ep|Gf{$7j1Oa#T&r4>0xv(+}tR_4biWa z1Q-BfcsgeLIJPbT0000rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-kiKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z000F^NklQWRUVq~pvFslpiNq83Yr*1(ELa!!kppKfxQKEkPzz^I>0W)!71xam z(B64`)5a~kHf9SBOp*Wvo{xA*e4|Kv3g6TCo+fF8q^C$|g>#NlXyY$%lmkmCh$x1Z zFbJ_hiDG`37w>KPVB83d7E3>R@-M9$`|}|QFF}1qSk!nanPdVd3K38edo3y+D*=Uo zfOWCwj(F@GSjPG&B<0O;H!Zm0g>eDeK09{b@xB};mEy; z;Gp5H_Cr65qKM1uYIu6x&16!Ei=BHfJLe)1IUnFqc6d#D=ZVQmV9C73vy1=x$SK;s z=*CYZP+Ei1D5Vjl#u88v5dv#jId?iu)8mM}{mD`GcMXtAC5ap?ZoKr&iYuqTKHe$t zTR%R$ZZwxec?l+0r_LIVbe-mzH+D0*ZYsu4BE~~JA2A+AD?BAArO=g8ZfvXtU~o9c zZ(Bd-RFK5jh*DvM1v6^41HB@0K0qn7E8E&Xz1mk6hvmx?*|WB_H!dcO;5R$=<4b~s z5zr3N4zxlkMKOrDeny(PGpEM6^hGyc7lhg>MWtM!af*pn%&q_PxI(n^(-Zd{ICPAp z(WE@Zz5|EZyt{MEDy&l5$Cba^zU!9k&;Vs7lk$@o02LOwb#e2{#3%Cn2>kQF(RKUU z+tW!;FT0@d+TX^L;>@3RytlTP&ts$pqA}TwENBlg9?$-D zF9Sn4URZx8)hVBw<~NY=h3=so7{jEhG%Zc_0QBSvY~K4BS|W5MAem5XSb6m}VDN$f zy+b3n9qjIJoHM5pqYa`IPH9AIoM=!AE1Er>r|3E}#Jq-S)cTrfD&TZjAuN@+V}3mi zlhOce+q<8>Y?i93G=*Z3Web`ri!Q%p%LR*(bB?;|)B`&=J&ab0Z(UKpbzyZV5o*#& z0FLzzaI$v*-#WB)+`n>BoJ*1AwU0XSu;@w&Hu1WYXVR#!8itC%68CzMeiXhL#`9W$9J30NB-Wg!ex`hBlg9F5u@&o4>hd`TWPv z{r{JbyvQGZzbyvPS}zAifbhF49z~X|@9v|!=No>qsF|P~vf=g>7#%0yk<U?Ha8*Z4HW>#8w>z$A3 z>^uQlk;$a-6CQ(uc@RM)Cbss!xuPVl2@c1u-5tEUw}U8OfP_J+QYhfu$B<0Cj3xm7 c?*aZZ00ulYFs-m=@&Et;07*qoM6N<$f~=14i~s-t literal 0 HcmV?d00001 diff --git a/Drivers/STM32F1xx_HAL_Driver/_htmresc/mini-st.css b/Drivers/BSP/STM3210E_EVAL/_htmresc/mini-st_2020.css similarity index 78% rename from Drivers/STM32F1xx_HAL_Driver/_htmresc/mini-st.css rename to Drivers/BSP/STM3210E_EVAL/_htmresc/mini-st_2020.css index 71fbc14..3d9e81a 100644 --- a/Drivers/STM32F1xx_HAL_Driver/_htmresc/mini-st.css +++ b/Drivers/BSP/STM3210E_EVAL/_htmresc/mini-st_2020.css @@ -1,39 +1,39 @@ @charset "UTF-8"; /* - Flavor name: Default (mini-default) - Author: Angelos Chalaris (chalarangelo@gmail.com) - Maintainers: Angelos Chalaris - mini.css version: v3.0.0-alpha.3 + Flavor name: Custom (mini-custom) + Generated online - https://minicss.org/flavors + mini.css version: v3.0.1 */ /* Browsers resets and base typography. */ /* Core module CSS variable definitions */ :root { - --fore-color: #111; - --secondary-fore-color: #444; - --back-color: #f8f8f8; - --secondary-back-color: #f0f0f0; - --blockquote-color: #f57c00; - --pre-color: #1565c0; - --border-color: #aaa; - --secondary-border-color: #ddd; - --heading-ratio: 1.19; + --fore-color: #03234b; + --secondary-fore-color: #03234b; + --back-color: #ffffff; + --secondary-back-color: #ffffff; + --blockquote-color: #e6007e; + --pre-color: #e6007e; + --border-color: #3cb4e6; + --secondary-border-color: #3cb4e6; + --heading-ratio: 1.2; --universal-margin: 0.5rem; - --universal-padding: 0.125rem; - --universal-border-radius: 0.125rem; - --a-link-color: #0277bd; - --a-visited-color: #01579b; } + --universal-padding: 0.25rem; + --universal-border-radius: 0.075rem; + --background-margin: 1.5%; + --a-link-color: #3cb4e6; + --a-visited-color: #8c0078; } html { - font-size: 14px; } + font-size: 13.5px; } a, b, del, em, i, ins, q, span, strong, u { font-size: 1em; } html, * { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Helvetica, sans-serif; - line-height: 1.4; + font-family: -apple-system, BlinkMacSystemFont, Helvetica, arial, sans-serif; + line-height: 1.25; -webkit-text-size-adjust: 100%; } * { @@ -42,7 +42,10 @@ html, * { body { margin: 0; color: var(--fore-color); - background: var(--back-color); } + @background: var(--back-color); + background: var(--back-color) linear-gradient(#ffd200, #ffd200) repeat-y left top; + background-size: var(--background-margin); + } details { display: block; } @@ -62,9 +65,9 @@ img { height: auto; } h1, h2, h3, h4, h5, h6 { - line-height: 1.2; + line-height: 1.25; margin: calc(1.5 * var(--universal-margin)) var(--universal-margin); - font-weight: 500; } + font-weight: 400; } h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { color: var(--secondary-fore-color); display: block; @@ -74,21 +77,15 @@ h1 { font-size: calc(1rem * var(--heading-ratio) * var(--heading-ratio) * var(--heading-ratio)); } h2 { - font-size: calc(1rem * var(--heading-ratio) * var(--heading-ratio); ); - background: var(--mark-back-color); - font-weight: 600; - padding: 0.1em 0.5em 0.2em 0.5em; - color: var(--mark-fore-color); } - + font-size: calc(1rem * var(--heading-ratio) * var(--heading-ratio) ); + border-style: none none solid none ; + border-width: thin; + border-color: var(--border-color); } h3 { - font-size: calc(1rem * var(--heading-ratio)); - padding-left: calc(2 * var(--universal-margin)); - /* background: var(--border-color); */ - } + font-size: calc(1rem * var(--heading-ratio) ); } h4 { - font-size: 1rem;); - padding-left: calc(4 * var(--universal-margin)); } + font-size: calc(1rem * var(--heading-ratio)); } h5 { font-size: 1rem; } @@ -101,7 +98,7 @@ p { ol, ul { margin: var(--universal-margin); - padding-left: calc(6 * var(--universal-margin)); } + padding-left: calc(3 * var(--universal-margin)); } b, strong { font-weight: 700; } @@ -111,7 +108,7 @@ hr { border: 0; line-height: 1.25em; margin: var(--universal-margin); - height: 0.0625rem; + height: 0.0714285714rem; background: linear-gradient(to right, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent); } blockquote { @@ -121,16 +118,16 @@ blockquote { color: var(--secondary-fore-color); margin: var(--universal-margin); padding: calc(3 * var(--universal-padding)); - border: 0.0625rem solid var(--secondary-border-color); - border-left: 0.375rem solid var(--blockquote-color); + border: 0.0714285714rem solid var(--secondary-border-color); + border-left: 0.3rem solid var(--blockquote-color); border-radius: 0 var(--universal-border-radius) var(--universal-border-radius) 0; } blockquote:before { position: absolute; top: calc(0rem - var(--universal-padding)); left: 0; font-family: sans-serif; - font-size: 3rem; - font-weight: 700; + font-size: 2rem; + font-weight: 800; content: "\201c"; color: var(--blockquote-color); } blockquote[cite]:after { @@ -160,8 +157,8 @@ pre { background: var(--secondary-back-color); padding: calc(1.5 * var(--universal-padding)); margin: var(--universal-margin); - border: 0.0625rem solid var(--secondary-border-color); - border-left: 0.25rem solid var(--pre-color); + border: 0.0714285714rem solid var(--secondary-border-color); + border-left: 0.2857142857rem solid var(--pre-color); border-radius: 0 var(--universal-border-radius) var(--universal-border-radius) 0; } sup, sub, code, kbd { @@ -204,7 +201,8 @@ a { box-sizing: border-box; display: flex; flex: 0 1 auto; - flex-flow: row wrap; } + flex-flow: row wrap; + margin: 0 0 0 var(--background-margin); } .col-sm, [class^='col-sm-'], @@ -565,9 +563,9 @@ a { order: 999; } } /* Card component CSS variable definitions */ :root { - --card-back-color: #f8f8f8; - --card-fore-color: #111; - --card-border-color: #ddd; } + --card-back-color: #3cb4e6; + --card-fore-color: #03234b; + --card-border-color: #03234b; } .card { display: flex; @@ -578,7 +576,7 @@ a { width: 100%; background: var(--card-back-color); color: var(--card-fore-color); - border: 0.0625rem solid var(--card-border-color); + border: 0.0714285714rem solid var(--card-border-color); border-radius: var(--universal-border-radius); margin: var(--universal-margin); overflow: hidden; } @@ -592,7 +590,7 @@ a { margin: 0; border: 0; border-radius: 0; - border-bottom: 0.0625rem solid var(--card-border-color); + border-bottom: 0.0714285714rem solid var(--card-border-color); padding: var(--universal-padding); width: 100%; } .card > .sectione.media { @@ -617,17 +615,18 @@ a { width: auto; } .card.warning { -/* --card-back-color: #ffca28; */ --card-back-color: #e5b8b7; - --card-border-color: #e8b825; } + --card-fore-color: #3b234b; + --card-border-color: #8c0078; } .card.error { - --card-back-color: #b71c1c; - --card-fore-color: #f8f8f8; - --card-border-color: #a71a1a; } + --card-back-color: #464650; + --card-fore-color: #ffffff; + --card-border-color: #8c0078; } .card > .sectione.dark { - --card-back-color: #e0e0e0; } + --card-back-color: #3b234b; + --card-fore-color: #ffffff; } .card > .sectione.double-padded { padding: calc(1.5 * var(--universal-padding)); } @@ -637,12 +636,12 @@ a { */ /* Input_control module CSS variable definitions */ :root { - --form-back-color: #f0f0f0; - --form-fore-color: #111; - --form-border-color: #ddd; - --input-back-color: #f8f8f8; - --input-fore-color: #111; - --input-border-color: #ddd; + --form-back-color: #ffe97f; + --form-fore-color: #03234b; + --form-border-color: #3cb4e6; + --input-back-color: #ffffff; + --input-fore-color: #03234b; + --input-border-color: #3cb4e6; --input-focus-color: #0288d1; --input-invalid-color: #d32f2f; --button-back-color: #e2e2e2; @@ -655,13 +654,13 @@ a { form { background: var(--form-back-color); color: var(--form-fore-color); - border: 0.0625rem solid var(--form-border-color); + border: 0.0714285714rem solid var(--form-border-color); border-radius: var(--universal-border-radius); margin: var(--universal-margin); padding: calc(2 * var(--universal-padding)) var(--universal-padding); } fieldset { - border: 0.0625rem solid var(--form-border-color); + border: 0.0714285714rem solid var(--form-border-color); border-radius: var(--universal-border-radius); margin: calc(var(--universal-margin) / 4); padding: var(--universal-padding); } @@ -671,7 +670,7 @@ legend { display: table; max-width: 100%; white-space: normal; - font-weight: 700; + font-weight: 500; padding: calc(var(--universal-padding) / 2); } label { @@ -716,7 +715,7 @@ input:not([type]), [type="text"], [type="email"], [type="number"], [type="search box-sizing: border-box; background: var(--input-back-color); color: var(--input-fore-color); - border: 0.0625rem solid var(--input-border-color); + border: 0.0714285714rem solid var(--input-border-color); border-radius: var(--universal-border-radius); margin: calc(var(--universal-margin) / 2); padding: var(--universal-padding) calc(1.5 * var(--universal-padding)); } @@ -763,8 +762,8 @@ option { [type="radio"]:checked:before { border-radius: 100%; content: ''; - top: calc(0.0625rem + var(--universal-padding) / 2); - left: calc(0.0625rem + var(--universal-padding) / 2); + top: calc(0.0714285714rem + var(--universal-padding) / 2); + left: calc(0.0714285714rem + var(--universal-padding) / 2); background: var(--input-fore-color); width: 0.5rem; height: 0.5rem; } @@ -793,7 +792,7 @@ a[role="button"], label[role="button"], [role="button"] { display: inline-block; background: var(--button-back-color); color: var(--button-fore-color); - border: 0.0625rem solid var(--button-border-color); + border: 0.0714285714rem solid var(--button-border-color); border-radius: var(--universal-border-radius); padding: var(--universal-padding) calc(1.5 * var(--universal-padding)); margin: var(--universal-margin); @@ -814,7 +813,7 @@ input:disabled, input[disabled], textarea:disabled, textarea[disabled], select:d .button-group { display: flex; - border: 0.0625rem solid var(--button-group-border-color); + border: 0.0714285714rem solid var(--button-group-border-color); border-radius: var(--universal-border-radius); margin: var(--universal-margin); } .button-group > button, .button-group [type="button"], .button-group > [type="submit"], .button-group > [type="reset"], .button-group > .button, .button-group > [role="button"] { @@ -826,13 +825,13 @@ input:disabled, input[disabled], textarea:disabled, textarea[disabled], select:d border-radius: 0; box-shadow: none; } .button-group > :not(:first-child) { - border-left: 0.0625rem solid var(--button-group-border-color); } + border-left: 0.0714285714rem solid var(--button-group-border-color); } @media screen and (max-width: 499px) { .button-group { flex-direction: column; } .button-group > :not(:first-child) { border: 0; - border-top: 0.0625rem solid var(--button-group-border-color); } } + border-top: 0.0714285714rem solid var(--button-group-border-color); } } /* Custom elements for forms and input elements. @@ -874,29 +873,29 @@ button.large, [type="button"].large, [type="submit"].large, [type="reset"].large */ /* Navigation module CSS variable definitions */ :root { - --header-back-color: #f8f8f8; - --header-hover-back-color: #f0f0f0; - --header-fore-color: #444; - --header-border-color: #ddd; - --nav-back-color: #f8f8f8; - --nav-hover-back-color: #f0f0f0; - --nav-fore-color: #444; - --nav-border-color: #ddd; - --nav-link-color: #0277bd; - --footer-fore-color: #444; - --footer-back-color: #f8f8f8; - --footer-border-color: #ddd; - --footer-link-color: #0277bd; - --drawer-back-color: #f8f8f8; - --drawer-hover-back-color: #f0f0f0; - --drawer-border-color: #ddd; - --drawer-close-color: #444; } + --header-back-color: #03234b; + --header-hover-back-color: #ffd200; + --header-fore-color: #ffffff; + --header-border-color: #3cb4e6; + --nav-back-color: #ffffff; + --nav-hover-back-color: #ffe97f; + --nav-fore-color: #e6007e; + --nav-border-color: #3cb4e6; + --nav-link-color: #3cb4e6; + --footer-fore-color: #ffffff; + --footer-back-color: #03234b; + --footer-border-color: #3cb4e6; + --footer-link-color: #3cb4e6; + --drawer-back-color: #ffffff; + --drawer-hover-back-color: #ffe97f; + --drawer-border-color: #3cb4e6; + --drawer-close-color: #e6007e; } header { - height: 3.1875rem; + height: 2.75rem; background: var(--header-back-color); color: var(--header-fore-color); - border-bottom: 0.0625rem solid var(--header-border-color); + border-bottom: 0.0714285714rem solid var(--header-border-color); padding: calc(var(--universal-padding) / 4) 0; white-space: nowrap; overflow-x: auto; @@ -927,7 +926,7 @@ header { nav { background: var(--nav-back-color); color: var(--nav-fore-color); - border: 0.0625rem solid var(--nav-border-color); + border: 0.0714285714rem solid var(--nav-border-color); border-radius: var(--universal-border-radius); margin: var(--universal-margin); } nav * { @@ -946,10 +945,10 @@ nav { nav .sublink-1:before { position: absolute; left: calc(var(--universal-padding) - 1 * var(--universal-padding)); - top: -0.0625rem; + top: -0.0714285714rem; content: ''; height: 100%; - border: 0.0625rem solid var(--nav-border-color); + border: 0.0714285714rem solid var(--nav-border-color); border-left: 0; } nav .sublink-2 { position: relative; @@ -957,16 +956,16 @@ nav { nav .sublink-2:before { position: absolute; left: calc(var(--universal-padding) - 3 * var(--universal-padding)); - top: -0.0625rem; + top: -0.0714285714rem; content: ''; height: 100%; - border: 0.0625rem solid var(--nav-border-color); + border: 0.0714285714rem solid var(--nav-border-color); border-left: 0; } footer { background: var(--footer-back-color); color: var(--footer-fore-color); - border-top: 0.0625rem solid var(--footer-border-color); + border-top: 0.0714285714rem solid var(--footer-border-color); padding: calc(2 * var(--universal-padding)) var(--universal-padding); font-size: 0.875rem; } footer a, footer a:visited { @@ -1013,7 +1012,7 @@ footer.sticky { height: 100vh; overflow-y: auto; background: var(--drawer-back-color); - border: 0.0625rem solid var(--drawer-border-color); + border: 0.0714285714rem solid var(--drawer-border-color); border-radius: 0; margin: 0; z-index: 1110; @@ -1060,38 +1059,36 @@ footer.sticky { */ /* Table module CSS variable definitions. */ :root { - --table-border-color: #aaa; - --table-border-separator-color: #666; - --table-head-back-color: #e6e6e6; - --table-head-fore-color: #111; - --table-body-back-color: #f8f8f8; - --table-body-fore-color: #111; - --table-body-alt-back-color: #eee; } + --table-border-color: #03234b; + --table-border-separator-color: #03234b; + --table-head-back-color: #03234b; + --table-head-fore-color: #ffffff; + --table-body-back-color: #ffffff; + --table-body-fore-color: #03234b; + --table-body-alt-back-color: #f4f4f4; } table { border-collapse: separate; border-spacing: 0; - : margin: calc(1.5 * var(--universal-margin)) var(--universal-margin); + margin: 0; display: flex; flex: 0 1 auto; flex-flow: row wrap; padding: var(--universal-padding); - padding-top: 0; - margin: calc(1.5 * var(--universal-margin)) var(--universal-margin); } + padding-top: 0; } table caption { - font-size: 1.25 * rem; + font-size: 1rem; margin: calc(2 * var(--universal-margin)) 0; max-width: 100%; - flex: 0 0 100%; - text-align: left;} + flex: 0 0 100%; } table thead, table tbody { display: flex; flex-flow: row wrap; - border: 0.0625rem solid var(--table-border-color); } + border: 0.0714285714rem solid var(--table-border-color); } table thead { z-index: 999; border-radius: var(--universal-border-radius) var(--universal-border-radius) 0 0; - border-bottom: 0.0625rem solid var(--table-border-separator-color); } + border-bottom: 0.0714285714rem solid var(--table-border-separator-color); } table tbody { border-top: 0; margin-top: calc(0 - var(--universal-margin)); @@ -1109,11 +1106,11 @@ table { table td { background: var(--table-body-back-color); color: var(--table-body-fore-color); - border-top: 0.0625rem solid var(--table-border-color); } + border-top: 0.0714285714rem solid var(--table-border-color); } table:not(.horizontal) { overflow: auto; - max-height: 850px; } + max-height: 100%; } table:not(.horizontal) thead, table:not(.horizontal) tbody { max-width: 100%; flex: 0 0 100%; } @@ -1134,32 +1131,33 @@ table.horizontal { border: 0; } table.horizontal thead, table.horizontal tbody { border: 0; + flex: .2 0 0; flex-flow: row nowrap; } table.horizontal tbody { overflow: auto; justify-content: space-between; - flex: 1 0 0; - margin-left: calc( 4 * var(--universal-margin)); + flex: .8 0 0; + margin-left: 0; padding-bottom: calc(var(--universal-padding) / 4); } table.horizontal tr { flex-direction: column; flex: 1 0 auto; } table.horizontal th, table.horizontal td { - width: 100%; + width: auto; border: 0; - border-bottom: 0.0625rem solid var(--table-border-color); } + border-bottom: 0.0714285714rem solid var(--table-border-color); } table.horizontal th:not(:first-child), table.horizontal td:not(:first-child) { border-top: 0; } table.horizontal th { text-align: right; - border-left: 0.0625rem solid var(--table-border-color); - border-right: 0.0625rem solid var(--table-border-separator-color); } + border-left: 0.0714285714rem solid var(--table-border-color); + border-right: 0.0714285714rem solid var(--table-border-separator-color); } table.horizontal thead tr:first-child { padding-left: 0; } table.horizontal th:first-child, table.horizontal td:first-child { - border-top: 0.0625rem solid var(--table-border-color); } + border-top: 0.0714285714rem solid var(--table-border-color); } table.horizontal tbody tr:last-child td { - border-right: 0.0625rem solid var(--table-border-color); } + border-right: 0.0714285714rem solid var(--table-border-color); } table.horizontal tbody tr:last-child td:first-child { border-top-right-radius: 0.25rem; } table.horizontal tbody tr:last-child td:last-child { @@ -1191,12 +1189,12 @@ table.horizontal { display: table-row-group; } table tr, table.horizontal tr { display: block; - border: 0.0625rem solid var(--table-border-color); + border: 0.0714285714rem solid var(--table-border-color); border-radius: var(--universal-border-radius); - background: #fafafa; + background: #ffffff; padding: var(--universal-padding); margin: var(--universal-margin); - margin-bottom: calc(2 * var(--universal-margin)); } + margin-bottom: calc(1 * var(--universal-margin)); } table th, table td, table.horizontal th, table.horizontal td { width: auto; } table td, table.horizontal td { @@ -1211,9 +1209,6 @@ table.horizontal { border-top: 0; } table tbody tr:last-child td, table.horizontal tbody tr:last-child td { border-right: 0; } } -:root { - --table-body-alt-back-color: #eee; } - table tr:nth-of-type(2n) > td { background: var(--table-body-alt-back-color); } @@ -1234,8 +1229,8 @@ table.hoverable tr:hover, table.hoverable tr:hover > td, table.hoverable tr:focu */ /* Contextual module CSS variable definitions */ :root { - --mark-back-color: #0277bd; - --mark-fore-color: #fafafa; } + --mark-back-color: #3cb4e6; + --mark-fore-color: #ffffff; } mark { background: var(--mark-back-color); @@ -1243,11 +1238,11 @@ mark { font-size: 0.95em; line-height: 1em; border-radius: var(--universal-border-radius); - padding: calc(var(--universal-padding) / 4) calc(var(--universal-padding) / 2); } + padding: calc(var(--universal-padding) / 4) var(--universal-padding); } mark.inline-block { display: inline-block; font-size: 1em; - line-height: 1.5; + line-height: 1.4; padding: calc(var(--universal-padding) / 2) var(--universal-padding); } :root { @@ -1314,8 +1309,8 @@ mark { :root { --modal-overlay-color: rgba(0, 0, 0, 0.45); - --modal-close-color: #444; - --modal-close-hover-color: #f0f0f0; } + --modal-close-color: #e6007e; + --modal-close-hover-color: #ffe97f; } [type="checkbox"].modal { height: 1px; @@ -1368,13 +1363,14 @@ mark { z-index: 1211; } :root { - --collapse-label-back-color: #e8e8e8; - --collapse-label-fore-color: #212121; - --collapse-label-hover-back-color: #f0f0f0; - --collapse-selected-label-back-color: #ececec; - --collapse-border-color: #ddd; - --collapse-content-back-color: #fafafa; - --collapse-selected-label-border-color: #0277bd; } + --collapse-label-back-color: #03234b; + --collapse-label-fore-color: #ffffff; + --collapse-label-hover-back-color: #3cb4e6; + --collapse-selected-label-back-color: #3cb4e6; + --collapse-border-color: var(--collapse-label-back-color); + --collapse-selected-border-color: #ceecf8; + --collapse-content-back-color: #ffffff; + --collapse-selected-label-border-color: #3cb4e6; } .collapse { width: calc(100% - 2 * var(--universal-margin)); @@ -1395,13 +1391,13 @@ mark { .collapse > label { flex-grow: 1; display: inline-block; - height: 1.5rem; + height: 1.25rem; cursor: pointer; - transition: background 0.3s; + transition: background 0.2s; color: var(--collapse-label-fore-color); background: var(--collapse-label-back-color); - border: 0.0625rem solid var(--collapse-border-color); - padding: calc(1.5 * var(--universal-padding)); } + border: 0.0714285714rem solid var(--collapse-selected-border-color); + padding: calc(1.25 * var(--universal-padding)); } .collapse > label:hover, .collapse > label:focus { background: var(--collapse-label-hover-back-color); } .collapse > label + div { @@ -1418,7 +1414,7 @@ mark { max-height: 1px; } .collapse > :checked + label { background: var(--collapse-selected-label-back-color); - border-bottom-color: var(--collapse-selected-label-border-color); } + border-color: var(--collapse-selected-label-border-color); } .collapse > :checked + label + div { box-sizing: border-box; position: relative; @@ -1427,13 +1423,13 @@ mark { overflow: auto; margin: 0; background: var(--collapse-content-back-color); - border: 0.0625rem solid var(--collapse-border-color); + border: 0.0714285714rem solid var(--collapse-selected-border-color); border-top: 0; padding: var(--universal-padding); clip: auto; -webkit-clip-path: inset(0%); clip-path: inset(0%); - max-height: 850px; } + max-height: 100%; } .collapse > label:not(:first-of-type) { border-top: 0; } .collapse > label:first-of-type { @@ -1450,11 +1446,8 @@ mark { /* Custom elements for contextual background elements, toasts and tooltips. */ -mark.secondary { - --mark-back-color: #d32f2f; } - mark.tertiary { - --mark-back-color: #308732; } + --mark-back-color: #3cb4e6; } mark.tag { padding: calc(var(--universal-padding)/2) var(--universal-padding); @@ -1463,9 +1456,9 @@ mark.tag { /* Definitions for progress elements and spinners. */ -/* Progess module CSS variable definitions */ +/* Progress module CSS variable definitions */ :root { - --progress-back-color: #ddd; + --progress-back-color: #3cb4e6; --progress-fore-color: #555; } progress { @@ -1558,45 +1551,45 @@ span[class^='icon-'] { filter: invert(100%); } span.icon-alert { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12' y2='16'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12' y2='16'%3E%3C/line%3E%3C/svg%3E"); } span.icon-bookmark { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E"); } span.icon-calendar { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); } span.icon-credit { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='1' y1='10' x2='23' y2='10'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='1' y1='10' x2='23' y2='10'%3E%3C/line%3E%3C/svg%3E"); } span.icon-edit { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34'%3E%3C/path%3E%3Cpolygon points='18 2 22 6 12 16 8 16 8 12 18 2'%3E%3C/polygon%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34'%3E%3C/path%3E%3Cpolygon points='18 2 22 6 12 16 8 16 8 12 18 2'%3E%3C/polygon%3E%3C/svg%3E"); } span.icon-link { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E"); } span.icon-help { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='17' x2='12' y2='17'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='17' x2='12' y2='17'%3E%3C/line%3E%3C/svg%3E"); } span.icon-home { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E"); } span.icon-info { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12' y2='8'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12' y2='8'%3E%3C/line%3E%3C/svg%3E"); } span.icon-lock { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E"); } span.icon-mail { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E"); } span.icon-location { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E"); } span.icon-phone { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E"); } span.icon-rss { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11a9 9 0 0 1 9 9'%3E%3C/path%3E%3Cpath d='M4 4a16 16 0 0 1 16 16'%3E%3C/path%3E%3Ccircle cx='5' cy='19' r='1'%3E%3C/circle%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11a9 9 0 0 1 9 9'%3E%3C/path%3E%3Cpath d='M4 4a16 16 0 0 1 16 16'%3E%3C/path%3E%3Ccircle cx='5' cy='19' r='1'%3E%3C/circle%3E%3C/svg%3E"); } span.icon-search { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); } span.icon-settings { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'%3E%3C/path%3E%3C/svg%3E"); } span.icon-share { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'%3E%3C/circle%3E%3Ccircle cx='6' cy='12' r='3'%3E%3C/circle%3E%3Ccircle cx='18' cy='19' r='3'%3E%3C/circle%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'%3E%3C/line%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'%3E%3C/circle%3E%3Ccircle cx='6' cy='12' r='3'%3E%3C/circle%3E%3Ccircle cx='18' cy='19' r='3'%3E%3C/circle%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'%3E%3C/line%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'%3E%3C/line%3E%3C/svg%3E"); } span.icon-cart { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E"); } span.icon-upload { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='17 8 12 3 7 8'%3E%3C/polyline%3E%3Cline x1='12' y1='3' x2='12' y2='15'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='17 8 12 3 7 8'%3E%3C/polyline%3E%3Cline x1='12' y1='3' x2='12' y2='15'%3E%3C/line%3E%3C/svg%3E"); } span.icon-user { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E"); } /* Definitions for utilities and helper classes. @@ -1604,7 +1597,7 @@ span.icon-user { /* Utility module CSS variable definitions */ :root { --generic-border-color: rgba(0, 0, 0, 0.3); - --generic-box-shadow: 0 0.25rem 0.25rem 0 rgba(0, 0, 0, 0.125), 0 0.125rem 0.125rem -0.125rem rgba(0, 0, 0, 0.25); } + --generic-box-shadow: 0 0.2857142857rem 0.2857142857rem 0 rgba(0, 0, 0, 0.125), 0 0.1428571429rem 0.1428571429rem -0.1428571429rem rgba(0, 0, 0, 0.125); } .hidden { display: none !important; } @@ -1622,7 +1615,7 @@ span.icon-user { overflow: hidden !important; } .bordered { - border: 0.0625rem solid var(--generic-border-color) !important; } + border: 0.0714285714rem solid var(--generic-border-color) !important; } .rounded { border-radius: var(--universal-border-radius) !important; } @@ -1697,4 +1690,14 @@ span.icon-user { clip-path: inset(100%) !important; overflow: hidden !important; } } -/*# sourceMappingURL=mini-default.css.map */ +/*# sourceMappingURL=mini-custom.css.map */ + +img[alt="ST logo"] { display: block; margin: auto; width: 75%; max-width: 250px; min-width: 71px; } +img[alt="Cube logo"] { float: right; width: 30%; max-width: 10rem; min-width: 8rem; padding-right: 1rem;} + +.figure { + display: block; + margin-left: auto; + margin-right: auto; + text-align: center; +} \ No newline at end of file diff --git a/Drivers/BSP/STM3210E_EVAL/_htmresc/st_logo.png b/Drivers/BSP/STM3210E_EVAL/_htmresc/st_logo.png deleted file mode 100644 index 8b80057fd3a454a97de1c9d732b7fede82c83227..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 18616 zcmbTd^-~<*6D~X~?jgaQV8LAj0X_tm1Ydk1xVy{Z3GPmS;IP2r4oh%%cMl#Qcz~Pl zz5l>lZ`GVRHB&V|boY7A^z(F|Z=Y4=aIwg-006*MkpHOuZ?5<^0x;12-SsK9!v0Mt zmQpHG08kT${nrHb-!rC@ysj$%ki7ceKq56ESOEZeJ%x`_nqEey{^(v>eK${gL>pJ% zX8+KBAR_W-jhDrs{egi|sP<73DP`UFoa(>xj;8qknEx2bL~2@t%3k>}hnl@CWQrW@ zqfK>@e3$sL-m%ftg0YAkk!@=P!Ognuz(zhb|Tux{FeX<<7(5oLVU8=W*sUZ*$TqlSb6o1O0a zzeP#ZW!;?#>0N5v?0D|q?mzD8-<^@1V0FH{fY}2A9ooXbylcB6Y>PVo4nMxLi|AWA z8M(b#9`j|%0v7ktATOSzsh-T7%Wqa>t*x!29M*iDetE6#^`?iEoQW5F*w7rjcWYw>-UyKyDHetK@Im)qdu0o-zudq@gQN3)r z=(%XIh|%7(Y}2mODA6--)=u;7mi|lUCki50L@QOyZN@2N`Bwwn9et)BF?yQr9`Sn# ze!a;09%cuNiCJ+Hwx|5Sw&L`0rJvq<$7D5j#Y=O^YcW)1x!+MVRWRVHrXDj~g@40Q zBvp_niE6-dasJKX&t@%;X`7_R9QhT$w_Dv~zW73kCM;9WC z#^@^R#^^HZ#`rQ5ZjC*^uYUMgw=ae5*IV2JyEL@LlJ1k!yA8p=fmyQ={`Pjq&sK}Y>k9r>*Y-3njDRLc8z*D?su--n+y(fpV8FB zwS%vLw=L>F9>rMJzXaXgg5NRvaHPKO=qdV`%ecKE^q=CNs6^=Vl)5QG9h0>AKM-1F zvU-S)!Vnz~yg}XNmnaKSqm&}<1}#nOBCWZsLvn3_pkm8Z)~*KF8yv=yRk*!4rf$7T zT*ey^g`%>`O82HoVNPMCaM^5e_Eeop`^`Wsro=Q9SzJ-{LW5j1QdRH>Oq5bEX({TJ-TNGPvNBrk5{my=8FEQ%0fftv4 z)$FK)-usf%cyd|Y@=r@u!~HI3-5_Q=E%R!AkEqtv$Yv%Zit4K`i*n5tM!wdwLFM?% z@N0D&tLS9%TD>`41R~`%HzXtZS6pjo$}fsAA6cq`&Llq^TE@#ID4eU}(xZH$-0oa>g$RMe)N_S(=w@nXEL&?{|e zd%-=H@Ei^9kz3up?3!?QYr2O7^M9)q_E2E@^vESGQ&5WzDh<(QgQEd3BICrRm8O)S!fPO#z(h0}Vk) zolMw(Ecl!UD7xMUH0>?+9qzTMCMQxcM+Od*!L7F!tiwSSG>D@|J~*c~gu?`RewztA z1cO8*h9GGR{``zPp9t6vZJ81Ar<-bz38Jv-ro`wI#Mq&-k$*5tL<>Pk=)T1H_z8YhPJDWCuq5c#f&iDRo3$~XHhc-#T3{whJvB?;N^IKpX^H#=oYNa@u&^9He20t za7qlYKRH^S(Tj2{XC=lPI|MVMOVVX4V8cbx(9Ix%YK__iyN9E(k)118*aO-OzZNT# zbhE^f=Cze>bdhX>8xBFW70+=Tb@QnIyKKmQGt`}ZHXrVVWgxIT1k&eFDonM5iFh{^ z;FtT_qYo%x6$`ChDD~;i`c>h@T~X~pZ&-v==wrV4)ra@?=39Z}7c)OR&&9#@9uxU( z?hh)jyY_o}tH;1B>v%95XoGM@gDYB{I@;aJAn;N$2z~uDX|IL`uf-*Mm1ic21|E8c zQZWw`gvb==bz|iv=774j$zii$vlW@T4LDFEfea$Z+frqVA{<)qP_mhp2AbFqEE(0z zfCJgi{n&vKxpSY#-W)(E-Y3u@1KQGcnWN=qz;Nz2-6>bIL8wZk?oy8xe49zo9Evpm zI>QVA&&4C5*aCjxksX%9lfPpQNw|#TzMQ;YvC%Rx=uA#dmU{e@tzaW&rq}9N5VXBw z6Mff^1He^5U}j4TZD};Z7u2!LZ@OjGIPgR|MLZ*9%)E@0nE%K=W5s+NOT~n_{fBc9 z8DlU6un9om`MN~!FtpPXkJSq(+KPHqF&N23_vGeqphc*cEAF=okHGoFWHHWTm&R zAZXR)=q}Jv`jsvKCoL27h?ylNq0fz5xasR{P`5RW_7kzL^b_#T@e?r5nGKuMX?!lz zcEq|hYJscWj{YtO1of8Xi0jH z6s+!rS0;ag(Cml~|NKB+tNwwq9kl+8wc0!T$L$CFw95drNPiuZ3jOf4G_NXoM$sQj zZn*2v3^ISC(OoqO%W>m};%SHDOcD)D7%f&?jnrI9&1_u;6m(x2g#=wb zH$Cl!I6f#QI6iFo2i^nPy^8_Rt0g@Gzv3FoK629)r#wPie#!P^T*B)9JDi>Qta-Ee zyLS}t0#vL+3WcNfUo47o=g+h7Q(waq$0Fo`#^t+!ugP{n=lV`j6a9^vBl)I!L&VaI zK(10FWw?KM*=_ynJ3HIwyD^##=aKUk4u|yIYk$&C>^B?x{I5c+Il`m3RQ%_=Tq`!D zQw3HQ7dw%VR~rkqeqr+THi``YT){njI8j~%3VNWBl3EUyQ zx>y&BaDTkwjg$12&1?kD`IcCB_?j~8XMfHm4iQ(TCj7-)DOn-+%UzP)ab?nnNlfTA zh(FmGsK1tl`G8>eb=1j~9lDZPh<*?zhjW@Gx5%UjcH4 zbrrd<#%%JyFrW`_Loz= zP30^V%kIB;=&%K@{YbXT6@(|c>dXlNk~?15SVEmMX6`Mjv>+MN2M$^N?ju|1T-qoW zJQV;x5rIpTc>eCM*`;fq^U3U2uW>l1RVxe^4B$CEub2J}+bN)$=(gE92((ah@ar_) z+I|k<9;iL6@Dyhc+LX|pTR>r3{P!==s^guY!a#cZ5Ry6QtTzvk zUh~+ICB=TnC(!+~G1}X`=zKbJF=VNy60Le=gO@j5lEJet5>jc!PbM+D!ZlS$KuYx&pkm{S?k)BU1<65@ z({=ySGqzCiV-vc5qOJ z48y)rR(Ys{uWIjyQX*o`4?xK$K9nE1K!t$coI~(ku$IzWaVM`ocnY1)=&_o_R%I_2 zZ_{Cs>@7#7ktZS)0EENs++_HHh39c*#7z#Pyifk3+e!lsET`nm%a#Zp{hflp4Vw$+ zOju*)#0tN99xzE1;G}_c;Oj@<_%Z8;SCB3P74uOYE__wpp<3HB0g0wsxZ1toEwg)5 z23F}NQwRV%3UQi)GQQt^$a%zzV8w>aIl;CkQ!6h%=n!jXPZ;sfULBWNTi1QT%V~R| zdrjBQt+%&EcrjOO0&pO(SR|R1%nis?Q}KUl75Q=`bI5TGenEMls+QNXGp;Grr-EZVy`f(ovFSmI(u6D90n zU}rWOG+9F)ioe9yO)lx~AD<~|_xP=uVs4I z6w+kccIU+(Ltf0bDM$mvJrBdPzjnQ4w#L-qTZ+S6V5l=pqj|%(!m@K!R(Sm5G<;5V zXK~r#d34;M-;>*+VXbyWbw`4vdOanA^uK`Ag&w)G;7}_OpATxWe^GjFe%&*Ocx)w7 zwt4Bs4luF3C-9V+n~E!?(W3d6$CtEn7OZ{~I`6iW|1x;QzkF49GF&d=Wg#fC2^Vn?KLfW@n~pFc4gBpg!U$uFR0 z6`f||PCJat3glNlwW|z^j;^p%9oQc82S&N+!L>xWR*UT~JbFCj)0}2J6c-rV3iVO! z`IdFp zB0H{SvHRu;zx(EM(0%j9fA`HVZ|@5Oo0EGok@w*1K*{Sg3QERYynQ|7kzI{t_?~>T zQGQ|?TPR(EZYAFen;>d7>k zc`O4jwao>J?dp~fG@8l|SBHzOE5h7?Ba_OYs%93|;KP${8}j%VGb?LRi<;yffk06& zmc)TH`g@-+zt@fG!z|MO3057>Y}ppB{w8IS2o68)NnHSA-jKa+X$k+&Klw{5Ksly#ye_HBKV&h1zbIsIT-|0XRq)zWf_~s9{=n3BOfpPy7{f5RZzL^9tdzjj zr)R?-SV}4UX;&dWNKq={6q|g;FEbIjXC}?$K%uY_ur_MF+MkJ>-c@8l1|6F7^BR4N zf%t(1oJ!m zg^z<^ddW{6+A~!=F*1he)s`5=HR&3O@tjq)pn!{ zodn}X=d$=iUh-ibxQ>PQw|#fHTLppRwXG}*HyUkLKB?Vxf>#@2_z&V#B0Cjvmfka$ znI~k?Pp)A)OXy(kdOeH7nbmp9bNb|>|e%T7Dg>BKo&y=JzU)v zs{+P#O$)wko3MOQY!bv_78@Q%uABK!ZPIi<~iCxyQ>J*D53j_;0vks;+?UxqO^ z8)9k;>&t3F)oFofc_t(0cdCn(OIM;4fePgKSw+PKcigoQR9JV_C-y`&%By+|aMjTd z;$iN6>#`KNXtG+yNhfl+PYn(#cr;Nf>DZ1mRU`A-PFI}Scq~0EgRR31c4LZcz_w!3 zU&-x*oGPQoz`-m#bYEC;V<7tHiC(wn395M}YNU9p|6@2$$6(9N_DyMjuOwT6X&Cu> zXg1{_^+%NsBhDf;)3V~J5%bl|^XVjqRgu^moR2288%NOgcLoNBkN6t5F&l2`tPvao zfAbQy!&*Ln*uWc{tVDqwT1{Q>{s19S6+;c@2e$2eZd>zL~I~M}G^8w4Y2bnyq)>=S+L6j%|@%XWqbYm%+}R z%Jg=|X7Y&0*lujN6>tzy)?{CBuT|FT#I=sU+569+)8oyIH?8?{Y{Im(PMHAGs5_GI z>1wLl+yiE$+I28-c2!jx)_?k2nIm}7iH=O{X#yL$s@}hUPf^xece9Vi{DUPRKm%@= zI4q=C$Qla?I0{;1W!^-Bt)o=r>#KNZnZPW3piq_&q`~HLF~1_^MHlt66*62}BJqzu zM;g!LlycVJ?1ohPMvFHu3^-`<`sR(iyLG`EB|;bk%3GG!#?x`m5gx zWnZm7bb@UTrR9OXVs1t)?(5a%Yqq>?ivrob2S7W|CH$C|Kscw z=5hgFRsHTTA{lDQ(a0VW8vk$By+wL4Ao<5{Br)oU$x2pMfJKrlPqr@4P$Y9Nt_7R| zCx>hhMeHtjM0mJ|?T<(EIY{^^cAiA&R=2C=g&o@6vm!E&&86BrLOf18fr==x77OBH zdyOvB1fjqxDMa5;G9@=qu?tN_vB?)=#H^qB;g*jHrr^*ISGt+pLXyWcu+bAWNk&IG zl?zGxV&+)tmQ@d~T5Yypa4*^P5t*t6C($W-Y9zknsGLXPPDR^RF~`>QcV4iB%ltJg#%JgzSOl!L!d<7;Gfa5FAv zjVdBTD(TpZ3>zF8@VbIAM{aYtDv8fh>oAmOoV`*>G_abe#aOPM+6b%!IzPP2K{>A5U*>>2+^+79)a z;+jQ03qhGCNA7Yx7^lX9Ba9FuFHNen`s{buqNeEv)$x#QoePK6M~soRL17NVafu`4RB%F$`Pl z5~X9X{(zDkw(=x-=6pOllhfSrJCozywriAokKZ^VZ?epc?F2YfOmC=V98gW?oL=*# zC!4VJtdyAXwE6cHlNoijVy3KiZxeTrjL5AO4?|IT4#6gV63bUTC!(fd*MK@3^J@F! zOg&Y}^l`KyT>$RnH8O17_%?_PVh?o(+5L|_R7c|c+R_PRXb26L8QM&z+5MaH{wtOk zn}L=^TXs*WwrBLOJ6hDKim{LKAa3?WEiRefh;#TMZ3y1zA%QAUYh={Ux!GU!o~ zQNH$+pUp$BPoB27%q zF^6BflF{;t=SZSz+GrMJ3q~ti7gQ;5SbjS`5!DFxQB8KOt1OQ(G%_V;vcdj>K_dXjNxb}0M?HyjDs(afDCVx%>+I2GAO;jMfy0Iwh$=Utfm z5snMAm4|C3O1?MDEQ%I@RL1I{SrN67(Q)b*7k&Ip+-THJr%-;ILx=v!SaW75@EH3` zUhVOn4CYZ>iZ!iaGNBq9Be`Mcq5Opf?{HZfcJM-VDr$qSCy^3Lij|O&UW{&ffZ&!( zaA9$H9_5lFs;vRx6|mmn{Ic~u%y*(_t~*m12^>%iUOQ9Ap<@`U;!iRpBZ5y=p}@B6 zSP;R6QS{hs7)q75Mgj7814d~Bae=<{A1Z5>;LN66N?m?;5pl?`*_wW1l4a8IBb4tyR6@^@^BOm`{tD6YyAv};)Te2G+K}4;<~T9 ztiHbWTlGjD1=omQ_viT9PJOR7GjZ^{`7u?a_$hGpx54G9Z4Uj-NJ+>3SA0ZSx1vXw zLxYWusP2Sm*#o~_#B)vb&lTfmtsonTnPHIvx!#}HYvp=bPcZe zcHOCWuo0{MxR+#P#Pz1PSlaT$g-HbB!hTlHpV_F!Ay^U-vb1-6W)!xh?3imeOv*Z3 z=D=Ij-4e>!J=_Q#nqT5Fkomgv(@3uQo!?=8R9Sw(0)&ni z2jsV8*xm^OAO91C)$^*!X=%ZHvh_G35URQ9mZ|{A0)E?gJcL0T$H-NA92s6VF$CYW z9RHBse3R!V%B}9#+)P1_9L@j@2VcH-GZ=N2{$k05r?kj$KxpvthW zd7m|F4Ka%sEOHJC`oN z{Q9h2$S$VYkMHBEw7ybMx&7`nIaMLI5n~s)u5f7_tg^|2p4eFF&|6C45|-}T zY2bbCicJ7u0b>nvzMSvbBTOChoOAKvC$b5)Y}lT;{a-@oZBJ!oQNfsC36M4qtjvVR zX;Qkn$Pw56!sOMyw2f6>a4-#^ zy$1D*lt}-KofQ^atUig?;uYP;un=4nq7RPpS6+7^7eT`a+9Hs&(5Wu`IyLv0kJINP zH{2$kHb`Me^3C!975F7KG!qcJ%Ot-tp1f*bJffu1KR9B1lQ=XYBq15?hlJ33*QN-~ z25i$#OI}x{k+-P3EKo3v2XVk4?t;KE4nj1dk!Zo@w6D?!o#k^~T|3?;an*{_dc}rZ zWWWrKbdBu0k$7Zn5A%~0$lei$vU1P?CE&!L*!t%`ziuxu= z$+Xt=qUvFYn;a&JSK-D!mWnDWtF|5q!R|hT$Hv!*O-Hv$ zFMd5*W#~$3AJN-2|IVd@2bWN6TIfD_0uz(~vS50vn&4k2seimRF5`Q+1IS}!NNHN| zuWuQz50#5kO>f(wTSg+{VKXLrOZR$Gm~DhS1f%%-9{FGG$s*ZrqKZL|g5VaRU11N3WB;tGWJx5jj1rPZ1}$YE7~gsu zE25FmauDeN0tjmI!T8LA_@Jktp-r4gQRI3~pz@ext*^u56U%RNNACtB2^N&i&Zkq_ z`%gV|mr`$f?Rog-De|tRlA$9w&gIG-7Zqk}`K~S#ez0!r0TA4$*?1vW^S1eRHim+x~x!Fuo?ZZGGykdj`C(v!pIX!M7^#v%t*g zcznI+6jSi4g8knZOJ2XD^*-Nu8++1xNL67@Dpa}id>w3=oC<2l|TauHqSGbyr z9Lb=M3fe$ymZM2IcIy2$WhWPLfA8YEy!~$2XHICgk})!EbwTa@re-=DC1|8#7fNFq6gJ2K}GKAX`f_@q32jY5x4yTSxUH;`}j*L?c8b@JA9D(4X1n>r5 zmjA{5zUzqX9?77@2f4TGSC#Gv z>RXD%m8Sx#GLz`?10nyLA3f`rKtm)2mp8 z2WUMD#ZK*6rx@tHUO&Z&$15&*p$9S&RarVs7nI?jWCTx!i z0n`(39&^Y>ScN)8+_K-B#JBi}jEM2qqgbCqWKx*4*ll_rs)9n)b|4=f&23 zGJ5Ub{5j_`P?1;gHXtz{3VvNPjI4v63M z7VR-O|JQRM-E&ZagmZ6Y#+`oTU{Zdpg*T>rA?e2lXyimlx-MsB_vpS!^2jDQhm%@q z{n8XwoaYQc8y7Itb%2)$a=$~0tev`)%-s+AXZ8I@XV4DuPx#4Z3^R?1Q&1e*!{+@j zwy0-{m|^s)xqlSU>jQk{owo@5+inF)-p_24DlAw`pUe~G8ATB<-h>G97|FK_kfkQlN-!Xir7CB=dF)cJj`)++W>CeZ z0KpG5Ul%&-7q_N%mRtvtM37+jS>A#7p`RadxDFCIFsAEA)28 zRc#)^^3Z1>`W_P8_n+_5l5pGfayTk_=7^k}d#ir!c>8mR4k$J+> z7$;sN^3k#e1A<-CaO6F6V7^1u(puc4hVnfPK2u$wSE_XF>^Bp?OAv{2Y8)b{(a(2LFQfe!w)T1x>k{ZpuhTF(Y6rhpZbrH!ElxM! z5seXw{2(-vFEyNn8P2QzldxYgR;$=9Va+n>oR-HQXL;u7|E|m|OuX!t) z=Y4P{a-kdSJHXaCvpi=8=DW$Bomevgq&Ys4T71MX_~k_QpcOJ7j|>5e z8fKax8KCNY#00?1+;-F_`mYl6?wiA0M9-%AWH7g{~~uALu>r1q7;w|*!aJIeE{mR8WtR@KBhs8TcC2jA=CW|Xy-ycIi>d)c7Okmo?_;IS6kWJ z(`FLRj~hxiQw>hGi`}`RB+q+jpRWZ9z114q7dyj#>yMG?n=NfcSz}CGOi5Bt#D4u( zFREX`PCs3=cqxne=H=$udT;=|-YI7ij;hPlH)3oXm z`Zikh-OIS^*V9YKw;%r4iW?YA#ppM%LKP=jnMYQ)JEBqy1t4U@E<8VwMW2U*KvaS5 zNDwVyHjTg6hvcbS>{N7lJu=~^Ut)S#sq~v9%#hIV2H~>o^9=!kEGypac0E4e6TQIW zr~+Bn`Sb4k*0*Zts;f;Vq@fsZn1hLBQyIO8W(13u0211vHK)RMC5neH4xx7?6jMVOl3i-ENH1NU{ z-FW1hXwfmWi;TOg`k_dSL1ckNlukjE5IiKg=2DaEcWG#qTCd+ts`vavz;Wye>fPE6 zy5Y~H#6~R#r29XgZcKEUWF`#TkPjT0Tb$nr`$rM*rO!0=z{AwY-%*%Y>1iy07;xo= zlqRRR7Oc25bnNStf}IG@3`}b^k0oTD!zg(19YJjRnXs}9jracK>Fw6_hgpNk9M$d_ zY;%@p@*94vn6~^S;rS|c_SBN9%41Y5CNDz~xgJ>zs5bOlC^*0Hm`3d+UdEAQlhAJ~ z9rS!JpiEjf-g5TxWc*_}=Uu;kRBG#hg)R{HVt_KfnWZwXW)vK%qN^F`Uk1yRWlJX^%Xv zrk4pFBKoY0c4V8}-7;k5jeHn#no6bE=CpUiQ*YjAXr&^e4Ji=kd5l#`F`6lq$7V{v z3HxGM@4$C!_rCJ0-}}J#b+>i@#M5T@ zDq!my3QKfc?}%tQt*O2KZN233YvPN6nJ}^KNmAv>Z%4u&!~ecZRVXA}Vl6Juc1QC% z^+u0V1RbM%wwc6J;|v%G|8k{t}#XaV3b2aS>;{E0?a{QN?D zjap1}Foj*+4gOfLe03+j+-fGX6EVmh%q%{kCs18^=Y$ttM`Ru~Sih(@mxvo*(|OHJwq(zE2(ex%#gkzo*Y14gL&0 zb&R`Soa5K^wB%jo6cc>zQGL@J1IWOVy&G6nrZ5tClv8t|5cv^+Gb2^+T0kC3kdVb= zzt>d9Y8%qhJjVP{A;^*2E;@stxE=CCM8#hlN3jEzVQ}z~l*fFX-3jF?-%dnrKMp>* z+*ojsjy{>@Jvb5ZmHokSc4fmUNZRBEvkDd^(WV&AoGicLZM&xx+F?MzT8H=FtNK9| zS}XSejv}P(R*P5=IL)L^{d8bx{SC>9DDxXj4@z-n^Hya-p}k%LC>kvh2A}eK-{n8P z{ymeI^r5$}WuJ`hTT7y&m(wGugFoqC45jML$-|3L7JDo`mbG@4AeOa9^F5Xfc~AdJ z6z*HExRMYeE;qZsGE(eCPFCa$fMk$Uzn)5Lqpt$(K3(+J)whl&sJ0{&+hDO7rV zmH=Vx#~{t)BZI;GL9NP4eoCJAPi}V8s2_pM0^Qn!dLjeT+!j52$p%MSaS9-1=VIXE zZZI?CV3-Z~UNNk|?P_bEXiaFvcS$(=j(imNA_Txz*qk*3Zt> zNTsgN3vU6G(NEuWibkSSE-gZ&wr@}`tuvHEIJGFQY)vT7_Sn%Zf>;noCdR{II*9Uy zi1DPT!QZt9edc?XCO_%vF)Vha6tK-jiPV+wdZr2-8Z+moIE4fA9Um2wrmprd`ujDw zA4$!<#8*6C%(UP!wX!r@9XeCS{UX~rhBT6- z&m5@`REID~K)qRRLN40)>Fz=?P=C-jXZA1}lMo#Lic@|(zYtC?Sr$}gjz;wX-)dH; z>kQvsjFQ|FEvL5r4GE`Vi>HJ+qxMkQH`jx)M#C81t{fBmVaUEu2p_>}$^Lp*OiKYZg_C_ycw2+?0OT`)la$oyQwx zn_edD@HInp4-Gny;i{I~SnCp_RpFSS_!Eo_CI3DYHotlBCu`)~d17BV58M;K#oqAY zMpX+Xw9;xj#wpOozs(lT<+Th^5&14m(|Q*%;z`vKh4SNgAVBe}N~g2sLPrFC2|fE< zFpnnM-xp>{8@7DssTYKd@0S%KXilVkqrjiHGyiM<4X=4ToUoPe$O?bRyn$W!y*w+D z6&Dp2t9Ct*jrJO53Vv$UzniUP=-;pr=_NhmXKlFLRkmbSfW7QwHhvWb87Y|_ zx8ovSSXKm9h{zGnW$Hh-iI?ZMHSbjn*3Sh{-$#hX$;rQovTb9bL)q_$Wc zZmKiDhCM5p5vXSn($(MVPz`Tl^8Dq9O!MXzxdIh}Yi;I?zh>o(TXxwNlF}fbbJWC- z#GcWxTx796z)2UUjk&XWZFb3^oh-r)7Kkx{urkexT2D1!HLjPN~zvz2X#hz4#kSWLV*CW#DJu#do;exLU5E*Yb2H*HhXE&}5w)`L0O>xl{F?nRCT2 z*sv_q70&aZdR}eGSdA;#MccWyIlME%-v<$!Uv*^qnA&%(krwShZthK$iyit6H#l;> zK-^@!-w;mtEMfj7rnxx}?MKV=JHn^z-cHiGPN(d-mV0j(9hnwwg#l4%su_AWn&D=e zjR-cx9)55a@TwJcUi!8R@A2vD&T99g^diZcn-!n?8)u3269>8(cQRcMciiUGO^eip z5B)0E8kXbcz#sx*&|^TUl$Lb)lb&Ip>#TdtDfUcwzE~nzmuQ7EmTjAgdgUiGuSuNa zpCb6rE6(O5o(^pW-+RuE)g@nrZK=PFeQcL58r8o>9J$FQ<9+2A1d*DBdQ!b*dT;;4 z$Xo4EWN=S2^E$tAy9hSL=6Vn#bHD2g;0=sNhjJ6d)KUocZ)+A6o6_A*qTK}$*h#RS zyk#XkuOO@^1ht8v-%9N{Y9oewzu$e7L(scb^mXW2_TiW*-y)vNyH`OadIrI^Y>*Zd zp?=ROXFoq0Kk^tpwCFt$B)QKsZPM$&nJ*fs2;Xd)FtPd@FMUTnfVUp;sJHFaw;TuBTKR%BOW_}ClL_Bhz{A0l{Qgc%@tjIWj2ys8T z-56z(;=%E*LE!6!#2)6$>Eq4>1p;7`)Z_NSc1X=l%@0`gB7usIOR#p2{Cap%H#@u+ z`w+GL;VMer0DCjGMC|TGF_;&EgwZvSq=Q8@4}X7rF+n51h%CM@hl5WX$J z1a?I~km{+qh|RA-3+BNxgHjmg>KA!Bo!rA$QbB?cckI}KdkcLRox3JZd`fkXjx#A+ z_&En<1xc&Qmnoz0c*OV_guW?$J#uUHP(jS@beks0sZ#) z21ebzv6U?Wp@^S4Wn-$u_zmK3cE*C1Mlc5xAi|J_lu9>vY@H z+=VfBpk=&5g2V=pY;m2PHSN1`4hDAzs43VInEYm~-~S`AxRI%f?TU84wXtx z=s<1xk#OUIW)~ZG_2?E}ncAz?RlZ%Nu{wqJtc71aL~G>$Y^@Cl^I zh)|w&6EwGxERMm32{6|adN{lmCnO=?!|jUP3Ws1;e!SWGzjeq)Lvs!ZTTq&ie5vo- z`1p%Yqwt8KsRfc+Zbj`#L-1}(Bwi~Ax5qO&ZU@{ejQ+Hp4mt4VPoV_VeCr(6zF z9UR1ae&+2iX+s6E2V}Lxc6ZM+-8S6$a@?&Cn^C~=sPX~d#JLm;5Qw1n%IW*&PBV?q z09O(5{}gEc5xG_jOowcjF=x4y(&YamY5r}Y`?S#80Bh&J&-}>XgL{roRVEZo{x*i~ ziq&;TCj2%^Ju@%&4lTnyhe)5-5PDrQb*+9kAHW!EOaiu61g8cl_=CS1bA@HjhP}H5 zEBJUSKy2WF;ua_T{{-d-8TdvHidCA`BXq&j4cFtL z^yXVy20#nD1@%y@Y5U4sF1MvXa8K;F7B|Z;gH>tspveGY5S|}@U_A#|Imi?6GS1f%=ROP|BEkV#WqVG3b_;n2 z;H#;^adfh%ovD>w5Gs4>tI$7iJW3x%2mWus`fl%IFZf2qhN?JgWZYM_WBdsAyZ9Ln zRkEUt($@b`?c4fgl`7mn2lzu)}t zF)QPs=rMRr?Dp9+=yMv@`)?NKswHtVMS+34S>A@W)D9NFirDEhF)P8UhG0LzO-*O0 zw~iYtAHX;-bhAs~r#R<26~a<=Te-BB1z_}yavF7s_X>@Au~8kI-fv?*ch&2-MEDeRpn$| zQs#J6{sP}E#c@zKLH{=n*1NNgxp^;34)cyq+y$_nMaXHdPefdQB&ZYuaBF&F+#jI) z5iI(HZ*=0~V#^Xg^oqt{LGBS3`Mzzz-b6=qrl1#6B|u? z)MRjg9LIM9!?@uFajP;=#Ssg@2~wUs91pUhTWF1+X;!z;#!7zZ!HA3(S&VVh0-H-7)D5Ez?jhb5*13LRK%!y+ z0JbakM=Tfr@d$}P-7SM{#QqrU2pOeg#laPR_u*ECoxGxwD+5qp7mJFAC4KD`kx<@y z!H-TwF(`nXfja!2zxynS|Kfw?Nv{=+iYwx~iR_4 zsDFPJT72Tn&;L~mWIpqIHR?q6{H5=03xogjIQ00LT=Sm?Yu??dTo^X%GTU3y3 z5U%wt^lQ~lI;@oqpCR=JSG?o&&sGC)JkTBL$iPQn)gVhj=u1Ww=)nAbnfA|CTF1W} zHDFT%X57(fTIQ+HQ=ZLM-4b?z)=H^8gSHr jqXrx`;HZHtT?79Qd=?ufS>7*000000NkvXXu0mjfyH5ns diff --git a/Drivers/BSP/STM3210E_EVAL/_htmresc/st_logo_2020.png b/Drivers/BSP/STM3210E_EVAL/_htmresc/st_logo_2020.png new file mode 100644 index 0000000000000000000000000000000000000000..d6cebb5ac70e0594cbe37a6b60036a80ef3bed37 GIT binary patch literal 7520 zcmcI|WmKC@*KTl!K!Z~t6qn*&DDF_CK%q#B6QmH_DHL}I6b%;K-J$eBN|2xh0+bea zmtyV5bG|?CpZBcu=iF<}z4q*xz1LhL*PcBwx;m;Pgmi=e0DweYO-UaBz)*UWZ}4#+ zCC-V!SC16}H#HLv0Dy?%--0o{5_}H;Jf%=ql7H=+dziOk_)KzUSaiQ9L<^g!49k}} z?4y$V zrsn3Ul^TY`00G_J_8;F7Sr5c3Y)f-yOYl{fS0avfKJg7R%r!y-ohcBkr6XBZBkE)( z_t+tVV2}G1_CN!)yWes*wa-AGwk31N_T1`)4COlfz+o(9S90e?6jHV4)!>`j+oRqp z)gb?rtSdw<#&c?q!OKB+Ncn!kr5JR2EYan8HAPXBw*Oh-F(6GmaC!`$p7fl!_Cdu> z5@PUMR_K5&jgevDepWqepZVdMHR$q>ga=7k0ltW$HHVn>HRa!#(+BW_jN$5rx^MtR zzWT7tNWQeFzEp+86jOYI=I)*GZYEiXlf-Mw%tJ^ptL%2)%#PmUjxC4wx@%KxQ)8kO?|7E1 zd@5gd9_$*6nx?fj*iF_EJT*PYLFP}d8*Fw>cu3@&nm%V_C}V7HMmg|Nl#1J1^#)uz zZag|X>{6j-myvL}3(H8o3resNBq_jcuJuyT!QuXnNN&zG^tG? z>y*dy1#XfwyCE#UiLT(~LYAVwp)epErJLsHBA|l0xo)kxLAPob+7tFlr{7x8(#v|O zknK}QC6|~=cTJ0;x9MWMKua;LdTKIHX>35a@7{5y0MQ|zqsP64mM~`gJ&&R{pSUBA zf3Y>k>d|xdzBFztjtO~{y%@LUdwSgzEj=69hH3-NNWx7<|49%2%lvTEeE3_|$~iDd zlktnxf|NB>Bui)yY;%TXgWA;rhODxR!-4GzxKd473I)3;j zS4-Vun<^vqZ4)HbwVzq%5%)S!>Q(Y&PkF ze1ab_oy?_$PZT-mKJ3K^;6MrB*Wc$lkYJ_460AFYEq{AjlDxm;5GRwOsm>doJy3Z;a$FSu-q`X)Hw&o~?_`Dnpx4dOj6#)bGOdZbj4hD`l|&#v~K+WrGO zpLCVQg=*h=4H1sK)D*Pxtb#p`c+g-eK65k!CEZjLIrfm}5<4@KVqZ#8(S$vs{?Xv) zN(}CKeeLR%I)W!p(l-`utKmBbJk-On{)ciqUN5%?TS8uwKU(8}Mxhsb&qHL~DDcB@qi} z4z%efV#K69a#lShPt5}*7ME@^xunFR{k;|qp z`_Hgdj_Qle?%Ydlr3f^SdRkUncIj7qTiu85tA$v`#419Nlof8tjqUjO z!Rwyq$Krfh`(@MiE+)yie&jU^crprYV&?zN!2b33S2qtW+zB$nahDhVZiQ12bmcwYBcT8KS>v`jsuI@X zy^k^7>TM5Ndp@}pSl6vmkk*u`@C`z(gq||K2>y=Y#w1i`Nk2zAP7{_^ACq;bQmT<4 z;b~K3=?mhZX#~jQnZjdU={NFp^HRr~;^PXQ*UIHzkq}Xsn!56*ZCOOEt|^ zawUwGqs;zCEGKTz&(a(@h#0sCE+@`3Y<&}9!(;Pw&`C+d#D?`##&!@*ERaH0fksrh zfk2svh3!d~h{SC6BNKN2j6(lzC>S^_*eh{@gR zP$rV4$nqV1y|zYpd;nQr-`Vlp(5sQXx9AibC?xc7pUV)v2cWfHu3{KLbfP;;;`I&)mWqLcXt6s+5fps9R?K>hGR$5;=( zo#;zzQ5!w+(99p1_gh^?F#$tpMd+4%G|K`XG_#@A>30WD2L9!0a>wRASg`M?^z#)| zifb$d^KUD&3qLsr-@}r_7p${gdmRqhy819bj?yI-v({I?0o3_8d>CZmCzqH4{{QtD z|6dvgm<^~668G`6wLw4C4y-o9E9ZG3RiH^&;rrKSBT@bMR+!TlYo*9P;?Z>xORMV3ndQp9EyNn!!~j&x&$gDVke|t#!{QoegHm+sT7cSjwSu z)jZlx1pHrrx0&YCZWJ4xC&U%r_IwfJOxnYqYMcZn&_hgnKuls z>(Y$qjIhcweo^A_VVq_#UR&urF%UbI^><5L5zbV9owMQviM*_{@i|dke!!v8a_yG! zl%#ay{(6U_N3-)yeif3tx6>aQSf1r zO~OuNW<8a~bi6Xby0@tKw0@f1R!@+3S2nf#F&j~l0mrNCtjoZdPYob?g!Vx4F-uA2 z4uS>8eR?dA9i>C|cm-m5lO0m@$f(DB6Z<9Pe07xR`l4$ks3eZ@v5}1?^YNQy-tB(` zgUNZrGVf#b~`}jew;MQG1O~VDk_i*<)p9DfFfd;vLy4QZT zMYh|DxJg3-!{szUN*uo&`&DUkzq4qG2`Lj;Ar46DYUymcviS{Unhzmx z=LwZ-Lr{t1z?9Oip%!z{j+Z%_@u?C78I`V4fC`icG1c|2;`EoLK$ z)9|wrAV&V1Vgts~tQCw0X?X{74W"NJQ zW3BP!5c~4zzHJScwQK9L_%m%L`*q{1aW_3rObki~B~=Dwp`;@w`>xZ6;L_6oR^ecEcmup`yb}lgsmv zQByrxc)Qqm(Hwmq%fLjqcrJ5QR?z_*vb~Iy~RXUY8u-D8AqTzetwNNA8~N z$j&1>#IrkSslUqXW|l}q_TlTVKAjRI@~7(GLf4M>GM!3u_)y6ORe6BQUmrQ16%OdZKo(?AYXK$u@=)TPUi1EZaLBu zuEB(5GX2vcoHS%zMUW!DZ)&xRo@mhouk|hMgHIG>cO-Ah(0AMNlq@?cPpy==-!#qR zBov7l3G?P*KM(vU;Apo-(-Bw;sdQJkh~r)W$KRQKd!#(A8M34^MhD10Ra={AqSvjy z3>PkgA}f^@Rg1$dX=jaEB_V%_vn(W<111_s!g>CYrcwJTJ63Eeg6{_C`aMQIgKctR zHMjkr+y6gK!v6=6;CGl#?PqmiX`A@dmmvZ}-X$*q8}G(xq|voo`=$YZuQAa8f9ApK z1VQiEUQC=OO{|Nc8ZrXH208X|XCzIRO?+Nb55Jt@va9hqBpv)uY6ma-csvSlJoJOC zK;w~s?#r)K@gm*;((JsWHU-KvFTF)q>AzwPq)I+}OrSpxh!-CM1VEMfw1fpfVL7p{ z)I$rNp5kPYDsvXL>8nV{#0fa*lm`Z;0Z=c^1qveY2uk&7nhMRl`0EsvUuvwdF&o)PCVN3wmFBPegWzooF6y~b} zY>X2;LO~&rbvx59?(4^aR+s1C6hI4r&x9Q9jL9);KZEw_x%TWZXaMzK6|2XG9$IU% zkEq}t^YOaa4s`%7F31X-#SfMgNp+4R=g2G|O^W)6^2fEsmkTTaVhKCip+3qWuN8?y zaSD_k6%-@Ifhm`z02=ZWA-pi5`A=7ztHWpP2K5rCW{>!wIUOYrH``#bz>qVSH76=8 zyJ!sNBxt;dMTn}yzUTCq1!w;N7pzb?WJrQ50W+`meL{k8i0VhFsPUz(07k`l` zg1Ifl1fc-^p^MQCpK~Jk&L!*mWfNA!&MSu`sPmti>K-;I5Dk00nB3vOl4!JwjEx^X zWQsIp2Ea_>`9f@%zGl4i3FAO9=e$2^b_>_I*dqiLJ=@TejStM?^yX$9dW`#ha)PEF zPr0zUJX!j-juYK*olG_9axQniXhF|E}oSTG_S)FZ3sN4T@q zy{l;!{UGc};YVaT97tx3s7P$WsW2^*I+Hy;vqndG!9S?tZtDIRif1=bBsqtW-n7$O zWy}Z%jKSkgLX#1p>|#4l-!$c+kA`++Ixv(Rm`;Ilb3q3tD|QjaPQ8)BJ=8R*15?nL zJR{yuqOG&!JrSZ${#NY#b!k)yDajQ$A}fUQhe7ueN6h2Pj3wY5eo|7$PaJD zM69(ee1qlSyLn)Ln6)o53Lj)elqG}gb^c}qd(q&$8B5N%nSvEjUIoEXO^obv=A7QGZzNzjO*H=*b2!86Wnqdy~8ePkq@1D1)Q^O)JG;fUCV z`rgD}dJ{7BUyBbgoTL91w^q-CfBpDr?0R38`L%p9&Q#%r*@=9p-Ioqy+WscLq?jq5 zfyYNkxr7w)-(!c85mt!FjNJ4UE6P8p8sc#Kb4L1N3!yaCo9@t3n8s}K)1!w8x77xU zo-NY3SR*Pgt#~7F;y^J&Y%z^+C9wu;hN|TC7dqSHOB&kE)Q)6Ad(l&+tA@$@w0bhJ z6xc6EJ6nm{=|V7Vo&qcXc4i)D?X0Uk$p7~iI#ci?#fxvM z78`u%m5S@^_F;_foidufzP z&ueh-zU1yM&8~0lmOfkio-gBex`)?hCJcI8Jv*R0c|WUqSq z?RU?Rmm=3t_2C%%UW9c*D%T{T{EjryCKnsz9-*Bs0}M*xS&-odhCK5eS_Eqi&c6J4o|f&;uUT=p7Fedw#EUl4%Jv{w zq-cCF^otBvw~~$yj6O>>;VqU)3Ml&Atm$B(Ht8=+&x2VS5aWD&t*+04{@k^Gn~yHY zWYC%@ld;g_qz=k*;Iv&xs5M85cEZCU&n2Baf>R6*bN>V|!)eF&l#C93eAMLD=ZF7= zOISFfB5P;F!ngWD3jfMJE_53F&dFc{h2TwSbT*(h6!c}_5_UFeB_*DiyCrtQ7Byr@ z-aCWVt?J}YP7-lfelbrCgZ5mdv(^W&Yf^OvpI}#NbS1Lc`r4&t#3kM!utm&#a;?GR z-1FusfX7&?a9h`%8wf-ub7UXp44xm4w04)S$}}_hPqn-#IabO^bo6$K07>?%G5Xs( zA$*lz_K>lAJ_o<;fsP-*-%~O(716KRqVq+X@=5J~Z~bba(yWL`;EN`@Mr2it&Lkgb z&I|R5!`ZSk%)xFX*FYDaAh=5qWSY@rx1Du9J$$=lh#!~NcFJM&aOv)eqg_@`i^zJCR9a%_{k_i%msw5q z*3!~#Xx3r|VaAwiG}~9M#c`=$Uk6~xe)47ymW+;0DD_lV67L#ouJBa7mF{)X^?eIvPdOMu4ksr`jUP$~{x@?ev2 zdX#ite2RMim01PEg`;qfwg^;v8nx9F!CtNCvz)V{PVgCs*;_@_Rk*oLx@f7hJ7^^1 zu66b)mb!ZMXLZ%8dj-+JCMoWS-Wji-Q-~U7Pt~UiXMej8JcNjk<6?Wk9eLBIhu&Vo^0;AH> z;Q5^a!NZhP(vDfBv&?jdnQavv#8N0E{ZEgs>|1)qYo^t5 zIV$g~`C2%g$*(z4)8hJlK2mF-MJW#3%Cs6`uAvsgRtTo8n!Et)1pZx@_9I18 zw7ER9v~DyrC*R$do9aEw5r@B)YzHOLB^-c9Eu9D!sFmI8^VljVKE89{zY_8PTSF+J b^}%0^qYmp2WD(pA|JtZ4>nPPKybJpu3@X?! literal 0 HcmV?d00001 diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval.c b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval.c index 3f2b7e7..02d6158 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval.c +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval.c @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -75,7 +58,7 @@ typedef struct */ #define __STM3210E_EVAL_BSP_VERSION_MAIN (0x07) /*!< [31:24] main version */ #define __STM3210E_EVAL_BSP_VERSION_SUB1 (0x00) /*!< [23:16] sub1 version */ -#define __STM3210E_EVAL_BSP_VERSION_SUB2 (0x01) /*!< [15:8] sub2 version */ +#define __STM3210E_EVAL_BSP_VERSION_SUB2 (0x02) /*!< [15:8] sub2 version */ #define __STM3210E_EVAL_BSP_VERSION_RC (0x00) /*!< [7:0] release candidate */ #define __STM3210E_EVAL_BSP_VERSION ((__STM3210E_EVAL_BSP_VERSION_MAIN << 24)\ |(__STM3210E_EVAL_BSP_VERSION_SUB1 << 16)\ @@ -626,6 +609,7 @@ static void FSMC_BANK1NORSRAM4_Init(void) hsram.Init.ExtendedMode = FSMC_EXTENDED_MODE_DISABLE; hsram.Init.AsynchronousWait = FSMC_ASYNCHRONOUS_WAIT_DISABLE; hsram.Init.WriteBurst = FSMC_WRITE_BURST_DISABLE; + hsram.Init.PageSize = FSMC_PAGE_SIZE_128; /* Initialize the SRAM controller */ FSMC_BANK1NORSRAM4_MspInit(); @@ -1356,6 +1340,5 @@ uint8_t AUDIO_IO_Read (uint8_t Addr, uint8_t Reg) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval.h b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval.h index 24dce0e..8895c79 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval.h +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval.h @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -538,5 +521,4 @@ JOYState_TypeDef BSP_JOY_GetState(void); #endif /* __STM3210E_EVAL_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_audio.c b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_audio.c index 0a0c417..a31b8d0 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_audio.c +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_audio.c @@ -97,29 +97,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -722,4 +705,3 @@ static uint8_t I2SOUT_SendDummyData_Stop(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_audio.h b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_audio.h index 0040da0..f827f69 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_audio.h +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_audio.h @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -181,4 +164,3 @@ void BSP_AUDIO_OUT_MspDeInit(I2S_HandleTypeDef *hi2s, void *Params); #endif /* __STM3210E_EVAL_AUDIO_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_lcd.c b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_lcd.c index 13db7a8..63fb969 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_lcd.c +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_lcd.c @@ -23,7 +23,7 @@ (++) Initialize the LCD using the BSP_LCD_Init() function. (#) Display on LCD - (++) Clear the hole LCD using yhe BSP_LCD_Clear() function or only one specified + (++) Clear the hole LCD using the BSP_LCD_Clear() function or only one specified string line using the BSP_LCD_ClearStringLine() function. (++) Display a character on the specified line and column using the BSP_LCD_DisplayChar() function or a complete string line using the BSP_LCD_DisplayStringAtLine() function. @@ -35,29 +35,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -178,7 +161,7 @@ uint8_t BSP_LCD_Init(void) #if defined(AFIO_MAPR2_FSMC_NADV_REMAP) /* Disconnect FSMC pin NADV. */ /* FSMC and I2C share the same I/O pin: NADV/SDA (PB7). Since this pin */ - /* is not used by FSMC on STM32F10E_EVAL board, disconnect it internaly */ + /* is not used by FSMC on STM32F10E_EVAL board, disconnect it internally */ /* from FSMC to let it dedicated to I2C1 without sharing constraints. */ __HAL_AFIO_FSMCNADV_DISCONNECTED(); #else @@ -1103,4 +1086,3 @@ static void LCD_SetDisplayWindow(uint16_t Xpos, uint16_t Ypos, uint16_t Width, u * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_lcd.h b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_lcd.h index dc4e5b1..405dd2f 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_lcd.h +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_lcd.h @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -207,4 +190,3 @@ void BSP_LCD_DisplayOn(void); * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nand.c b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nand.c index f00c0b5..7d70df0 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nand.c +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nand.c @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -280,4 +263,3 @@ static void NAND_MspInit(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nand.h b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nand.h index b514c0d..40eb20e 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nand.h +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nand.h @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2017 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -118,5 +101,4 @@ uint8_t BSP_NAND_Read_ID(NAND_IDTypeDef *pNAND_ID); #endif /* __STM3210E_EVAL_NAND_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nor.c b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nor.c index 0dd472b..521fcf3 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nor.c +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nor.c @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -402,4 +385,3 @@ void HAL_NOR_MspWait(NOR_HandleTypeDef *hnor, uint32_t Timeout) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nor.h b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nor.h index 196364d..49843af 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nor.h +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_nor.h @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -133,4 +116,3 @@ void BSP_NOR_ReturnToReadMode(void); #endif /* __STM3210E_EVAL_NOR_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sd.c b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sd.c index c8d8ef3..013c1e7 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sd.c +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sd.c @@ -26,19 +26,19 @@ SD detection interrupt mode by calling the function BSP_SD_ITConfig(). The interrupt is generated as an external interrupt whenever the micro SD card is plugged/unplugged in/from the evaluation board. The SD detection interrupt - is handeled by calling the function BSP_SD_DetectIT() which is called in the IRQ + is handled by calling the function BSP_SD_DetectIT() which is called in the IRQ handler file, the user callback is implemented in the function BSP_SD_DetectCallback(). (++) The function BSP_SD_GetCardInfo() is used to get the micro SD card information which is stored in the structure "HAL_SD_CardInfoTypedef". (#) Micro SD card operations (++) The micro SD card can be accessed with read/write block(s) operations once - it is reay for access. The access cand be performed whether using the polling + it is ready for access. The access cand be performed whether using the polling mode by calling the functions BSP_SD_ReadBlocks()/BSP_SD_WriteBlocks(), or by DMA transfer using the functions BSP_SD_ReadBlocks_DMA()/BSP_SD_WriteBlocks_DMA() (++) The DMA transfer complete is used with interrupt mode. Once the SD transfer - is complete, the SD interrupt is handeled using the function BSP_SD_IRQHandler(), - the DMA Tx/Rx transfer complete are handeled using the functions + is complete, the SD interrupt is handled using the function BSP_SD_IRQHandler(), + the DMA Tx/Rx transfer complete are handled using the functions BSP_SD_DMA_Tx_IRQHandler()/BSP_SD_DMA_Rx_IRQHandler(). The corresponding user callbacks are implemented by the user at application level. (++) The SD erase block(s) is performed using the function BSP_SD_Erase() with specifying @@ -49,29 +49,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -580,4 +563,3 @@ __weak void BSP_SD_ReadCpltCallback(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sd.h b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sd.h index ca56ae1..776bc1c 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sd.h +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sd.h @@ -8,29 +8,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -162,4 +145,3 @@ void BSP_SD_ReadCpltCallback(void); #endif /* __STM3210E_EVAL_SD_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_serialflash.c b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_serialflash.c index 2ae6ce0..acc8e23 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_serialflash.c +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_serialflash.c @@ -32,29 +32,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -338,4 +321,3 @@ uint32_t BSP_SERIAL_FLASH_ReadID(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_serialflash.h b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_serialflash.h index 345a61f..7ce30d8 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_serialflash.h +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_serialflash.h @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -109,4 +92,3 @@ uint32_t FLASH_SPI_IO_ReadID(void); * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sram.c b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sram.c index 060c385..076c89f 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sram.c +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sram.c @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -344,4 +327,3 @@ __weak void BSP_SRAM_MspInit(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sram.h b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sram.h index 0ee8300..49d82ae 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sram.h +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_sram.h @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -127,5 +110,4 @@ void BSP_SRAM_MspInit(void); #endif /* __STM3210E_EVAL_SRAM_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_tsensor.c b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_tsensor.c index 7c63a04..3f64c07 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_tsensor.c +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_tsensor.c @@ -32,29 +32,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -181,4 +164,3 @@ uint16_t BSP_TSENSOR_ReadTemp(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_tsensor.h b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_tsensor.h index 60414e0..898432b 100644 --- a/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_tsensor.h +++ b/Drivers/BSP/STM3210E_EVAL/stm3210e_eval_tsensor.h @@ -9,29 +9,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -119,4 +102,3 @@ uint16_t BSP_TSENSOR_ReadTemp(void); * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM32F1xx_Nucleo/LICENSE.md b/Drivers/BSP/STM32F1xx_Nucleo/LICENSE.md new file mode 100644 index 0000000..c681658 --- /dev/null +++ b/Drivers/BSP/STM32F1xx_Nucleo/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/Drivers/BSP/STM32F1xx_Nucleo/README.md b/Drivers/BSP/STM32F1xx_Nucleo/README.md new file mode 100644 index 0000000..e6cd7af --- /dev/null +++ b/Drivers/BSP/STM32F1xx_Nucleo/README.md @@ -0,0 +1,36 @@ +# BSP STM32F1XX-NUCLEO Component + +![latest tag](https://img.shields.io/github/v/tag/STMicroelectronics/stm32f1xx-nucleo.svg?color=brightgreen) + +## Overview + +**STM32Cube** is an STMicroelectronics original initiative to ease developers' life by reducing efforts, time and cost. + +**STM32Cube** covers the overall STM32 products portfolio. It includes a comprehensive embedded software platform delivered for each STM32 series. + * The CMSIS modules (core and device) corresponding to the ARM(tm) core implemented in this STM32 product. + * The STM32 HAL-LL drivers, an abstraction layer offering a set of APIs ensuring maximized portability across the STM32 portfolio. + * The BSP drivers of each evaluation, demonstration or nucleo board provided for this STM32 series. + * A consistent set of middleware libraries such as RTOS, USB, FatFS, graphics, touch sensing library... + * A full set of software projects (basic examples, applications, and demonstrations) for each board provided for this STM32 series. + +Two models of publication are proposed for the STM32Cube embedded software: + * The monolithic **MCU Package**: all STM32Cube software modules of one STM32 series are present (Drivers, Middleware, Projects, Utilities) in the repository (usual name **STM32Cubexx**, xx corresponding to the STM32 series). + * The **MCU component**: each STM32Cube software module being part of the STM32Cube MCU Package, is delivered as an individual repository, allowing the user to select and get only the required software functions. + +## Description + +This **stm32f1xx-nucleo** MCU component repository is one element of the **STM32CubeF1** MCU embedded software package, providing the **STM32F1XX-NUCLEO** BSP BOARD component part. + +## Release note + +Details about the content of this release are available in the release note [here](https://htmlpreview.github.io/?https://github.com/STMicroelectronics/stm32f1xx-nucleo/blob/main/Release_Notes.html). + +## Compatibility information + +Below is the list of the BSP *component* drivers to be used with this BSP *board* driver. It is **crucial** that you use a consistent set of CMSIS - HAL - BSP versions, as mentioned in [this](https://htmlpreview.github.io/?https://github.com/STMicroelectronics/STM32CubeF1/blob/master/Release_Notes.html) release note. + +* [stm32-bsp-common](https://github.com/STMicroelectronics/stm32-bsp-common) + +## Troubleshooting + +Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) guide. diff --git a/Drivers/BSP/STM32F1xx_Nucleo/Release_Notes.html b/Drivers/BSP/STM32F1xx_Nucleo/Release_Notes.html index d7d1fbd..51665e1 100644 --- a/Drivers/BSP/STM32F1xx_Nucleo/Release_Notes.html +++ b/Drivers/BSP/STM32F1xx_Nucleo/Release_Notes.html @@ -1,497 +1,98 @@ - - - - - - - - - - - - - - - - Release Notes for STM32F1xx_Nucleo Board Drivers - - - - - - - - - - -
-


-

-
- - - - - - -
- - - - - - - - - -
-

Back to Release page

-
-

Release -Notes for STM32F1xx_Nucleo Board Drivers

-

Copyright -2016 STMicroelectronics

-

-
-

 

- - - - - - -
-

Contents

-
    -
  1. STM32F1xx_Nucleo Board Drivers -update History
  2. -
  3. License
  4. -
- - -

STM32F1xx_Nucleo Board Drivers update History

-

V1.0.4 / 14-April-2017

- - - - - - - - - - - - - - - - - - - - -

Main -Changes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • Add STM32F1xx_Nucleo_BSP_User_Manual.chm file

V1.0.3 / 29-April-2016

- - - - - - - - - - - - - - - - - - - - -

Main -Changes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • Add support for 4 Gb sd cards.

V1.0.2 / 18-December-2015

- - - - - - - - - - - - - - - - - - - - -

Main -Changes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • Add an alias from BUTTON_KEY to BUTTON_USER for compatibility with STM32F4xx and STM32L0xx.
  • BSP_LED_Init: Configure the led in GPIO_NOPULL instead of GPIO_PULLUP to reduce power consumption.
  • Rename GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH for compatibility with STM32F1xx HAL Drivers V1.0.2.
  • Rename GPIO_SPEED_MEDIUM to GPIO_SPEED_FREQ_MEDIUM for compatibility with STM32F1xx HAL Drivers V1.0.2.

V1.0.1 / 31-July-2015

- - - - - - - - - - - - - - - - - - - - -

Main -Changes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • Add ADC calibration for JoyStick management.
  • Improve the polling of ADC  in BSP_JOY_GetState.

V1.0.0 / 15-December-2014

Main -Changes

- -
  • Official release for STM32F1xx_Nucleo board RevC drivers for STM32Cube_FW_F1 project

License

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this package except in compliance with the License. You may obtain a copy of the License at:


Unless -required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT -WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See -the License for the specific language governing permissions and -limitations under the License.
- -
-
-

For -complete documentation on STM32 Microcontrollers -visit www.st.com/STM32

-
-

-
+ + + + + + + Release Notes for STM32F1xx_Nucleo Board Drivers + + + + + + +
+
+
+

Release Notes for STM32F1xx_Nucleo Board Drivers

+

Copyright © 2016 STMicroelectronics
+

+ +
+

Purpose

+

This directory contains the board drivers to demonstrate the capabilities of the STM32F1xx Nucleo Kit.

-

 

+
+

Update History

+
+ +
+

Main Changes

+
    +
  • All source files: update disclaimer to add reference to the new license agreement.
  • +
- - \ No newline at end of file +
+
+ +
+

Main Changes

+
    +
  • Add STM32F1xx_Nucleo_BSP_User_Manual.chm file
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Add support for 4 Gb sd cards.
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Add an alias from BUTTON_KEY to BUTTON_USER for compatibility with STM32F4xx and STM32L0xx.
  • +
  • BSP_LED_Init: Configure the led in GPIO_NOPULL instead of GPIO_PULLUP to reduce power consumption.
  • +
  • Rename GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH for compatibility with STM32F1xx HAL Drivers V1.0.2.
  • +
  • Rename GPIO_SPEED_MEDIUM to GPIO_SPEED_FREQ_MEDIUM for compatibility with STM32F1xx HAL Drivers V1.0.2.
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Add ADC calibration for JoyStick management.
  • +
  • Improve the polling of ADC in BSP_JOY_GetState.
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Official release for STM32F1xx_Nucleo board RevC drivers for STM32Cube_FW_F1 project.
  • +
+
+
+
+
+ + + diff --git a/Drivers/BSP/STM32F1xx_Nucleo/_htmresc/favicon.png b/Drivers/BSP/STM32F1xx_Nucleo/_htmresc/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..06713eec4974e141c6e9b4156d34e61e89f282ca GIT binary patch literal 4126 zcmV+(5aI8MP)ZIGU@QfPy~$kHP}Vz9c$a)g>fT6hB^OaK4>c|MGS0000HbW%=J|NsC0|NsC0 z|NsC0|NsC0041%NVgLXD!bwCyRCwCllie1CAP9sJ&9ooo{hxLjw5@YC+xxf~%TE}{ zNd5%935b--eKa7{Q8)vZ;eI6pGFH>rL)887WOA={e(b_&0g-g6to#Hm2B3vqWV>1u z@z7*I(bdWdx-Y=OT@|og)oZEgAbc7ep|Gf{$7j1Oa#T&r4>0xv(+}tR_4biWa z1Q-BfcsgeLIJPbT0000rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-kiKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z000F^NklQWRUVq~pvFslpiNq83Yr*1(ELa!!kppKfxQKEkPzz^I>0W)!71xam z(B64`)5a~kHf9SBOp*Wvo{xA*e4|Kv3g6TCo+fF8q^C$|g>#NlXyY$%lmkmCh$x1Z zFbJ_hiDG`37w>KPVB83d7E3>R@-M9$`|}|QFF}1qSk!nanPdVd3K38edo3y+D*=Uo zfOWCwj(F@GSjPG&B<0O;H!Zm0g>eDeK09{b@xB};mEy; z;Gp5H_Cr65qKM1uYIu6x&16!Ei=BHfJLe)1IUnFqc6d#D=ZVQmV9C73vy1=x$SK;s z=*CYZP+Ei1D5Vjl#u88v5dv#jId?iu)8mM}{mD`GcMXtAC5ap?ZoKr&iYuqTKHe$t zTR%R$ZZwxec?l+0r_LIVbe-mzH+D0*ZYsu4BE~~JA2A+AD?BAArO=g8ZfvXtU~o9c zZ(Bd-RFK5jh*DvM1v6^41HB@0K0qn7E8E&Xz1mk6hvmx?*|WB_H!dcO;5R$=<4b~s z5zr3N4zxlkMKOrDeny(PGpEM6^hGyc7lhg>MWtM!af*pn%&q_PxI(n^(-Zd{ICPAp z(WE@Zz5|EZyt{MEDy&l5$Cba^zU!9k&;Vs7lk$@o02LOwb#e2{#3%Cn2>kQF(RKUU z+tW!;FT0@d+TX^L;>@3RytlTP&ts$pqA}TwENBlg9?$-D zF9Sn4URZx8)hVBw<~NY=h3=so7{jEhG%Zc_0QBSvY~K4BS|W5MAem5XSb6m}VDN$f zy+b3n9qjIJoHM5pqYa`IPH9AIoM=!AE1Er>r|3E}#Jq-S)cTrfD&TZjAuN@+V}3mi zlhOce+q<8>Y?i93G=*Z3Web`ri!Q%p%LR*(bB?;|)B`&=J&ab0Z(UKpbzyZV5o*#& z0FLzzaI$v*-#WB)+`n>BoJ*1AwU0XSu;@w&Hu1WYXVR#!8itC%68CzMeiXhL#`9W$9J30NB-Wg!ex`hBlg9F5u@&o4>hd`TWPv z{r{JbyvQGZzbyvPS}zAifbhF49z~X|@9v|!=No>qsF|P~vf=g>7#%0yk<U?Ha8*Z4HW>#8w>z$A3 z>^uQlk;$a-6CQ(uc@RM)Cbss!xuPVl2@c1u-5tEUw}U8OfP_J+QYhfu$B<0Cj3xm7 c?*aZZ00ulYFs-m=@&Et;07*qoM6N<$f~=14i~s-t literal 0 HcmV?d00001 diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/_htmresc/mini-st.css b/Drivers/BSP/STM32F1xx_Nucleo/_htmresc/mini-st_2020.css similarity index 78% rename from Drivers/CMSIS/Device/ST/STM32F1xx/_htmresc/mini-st.css rename to Drivers/BSP/STM32F1xx_Nucleo/_htmresc/mini-st_2020.css index 71fbc14..3d9e81a 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/_htmresc/mini-st.css +++ b/Drivers/BSP/STM32F1xx_Nucleo/_htmresc/mini-st_2020.css @@ -1,39 +1,39 @@ @charset "UTF-8"; /* - Flavor name: Default (mini-default) - Author: Angelos Chalaris (chalarangelo@gmail.com) - Maintainers: Angelos Chalaris - mini.css version: v3.0.0-alpha.3 + Flavor name: Custom (mini-custom) + Generated online - https://minicss.org/flavors + mini.css version: v3.0.1 */ /* Browsers resets and base typography. */ /* Core module CSS variable definitions */ :root { - --fore-color: #111; - --secondary-fore-color: #444; - --back-color: #f8f8f8; - --secondary-back-color: #f0f0f0; - --blockquote-color: #f57c00; - --pre-color: #1565c0; - --border-color: #aaa; - --secondary-border-color: #ddd; - --heading-ratio: 1.19; + --fore-color: #03234b; + --secondary-fore-color: #03234b; + --back-color: #ffffff; + --secondary-back-color: #ffffff; + --blockquote-color: #e6007e; + --pre-color: #e6007e; + --border-color: #3cb4e6; + --secondary-border-color: #3cb4e6; + --heading-ratio: 1.2; --universal-margin: 0.5rem; - --universal-padding: 0.125rem; - --universal-border-radius: 0.125rem; - --a-link-color: #0277bd; - --a-visited-color: #01579b; } + --universal-padding: 0.25rem; + --universal-border-radius: 0.075rem; + --background-margin: 1.5%; + --a-link-color: #3cb4e6; + --a-visited-color: #8c0078; } html { - font-size: 14px; } + font-size: 13.5px; } a, b, del, em, i, ins, q, span, strong, u { font-size: 1em; } html, * { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Helvetica, sans-serif; - line-height: 1.4; + font-family: -apple-system, BlinkMacSystemFont, Helvetica, arial, sans-serif; + line-height: 1.25; -webkit-text-size-adjust: 100%; } * { @@ -42,7 +42,10 @@ html, * { body { margin: 0; color: var(--fore-color); - background: var(--back-color); } + @background: var(--back-color); + background: var(--back-color) linear-gradient(#ffd200, #ffd200) repeat-y left top; + background-size: var(--background-margin); + } details { display: block; } @@ -62,9 +65,9 @@ img { height: auto; } h1, h2, h3, h4, h5, h6 { - line-height: 1.2; + line-height: 1.25; margin: calc(1.5 * var(--universal-margin)) var(--universal-margin); - font-weight: 500; } + font-weight: 400; } h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { color: var(--secondary-fore-color); display: block; @@ -74,21 +77,15 @@ h1 { font-size: calc(1rem * var(--heading-ratio) * var(--heading-ratio) * var(--heading-ratio)); } h2 { - font-size: calc(1rem * var(--heading-ratio) * var(--heading-ratio); ); - background: var(--mark-back-color); - font-weight: 600; - padding: 0.1em 0.5em 0.2em 0.5em; - color: var(--mark-fore-color); } - + font-size: calc(1rem * var(--heading-ratio) * var(--heading-ratio) ); + border-style: none none solid none ; + border-width: thin; + border-color: var(--border-color); } h3 { - font-size: calc(1rem * var(--heading-ratio)); - padding-left: calc(2 * var(--universal-margin)); - /* background: var(--border-color); */ - } + font-size: calc(1rem * var(--heading-ratio) ); } h4 { - font-size: 1rem;); - padding-left: calc(4 * var(--universal-margin)); } + font-size: calc(1rem * var(--heading-ratio)); } h5 { font-size: 1rem; } @@ -101,7 +98,7 @@ p { ol, ul { margin: var(--universal-margin); - padding-left: calc(6 * var(--universal-margin)); } + padding-left: calc(3 * var(--universal-margin)); } b, strong { font-weight: 700; } @@ -111,7 +108,7 @@ hr { border: 0; line-height: 1.25em; margin: var(--universal-margin); - height: 0.0625rem; + height: 0.0714285714rem; background: linear-gradient(to right, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent); } blockquote { @@ -121,16 +118,16 @@ blockquote { color: var(--secondary-fore-color); margin: var(--universal-margin); padding: calc(3 * var(--universal-padding)); - border: 0.0625rem solid var(--secondary-border-color); - border-left: 0.375rem solid var(--blockquote-color); + border: 0.0714285714rem solid var(--secondary-border-color); + border-left: 0.3rem solid var(--blockquote-color); border-radius: 0 var(--universal-border-radius) var(--universal-border-radius) 0; } blockquote:before { position: absolute; top: calc(0rem - var(--universal-padding)); left: 0; font-family: sans-serif; - font-size: 3rem; - font-weight: 700; + font-size: 2rem; + font-weight: 800; content: "\201c"; color: var(--blockquote-color); } blockquote[cite]:after { @@ -160,8 +157,8 @@ pre { background: var(--secondary-back-color); padding: calc(1.5 * var(--universal-padding)); margin: var(--universal-margin); - border: 0.0625rem solid var(--secondary-border-color); - border-left: 0.25rem solid var(--pre-color); + border: 0.0714285714rem solid var(--secondary-border-color); + border-left: 0.2857142857rem solid var(--pre-color); border-radius: 0 var(--universal-border-radius) var(--universal-border-radius) 0; } sup, sub, code, kbd { @@ -204,7 +201,8 @@ a { box-sizing: border-box; display: flex; flex: 0 1 auto; - flex-flow: row wrap; } + flex-flow: row wrap; + margin: 0 0 0 var(--background-margin); } .col-sm, [class^='col-sm-'], @@ -565,9 +563,9 @@ a { order: 999; } } /* Card component CSS variable definitions */ :root { - --card-back-color: #f8f8f8; - --card-fore-color: #111; - --card-border-color: #ddd; } + --card-back-color: #3cb4e6; + --card-fore-color: #03234b; + --card-border-color: #03234b; } .card { display: flex; @@ -578,7 +576,7 @@ a { width: 100%; background: var(--card-back-color); color: var(--card-fore-color); - border: 0.0625rem solid var(--card-border-color); + border: 0.0714285714rem solid var(--card-border-color); border-radius: var(--universal-border-radius); margin: var(--universal-margin); overflow: hidden; } @@ -592,7 +590,7 @@ a { margin: 0; border: 0; border-radius: 0; - border-bottom: 0.0625rem solid var(--card-border-color); + border-bottom: 0.0714285714rem solid var(--card-border-color); padding: var(--universal-padding); width: 100%; } .card > .sectione.media { @@ -617,17 +615,18 @@ a { width: auto; } .card.warning { -/* --card-back-color: #ffca28; */ --card-back-color: #e5b8b7; - --card-border-color: #e8b825; } + --card-fore-color: #3b234b; + --card-border-color: #8c0078; } .card.error { - --card-back-color: #b71c1c; - --card-fore-color: #f8f8f8; - --card-border-color: #a71a1a; } + --card-back-color: #464650; + --card-fore-color: #ffffff; + --card-border-color: #8c0078; } .card > .sectione.dark { - --card-back-color: #e0e0e0; } + --card-back-color: #3b234b; + --card-fore-color: #ffffff; } .card > .sectione.double-padded { padding: calc(1.5 * var(--universal-padding)); } @@ -637,12 +636,12 @@ a { */ /* Input_control module CSS variable definitions */ :root { - --form-back-color: #f0f0f0; - --form-fore-color: #111; - --form-border-color: #ddd; - --input-back-color: #f8f8f8; - --input-fore-color: #111; - --input-border-color: #ddd; + --form-back-color: #ffe97f; + --form-fore-color: #03234b; + --form-border-color: #3cb4e6; + --input-back-color: #ffffff; + --input-fore-color: #03234b; + --input-border-color: #3cb4e6; --input-focus-color: #0288d1; --input-invalid-color: #d32f2f; --button-back-color: #e2e2e2; @@ -655,13 +654,13 @@ a { form { background: var(--form-back-color); color: var(--form-fore-color); - border: 0.0625rem solid var(--form-border-color); + border: 0.0714285714rem solid var(--form-border-color); border-radius: var(--universal-border-radius); margin: var(--universal-margin); padding: calc(2 * var(--universal-padding)) var(--universal-padding); } fieldset { - border: 0.0625rem solid var(--form-border-color); + border: 0.0714285714rem solid var(--form-border-color); border-radius: var(--universal-border-radius); margin: calc(var(--universal-margin) / 4); padding: var(--universal-padding); } @@ -671,7 +670,7 @@ legend { display: table; max-width: 100%; white-space: normal; - font-weight: 700; + font-weight: 500; padding: calc(var(--universal-padding) / 2); } label { @@ -716,7 +715,7 @@ input:not([type]), [type="text"], [type="email"], [type="number"], [type="search box-sizing: border-box; background: var(--input-back-color); color: var(--input-fore-color); - border: 0.0625rem solid var(--input-border-color); + border: 0.0714285714rem solid var(--input-border-color); border-radius: var(--universal-border-radius); margin: calc(var(--universal-margin) / 2); padding: var(--universal-padding) calc(1.5 * var(--universal-padding)); } @@ -763,8 +762,8 @@ option { [type="radio"]:checked:before { border-radius: 100%; content: ''; - top: calc(0.0625rem + var(--universal-padding) / 2); - left: calc(0.0625rem + var(--universal-padding) / 2); + top: calc(0.0714285714rem + var(--universal-padding) / 2); + left: calc(0.0714285714rem + var(--universal-padding) / 2); background: var(--input-fore-color); width: 0.5rem; height: 0.5rem; } @@ -793,7 +792,7 @@ a[role="button"], label[role="button"], [role="button"] { display: inline-block; background: var(--button-back-color); color: var(--button-fore-color); - border: 0.0625rem solid var(--button-border-color); + border: 0.0714285714rem solid var(--button-border-color); border-radius: var(--universal-border-radius); padding: var(--universal-padding) calc(1.5 * var(--universal-padding)); margin: var(--universal-margin); @@ -814,7 +813,7 @@ input:disabled, input[disabled], textarea:disabled, textarea[disabled], select:d .button-group { display: flex; - border: 0.0625rem solid var(--button-group-border-color); + border: 0.0714285714rem solid var(--button-group-border-color); border-radius: var(--universal-border-radius); margin: var(--universal-margin); } .button-group > button, .button-group [type="button"], .button-group > [type="submit"], .button-group > [type="reset"], .button-group > .button, .button-group > [role="button"] { @@ -826,13 +825,13 @@ input:disabled, input[disabled], textarea:disabled, textarea[disabled], select:d border-radius: 0; box-shadow: none; } .button-group > :not(:first-child) { - border-left: 0.0625rem solid var(--button-group-border-color); } + border-left: 0.0714285714rem solid var(--button-group-border-color); } @media screen and (max-width: 499px) { .button-group { flex-direction: column; } .button-group > :not(:first-child) { border: 0; - border-top: 0.0625rem solid var(--button-group-border-color); } } + border-top: 0.0714285714rem solid var(--button-group-border-color); } } /* Custom elements for forms and input elements. @@ -874,29 +873,29 @@ button.large, [type="button"].large, [type="submit"].large, [type="reset"].large */ /* Navigation module CSS variable definitions */ :root { - --header-back-color: #f8f8f8; - --header-hover-back-color: #f0f0f0; - --header-fore-color: #444; - --header-border-color: #ddd; - --nav-back-color: #f8f8f8; - --nav-hover-back-color: #f0f0f0; - --nav-fore-color: #444; - --nav-border-color: #ddd; - --nav-link-color: #0277bd; - --footer-fore-color: #444; - --footer-back-color: #f8f8f8; - --footer-border-color: #ddd; - --footer-link-color: #0277bd; - --drawer-back-color: #f8f8f8; - --drawer-hover-back-color: #f0f0f0; - --drawer-border-color: #ddd; - --drawer-close-color: #444; } + --header-back-color: #03234b; + --header-hover-back-color: #ffd200; + --header-fore-color: #ffffff; + --header-border-color: #3cb4e6; + --nav-back-color: #ffffff; + --nav-hover-back-color: #ffe97f; + --nav-fore-color: #e6007e; + --nav-border-color: #3cb4e6; + --nav-link-color: #3cb4e6; + --footer-fore-color: #ffffff; + --footer-back-color: #03234b; + --footer-border-color: #3cb4e6; + --footer-link-color: #3cb4e6; + --drawer-back-color: #ffffff; + --drawer-hover-back-color: #ffe97f; + --drawer-border-color: #3cb4e6; + --drawer-close-color: #e6007e; } header { - height: 3.1875rem; + height: 2.75rem; background: var(--header-back-color); color: var(--header-fore-color); - border-bottom: 0.0625rem solid var(--header-border-color); + border-bottom: 0.0714285714rem solid var(--header-border-color); padding: calc(var(--universal-padding) / 4) 0; white-space: nowrap; overflow-x: auto; @@ -927,7 +926,7 @@ header { nav { background: var(--nav-back-color); color: var(--nav-fore-color); - border: 0.0625rem solid var(--nav-border-color); + border: 0.0714285714rem solid var(--nav-border-color); border-radius: var(--universal-border-radius); margin: var(--universal-margin); } nav * { @@ -946,10 +945,10 @@ nav { nav .sublink-1:before { position: absolute; left: calc(var(--universal-padding) - 1 * var(--universal-padding)); - top: -0.0625rem; + top: -0.0714285714rem; content: ''; height: 100%; - border: 0.0625rem solid var(--nav-border-color); + border: 0.0714285714rem solid var(--nav-border-color); border-left: 0; } nav .sublink-2 { position: relative; @@ -957,16 +956,16 @@ nav { nav .sublink-2:before { position: absolute; left: calc(var(--universal-padding) - 3 * var(--universal-padding)); - top: -0.0625rem; + top: -0.0714285714rem; content: ''; height: 100%; - border: 0.0625rem solid var(--nav-border-color); + border: 0.0714285714rem solid var(--nav-border-color); border-left: 0; } footer { background: var(--footer-back-color); color: var(--footer-fore-color); - border-top: 0.0625rem solid var(--footer-border-color); + border-top: 0.0714285714rem solid var(--footer-border-color); padding: calc(2 * var(--universal-padding)) var(--universal-padding); font-size: 0.875rem; } footer a, footer a:visited { @@ -1013,7 +1012,7 @@ footer.sticky { height: 100vh; overflow-y: auto; background: var(--drawer-back-color); - border: 0.0625rem solid var(--drawer-border-color); + border: 0.0714285714rem solid var(--drawer-border-color); border-radius: 0; margin: 0; z-index: 1110; @@ -1060,38 +1059,36 @@ footer.sticky { */ /* Table module CSS variable definitions. */ :root { - --table-border-color: #aaa; - --table-border-separator-color: #666; - --table-head-back-color: #e6e6e6; - --table-head-fore-color: #111; - --table-body-back-color: #f8f8f8; - --table-body-fore-color: #111; - --table-body-alt-back-color: #eee; } + --table-border-color: #03234b; + --table-border-separator-color: #03234b; + --table-head-back-color: #03234b; + --table-head-fore-color: #ffffff; + --table-body-back-color: #ffffff; + --table-body-fore-color: #03234b; + --table-body-alt-back-color: #f4f4f4; } table { border-collapse: separate; border-spacing: 0; - : margin: calc(1.5 * var(--universal-margin)) var(--universal-margin); + margin: 0; display: flex; flex: 0 1 auto; flex-flow: row wrap; padding: var(--universal-padding); - padding-top: 0; - margin: calc(1.5 * var(--universal-margin)) var(--universal-margin); } + padding-top: 0; } table caption { - font-size: 1.25 * rem; + font-size: 1rem; margin: calc(2 * var(--universal-margin)) 0; max-width: 100%; - flex: 0 0 100%; - text-align: left;} + flex: 0 0 100%; } table thead, table tbody { display: flex; flex-flow: row wrap; - border: 0.0625rem solid var(--table-border-color); } + border: 0.0714285714rem solid var(--table-border-color); } table thead { z-index: 999; border-radius: var(--universal-border-radius) var(--universal-border-radius) 0 0; - border-bottom: 0.0625rem solid var(--table-border-separator-color); } + border-bottom: 0.0714285714rem solid var(--table-border-separator-color); } table tbody { border-top: 0; margin-top: calc(0 - var(--universal-margin)); @@ -1109,11 +1106,11 @@ table { table td { background: var(--table-body-back-color); color: var(--table-body-fore-color); - border-top: 0.0625rem solid var(--table-border-color); } + border-top: 0.0714285714rem solid var(--table-border-color); } table:not(.horizontal) { overflow: auto; - max-height: 850px; } + max-height: 100%; } table:not(.horizontal) thead, table:not(.horizontal) tbody { max-width: 100%; flex: 0 0 100%; } @@ -1134,32 +1131,33 @@ table.horizontal { border: 0; } table.horizontal thead, table.horizontal tbody { border: 0; + flex: .2 0 0; flex-flow: row nowrap; } table.horizontal tbody { overflow: auto; justify-content: space-between; - flex: 1 0 0; - margin-left: calc( 4 * var(--universal-margin)); + flex: .8 0 0; + margin-left: 0; padding-bottom: calc(var(--universal-padding) / 4); } table.horizontal tr { flex-direction: column; flex: 1 0 auto; } table.horizontal th, table.horizontal td { - width: 100%; + width: auto; border: 0; - border-bottom: 0.0625rem solid var(--table-border-color); } + border-bottom: 0.0714285714rem solid var(--table-border-color); } table.horizontal th:not(:first-child), table.horizontal td:not(:first-child) { border-top: 0; } table.horizontal th { text-align: right; - border-left: 0.0625rem solid var(--table-border-color); - border-right: 0.0625rem solid var(--table-border-separator-color); } + border-left: 0.0714285714rem solid var(--table-border-color); + border-right: 0.0714285714rem solid var(--table-border-separator-color); } table.horizontal thead tr:first-child { padding-left: 0; } table.horizontal th:first-child, table.horizontal td:first-child { - border-top: 0.0625rem solid var(--table-border-color); } + border-top: 0.0714285714rem solid var(--table-border-color); } table.horizontal tbody tr:last-child td { - border-right: 0.0625rem solid var(--table-border-color); } + border-right: 0.0714285714rem solid var(--table-border-color); } table.horizontal tbody tr:last-child td:first-child { border-top-right-radius: 0.25rem; } table.horizontal tbody tr:last-child td:last-child { @@ -1191,12 +1189,12 @@ table.horizontal { display: table-row-group; } table tr, table.horizontal tr { display: block; - border: 0.0625rem solid var(--table-border-color); + border: 0.0714285714rem solid var(--table-border-color); border-radius: var(--universal-border-radius); - background: #fafafa; + background: #ffffff; padding: var(--universal-padding); margin: var(--universal-margin); - margin-bottom: calc(2 * var(--universal-margin)); } + margin-bottom: calc(1 * var(--universal-margin)); } table th, table td, table.horizontal th, table.horizontal td { width: auto; } table td, table.horizontal td { @@ -1211,9 +1209,6 @@ table.horizontal { border-top: 0; } table tbody tr:last-child td, table.horizontal tbody tr:last-child td { border-right: 0; } } -:root { - --table-body-alt-back-color: #eee; } - table tr:nth-of-type(2n) > td { background: var(--table-body-alt-back-color); } @@ -1234,8 +1229,8 @@ table.hoverable tr:hover, table.hoverable tr:hover > td, table.hoverable tr:focu */ /* Contextual module CSS variable definitions */ :root { - --mark-back-color: #0277bd; - --mark-fore-color: #fafafa; } + --mark-back-color: #3cb4e6; + --mark-fore-color: #ffffff; } mark { background: var(--mark-back-color); @@ -1243,11 +1238,11 @@ mark { font-size: 0.95em; line-height: 1em; border-radius: var(--universal-border-radius); - padding: calc(var(--universal-padding) / 4) calc(var(--universal-padding) / 2); } + padding: calc(var(--universal-padding) / 4) var(--universal-padding); } mark.inline-block { display: inline-block; font-size: 1em; - line-height: 1.5; + line-height: 1.4; padding: calc(var(--universal-padding) / 2) var(--universal-padding); } :root { @@ -1314,8 +1309,8 @@ mark { :root { --modal-overlay-color: rgba(0, 0, 0, 0.45); - --modal-close-color: #444; - --modal-close-hover-color: #f0f0f0; } + --modal-close-color: #e6007e; + --modal-close-hover-color: #ffe97f; } [type="checkbox"].modal { height: 1px; @@ -1368,13 +1363,14 @@ mark { z-index: 1211; } :root { - --collapse-label-back-color: #e8e8e8; - --collapse-label-fore-color: #212121; - --collapse-label-hover-back-color: #f0f0f0; - --collapse-selected-label-back-color: #ececec; - --collapse-border-color: #ddd; - --collapse-content-back-color: #fafafa; - --collapse-selected-label-border-color: #0277bd; } + --collapse-label-back-color: #03234b; + --collapse-label-fore-color: #ffffff; + --collapse-label-hover-back-color: #3cb4e6; + --collapse-selected-label-back-color: #3cb4e6; + --collapse-border-color: var(--collapse-label-back-color); + --collapse-selected-border-color: #ceecf8; + --collapse-content-back-color: #ffffff; + --collapse-selected-label-border-color: #3cb4e6; } .collapse { width: calc(100% - 2 * var(--universal-margin)); @@ -1395,13 +1391,13 @@ mark { .collapse > label { flex-grow: 1; display: inline-block; - height: 1.5rem; + height: 1.25rem; cursor: pointer; - transition: background 0.3s; + transition: background 0.2s; color: var(--collapse-label-fore-color); background: var(--collapse-label-back-color); - border: 0.0625rem solid var(--collapse-border-color); - padding: calc(1.5 * var(--universal-padding)); } + border: 0.0714285714rem solid var(--collapse-selected-border-color); + padding: calc(1.25 * var(--universal-padding)); } .collapse > label:hover, .collapse > label:focus { background: var(--collapse-label-hover-back-color); } .collapse > label + div { @@ -1418,7 +1414,7 @@ mark { max-height: 1px; } .collapse > :checked + label { background: var(--collapse-selected-label-back-color); - border-bottom-color: var(--collapse-selected-label-border-color); } + border-color: var(--collapse-selected-label-border-color); } .collapse > :checked + label + div { box-sizing: border-box; position: relative; @@ -1427,13 +1423,13 @@ mark { overflow: auto; margin: 0; background: var(--collapse-content-back-color); - border: 0.0625rem solid var(--collapse-border-color); + border: 0.0714285714rem solid var(--collapse-selected-border-color); border-top: 0; padding: var(--universal-padding); clip: auto; -webkit-clip-path: inset(0%); clip-path: inset(0%); - max-height: 850px; } + max-height: 100%; } .collapse > label:not(:first-of-type) { border-top: 0; } .collapse > label:first-of-type { @@ -1450,11 +1446,8 @@ mark { /* Custom elements for contextual background elements, toasts and tooltips. */ -mark.secondary { - --mark-back-color: #d32f2f; } - mark.tertiary { - --mark-back-color: #308732; } + --mark-back-color: #3cb4e6; } mark.tag { padding: calc(var(--universal-padding)/2) var(--universal-padding); @@ -1463,9 +1456,9 @@ mark.tag { /* Definitions for progress elements and spinners. */ -/* Progess module CSS variable definitions */ +/* Progress module CSS variable definitions */ :root { - --progress-back-color: #ddd; + --progress-back-color: #3cb4e6; --progress-fore-color: #555; } progress { @@ -1558,45 +1551,45 @@ span[class^='icon-'] { filter: invert(100%); } span.icon-alert { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12' y2='16'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12' y2='16'%3E%3C/line%3E%3C/svg%3E"); } span.icon-bookmark { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E"); } span.icon-calendar { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); } span.icon-credit { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='1' y1='10' x2='23' y2='10'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='1' y1='10' x2='23' y2='10'%3E%3C/line%3E%3C/svg%3E"); } span.icon-edit { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34'%3E%3C/path%3E%3Cpolygon points='18 2 22 6 12 16 8 16 8 12 18 2'%3E%3C/polygon%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34'%3E%3C/path%3E%3Cpolygon points='18 2 22 6 12 16 8 16 8 12 18 2'%3E%3C/polygon%3E%3C/svg%3E"); } span.icon-link { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E"); } span.icon-help { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='17' x2='12' y2='17'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='17' x2='12' y2='17'%3E%3C/line%3E%3C/svg%3E"); } span.icon-home { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E"); } span.icon-info { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12' y2='8'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12' y2='8'%3E%3C/line%3E%3C/svg%3E"); } span.icon-lock { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E"); } span.icon-mail { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E"); } span.icon-location { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E"); } span.icon-phone { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E"); } span.icon-rss { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11a9 9 0 0 1 9 9'%3E%3C/path%3E%3Cpath d='M4 4a16 16 0 0 1 16 16'%3E%3C/path%3E%3Ccircle cx='5' cy='19' r='1'%3E%3C/circle%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11a9 9 0 0 1 9 9'%3E%3C/path%3E%3Cpath d='M4 4a16 16 0 0 1 16 16'%3E%3C/path%3E%3Ccircle cx='5' cy='19' r='1'%3E%3C/circle%3E%3C/svg%3E"); } span.icon-search { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); } span.icon-settings { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'%3E%3C/path%3E%3C/svg%3E"); } span.icon-share { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'%3E%3C/circle%3E%3Ccircle cx='6' cy='12' r='3'%3E%3C/circle%3E%3Ccircle cx='18' cy='19' r='3'%3E%3C/circle%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'%3E%3C/line%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'%3E%3C/circle%3E%3Ccircle cx='6' cy='12' r='3'%3E%3C/circle%3E%3Ccircle cx='18' cy='19' r='3'%3E%3C/circle%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'%3E%3C/line%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'%3E%3C/line%3E%3C/svg%3E"); } span.icon-cart { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E"); } span.icon-upload { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='17 8 12 3 7 8'%3E%3C/polyline%3E%3Cline x1='12' y1='3' x2='12' y2='15'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='17 8 12 3 7 8'%3E%3C/polyline%3E%3Cline x1='12' y1='3' x2='12' y2='15'%3E%3C/line%3E%3C/svg%3E"); } span.icon-user { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E"); } /* Definitions for utilities and helper classes. @@ -1604,7 +1597,7 @@ span.icon-user { /* Utility module CSS variable definitions */ :root { --generic-border-color: rgba(0, 0, 0, 0.3); - --generic-box-shadow: 0 0.25rem 0.25rem 0 rgba(0, 0, 0, 0.125), 0 0.125rem 0.125rem -0.125rem rgba(0, 0, 0, 0.25); } + --generic-box-shadow: 0 0.2857142857rem 0.2857142857rem 0 rgba(0, 0, 0, 0.125), 0 0.1428571429rem 0.1428571429rem -0.1428571429rem rgba(0, 0, 0, 0.125); } .hidden { display: none !important; } @@ -1622,7 +1615,7 @@ span.icon-user { overflow: hidden !important; } .bordered { - border: 0.0625rem solid var(--generic-border-color) !important; } + border: 0.0714285714rem solid var(--generic-border-color) !important; } .rounded { border-radius: var(--universal-border-radius) !important; } @@ -1697,4 +1690,14 @@ span.icon-user { clip-path: inset(100%) !important; overflow: hidden !important; } } -/*# sourceMappingURL=mini-default.css.map */ +/*# sourceMappingURL=mini-custom.css.map */ + +img[alt="ST logo"] { display: block; margin: auto; width: 75%; max-width: 250px; min-width: 71px; } +img[alt="Cube logo"] { float: right; width: 30%; max-width: 10rem; min-width: 8rem; padding-right: 1rem;} + +.figure { + display: block; + margin-left: auto; + margin-right: auto; + text-align: center; +} \ No newline at end of file diff --git a/Drivers/BSP/STM32F1xx_Nucleo/_htmresc/st_logo_2020.png b/Drivers/BSP/STM32F1xx_Nucleo/_htmresc/st_logo_2020.png new file mode 100644 index 0000000000000000000000000000000000000000..d6cebb5ac70e0594cbe37a6b60036a80ef3bed37 GIT binary patch literal 7520 zcmcI|WmKC@*KTl!K!Z~t6qn*&DDF_CK%q#B6QmH_DHL}I6b%;K-J$eBN|2xh0+bea zmtyV5bG|?CpZBcu=iF<}z4q*xz1LhL*PcBwx;m;Pgmi=e0DweYO-UaBz)*UWZ}4#+ zCC-V!SC16}H#HLv0Dy?%--0o{5_}H;Jf%=ql7H=+dziOk_)KzUSaiQ9L<^g!49k}} z?4y$V zrsn3Ul^TY`00G_J_8;F7Sr5c3Y)f-yOYl{fS0avfKJg7R%r!y-ohcBkr6XBZBkE)( z_t+tVV2}G1_CN!)yWes*wa-AGwk31N_T1`)4COlfz+o(9S90e?6jHV4)!>`j+oRqp z)gb?rtSdw<#&c?q!OKB+Ncn!kr5JR2EYan8HAPXBw*Oh-F(6GmaC!`$p7fl!_Cdu> z5@PUMR_K5&jgevDepWqepZVdMHR$q>ga=7k0ltW$HHVn>HRa!#(+BW_jN$5rx^MtR zzWT7tNWQeFzEp+86jOYI=I)*GZYEiXlf-Mw%tJ^ptL%2)%#PmUjxC4wx@%KxQ)8kO?|7E1 zd@5gd9_$*6nx?fj*iF_EJT*PYLFP}d8*Fw>cu3@&nm%V_C}V7HMmg|Nl#1J1^#)uz zZag|X>{6j-myvL}3(H8o3resNBq_jcuJuyT!QuXnNN&zG^tG? z>y*dy1#XfwyCE#UiLT(~LYAVwp)epErJLsHBA|l0xo)kxLAPob+7tFlr{7x8(#v|O zknK}QC6|~=cTJ0;x9MWMKua;LdTKIHX>35a@7{5y0MQ|zqsP64mM~`gJ&&R{pSUBA zf3Y>k>d|xdzBFztjtO~{y%@LUdwSgzEj=69hH3-NNWx7<|49%2%lvTEeE3_|$~iDd zlktnxf|NB>Bui)yY;%TXgWA;rhODxR!-4GzxKd473I)3;j zS4-Vun<^vqZ4)HbwVzq%5%)S!>Q(Y&PkF ze1ab_oy?_$PZT-mKJ3K^;6MrB*Wc$lkYJ_460AFYEq{AjlDxm;5GRwOsm>doJy3Z;a$FSu-q`X)Hw&o~?_`Dnpx4dOj6#)bGOdZbj4hD`l|&#v~K+WrGO zpLCVQg=*h=4H1sK)D*Pxtb#p`c+g-eK65k!CEZjLIrfm}5<4@KVqZ#8(S$vs{?Xv) zN(}CKeeLR%I)W!p(l-`utKmBbJk-On{)ciqUN5%?TS8uwKU(8}Mxhsb&qHL~DDcB@qi} z4z%efV#K69a#lShPt5}*7ME@^xunFR{k;|qp z`_Hgdj_Qle?%Ydlr3f^SdRkUncIj7qTiu85tA$v`#419Nlof8tjqUjO z!Rwyq$Krfh`(@MiE+)yie&jU^crprYV&?zN!2b33S2qtW+zB$nahDhVZiQ12bmcwYBcT8KS>v`jsuI@X zy^k^7>TM5Ndp@}pSl6vmkk*u`@C`z(gq||K2>y=Y#w1i`Nk2zAP7{_^ACq;bQmT<4 z;b~K3=?mhZX#~jQnZjdU={NFp^HRr~;^PXQ*UIHzkq}Xsn!56*ZCOOEt|^ zawUwGqs;zCEGKTz&(a(@h#0sCE+@`3Y<&}9!(;Pw&`C+d#D?`##&!@*ERaH0fksrh zfk2svh3!d~h{SC6BNKN2j6(lzC>S^_*eh{@gR zP$rV4$nqV1y|zYpd;nQr-`Vlp(5sQXx9AibC?xc7pUV)v2cWfHu3{KLbfP;;;`I&)mWqLcXt6s+5fps9R?K>hGR$5;=( zo#;zzQ5!w+(99p1_gh^?F#$tpMd+4%G|K`XG_#@A>30WD2L9!0a>wRASg`M?^z#)| zifb$d^KUD&3qLsr-@}r_7p${gdmRqhy819bj?yI-v({I?0o3_8d>CZmCzqH4{{QtD z|6dvgm<^~668G`6wLw4C4y-o9E9ZG3RiH^&;rrKSBT@bMR+!TlYo*9P;?Z>xORMV3ndQp9EyNn!!~j&x&$gDVke|t#!{QoegHm+sT7cSjwSu z)jZlx1pHrrx0&YCZWJ4xC&U%r_IwfJOxnYqYMcZn&_hgnKuls z>(Y$qjIhcweo^A_VVq_#UR&urF%UbI^><5L5zbV9owMQviM*_{@i|dke!!v8a_yG! zl%#ay{(6U_N3-)yeif3tx6>aQSf1r zO~OuNW<8a~bi6Xby0@tKw0@f1R!@+3S2nf#F&j~l0mrNCtjoZdPYob?g!Vx4F-uA2 z4uS>8eR?dA9i>C|cm-m5lO0m@$f(DB6Z<9Pe07xR`l4$ks3eZ@v5}1?^YNQy-tB(` zgUNZrGVf#b~`}jew;MQG1O~VDk_i*<)p9DfFfd;vLy4QZT zMYh|DxJg3-!{szUN*uo&`&DUkzq4qG2`Lj;Ar46DYUymcviS{Unhzmx z=LwZ-Lr{t1z?9Oip%!z{j+Z%_@u?C78I`V4fC`icG1c|2;`EoLK$ z)9|wrAV&V1Vgts~tQCw0X?X{74W"NJQ zW3BP!5c~4zzHJScwQK9L_%m%L`*q{1aW_3rObki~B~=Dwp`;@w`>xZ6;L_6oR^ecEcmup`yb}lgsmv zQByrxc)Qqm(Hwmq%fLjqcrJ5QR?z_*vb~Iy~RXUY8u-D8AqTzetwNNA8~N z$j&1>#IrkSslUqXW|l}q_TlTVKAjRI@~7(GLf4M>GM!3u_)y6ORe6BQUmrQ16%OdZKo(?AYXK$u@=)TPUi1EZaLBu zuEB(5GX2vcoHS%zMUW!DZ)&xRo@mhouk|hMgHIG>cO-Ah(0AMNlq@?cPpy==-!#qR zBov7l3G?P*KM(vU;Apo-(-Bw;sdQJkh~r)W$KRQKd!#(A8M34^MhD10Ra={AqSvjy z3>PkgA}f^@Rg1$dX=jaEB_V%_vn(W<111_s!g>CYrcwJTJ63Eeg6{_C`aMQIgKctR zHMjkr+y6gK!v6=6;CGl#?PqmiX`A@dmmvZ}-X$*q8}G(xq|voo`=$YZuQAa8f9ApK z1VQiEUQC=OO{|Nc8ZrXH208X|XCzIRO?+Nb55Jt@va9hqBpv)uY6ma-csvSlJoJOC zK;w~s?#r)K@gm*;((JsWHU-KvFTF)q>AzwPq)I+}OrSpxh!-CM1VEMfw1fpfVL7p{ z)I$rNp5kPYDsvXL>8nV{#0fa*lm`Z;0Z=c^1qveY2uk&7nhMRl`0EsvUuvwdF&o)PCVN3wmFBPegWzooF6y~b} zY>X2;LO~&rbvx59?(4^aR+s1C6hI4r&x9Q9jL9);KZEw_x%TWZXaMzK6|2XG9$IU% zkEq}t^YOaa4s`%7F31X-#SfMgNp+4R=g2G|O^W)6^2fEsmkTTaVhKCip+3qWuN8?y zaSD_k6%-@Ifhm`z02=ZWA-pi5`A=7ztHWpP2K5rCW{>!wIUOYrH``#bz>qVSH76=8 zyJ!sNBxt;dMTn}yzUTCq1!w;N7pzb?WJrQ50W+`meL{k8i0VhFsPUz(07k`l` zg1Ifl1fc-^p^MQCpK~Jk&L!*mWfNA!&MSu`sPmti>K-;I5Dk00nB3vOl4!JwjEx^X zWQsIp2Ea_>`9f@%zGl4i3FAO9=e$2^b_>_I*dqiLJ=@TejStM?^yX$9dW`#ha)PEF zPr0zUJX!j-juYK*olG_9axQniXhF|E}oSTG_S)FZ3sN4T@q zy{l;!{UGc};YVaT97tx3s7P$WsW2^*I+Hy;vqndG!9S?tZtDIRif1=bBsqtW-n7$O zWy}Z%jKSkgLX#1p>|#4l-!$c+kA`++Ixv(Rm`;Ilb3q3tD|QjaPQ8)BJ=8R*15?nL zJR{yuqOG&!JrSZ${#NY#b!k)yDajQ$A}fUQhe7ueN6h2Pj3wY5eo|7$PaJD zM69(ee1qlSyLn)Ln6)o53Lj)elqG}gb^c}qd(q&$8B5N%nSvEjUIoEXO^obv=A7QGZzNzjO*H=*b2!86Wnqdy~8ePkq@1D1)Q^O)JG;fUCV z`rgD}dJ{7BUyBbgoTL91w^q-CfBpDr?0R38`L%p9&Q#%r*@=9p-Ioqy+WscLq?jq5 zfyYNkxr7w)-(!c85mt!FjNJ4UE6P8p8sc#Kb4L1N3!yaCo9@t3n8s}K)1!w8x77xU zo-NY3SR*Pgt#~7F;y^J&Y%z^+C9wu;hN|TC7dqSHOB&kE)Q)6Ad(l&+tA@$@w0bhJ z6xc6EJ6nm{=|V7Vo&qcXc4i)D?X0Uk$p7~iI#ci?#fxvM z78`u%m5S@^_F;_foidufzP z&ueh-zU1yM&8~0lmOfkio-gBex`)?hCJcI8Jv*R0c|WUqSq z?RU?Rmm=3t_2C%%UW9c*D%T{T{EjryCKnsz9-*Bs0}M*xS&-odhCK5eS_Eqi&c6J4o|f&;uUT=p7Fedw#EUl4%Jv{w zq-cCF^otBvw~~$yj6O>>;VqU)3Ml&Atm$B(Ht8=+&x2VS5aWD&t*+04{@k^Gn~yHY zWYC%@ld;g_qz=k*;Iv&xs5M85cEZCU&n2Baf>R6*bN>V|!)eF&l#C93eAMLD=ZF7= zOISFfB5P;F!ngWD3jfMJE_53F&dFc{h2TwSbT*(h6!c}_5_UFeB_*DiyCrtQ7Byr@ z-aCWVt?J}YP7-lfelbrCgZ5mdv(^W&Yf^OvpI}#NbS1Lc`r4&t#3kM!utm&#a;?GR z-1FusfX7&?a9h`%8wf-ub7UXp44xm4w04)S$}}_hPqn-#IabO^bo6$K07>?%G5Xs( zA$*lz_K>lAJ_o<;fsP-*-%~O(716KRqVq+X@=5J~Z~bba(yWL`;EN`@Mr2it&Lkgb z&I|R5!`ZSk%)xFX*FYDaAh=5qWSY@rx1Du9J$$=lh#!~NcFJM&aOv)eqg_@`i^zJCR9a%_{k_i%msw5q z*3!~#Xx3r|VaAwiG}~9M#c`=$Uk6~xe)47ymW+;0DD_lV67L#ouJBa7mF{)X^?eIvPdOMu4ksr`jUP$~{x@?ev2 zdX#ite2RMim01PEg`;qfwg^;v8nx9F!CtNCvz)V{PVgCs*;_@_Rk*oLx@f7hJ7^^1 zu66b)mb!ZMXLZ%8dj-+JCMoWS-Wji-Q-~U7Pt~UiXMej8JcNjk<6?Wk9eLBIhu&Vo^0;AH> z;Q5^a!NZhP(vDfBv&?jdnQavv#8N0E{ZEgs>|1)qYo^t5 zIV$g~`C2%g$*(z4)8hJlK2mF-MJW#3%Cs6`uAvsgRtTo8n!Et)1pZx@_9I18 zw7ER9v~DyrC*R$do9aEw5r@B)YzHOLB^-c9Eu9D!sFmI8^VljVKE89{zY_8PTSF+J b^}%0^qYmp2WD(pA|JtZ4>nPPKybJpu3@X?! literal 0 HcmV?d00001 diff --git a/Drivers/BSP/STM32F1xx_Nucleo/stm32f1xx_nucleo.c b/Drivers/BSP/STM32F1xx_Nucleo/stm32f1xx_nucleo.c index e25baa5..359d0f2 100644 --- a/Drivers/BSP/STM32F1xx_Nucleo/stm32f1xx_nucleo.c +++ b/Drivers/BSP/STM32F1xx_Nucleo/stm32f1xx_nucleo.c @@ -12,29 +12,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -64,7 +47,7 @@ */ #define __STM32F1XX_NUCLEO_BSP_VERSION_MAIN (0x01) /*!< [31:24] main version */ #define __STM32F1XX_NUCLEO_BSP_VERSION_SUB1 (0x00) /*!< [23:16] sub1 version */ -#define __STM32F1XX_NUCLEO_BSP_VERSION_SUB2 (0x04) /*!< [15:8] sub2 version */ +#define __STM32F1XX_NUCLEO_BSP_VERSION_SUB2 (0x05) /*!< [15:8] sub2 version */ #define __STM32F1XX_NUCLEO_BSP_VERSION_RC (0x00) /*!< [7:0] release candidate */ #define __STM32F1XX_NUCLEO_BSP_VERSION ((__STM32F1XX_NUCLEO_BSP_VERSION_MAIN << 24)\ |(__STM32F1XX_NUCLEO_BSP_VERSION_SUB1 << 16)\ @@ -888,4 +871,3 @@ JOYState_TypeDef BSP_JOY_GetState(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM32F1xx_Nucleo/stm32f1xx_nucleo.h b/Drivers/BSP/STM32F1xx_Nucleo/stm32f1xx_nucleo.h index 649e698..b6552e4 100644 --- a/Drivers/BSP/STM32F1xx_Nucleo/stm32f1xx_nucleo.h +++ b/Drivers/BSP/STM32F1xx_Nucleo/stm32f1xx_nucleo.h @@ -12,29 +12,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2016 STMicroelectronics

+ * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -290,4 +273,3 @@ void BSP_JOY_DeInit(void); #endif /* __STM32F1XX_NUCLEO_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/BSP/STM32VL-Discovery/LICENSE.md b/Drivers/BSP/STM32VL-Discovery/LICENSE.md new file mode 100644 index 0000000..53e726d --- /dev/null +++ b/Drivers/BSP/STM32VL-Discovery/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2014 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/Drivers/BSP/STM32VL-Discovery/README.md b/Drivers/BSP/STM32VL-Discovery/README.md new file mode 100644 index 0000000..1219e10 --- /dev/null +++ b/Drivers/BSP/STM32VL-Discovery/README.md @@ -0,0 +1,36 @@ +# BSP STM32VLDISCOVERY Component + +![latest tag](https://img.shields.io/github/v/tag/STMicroelectronics/stm32vldiscovery.svg?color=brightgreen) + +## Overview + +**STM32Cube** is an STMicroelectronics original initiative to ease developers' life by reducing efforts, time and cost. + +**STM32Cube** covers the overall STM32 products portfolio. It includes a comprehensive embedded software platform delivered for each STM32 series. + * The CMSIS modules (core and device) corresponding to the ARM(tm) core implemented in this STM32 product. + * The STM32 HAL-LL drivers, an abstraction layer offering a set of APIs ensuring maximized portability across the STM32 portfolio. + * The BSP drivers of each evaluation, demonstration or nucleo board provided for this STM32 series. + * A consistent set of middleware libraries such as RTOS, USB, FatFS, graphics, touch sensing library... + * A full set of software projects (basic examples, applications, and demonstrations) for each board provided for this STM32 series. + +Two models of publication are proposed for the STM32Cube embedded software: + * The monolithic **MCU Package**: all STM32Cube software modules of one STM32 series are present (Drivers, Middleware, Projects, Utilities) in the repository (usual name **STM32Cubexx**, xx corresponding to the STM32 series). + * The **MCU component**: each STM32Cube software module being part of the STM32Cube MCU Package, is delivered as an individual repository, allowing the user to select and get only the required software functions. + +## Description + +This **stm32vldiscovery** MCU component repository is one element of the **STM32CubeF1** MCU embedded software package, providing the **STM32VLDISCOVERY** BSP BOARD component part. + +## Release note + +Details about the content of this release are available in the release note [here](https://htmlpreview.github.io/?https://github.com/STMicroelectronics/stm32vldiscovery/blob/main/Release_Notes.html). + +## Compatibility information + +Below is the list of the BSP *component* drivers to be used with this BSP *board* driver. It is **crucial** that you use a consistent set of CMSIS - HAL - BSP versions, as mentioned in [this](https://htmlpreview.github.io/?https://github.com/STMicroelectronics/STM32CubeF1/blob/master/Release_Notes.html) release note. + +* [stm32-bsp-common](https://github.com/STMicroelectronics/stm32-bsp-common) + +## Troubleshooting + +Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) guide. diff --git a/Drivers/BSP/STM32VL-Discovery/Release_Notes.html b/Drivers/BSP/STM32VL-Discovery/Release_Notes.html index 2a99a9e..b73bcf6 100644 --- a/Drivers/BSP/STM32VL-Discovery/Release_Notes.html +++ b/Drivers/BSP/STM32VL-Discovery/Release_Notes.html @@ -1,236 +1,80 @@ - - - - - - - - - - - - - - - - Release Notes for STM32VL-Discovery Board Drivers - - - - - - - - - - -
-


-

-
- - - - - - -
- - - - - - - - - -
-

Back to Release page

-
-

Release -Notes for STM32VL-Discovery Board Drivers

-

Copyright -2014 STMicroelectronics

-

-
-

 

- - - - - - -
-

Contents

-
    -
  1. STM32VL-Discovery Board Drivers -update History
  2. -
  3. License
  4. -
- - -

STM32VL-Discovery Board Drivers update History

-

V1.0.2 / 14-April-2017

- - - - - - - - - - - - - - - - - - - - -

Main -Changes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  • Add STM32VL-Discovery_BSP_User_Manual.chm file

V1.0.1 / 18-December-2015

Main -Changes

- -
  • Rename GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH for compatibility with STM32F1xx HAL Drivers V1.0.2.

V1.0.0 / 02-December-2014

Main -Changes

- -
  • First Beta release for STM32VL-Discovery board RevC drivers for STM32Cube_FW_F1 project
  • BSP details
    • stm32vl_discovery.c / stm32vl_discovery.h

License

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this package except in compliance with the License. You may obtain a copy of the License at:


Unless -required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT -WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See -the License for the specific language governing permissions and -limitations under the License.
- -
-
-

For -complete documentation on STM32 Microcontrollers -visit www.st.com/STM32

-
-

-
+ + + + + + + Release Notes for STM32VL-Discovery Board Drivers + + + + + + +
+
+
+

Release Notes for STM32VL-Discovery Board Drivers

+

Copyright © 2014 STMicroelectronics
+

+ +
+

Purpose

+

This directory contains the board drivers to demonstrate the capabilities of the STM32VL-Discovery Kit.

-

 

+
+

Update History

+
+ +
+

Main Changes

+
    +
  • All source files: update disclaimer to add reference to the new license agreement.
  • +
- - \ No newline at end of file +
+
+ +
+

Main Changes

+
    +
  • Add STM32VL-Discovery_BSP_User_Manual.chm file.
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • Rename GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH for compatibility with STM32F1xx HAL Drivers V1.0.2.
  • +
+
+
+
+ +
+

Main Changes

+
    +
  • First Beta release for STM32VL-Discovery board RevC drivers for STM32Cube_FW_F1 project
  • +
  • BSP details +
      +
    • stm32vl_discovery.c / stm32vl_discovery.h
    • +
  • +
+
+
+
+
+ + + diff --git a/Drivers/BSP/STM32VL-Discovery/_htmresc/favicon.png b/Drivers/BSP/STM32VL-Discovery/_htmresc/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..06713eec4974e141c6e9b4156d34e61e89f282ca GIT binary patch literal 4126 zcmV+(5aI8MP)ZIGU@QfPy~$kHP}Vz9c$a)g>fT6hB^OaK4>c|MGS0000HbW%=J|NsC0|NsC0 z|NsC0|NsC0041%NVgLXD!bwCyRCwCllie1CAP9sJ&9ooo{hxLjw5@YC+xxf~%TE}{ zNd5%935b--eKa7{Q8)vZ;eI6pGFH>rL)887WOA={e(b_&0g-g6to#Hm2B3vqWV>1u z@z7*I(bdWdx-Y=OT@|og)oZEgAbc7ep|Gf{$7j1Oa#T&r4>0xv(+}tR_4biWa z1Q-BfcsgeLIJPbT0000rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-kiKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z000F^NklQWRUVq~pvFslpiNq83Yr*1(ELa!!kppKfxQKEkPzz^I>0W)!71xam z(B64`)5a~kHf9SBOp*Wvo{xA*e4|Kv3g6TCo+fF8q^C$|g>#NlXyY$%lmkmCh$x1Z zFbJ_hiDG`37w>KPVB83d7E3>R@-M9$`|}|QFF}1qSk!nanPdVd3K38edo3y+D*=Uo zfOWCwj(F@GSjPG&B<0O;H!Zm0g>eDeK09{b@xB};mEy; z;Gp5H_Cr65qKM1uYIu6x&16!Ei=BHfJLe)1IUnFqc6d#D=ZVQmV9C73vy1=x$SK;s z=*CYZP+Ei1D5Vjl#u88v5dv#jId?iu)8mM}{mD`GcMXtAC5ap?ZoKr&iYuqTKHe$t zTR%R$ZZwxec?l+0r_LIVbe-mzH+D0*ZYsu4BE~~JA2A+AD?BAArO=g8ZfvXtU~o9c zZ(Bd-RFK5jh*DvM1v6^41HB@0K0qn7E8E&Xz1mk6hvmx?*|WB_H!dcO;5R$=<4b~s z5zr3N4zxlkMKOrDeny(PGpEM6^hGyc7lhg>MWtM!af*pn%&q_PxI(n^(-Zd{ICPAp z(WE@Zz5|EZyt{MEDy&l5$Cba^zU!9k&;Vs7lk$@o02LOwb#e2{#3%Cn2>kQF(RKUU z+tW!;FT0@d+TX^L;>@3RytlTP&ts$pqA}TwENBlg9?$-D zF9Sn4URZx8)hVBw<~NY=h3=so7{jEhG%Zc_0QBSvY~K4BS|W5MAem5XSb6m}VDN$f zy+b3n9qjIJoHM5pqYa`IPH9AIoM=!AE1Er>r|3E}#Jq-S)cTrfD&TZjAuN@+V}3mi zlhOce+q<8>Y?i93G=*Z3Web`ri!Q%p%LR*(bB?;|)B`&=J&ab0Z(UKpbzyZV5o*#& z0FLzzaI$v*-#WB)+`n>BoJ*1AwU0XSu;@w&Hu1WYXVR#!8itC%68CzMeiXhL#`9W$9J30NB-Wg!ex`hBlg9F5u@&o4>hd`TWPv z{r{JbyvQGZzbyvPS}zAifbhF49z~X|@9v|!=No>qsF|P~vf=g>7#%0yk<U?Ha8*Z4HW>#8w>z$A3 z>^uQlk;$a-6CQ(uc@RM)Cbss!xuPVl2@c1u-5tEUw}U8OfP_J+QYhfu$B<0Cj3xm7 c?*aZZ00ulYFs-m=@&Et;07*qoM6N<$f~=14i~s-t literal 0 HcmV?d00001 diff --git a/_htmresc/mini-st.css b/Drivers/BSP/STM32VL-Discovery/_htmresc/mini-st_2020.css similarity index 78% rename from _htmresc/mini-st.css rename to Drivers/BSP/STM32VL-Discovery/_htmresc/mini-st_2020.css index 71fbc14..3d9e81a 100644 --- a/_htmresc/mini-st.css +++ b/Drivers/BSP/STM32VL-Discovery/_htmresc/mini-st_2020.css @@ -1,39 +1,39 @@ @charset "UTF-8"; /* - Flavor name: Default (mini-default) - Author: Angelos Chalaris (chalarangelo@gmail.com) - Maintainers: Angelos Chalaris - mini.css version: v3.0.0-alpha.3 + Flavor name: Custom (mini-custom) + Generated online - https://minicss.org/flavors + mini.css version: v3.0.1 */ /* Browsers resets and base typography. */ /* Core module CSS variable definitions */ :root { - --fore-color: #111; - --secondary-fore-color: #444; - --back-color: #f8f8f8; - --secondary-back-color: #f0f0f0; - --blockquote-color: #f57c00; - --pre-color: #1565c0; - --border-color: #aaa; - --secondary-border-color: #ddd; - --heading-ratio: 1.19; + --fore-color: #03234b; + --secondary-fore-color: #03234b; + --back-color: #ffffff; + --secondary-back-color: #ffffff; + --blockquote-color: #e6007e; + --pre-color: #e6007e; + --border-color: #3cb4e6; + --secondary-border-color: #3cb4e6; + --heading-ratio: 1.2; --universal-margin: 0.5rem; - --universal-padding: 0.125rem; - --universal-border-radius: 0.125rem; - --a-link-color: #0277bd; - --a-visited-color: #01579b; } + --universal-padding: 0.25rem; + --universal-border-radius: 0.075rem; + --background-margin: 1.5%; + --a-link-color: #3cb4e6; + --a-visited-color: #8c0078; } html { - font-size: 14px; } + font-size: 13.5px; } a, b, del, em, i, ins, q, span, strong, u { font-size: 1em; } html, * { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Helvetica, sans-serif; - line-height: 1.4; + font-family: -apple-system, BlinkMacSystemFont, Helvetica, arial, sans-serif; + line-height: 1.25; -webkit-text-size-adjust: 100%; } * { @@ -42,7 +42,10 @@ html, * { body { margin: 0; color: var(--fore-color); - background: var(--back-color); } + @background: var(--back-color); + background: var(--back-color) linear-gradient(#ffd200, #ffd200) repeat-y left top; + background-size: var(--background-margin); + } details { display: block; } @@ -62,9 +65,9 @@ img { height: auto; } h1, h2, h3, h4, h5, h6 { - line-height: 1.2; + line-height: 1.25; margin: calc(1.5 * var(--universal-margin)) var(--universal-margin); - font-weight: 500; } + font-weight: 400; } h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { color: var(--secondary-fore-color); display: block; @@ -74,21 +77,15 @@ h1 { font-size: calc(1rem * var(--heading-ratio) * var(--heading-ratio) * var(--heading-ratio)); } h2 { - font-size: calc(1rem * var(--heading-ratio) * var(--heading-ratio); ); - background: var(--mark-back-color); - font-weight: 600; - padding: 0.1em 0.5em 0.2em 0.5em; - color: var(--mark-fore-color); } - + font-size: calc(1rem * var(--heading-ratio) * var(--heading-ratio) ); + border-style: none none solid none ; + border-width: thin; + border-color: var(--border-color); } h3 { - font-size: calc(1rem * var(--heading-ratio)); - padding-left: calc(2 * var(--universal-margin)); - /* background: var(--border-color); */ - } + font-size: calc(1rem * var(--heading-ratio) ); } h4 { - font-size: 1rem;); - padding-left: calc(4 * var(--universal-margin)); } + font-size: calc(1rem * var(--heading-ratio)); } h5 { font-size: 1rem; } @@ -101,7 +98,7 @@ p { ol, ul { margin: var(--universal-margin); - padding-left: calc(6 * var(--universal-margin)); } + padding-left: calc(3 * var(--universal-margin)); } b, strong { font-weight: 700; } @@ -111,7 +108,7 @@ hr { border: 0; line-height: 1.25em; margin: var(--universal-margin); - height: 0.0625rem; + height: 0.0714285714rem; background: linear-gradient(to right, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent); } blockquote { @@ -121,16 +118,16 @@ blockquote { color: var(--secondary-fore-color); margin: var(--universal-margin); padding: calc(3 * var(--universal-padding)); - border: 0.0625rem solid var(--secondary-border-color); - border-left: 0.375rem solid var(--blockquote-color); + border: 0.0714285714rem solid var(--secondary-border-color); + border-left: 0.3rem solid var(--blockquote-color); border-radius: 0 var(--universal-border-radius) var(--universal-border-radius) 0; } blockquote:before { position: absolute; top: calc(0rem - var(--universal-padding)); left: 0; font-family: sans-serif; - font-size: 3rem; - font-weight: 700; + font-size: 2rem; + font-weight: 800; content: "\201c"; color: var(--blockquote-color); } blockquote[cite]:after { @@ -160,8 +157,8 @@ pre { background: var(--secondary-back-color); padding: calc(1.5 * var(--universal-padding)); margin: var(--universal-margin); - border: 0.0625rem solid var(--secondary-border-color); - border-left: 0.25rem solid var(--pre-color); + border: 0.0714285714rem solid var(--secondary-border-color); + border-left: 0.2857142857rem solid var(--pre-color); border-radius: 0 var(--universal-border-radius) var(--universal-border-radius) 0; } sup, sub, code, kbd { @@ -204,7 +201,8 @@ a { box-sizing: border-box; display: flex; flex: 0 1 auto; - flex-flow: row wrap; } + flex-flow: row wrap; + margin: 0 0 0 var(--background-margin); } .col-sm, [class^='col-sm-'], @@ -565,9 +563,9 @@ a { order: 999; } } /* Card component CSS variable definitions */ :root { - --card-back-color: #f8f8f8; - --card-fore-color: #111; - --card-border-color: #ddd; } + --card-back-color: #3cb4e6; + --card-fore-color: #03234b; + --card-border-color: #03234b; } .card { display: flex; @@ -578,7 +576,7 @@ a { width: 100%; background: var(--card-back-color); color: var(--card-fore-color); - border: 0.0625rem solid var(--card-border-color); + border: 0.0714285714rem solid var(--card-border-color); border-radius: var(--universal-border-radius); margin: var(--universal-margin); overflow: hidden; } @@ -592,7 +590,7 @@ a { margin: 0; border: 0; border-radius: 0; - border-bottom: 0.0625rem solid var(--card-border-color); + border-bottom: 0.0714285714rem solid var(--card-border-color); padding: var(--universal-padding); width: 100%; } .card > .sectione.media { @@ -617,17 +615,18 @@ a { width: auto; } .card.warning { -/* --card-back-color: #ffca28; */ --card-back-color: #e5b8b7; - --card-border-color: #e8b825; } + --card-fore-color: #3b234b; + --card-border-color: #8c0078; } .card.error { - --card-back-color: #b71c1c; - --card-fore-color: #f8f8f8; - --card-border-color: #a71a1a; } + --card-back-color: #464650; + --card-fore-color: #ffffff; + --card-border-color: #8c0078; } .card > .sectione.dark { - --card-back-color: #e0e0e0; } + --card-back-color: #3b234b; + --card-fore-color: #ffffff; } .card > .sectione.double-padded { padding: calc(1.5 * var(--universal-padding)); } @@ -637,12 +636,12 @@ a { */ /* Input_control module CSS variable definitions */ :root { - --form-back-color: #f0f0f0; - --form-fore-color: #111; - --form-border-color: #ddd; - --input-back-color: #f8f8f8; - --input-fore-color: #111; - --input-border-color: #ddd; + --form-back-color: #ffe97f; + --form-fore-color: #03234b; + --form-border-color: #3cb4e6; + --input-back-color: #ffffff; + --input-fore-color: #03234b; + --input-border-color: #3cb4e6; --input-focus-color: #0288d1; --input-invalid-color: #d32f2f; --button-back-color: #e2e2e2; @@ -655,13 +654,13 @@ a { form { background: var(--form-back-color); color: var(--form-fore-color); - border: 0.0625rem solid var(--form-border-color); + border: 0.0714285714rem solid var(--form-border-color); border-radius: var(--universal-border-radius); margin: var(--universal-margin); padding: calc(2 * var(--universal-padding)) var(--universal-padding); } fieldset { - border: 0.0625rem solid var(--form-border-color); + border: 0.0714285714rem solid var(--form-border-color); border-radius: var(--universal-border-radius); margin: calc(var(--universal-margin) / 4); padding: var(--universal-padding); } @@ -671,7 +670,7 @@ legend { display: table; max-width: 100%; white-space: normal; - font-weight: 700; + font-weight: 500; padding: calc(var(--universal-padding) / 2); } label { @@ -716,7 +715,7 @@ input:not([type]), [type="text"], [type="email"], [type="number"], [type="search box-sizing: border-box; background: var(--input-back-color); color: var(--input-fore-color); - border: 0.0625rem solid var(--input-border-color); + border: 0.0714285714rem solid var(--input-border-color); border-radius: var(--universal-border-radius); margin: calc(var(--universal-margin) / 2); padding: var(--universal-padding) calc(1.5 * var(--universal-padding)); } @@ -763,8 +762,8 @@ option { [type="radio"]:checked:before { border-radius: 100%; content: ''; - top: calc(0.0625rem + var(--universal-padding) / 2); - left: calc(0.0625rem + var(--universal-padding) / 2); + top: calc(0.0714285714rem + var(--universal-padding) / 2); + left: calc(0.0714285714rem + var(--universal-padding) / 2); background: var(--input-fore-color); width: 0.5rem; height: 0.5rem; } @@ -793,7 +792,7 @@ a[role="button"], label[role="button"], [role="button"] { display: inline-block; background: var(--button-back-color); color: var(--button-fore-color); - border: 0.0625rem solid var(--button-border-color); + border: 0.0714285714rem solid var(--button-border-color); border-radius: var(--universal-border-radius); padding: var(--universal-padding) calc(1.5 * var(--universal-padding)); margin: var(--universal-margin); @@ -814,7 +813,7 @@ input:disabled, input[disabled], textarea:disabled, textarea[disabled], select:d .button-group { display: flex; - border: 0.0625rem solid var(--button-group-border-color); + border: 0.0714285714rem solid var(--button-group-border-color); border-radius: var(--universal-border-radius); margin: var(--universal-margin); } .button-group > button, .button-group [type="button"], .button-group > [type="submit"], .button-group > [type="reset"], .button-group > .button, .button-group > [role="button"] { @@ -826,13 +825,13 @@ input:disabled, input[disabled], textarea:disabled, textarea[disabled], select:d border-radius: 0; box-shadow: none; } .button-group > :not(:first-child) { - border-left: 0.0625rem solid var(--button-group-border-color); } + border-left: 0.0714285714rem solid var(--button-group-border-color); } @media screen and (max-width: 499px) { .button-group { flex-direction: column; } .button-group > :not(:first-child) { border: 0; - border-top: 0.0625rem solid var(--button-group-border-color); } } + border-top: 0.0714285714rem solid var(--button-group-border-color); } } /* Custom elements for forms and input elements. @@ -874,29 +873,29 @@ button.large, [type="button"].large, [type="submit"].large, [type="reset"].large */ /* Navigation module CSS variable definitions */ :root { - --header-back-color: #f8f8f8; - --header-hover-back-color: #f0f0f0; - --header-fore-color: #444; - --header-border-color: #ddd; - --nav-back-color: #f8f8f8; - --nav-hover-back-color: #f0f0f0; - --nav-fore-color: #444; - --nav-border-color: #ddd; - --nav-link-color: #0277bd; - --footer-fore-color: #444; - --footer-back-color: #f8f8f8; - --footer-border-color: #ddd; - --footer-link-color: #0277bd; - --drawer-back-color: #f8f8f8; - --drawer-hover-back-color: #f0f0f0; - --drawer-border-color: #ddd; - --drawer-close-color: #444; } + --header-back-color: #03234b; + --header-hover-back-color: #ffd200; + --header-fore-color: #ffffff; + --header-border-color: #3cb4e6; + --nav-back-color: #ffffff; + --nav-hover-back-color: #ffe97f; + --nav-fore-color: #e6007e; + --nav-border-color: #3cb4e6; + --nav-link-color: #3cb4e6; + --footer-fore-color: #ffffff; + --footer-back-color: #03234b; + --footer-border-color: #3cb4e6; + --footer-link-color: #3cb4e6; + --drawer-back-color: #ffffff; + --drawer-hover-back-color: #ffe97f; + --drawer-border-color: #3cb4e6; + --drawer-close-color: #e6007e; } header { - height: 3.1875rem; + height: 2.75rem; background: var(--header-back-color); color: var(--header-fore-color); - border-bottom: 0.0625rem solid var(--header-border-color); + border-bottom: 0.0714285714rem solid var(--header-border-color); padding: calc(var(--universal-padding) / 4) 0; white-space: nowrap; overflow-x: auto; @@ -927,7 +926,7 @@ header { nav { background: var(--nav-back-color); color: var(--nav-fore-color); - border: 0.0625rem solid var(--nav-border-color); + border: 0.0714285714rem solid var(--nav-border-color); border-radius: var(--universal-border-radius); margin: var(--universal-margin); } nav * { @@ -946,10 +945,10 @@ nav { nav .sublink-1:before { position: absolute; left: calc(var(--universal-padding) - 1 * var(--universal-padding)); - top: -0.0625rem; + top: -0.0714285714rem; content: ''; height: 100%; - border: 0.0625rem solid var(--nav-border-color); + border: 0.0714285714rem solid var(--nav-border-color); border-left: 0; } nav .sublink-2 { position: relative; @@ -957,16 +956,16 @@ nav { nav .sublink-2:before { position: absolute; left: calc(var(--universal-padding) - 3 * var(--universal-padding)); - top: -0.0625rem; + top: -0.0714285714rem; content: ''; height: 100%; - border: 0.0625rem solid var(--nav-border-color); + border: 0.0714285714rem solid var(--nav-border-color); border-left: 0; } footer { background: var(--footer-back-color); color: var(--footer-fore-color); - border-top: 0.0625rem solid var(--footer-border-color); + border-top: 0.0714285714rem solid var(--footer-border-color); padding: calc(2 * var(--universal-padding)) var(--universal-padding); font-size: 0.875rem; } footer a, footer a:visited { @@ -1013,7 +1012,7 @@ footer.sticky { height: 100vh; overflow-y: auto; background: var(--drawer-back-color); - border: 0.0625rem solid var(--drawer-border-color); + border: 0.0714285714rem solid var(--drawer-border-color); border-radius: 0; margin: 0; z-index: 1110; @@ -1060,38 +1059,36 @@ footer.sticky { */ /* Table module CSS variable definitions. */ :root { - --table-border-color: #aaa; - --table-border-separator-color: #666; - --table-head-back-color: #e6e6e6; - --table-head-fore-color: #111; - --table-body-back-color: #f8f8f8; - --table-body-fore-color: #111; - --table-body-alt-back-color: #eee; } + --table-border-color: #03234b; + --table-border-separator-color: #03234b; + --table-head-back-color: #03234b; + --table-head-fore-color: #ffffff; + --table-body-back-color: #ffffff; + --table-body-fore-color: #03234b; + --table-body-alt-back-color: #f4f4f4; } table { border-collapse: separate; border-spacing: 0; - : margin: calc(1.5 * var(--universal-margin)) var(--universal-margin); + margin: 0; display: flex; flex: 0 1 auto; flex-flow: row wrap; padding: var(--universal-padding); - padding-top: 0; - margin: calc(1.5 * var(--universal-margin)) var(--universal-margin); } + padding-top: 0; } table caption { - font-size: 1.25 * rem; + font-size: 1rem; margin: calc(2 * var(--universal-margin)) 0; max-width: 100%; - flex: 0 0 100%; - text-align: left;} + flex: 0 0 100%; } table thead, table tbody { display: flex; flex-flow: row wrap; - border: 0.0625rem solid var(--table-border-color); } + border: 0.0714285714rem solid var(--table-border-color); } table thead { z-index: 999; border-radius: var(--universal-border-radius) var(--universal-border-radius) 0 0; - border-bottom: 0.0625rem solid var(--table-border-separator-color); } + border-bottom: 0.0714285714rem solid var(--table-border-separator-color); } table tbody { border-top: 0; margin-top: calc(0 - var(--universal-margin)); @@ -1109,11 +1106,11 @@ table { table td { background: var(--table-body-back-color); color: var(--table-body-fore-color); - border-top: 0.0625rem solid var(--table-border-color); } + border-top: 0.0714285714rem solid var(--table-border-color); } table:not(.horizontal) { overflow: auto; - max-height: 850px; } + max-height: 100%; } table:not(.horizontal) thead, table:not(.horizontal) tbody { max-width: 100%; flex: 0 0 100%; } @@ -1134,32 +1131,33 @@ table.horizontal { border: 0; } table.horizontal thead, table.horizontal tbody { border: 0; + flex: .2 0 0; flex-flow: row nowrap; } table.horizontal tbody { overflow: auto; justify-content: space-between; - flex: 1 0 0; - margin-left: calc( 4 * var(--universal-margin)); + flex: .8 0 0; + margin-left: 0; padding-bottom: calc(var(--universal-padding) / 4); } table.horizontal tr { flex-direction: column; flex: 1 0 auto; } table.horizontal th, table.horizontal td { - width: 100%; + width: auto; border: 0; - border-bottom: 0.0625rem solid var(--table-border-color); } + border-bottom: 0.0714285714rem solid var(--table-border-color); } table.horizontal th:not(:first-child), table.horizontal td:not(:first-child) { border-top: 0; } table.horizontal th { text-align: right; - border-left: 0.0625rem solid var(--table-border-color); - border-right: 0.0625rem solid var(--table-border-separator-color); } + border-left: 0.0714285714rem solid var(--table-border-color); + border-right: 0.0714285714rem solid var(--table-border-separator-color); } table.horizontal thead tr:first-child { padding-left: 0; } table.horizontal th:first-child, table.horizontal td:first-child { - border-top: 0.0625rem solid var(--table-border-color); } + border-top: 0.0714285714rem solid var(--table-border-color); } table.horizontal tbody tr:last-child td { - border-right: 0.0625rem solid var(--table-border-color); } + border-right: 0.0714285714rem solid var(--table-border-color); } table.horizontal tbody tr:last-child td:first-child { border-top-right-radius: 0.25rem; } table.horizontal tbody tr:last-child td:last-child { @@ -1191,12 +1189,12 @@ table.horizontal { display: table-row-group; } table tr, table.horizontal tr { display: block; - border: 0.0625rem solid var(--table-border-color); + border: 0.0714285714rem solid var(--table-border-color); border-radius: var(--universal-border-radius); - background: #fafafa; + background: #ffffff; padding: var(--universal-padding); margin: var(--universal-margin); - margin-bottom: calc(2 * var(--universal-margin)); } + margin-bottom: calc(1 * var(--universal-margin)); } table th, table td, table.horizontal th, table.horizontal td { width: auto; } table td, table.horizontal td { @@ -1211,9 +1209,6 @@ table.horizontal { border-top: 0; } table tbody tr:last-child td, table.horizontal tbody tr:last-child td { border-right: 0; } } -:root { - --table-body-alt-back-color: #eee; } - table tr:nth-of-type(2n) > td { background: var(--table-body-alt-back-color); } @@ -1234,8 +1229,8 @@ table.hoverable tr:hover, table.hoverable tr:hover > td, table.hoverable tr:focu */ /* Contextual module CSS variable definitions */ :root { - --mark-back-color: #0277bd; - --mark-fore-color: #fafafa; } + --mark-back-color: #3cb4e6; + --mark-fore-color: #ffffff; } mark { background: var(--mark-back-color); @@ -1243,11 +1238,11 @@ mark { font-size: 0.95em; line-height: 1em; border-radius: var(--universal-border-radius); - padding: calc(var(--universal-padding) / 4) calc(var(--universal-padding) / 2); } + padding: calc(var(--universal-padding) / 4) var(--universal-padding); } mark.inline-block { display: inline-block; font-size: 1em; - line-height: 1.5; + line-height: 1.4; padding: calc(var(--universal-padding) / 2) var(--universal-padding); } :root { @@ -1314,8 +1309,8 @@ mark { :root { --modal-overlay-color: rgba(0, 0, 0, 0.45); - --modal-close-color: #444; - --modal-close-hover-color: #f0f0f0; } + --modal-close-color: #e6007e; + --modal-close-hover-color: #ffe97f; } [type="checkbox"].modal { height: 1px; @@ -1368,13 +1363,14 @@ mark { z-index: 1211; } :root { - --collapse-label-back-color: #e8e8e8; - --collapse-label-fore-color: #212121; - --collapse-label-hover-back-color: #f0f0f0; - --collapse-selected-label-back-color: #ececec; - --collapse-border-color: #ddd; - --collapse-content-back-color: #fafafa; - --collapse-selected-label-border-color: #0277bd; } + --collapse-label-back-color: #03234b; + --collapse-label-fore-color: #ffffff; + --collapse-label-hover-back-color: #3cb4e6; + --collapse-selected-label-back-color: #3cb4e6; + --collapse-border-color: var(--collapse-label-back-color); + --collapse-selected-border-color: #ceecf8; + --collapse-content-back-color: #ffffff; + --collapse-selected-label-border-color: #3cb4e6; } .collapse { width: calc(100% - 2 * var(--universal-margin)); @@ -1395,13 +1391,13 @@ mark { .collapse > label { flex-grow: 1; display: inline-block; - height: 1.5rem; + height: 1.25rem; cursor: pointer; - transition: background 0.3s; + transition: background 0.2s; color: var(--collapse-label-fore-color); background: var(--collapse-label-back-color); - border: 0.0625rem solid var(--collapse-border-color); - padding: calc(1.5 * var(--universal-padding)); } + border: 0.0714285714rem solid var(--collapse-selected-border-color); + padding: calc(1.25 * var(--universal-padding)); } .collapse > label:hover, .collapse > label:focus { background: var(--collapse-label-hover-back-color); } .collapse > label + div { @@ -1418,7 +1414,7 @@ mark { max-height: 1px; } .collapse > :checked + label { background: var(--collapse-selected-label-back-color); - border-bottom-color: var(--collapse-selected-label-border-color); } + border-color: var(--collapse-selected-label-border-color); } .collapse > :checked + label + div { box-sizing: border-box; position: relative; @@ -1427,13 +1423,13 @@ mark { overflow: auto; margin: 0; background: var(--collapse-content-back-color); - border: 0.0625rem solid var(--collapse-border-color); + border: 0.0714285714rem solid var(--collapse-selected-border-color); border-top: 0; padding: var(--universal-padding); clip: auto; -webkit-clip-path: inset(0%); clip-path: inset(0%); - max-height: 850px; } + max-height: 100%; } .collapse > label:not(:first-of-type) { border-top: 0; } .collapse > label:first-of-type { @@ -1450,11 +1446,8 @@ mark { /* Custom elements for contextual background elements, toasts and tooltips. */ -mark.secondary { - --mark-back-color: #d32f2f; } - mark.tertiary { - --mark-back-color: #308732; } + --mark-back-color: #3cb4e6; } mark.tag { padding: calc(var(--universal-padding)/2) var(--universal-padding); @@ -1463,9 +1456,9 @@ mark.tag { /* Definitions for progress elements and spinners. */ -/* Progess module CSS variable definitions */ +/* Progress module CSS variable definitions */ :root { - --progress-back-color: #ddd; + --progress-back-color: #3cb4e6; --progress-fore-color: #555; } progress { @@ -1558,45 +1551,45 @@ span[class^='icon-'] { filter: invert(100%); } span.icon-alert { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12' y2='16'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12' y2='16'%3E%3C/line%3E%3C/svg%3E"); } span.icon-bookmark { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E"); } span.icon-calendar { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); } span.icon-credit { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='1' y1='10' x2='23' y2='10'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='1' y1='10' x2='23' y2='10'%3E%3C/line%3E%3C/svg%3E"); } span.icon-edit { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34'%3E%3C/path%3E%3Cpolygon points='18 2 22 6 12 16 8 16 8 12 18 2'%3E%3C/polygon%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34'%3E%3C/path%3E%3Cpolygon points='18 2 22 6 12 16 8 16 8 12 18 2'%3E%3C/polygon%3E%3C/svg%3E"); } span.icon-link { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E"); } span.icon-help { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='17' x2='12' y2='17'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='17' x2='12' y2='17'%3E%3C/line%3E%3C/svg%3E"); } span.icon-home { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E"); } span.icon-info { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12' y2='8'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12' y2='8'%3E%3C/line%3E%3C/svg%3E"); } span.icon-lock { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E"); } span.icon-mail { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E"); } span.icon-location { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E"); } span.icon-phone { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E"); } span.icon-rss { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11a9 9 0 0 1 9 9'%3E%3C/path%3E%3Cpath d='M4 4a16 16 0 0 1 16 16'%3E%3C/path%3E%3Ccircle cx='5' cy='19' r='1'%3E%3C/circle%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11a9 9 0 0 1 9 9'%3E%3C/path%3E%3Cpath d='M4 4a16 16 0 0 1 16 16'%3E%3C/path%3E%3Ccircle cx='5' cy='19' r='1'%3E%3C/circle%3E%3C/svg%3E"); } span.icon-search { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); } span.icon-settings { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'%3E%3C/path%3E%3C/svg%3E"); } span.icon-share { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'%3E%3C/circle%3E%3Ccircle cx='6' cy='12' r='3'%3E%3C/circle%3E%3Ccircle cx='18' cy='19' r='3'%3E%3C/circle%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'%3E%3C/line%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'%3E%3C/circle%3E%3Ccircle cx='6' cy='12' r='3'%3E%3C/circle%3E%3Ccircle cx='18' cy='19' r='3'%3E%3C/circle%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'%3E%3C/line%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'%3E%3C/line%3E%3C/svg%3E"); } span.icon-cart { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E"); } span.icon-upload { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='17 8 12 3 7 8'%3E%3C/polyline%3E%3Cline x1='12' y1='3' x2='12' y2='15'%3E%3C/line%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='17 8 12 3 7 8'%3E%3C/polyline%3E%3Cline x1='12' y1='3' x2='12' y2='15'%3E%3C/line%3E%3C/svg%3E"); } span.icon-user { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E"); } + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E"); } /* Definitions for utilities and helper classes. @@ -1604,7 +1597,7 @@ span.icon-user { /* Utility module CSS variable definitions */ :root { --generic-border-color: rgba(0, 0, 0, 0.3); - --generic-box-shadow: 0 0.25rem 0.25rem 0 rgba(0, 0, 0, 0.125), 0 0.125rem 0.125rem -0.125rem rgba(0, 0, 0, 0.25); } + --generic-box-shadow: 0 0.2857142857rem 0.2857142857rem 0 rgba(0, 0, 0, 0.125), 0 0.1428571429rem 0.1428571429rem -0.1428571429rem rgba(0, 0, 0, 0.125); } .hidden { display: none !important; } @@ -1622,7 +1615,7 @@ span.icon-user { overflow: hidden !important; } .bordered { - border: 0.0625rem solid var(--generic-border-color) !important; } + border: 0.0714285714rem solid var(--generic-border-color) !important; } .rounded { border-radius: var(--universal-border-radius) !important; } @@ -1697,4 +1690,14 @@ span.icon-user { clip-path: inset(100%) !important; overflow: hidden !important; } } -/*# sourceMappingURL=mini-default.css.map */ +/*# sourceMappingURL=mini-custom.css.map */ + +img[alt="ST logo"] { display: block; margin: auto; width: 75%; max-width: 250px; min-width: 71px; } +img[alt="Cube logo"] { float: right; width: 30%; max-width: 10rem; min-width: 8rem; padding-right: 1rem;} + +.figure { + display: block; + margin-left: auto; + margin-right: auto; + text-align: center; +} \ No newline at end of file diff --git a/Drivers/BSP/STM32VL-Discovery/_htmresc/st_logo_2020.png b/Drivers/BSP/STM32VL-Discovery/_htmresc/st_logo_2020.png new file mode 100644 index 0000000000000000000000000000000000000000..d6cebb5ac70e0594cbe37a6b60036a80ef3bed37 GIT binary patch literal 7520 zcmcI|WmKC@*KTl!K!Z~t6qn*&DDF_CK%q#B6QmH_DHL}I6b%;K-J$eBN|2xh0+bea zmtyV5bG|?CpZBcu=iF<}z4q*xz1LhL*PcBwx;m;Pgmi=e0DweYO-UaBz)*UWZ}4#+ zCC-V!SC16}H#HLv0Dy?%--0o{5_}H;Jf%=ql7H=+dziOk_)KzUSaiQ9L<^g!49k}} z?4y$V zrsn3Ul^TY`00G_J_8;F7Sr5c3Y)f-yOYl{fS0avfKJg7R%r!y-ohcBkr6XBZBkE)( z_t+tVV2}G1_CN!)yWes*wa-AGwk31N_T1`)4COlfz+o(9S90e?6jHV4)!>`j+oRqp z)gb?rtSdw<#&c?q!OKB+Ncn!kr5JR2EYan8HAPXBw*Oh-F(6GmaC!`$p7fl!_Cdu> z5@PUMR_K5&jgevDepWqepZVdMHR$q>ga=7k0ltW$HHVn>HRa!#(+BW_jN$5rx^MtR zzWT7tNWQeFzEp+86jOYI=I)*GZYEiXlf-Mw%tJ^ptL%2)%#PmUjxC4wx@%KxQ)8kO?|7E1 zd@5gd9_$*6nx?fj*iF_EJT*PYLFP}d8*Fw>cu3@&nm%V_C}V7HMmg|Nl#1J1^#)uz zZag|X>{6j-myvL}3(H8o3resNBq_jcuJuyT!QuXnNN&zG^tG? z>y*dy1#XfwyCE#UiLT(~LYAVwp)epErJLsHBA|l0xo)kxLAPob+7tFlr{7x8(#v|O zknK}QC6|~=cTJ0;x9MWMKua;LdTKIHX>35a@7{5y0MQ|zqsP64mM~`gJ&&R{pSUBA zf3Y>k>d|xdzBFztjtO~{y%@LUdwSgzEj=69hH3-NNWx7<|49%2%lvTEeE3_|$~iDd zlktnxf|NB>Bui)yY;%TXgWA;rhODxR!-4GzxKd473I)3;j zS4-Vun<^vqZ4)HbwVzq%5%)S!>Q(Y&PkF ze1ab_oy?_$PZT-mKJ3K^;6MrB*Wc$lkYJ_460AFYEq{AjlDxm;5GRwOsm>doJy3Z;a$FSu-q`X)Hw&o~?_`Dnpx4dOj6#)bGOdZbj4hD`l|&#v~K+WrGO zpLCVQg=*h=4H1sK)D*Pxtb#p`c+g-eK65k!CEZjLIrfm}5<4@KVqZ#8(S$vs{?Xv) zN(}CKeeLR%I)W!p(l-`utKmBbJk-On{)ciqUN5%?TS8uwKU(8}Mxhsb&qHL~DDcB@qi} z4z%efV#K69a#lShPt5}*7ME@^xunFR{k;|qp z`_Hgdj_Qle?%Ydlr3f^SdRkUncIj7qTiu85tA$v`#419Nlof8tjqUjO z!Rwyq$Krfh`(@MiE+)yie&jU^crprYV&?zN!2b33S2qtW+zB$nahDhVZiQ12bmcwYBcT8KS>v`jsuI@X zy^k^7>TM5Ndp@}pSl6vmkk*u`@C`z(gq||K2>y=Y#w1i`Nk2zAP7{_^ACq;bQmT<4 z;b~K3=?mhZX#~jQnZjdU={NFp^HRr~;^PXQ*UIHzkq}Xsn!56*ZCOOEt|^ zawUwGqs;zCEGKTz&(a(@h#0sCE+@`3Y<&}9!(;Pw&`C+d#D?`##&!@*ERaH0fksrh zfk2svh3!d~h{SC6BNKN2j6(lzC>S^_*eh{@gR zP$rV4$nqV1y|zYpd;nQr-`Vlp(5sQXx9AibC?xc7pUV)v2cWfHu3{KLbfP;;;`I&)mWqLcXt6s+5fps9R?K>hGR$5;=( zo#;zzQ5!w+(99p1_gh^?F#$tpMd+4%G|K`XG_#@A>30WD2L9!0a>wRASg`M?^z#)| zifb$d^KUD&3qLsr-@}r_7p${gdmRqhy819bj?yI-v({I?0o3_8d>CZmCzqH4{{QtD z|6dvgm<^~668G`6wLw4C4y-o9E9ZG3RiH^&;rrKSBT@bMR+!TlYo*9P;?Z>xORMV3ndQp9EyNn!!~j&x&$gDVke|t#!{QoegHm+sT7cSjwSu z)jZlx1pHrrx0&YCZWJ4xC&U%r_IwfJOxnYqYMcZn&_hgnKuls z>(Y$qjIhcweo^A_VVq_#UR&urF%UbI^><5L5zbV9owMQviM*_{@i|dke!!v8a_yG! zl%#ay{(6U_N3-)yeif3tx6>aQSf1r zO~OuNW<8a~bi6Xby0@tKw0@f1R!@+3S2nf#F&j~l0mrNCtjoZdPYob?g!Vx4F-uA2 z4uS>8eR?dA9i>C|cm-m5lO0m@$f(DB6Z<9Pe07xR`l4$ks3eZ@v5}1?^YNQy-tB(` zgUNZrGVf#b~`}jew;MQG1O~VDk_i*<)p9DfFfd;vLy4QZT zMYh|DxJg3-!{szUN*uo&`&DUkzq4qG2`Lj;Ar46DYUymcviS{Unhzmx z=LwZ-Lr{t1z?9Oip%!z{j+Z%_@u?C78I`V4fC`icG1c|2;`EoLK$ z)9|wrAV&V1Vgts~tQCw0X?X{74W"NJQ zW3BP!5c~4zzHJScwQK9L_%m%L`*q{1aW_3rObki~B~=Dwp`;@w`>xZ6;L_6oR^ecEcmup`yb}lgsmv zQByrxc)Qqm(Hwmq%fLjqcrJ5QR?z_*vb~Iy~RXUY8u-D8AqTzetwNNA8~N z$j&1>#IrkSslUqXW|l}q_TlTVKAjRI@~7(GLf4M>GM!3u_)y6ORe6BQUmrQ16%OdZKo(?AYXK$u@=)TPUi1EZaLBu zuEB(5GX2vcoHS%zMUW!DZ)&xRo@mhouk|hMgHIG>cO-Ah(0AMNlq@?cPpy==-!#qR zBov7l3G?P*KM(vU;Apo-(-Bw;sdQJkh~r)W$KRQKd!#(A8M34^MhD10Ra={AqSvjy z3>PkgA}f^@Rg1$dX=jaEB_V%_vn(W<111_s!g>CYrcwJTJ63Eeg6{_C`aMQIgKctR zHMjkr+y6gK!v6=6;CGl#?PqmiX`A@dmmvZ}-X$*q8}G(xq|voo`=$YZuQAa8f9ApK z1VQiEUQC=OO{|Nc8ZrXH208X|XCzIRO?+Nb55Jt@va9hqBpv)uY6ma-csvSlJoJOC zK;w~s?#r)K@gm*;((JsWHU-KvFTF)q>AzwPq)I+}OrSpxh!-CM1VEMfw1fpfVL7p{ z)I$rNp5kPYDsvXL>8nV{#0fa*lm`Z;0Z=c^1qveY2uk&7nhMRl`0EsvUuvwdF&o)PCVN3wmFBPegWzooF6y~b} zY>X2;LO~&rbvx59?(4^aR+s1C6hI4r&x9Q9jL9);KZEw_x%TWZXaMzK6|2XG9$IU% zkEq}t^YOaa4s`%7F31X-#SfMgNp+4R=g2G|O^W)6^2fEsmkTTaVhKCip+3qWuN8?y zaSD_k6%-@Ifhm`z02=ZWA-pi5`A=7ztHWpP2K5rCW{>!wIUOYrH``#bz>qVSH76=8 zyJ!sNBxt;dMTn}yzUTCq1!w;N7pzb?WJrQ50W+`meL{k8i0VhFsPUz(07k`l` zg1Ifl1fc-^p^MQCpK~Jk&L!*mWfNA!&MSu`sPmti>K-;I5Dk00nB3vOl4!JwjEx^X zWQsIp2Ea_>`9f@%zGl4i3FAO9=e$2^b_>_I*dqiLJ=@TejStM?^yX$9dW`#ha)PEF zPr0zUJX!j-juYK*olG_9axQniXhF|E}oSTG_S)FZ3sN4T@q zy{l;!{UGc};YVaT97tx3s7P$WsW2^*I+Hy;vqndG!9S?tZtDIRif1=bBsqtW-n7$O zWy}Z%jKSkgLX#1p>|#4l-!$c+kA`++Ixv(Rm`;Ilb3q3tD|QjaPQ8)BJ=8R*15?nL zJR{yuqOG&!JrSZ${#NY#b!k)yDajQ$A}fUQhe7ueN6h2Pj3wY5eo|7$PaJD zM69(ee1qlSyLn)Ln6)o53Lj)elqG}gb^c}qd(q&$8B5N%nSvEjUIoEXO^obv=A7QGZzNzjO*H=*b2!86Wnqdy~8ePkq@1D1)Q^O)JG;fUCV z`rgD}dJ{7BUyBbgoTL91w^q-CfBpDr?0R38`L%p9&Q#%r*@=9p-Ioqy+WscLq?jq5 zfyYNkxr7w)-(!c85mt!FjNJ4UE6P8p8sc#Kb4L1N3!yaCo9@t3n8s}K)1!w8x77xU zo-NY3SR*Pgt#~7F;y^J&Y%z^+C9wu;hN|TC7dqSHOB&kE)Q)6Ad(l&+tA@$@w0bhJ z6xc6EJ6nm{=|V7Vo&qcXc4i)D?X0Uk$p7~iI#ci?#fxvM z78`u%m5S@^_F;_foidufzP z&ueh-zU1yM&8~0lmOfkio-gBex`)?hCJcI8Jv*R0c|WUqSq z?RU?Rmm=3t_2C%%UW9c*D%T{T{EjryCKnsz9-*Bs0}M*xS&-odhCK5eS_Eqi&c6J4o|f&;uUT=p7Fedw#EUl4%Jv{w zq-cCF^otBvw~~$yj6O>>;VqU)3Ml&Atm$B(Ht8=+&x2VS5aWD&t*+04{@k^Gn~yHY zWYC%@ld;g_qz=k*;Iv&xs5M85cEZCU&n2Baf>R6*bN>V|!)eF&l#C93eAMLD=ZF7= zOISFfB5P;F!ngWD3jfMJE_53F&dFc{h2TwSbT*(h6!c}_5_UFeB_*DiyCrtQ7Byr@ z-aCWVt?J}YP7-lfelbrCgZ5mdv(^W&Yf^OvpI}#NbS1Lc`r4&t#3kM!utm&#a;?GR z-1FusfX7&?a9h`%8wf-ub7UXp44xm4w04)S$}}_hPqn-#IabO^bo6$K07>?%G5Xs( zA$*lz_K>lAJ_o<;fsP-*-%~O(716KRqVq+X@=5J~Z~bba(yWL`;EN`@Mr2it&Lkgb z&I|R5!`ZSk%)xFX*FYDaAh=5qWSY@rx1Du9J$$=lh#!~NcFJM&aOv)eqg_@`i^zJCR9a%_{k_i%msw5q z*3!~#Xx3r|VaAwiG}~9M#c`=$Uk6~xe)47ymW+;0DD_lV67L#ouJBa7mF{)X^?eIvPdOMu4ksr`jUP$~{x@?ev2 zdX#ite2RMim01PEg`;qfwg^;v8nx9F!CtNCvz)V{PVgCs*;_@_Rk*oLx@f7hJ7^^1 zu66b)mb!ZMXLZ%8dj-+JCMoWS-Wji-Q-~U7Pt~UiXMej8JcNjk<6?Wk9eLBIhu&Vo^0;AH> z;Q5^a!NZhP(vDfBv&?jdnQavv#8N0E{ZEgs>|1)qYo^t5 zIV$g~`C2%g$*(z4)8hJlK2mF-MJW#3%Cs6`uAvsgRtTo8n!Et)1pZx@_9I18 zw7ER9v~DyrC*R$do9aEw5r@B)YzHOLB^-c9Eu9D!sFmI8^VljVKE89{zY_8PTSF+J b^}%0^qYmp2WD(pA|JtZ4>nPPKybJpu3@X?! literal 0 HcmV?d00001 diff --git a/Drivers/BSP/STM32VL-Discovery/stm32vl_discovery.c b/Drivers/BSP/STM32VL-Discovery/stm32vl_discovery.c index 7808d8a..8bb5497 100644 --- a/Drivers/BSP/STM32VL-Discovery/stm32vl_discovery.c +++ b/Drivers/BSP/STM32VL-Discovery/stm32vl_discovery.c @@ -10,29 +10,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2015 STMicroelectronics

+ * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -58,7 +41,7 @@ */ #define __STM32VL_DISCO_BSP_VERSION_MAIN (0x01) /*!< [31:24] main version */ #define __STM32VL_DISCO_BSP_VERSION_SUB1 (0x00) /*!< [23:16] sub1 version */ -#define __STM32VL_DISCO_BSP_VERSION_SUB2 (0x02) /*!< [15:8] sub2 version */ +#define __STM32VL_DISCO_BSP_VERSION_SUB2 (0x03) /*!< [15:8] sub2 version */ #define __STM32VL_DISCO_BSP_VERSION_RC (0x00) /*!< [7:0] release candidate */ #define __STM32VL_DISCO_BSP_VERSION ((__STM32VL_DISCO_BSP_VERSION_MAIN << 24)\ |(__STM32VL_DISCO_BSP_VERSION_SUB1 << 16)\ @@ -222,6 +205,5 @@ uint32_t BSP_PB_GetState(Button_TypeDef Button) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/BSP/STM32VL-Discovery/stm32vl_discovery.h b/Drivers/BSP/STM32VL-Discovery/stm32vl_discovery.h index fe8e8b0..cb5fa0f 100644 --- a/Drivers/BSP/STM32VL-Discovery/stm32vl_discovery.h +++ b/Drivers/BSP/STM32VL-Discovery/stm32vl_discovery.h @@ -8,29 +8,12 @@ ****************************************************************************** * @attention * - *

© COPYRIGHT(c) 2015 STMicroelectronics

+ * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -166,4 +149,3 @@ uint32_t BSP_PB_GetState(Button_TypeDef Button); #endif #endif /* __STM32VL_DISCOVERY_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f100xb.h b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f100xb.h index e98e4c4..f3da55c 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f100xb.h +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f100xb.h @@ -9,18 +9,17 @@ * This file contains: * - Data structures and the address mapping for all peripherals * - Peripheral's registers declarations and bits definition - * - Macros to access peripheral’s registers hardware + * - Macros to access peripheral's registers hardware * ****************************************************************************** * @attention * - *

© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1350,7 +1349,7 @@ typedef struct #define RCC_BDCR_RTCSEL_0 (0x1UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000100 */ #define RCC_BDCR_RTCSEL_1 (0x2UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000200 */ -/*!< RTC congiguration */ +/*!< RTC configuration */ #define RCC_BDCR_RTCSEL_NOCLOCK 0x00000000U /*!< No clock */ #define RCC_BDCR_RTCSEL_LSE 0x00000100U /*!< LSE oscillator clock used as RTC clock */ #define RCC_BDCR_RTCSEL_LSI 0x00000200U /*!< LSI oscillator clock used as RTC clock */ @@ -3380,7 +3379,7 @@ typedef struct #define ADC_CR2_DMA ADC_CR2_DMA_Msk /*!< ADC DMA transfer enable */ #define ADC_CR2_ALIGN_Pos (11U) #define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */ -#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignement */ +#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignment */ #define ADC_CR2_JEXTSEL_Pos (12U) #define ADC_CR2_JEXTSEL_Msk (0x7UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00007000 */ @@ -5927,14 +5926,14 @@ typedef struct #define USBWakeUp_IRQn CEC_IRQn #define OTG_FS_WKUP_IRQn CEC_IRQn #define TIM1_BRK_TIM9_IRQn TIM1_BRK_TIM15_IRQn -#define TIM1_BRK_IRQn TIM1_BRK_TIM15_IRQn #define TIM9_IRQn TIM1_BRK_TIM15_IRQn -#define TIM1_TRG_COM_IRQn TIM1_TRG_COM_TIM17_IRQn +#define TIM1_BRK_IRQn TIM1_BRK_TIM15_IRQn #define TIM11_IRQn TIM1_TRG_COM_TIM17_IRQn +#define TIM1_TRG_COM_IRQn TIM1_TRG_COM_TIM17_IRQn #define TIM1_TRG_COM_TIM11_IRQn TIM1_TRG_COM_TIM17_IRQn #define TIM1_UP_IRQn TIM1_UP_TIM16_IRQn -#define TIM1_UP_TIM10_IRQn TIM1_UP_TIM16_IRQn #define TIM10_IRQn TIM1_UP_TIM16_IRQn +#define TIM1_UP_TIM10_IRQn TIM1_UP_TIM16_IRQn #define TIM6_IRQn TIM6_DAC_IRQn @@ -5943,14 +5942,14 @@ typedef struct #define USBWakeUp_IRQHandler CEC_IRQHandler #define OTG_FS_WKUP_IRQHandler CEC_IRQHandler #define TIM1_BRK_TIM9_IRQHandler TIM1_BRK_TIM15_IRQHandler -#define TIM1_BRK_IRQHandler TIM1_BRK_TIM15_IRQHandler #define TIM9_IRQHandler TIM1_BRK_TIM15_IRQHandler -#define TIM1_TRG_COM_IRQHandler TIM1_TRG_COM_TIM17_IRQHandler +#define TIM1_BRK_IRQHandler TIM1_BRK_TIM15_IRQHandler #define TIM11_IRQHandler TIM1_TRG_COM_TIM17_IRQHandler +#define TIM1_TRG_COM_IRQHandler TIM1_TRG_COM_TIM17_IRQHandler #define TIM1_TRG_COM_TIM11_IRQHandler TIM1_TRG_COM_TIM17_IRQHandler #define TIM1_UP_IRQHandler TIM1_UP_TIM16_IRQHandler -#define TIM1_UP_TIM10_IRQHandler TIM1_UP_TIM16_IRQHandler #define TIM10_IRQHandler TIM1_UP_TIM16_IRQHandler +#define TIM1_UP_TIM10_IRQHandler TIM1_UP_TIM16_IRQHandler #define TIM6_IRQHandler TIM6_DAC_IRQHandler @@ -5970,5 +5969,4 @@ typedef struct #endif /* __STM32F100xB_H */ - - /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f100xe.h b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f100xe.h index abe71ee..a8758bf 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f100xe.h +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f100xe.h @@ -9,18 +9,17 @@ * This file contains: * - Data structures and the address mapping for all peripherals * - Peripheral's registers declarations and bits definition - * - Macros to access peripheral’s registers hardware + * - Macros to access peripheral's registers hardware * ****************************************************************************** * @attention * - *

© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1679,7 +1678,7 @@ typedef struct #define RCC_BDCR_RTCSEL_0 (0x1UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000100 */ #define RCC_BDCR_RTCSEL_1 (0x2UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000200 */ -/*!< RTC congiguration */ +/*!< RTC configuration */ #define RCC_BDCR_RTCSEL_NOCLOCK 0x00000000U /*!< No clock */ #define RCC_BDCR_RTCSEL_LSE 0x00000100U /*!< LSE oscillator clock used as RTC clock */ #define RCC_BDCR_RTCSEL_LSI 0x00000200U /*!< LSI oscillator clock used as RTC clock */ @@ -3727,7 +3726,7 @@ typedef struct #define ADC_CR2_DMA ADC_CR2_DMA_Msk /*!< ADC DMA transfer enable */ #define ADC_CR2_ALIGN_Pos (11U) #define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */ -#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignement */ +#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignment */ #define ADC_CR2_JEXTSEL_Pos (12U) #define ADC_CR2_JEXTSEL_Msk (0x7UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00007000 */ @@ -6529,20 +6528,20 @@ typedef struct #define ADC1_2_IRQn ADC1_IRQn #define OTG_FS_WKUP_IRQn CEC_IRQn #define USBWakeUp_IRQn CEC_IRQn -#define TIM8_BRK_IRQn TIM12_IRQn #define TIM8_BRK_TIM12_IRQn TIM12_IRQn +#define TIM8_BRK_IRQn TIM12_IRQn #define TIM8_UP_IRQn TIM13_IRQn #define TIM8_UP_TIM13_IRQn TIM13_IRQn #define TIM8_TRG_COM_TIM14_IRQn TIM14_IRQn #define TIM8_TRG_COM_IRQn TIM14_IRQn -#define TIM9_IRQn TIM1_BRK_TIM15_IRQn #define TIM1_BRK_IRQn TIM1_BRK_TIM15_IRQn #define TIM1_BRK_TIM9_IRQn TIM1_BRK_TIM15_IRQn -#define TIM1_TRG_COM_TIM11_IRQn TIM1_TRG_COM_TIM17_IRQn +#define TIM9_IRQn TIM1_BRK_TIM15_IRQn #define TIM1_TRG_COM_IRQn TIM1_TRG_COM_TIM17_IRQn +#define TIM1_TRG_COM_TIM11_IRQn TIM1_TRG_COM_TIM17_IRQn #define TIM11_IRQn TIM1_TRG_COM_TIM17_IRQn -#define TIM10_IRQn TIM1_UP_TIM16_IRQn #define TIM1_UP_TIM10_IRQn TIM1_UP_TIM16_IRQn +#define TIM10_IRQn TIM1_UP_TIM16_IRQn #define TIM1_UP_IRQn TIM1_UP_TIM16_IRQn #define TIM6_IRQn TIM6_DAC_IRQn @@ -6551,20 +6550,20 @@ typedef struct #define ADC1_2_IRQHandler ADC1_IRQHandler #define OTG_FS_WKUP_IRQHandler CEC_IRQHandler #define USBWakeUp_IRQHandler CEC_IRQHandler -#define TIM8_BRK_IRQHandler TIM12_IRQHandler #define TIM8_BRK_TIM12_IRQHandler TIM12_IRQHandler +#define TIM8_BRK_IRQHandler TIM12_IRQHandler #define TIM8_UP_IRQHandler TIM13_IRQHandler #define TIM8_UP_TIM13_IRQHandler TIM13_IRQHandler #define TIM8_TRG_COM_TIM14_IRQHandler TIM14_IRQHandler #define TIM8_TRG_COM_IRQHandler TIM14_IRQHandler -#define TIM9_IRQHandler TIM1_BRK_TIM15_IRQHandler #define TIM1_BRK_IRQHandler TIM1_BRK_TIM15_IRQHandler #define TIM1_BRK_TIM9_IRQHandler TIM1_BRK_TIM15_IRQHandler -#define TIM1_TRG_COM_TIM11_IRQHandler TIM1_TRG_COM_TIM17_IRQHandler +#define TIM9_IRQHandler TIM1_BRK_TIM15_IRQHandler #define TIM1_TRG_COM_IRQHandler TIM1_TRG_COM_TIM17_IRQHandler +#define TIM1_TRG_COM_TIM11_IRQHandler TIM1_TRG_COM_TIM17_IRQHandler #define TIM11_IRQHandler TIM1_TRG_COM_TIM17_IRQHandler -#define TIM10_IRQHandler TIM1_UP_TIM16_IRQHandler #define TIM1_UP_TIM10_IRQHandler TIM1_UP_TIM16_IRQHandler +#define TIM10_IRQHandler TIM1_UP_TIM16_IRQHandler #define TIM1_UP_IRQHandler TIM1_UP_TIM16_IRQHandler #define TIM6_IRQHandler TIM6_DAC_IRQHandler @@ -6585,5 +6584,4 @@ typedef struct #endif /* __STM32F100xE_H */ - - /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101x6.h b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101x6.h index dd80728..83199c3 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101x6.h +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101x6.h @@ -9,18 +9,17 @@ * This file contains: * - Data structures and the address mapping for all peripherals * - Peripheral's registers declarations and bits definition - * - Macros to access peripheral’s registers hardware + * - Macros to access peripheral's registers hardware * ****************************************************************************** * @attention * - *

© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1203,7 +1202,7 @@ typedef struct #define RCC_BDCR_RTCSEL_0 (0x1UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000100 */ #define RCC_BDCR_RTCSEL_1 (0x2UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000200 */ -/*!< RTC congiguration */ +/*!< RTC configuration */ #define RCC_BDCR_RTCSEL_NOCLOCK 0x00000000U /*!< No clock */ #define RCC_BDCR_RTCSEL_LSE 0x00000100U /*!< LSE oscillator clock used as RTC clock */ #define RCC_BDCR_RTCSEL_LSI 0x00000200U /*!< LSI oscillator clock used as RTC clock */ @@ -3166,7 +3165,7 @@ typedef struct #define ADC_CR2_DMA ADC_CR2_DMA_Msk /*!< ADC DMA transfer enable */ #define ADC_CR2_ALIGN_Pos (11U) #define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */ -#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignement */ +#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignment */ #define ADC_CR2_JEXTSEL_Pos (12U) #define ADC_CR2_JEXTSEL_Msk (0x7UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00007000 */ @@ -5313,5 +5312,4 @@ typedef struct #endif /* __STM32F101x6_H */ - - /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101xb.h b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101xb.h index c9128f0..76efd09 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101xb.h +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101xb.h @@ -9,18 +9,17 @@ * This file contains: * - Data structures and the address mapping for all peripherals * - Peripheral's registers declarations and bits definition - * - Macros to access peripheral’s registers hardware + * - Macros to access peripheral's registers hardware * ****************************************************************************** * @attention * - *

© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1248,7 +1247,7 @@ typedef struct #define RCC_BDCR_RTCSEL_0 (0x1UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000100 */ #define RCC_BDCR_RTCSEL_1 (0x2UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000200 */ -/*!< RTC congiguration */ +/*!< RTC configuration */ #define RCC_BDCR_RTCSEL_NOCLOCK 0x00000000U /*!< No clock */ #define RCC_BDCR_RTCSEL_LSE 0x00000100U /*!< LSE oscillator clock used as RTC clock */ #define RCC_BDCR_RTCSEL_LSI 0x00000200U /*!< LSI oscillator clock used as RTC clock */ @@ -3228,7 +3227,7 @@ typedef struct #define ADC_CR2_DMA ADC_CR2_DMA_Msk /*!< ADC DMA transfer enable */ #define ADC_CR2_ALIGN_Pos (11U) #define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */ -#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignement */ +#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignment */ #define ADC_CR2_JEXTSEL_Pos (12U) #define ADC_CR2_JEXTSEL_Msk (0x7UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00007000 */ @@ -5444,5 +5443,4 @@ typedef struct #endif /* __STM32F101xB_H */ - - /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101xe.h b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101xe.h index 3e9c2f6..418fec7 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101xe.h +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101xe.h @@ -9,18 +9,17 @@ * This file contains: * - Data structures and the address mapping for all peripherals * - Peripheral's registers declarations and bits definition - * - Macros to access peripheral’s registers hardware + * - Macros to access peripheral's registers hardware * ****************************************************************************** * @attention * - *

© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1637,7 +1636,7 @@ typedef struct #define RCC_BDCR_RTCSEL_0 (0x1UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000100 */ #define RCC_BDCR_RTCSEL_1 (0x2UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000200 */ -/*!< RTC congiguration */ +/*!< RTC configuration */ #define RCC_BDCR_RTCSEL_NOCLOCK 0x00000000U /*!< No clock */ #define RCC_BDCR_RTCSEL_LSE 0x00000100U /*!< LSE oscillator clock used as RTC clock */ #define RCC_BDCR_RTCSEL_LSI 0x00000200U /*!< LSI oscillator clock used as RTC clock */ @@ -3623,7 +3622,7 @@ typedef struct #define ADC_CR2_DMA ADC_CR2_DMA_Msk /*!< ADC DMA transfer enable */ #define ADC_CR2_ALIGN_Pos (11U) #define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */ -#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignement */ +#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignment */ #define ADC_CR2_JEXTSEL_Pos (12U) #define ADC_CR2_JEXTSEL_Msk (0x7UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00007000 */ @@ -5293,7 +5292,7 @@ typedef struct /* */ /******************************************************************************/ /* - * @brief Specific device feature definitions (not present on all devices in the STM32F1 serie) + * @brief Specific device feature definitions (not present on all devices in the STM32F1 series) */ #define SPI_I2S_SUPPORT /*!< I2S support */ #define SPI_CRC_ERROR_WORKAROUND_FEATURE @@ -6501,5 +6500,4 @@ typedef struct #endif /* __STM32F101xE_H */ - - /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101xg.h b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101xg.h index a0bfda1..5471a61 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101xg.h +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f101xg.h @@ -9,18 +9,17 @@ * This file contains: * - Data structures and the address mapping for all peripherals * - Peripheral's registers declarations and bits definition - * - Macros to access peripheral’s registers hardware + * - Macros to access peripheral's registers hardware * ****************************************************************************** * @attention * - *

© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1698,7 +1697,7 @@ typedef struct #define RCC_BDCR_RTCSEL_0 (0x1UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000100 */ #define RCC_BDCR_RTCSEL_1 (0x2UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000200 */ -/*!< RTC congiguration */ +/*!< RTC configuration */ #define RCC_BDCR_RTCSEL_NOCLOCK 0x00000000U /*!< No clock */ #define RCC_BDCR_RTCSEL_LSE 0x00000100U /*!< LSE oscillator clock used as RTC clock */ #define RCC_BDCR_RTCSEL_LSI 0x00000200U /*!< LSI oscillator clock used as RTC clock */ @@ -3698,7 +3697,7 @@ typedef struct #define ADC_CR2_DMA ADC_CR2_DMA_Msk /*!< ADC DMA transfer enable */ #define ADC_CR2_ALIGN_Pos (11U) #define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */ -#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignement */ +#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignment */ #define ADC_CR2_JEXTSEL_Pos (12U) #define ADC_CR2_JEXTSEL_Msk (0x7UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00007000 */ @@ -5368,7 +5367,7 @@ typedef struct /* */ /******************************************************************************/ /* - * @brief Specific device feature definitions (not present on all devices in the STM32F1 serie) + * @brief Specific device feature definitions (not present on all devices in the STM32F1 series) */ #define SPI_I2S_SUPPORT /*!< I2S support */ @@ -6657,42 +6656,42 @@ typedef struct #define ADC1_2_IRQn ADC1_IRQn #define DMA2_Channel4_IRQn DMA2_Channel4_5_IRQn #define TIM1_UP_TIM16_IRQn TIM10_IRQn -#define TIM1_UP_IRQn TIM10_IRQn #define TIM1_UP_TIM10_IRQn TIM10_IRQn +#define TIM1_UP_IRQn TIM10_IRQn #define TIM1_TRG_COM_IRQn TIM11_IRQn -#define TIM1_TRG_COM_TIM17_IRQn TIM11_IRQn #define TIM1_TRG_COM_TIM11_IRQn TIM11_IRQn +#define TIM1_TRG_COM_TIM17_IRQn TIM11_IRQn #define TIM8_BRK_IRQn TIM12_IRQn #define TIM8_BRK_TIM12_IRQn TIM12_IRQn -#define TIM8_UP_TIM13_IRQn TIM13_IRQn #define TIM8_UP_IRQn TIM13_IRQn +#define TIM8_UP_TIM13_IRQn TIM13_IRQn #define TIM8_TRG_COM_IRQn TIM14_IRQn #define TIM8_TRG_COM_TIM14_IRQn TIM14_IRQn #define TIM6_DAC_IRQn TIM6_IRQn #define TIM1_BRK_TIM15_IRQn TIM9_IRQn -#define TIM1_BRK_IRQn TIM9_IRQn #define TIM1_BRK_TIM9_IRQn TIM9_IRQn +#define TIM1_BRK_IRQn TIM9_IRQn /* Aliases for __IRQHandler */ #define ADC1_2_IRQHandler ADC1_IRQHandler #define DMA2_Channel4_IRQHandler DMA2_Channel4_5_IRQHandler #define TIM1_UP_TIM16_IRQHandler TIM10_IRQHandler -#define TIM1_UP_IRQHandler TIM10_IRQHandler #define TIM1_UP_TIM10_IRQHandler TIM10_IRQHandler +#define TIM1_UP_IRQHandler TIM10_IRQHandler #define TIM1_TRG_COM_IRQHandler TIM11_IRQHandler -#define TIM1_TRG_COM_TIM17_IRQHandler TIM11_IRQHandler #define TIM1_TRG_COM_TIM11_IRQHandler TIM11_IRQHandler +#define TIM1_TRG_COM_TIM17_IRQHandler TIM11_IRQHandler #define TIM8_BRK_IRQHandler TIM12_IRQHandler #define TIM8_BRK_TIM12_IRQHandler TIM12_IRQHandler -#define TIM8_UP_TIM13_IRQHandler TIM13_IRQHandler #define TIM8_UP_IRQHandler TIM13_IRQHandler +#define TIM8_UP_TIM13_IRQHandler TIM13_IRQHandler #define TIM8_TRG_COM_IRQHandler TIM14_IRQHandler #define TIM8_TRG_COM_TIM14_IRQHandler TIM14_IRQHandler #define TIM6_DAC_IRQHandler TIM6_IRQHandler #define TIM1_BRK_TIM15_IRQHandler TIM9_IRQHandler -#define TIM1_BRK_IRQHandler TIM9_IRQHandler #define TIM1_BRK_TIM9_IRQHandler TIM9_IRQHandler +#define TIM1_BRK_IRQHandler TIM9_IRQHandler /** @@ -6711,5 +6710,4 @@ typedef struct #endif /* __STM32F101xG_H */ - - /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f102x6.h b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f102x6.h index bd5aceb..c1793fa 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f102x6.h +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f102x6.h @@ -9,18 +9,17 @@ * This file contains: * - Data structures and the address mapping for all peripherals * - Peripheral's registers declarations and bits definition - * - Macros to access peripheral’s registers hardware + * - Macros to access peripheral's registers hardware * ****************************************************************************** * @attention * - *

© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1252,7 +1251,7 @@ typedef struct #define RCC_BDCR_RTCSEL_0 (0x1UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000100 */ #define RCC_BDCR_RTCSEL_1 (0x2UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000200 */ -/*!< RTC congiguration */ +/*!< RTC configuration */ #define RCC_BDCR_RTCSEL_NOCLOCK 0x00000000U /*!< No clock */ #define RCC_BDCR_RTCSEL_LSE 0x00000100U /*!< LSE oscillator clock used as RTC clock */ #define RCC_BDCR_RTCSEL_LSI 0x00000200U /*!< LSI oscillator clock used as RTC clock */ @@ -3215,7 +3214,7 @@ typedef struct #define ADC_CR2_DMA ADC_CR2_DMA_Msk /*!< ADC DMA transfer enable */ #define ADC_CR2_ALIGN_Pos (11U) #define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */ -#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignement */ +#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignment */ #define ADC_CR2_JEXTSEL_Pos (12U) #define ADC_CR2_JEXTSEL_Msk (0x7UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00007000 */ @@ -6414,8 +6413,8 @@ typedef struct #define ADC1_2_IRQn ADC1_IRQn #define CEC_IRQn USBWakeUp_IRQn #define OTG_FS_WKUP_IRQn USBWakeUp_IRQn -#define USB_HP_CAN1_TX_IRQn USB_HP_IRQn #define CAN1_TX_IRQn USB_HP_IRQn +#define USB_HP_CAN1_TX_IRQn USB_HP_IRQn #define CAN1_RX0_IRQn USB_LP_IRQn #define USB_LP_CAN1_RX0_IRQn USB_LP_IRQn @@ -6424,8 +6423,8 @@ typedef struct #define ADC1_2_IRQHandler ADC1_IRQHandler #define CEC_IRQHandler USBWakeUp_IRQHandler #define OTG_FS_WKUP_IRQHandler USBWakeUp_IRQHandler -#define USB_HP_CAN1_TX_IRQHandler USB_HP_IRQHandler #define CAN1_TX_IRQHandler USB_HP_IRQHandler +#define USB_HP_CAN1_TX_IRQHandler USB_HP_IRQHandler #define CAN1_RX0_IRQHandler USB_LP_IRQHandler #define USB_LP_CAN1_RX0_IRQHandler USB_LP_IRQHandler @@ -6446,5 +6445,4 @@ typedef struct #endif /* __STM32F102x6_H */ - - /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f102xb.h b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f102xb.h index d43ebe7..dcbb361 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f102xb.h +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f102xb.h @@ -9,18 +9,17 @@ * This file contains: * - Data structures and the address mapping for all peripherals * - Peripheral's registers declarations and bits definition - * - Macros to access peripheral’s registers hardware + * - Macros to access peripheral's registers hardware * ****************************************************************************** * @attention * - *

© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1289,7 +1288,7 @@ typedef struct #define RCC_BDCR_RTCSEL_0 (0x1UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000100 */ #define RCC_BDCR_RTCSEL_1 (0x2UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000200 */ -/*!< RTC congiguration */ +/*!< RTC configuration */ #define RCC_BDCR_RTCSEL_NOCLOCK 0x00000000U /*!< No clock */ #define RCC_BDCR_RTCSEL_LSE 0x00000100U /*!< LSE oscillator clock used as RTC clock */ #define RCC_BDCR_RTCSEL_LSI 0x00000200U /*!< LSI oscillator clock used as RTC clock */ @@ -3269,7 +3268,7 @@ typedef struct #define ADC_CR2_DMA ADC_CR2_DMA_Msk /*!< ADC DMA transfer enable */ #define ADC_CR2_ALIGN_Pos (11U) #define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */ -#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignement */ +#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignment */ #define ADC_CR2_JEXTSEL_Pos (12U) #define ADC_CR2_JEXTSEL_Msk (0x7UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00007000 */ @@ -6568,5 +6567,4 @@ typedef struct #endif /* __STM32F102xB_H */ - - /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103x6.h b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103x6.h index d88068a..13694b7 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103x6.h +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103x6.h @@ -9,18 +9,17 @@ * This file contains: * - Data structures and the address mapping for all peripherals * - Peripheral's registers declarations and bits definition - * - Macros to access peripheral’s registers hardware + * - Macros to access peripheral's registers hardware * ****************************************************************************** * @attention * - *

© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1339,7 +1338,7 @@ typedef struct #define RCC_BDCR_RTCSEL_0 (0x1UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000100 */ #define RCC_BDCR_RTCSEL_1 (0x2UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000200 */ -/*!< RTC congiguration */ +/*!< RTC configuration */ #define RCC_BDCR_RTCSEL_NOCLOCK 0x00000000U /*!< No clock */ #define RCC_BDCR_RTCSEL_LSE 0x00000100U /*!< LSE oscillator clock used as RTC clock */ #define RCC_BDCR_RTCSEL_LSI 0x00000200U /*!< LSI oscillator clock used as RTC clock */ @@ -3324,7 +3323,7 @@ typedef struct #define ADC_CR2_DMA ADC_CR2_DMA_Msk /*!< ADC DMA transfer enable */ #define ADC_CR2_ALIGN_Pos (11U) #define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */ -#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignement */ +#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignment */ #define ADC_CR2_JEXTSEL_Pos (12U) #define ADC_CR2_JEXTSEL_Msk (0x7UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00007000 */ @@ -10058,14 +10057,14 @@ typedef struct #define TIM1_BRK_TIM9_IRQn TIM1_BRK_IRQn #define TIM1_BRK_TIM15_IRQn TIM1_BRK_IRQn #define TIM9_IRQn TIM1_BRK_IRQn -#define TIM11_IRQn TIM1_TRG_COM_IRQn -#define TIM1_TRG_COM_TIM17_IRQn TIM1_TRG_COM_IRQn #define TIM1_TRG_COM_TIM11_IRQn TIM1_TRG_COM_IRQn -#define TIM1_UP_TIM16_IRQn TIM1_UP_IRQn +#define TIM1_TRG_COM_TIM17_IRQn TIM1_TRG_COM_IRQn +#define TIM11_IRQn TIM1_TRG_COM_IRQn #define TIM1_UP_TIM10_IRQn TIM1_UP_IRQn #define TIM10_IRQn TIM1_UP_IRQn -#define OTG_FS_WKUP_IRQn USBWakeUp_IRQn +#define TIM1_UP_TIM16_IRQn TIM1_UP_IRQn #define CEC_IRQn USBWakeUp_IRQn +#define OTG_FS_WKUP_IRQn USBWakeUp_IRQn #define USB_HP_IRQn USB_HP_CAN1_TX_IRQn #define CAN1_TX_IRQn USB_HP_CAN1_TX_IRQn #define USB_LP_IRQn USB_LP_CAN1_RX0_IRQn @@ -10077,14 +10076,14 @@ typedef struct #define TIM1_BRK_TIM9_IRQHandler TIM1_BRK_IRQHandler #define TIM1_BRK_TIM15_IRQHandler TIM1_BRK_IRQHandler #define TIM9_IRQHandler TIM1_BRK_IRQHandler -#define TIM11_IRQHandler TIM1_TRG_COM_IRQHandler -#define TIM1_TRG_COM_TIM17_IRQHandler TIM1_TRG_COM_IRQHandler #define TIM1_TRG_COM_TIM11_IRQHandler TIM1_TRG_COM_IRQHandler -#define TIM1_UP_TIM16_IRQHandler TIM1_UP_IRQHandler +#define TIM1_TRG_COM_TIM17_IRQHandler TIM1_TRG_COM_IRQHandler +#define TIM11_IRQHandler TIM1_TRG_COM_IRQHandler #define TIM1_UP_TIM10_IRQHandler TIM1_UP_IRQHandler #define TIM10_IRQHandler TIM1_UP_IRQHandler -#define OTG_FS_WKUP_IRQHandler USBWakeUp_IRQHandler +#define TIM1_UP_TIM16_IRQHandler TIM1_UP_IRQHandler #define CEC_IRQHandler USBWakeUp_IRQHandler +#define OTG_FS_WKUP_IRQHandler USBWakeUp_IRQHandler #define USB_HP_IRQHandler USB_HP_CAN1_TX_IRQHandler #define CAN1_TX_IRQHandler USB_HP_CAN1_TX_IRQHandler #define USB_LP_IRQHandler USB_LP_CAN1_RX0_IRQHandler @@ -10107,5 +10106,4 @@ typedef struct #endif /* __STM32F103x6_H */ - - /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h index 8171849..82df4b0 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h @@ -9,18 +9,17 @@ * This file contains: * - Data structures and the address mapping for all peripherals * - Peripheral's registers declarations and bits definition - * - Macros to access peripheral’s registers hardware + * - Macros to access peripheral's registers hardware * ****************************************************************************** * @attention * - *

© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1384,7 +1383,7 @@ typedef struct #define RCC_BDCR_RTCSEL_0 (0x1UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000100 */ #define RCC_BDCR_RTCSEL_1 (0x2UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000200 */ -/*!< RTC congiguration */ +/*!< RTC configuration */ #define RCC_BDCR_RTCSEL_NOCLOCK 0x00000000U /*!< No clock */ #define RCC_BDCR_RTCSEL_LSE 0x00000100U /*!< LSE oscillator clock used as RTC clock */ #define RCC_BDCR_RTCSEL_LSI 0x00000200U /*!< LSI oscillator clock used as RTC clock */ @@ -3386,7 +3385,7 @@ typedef struct #define ADC_CR2_DMA ADC_CR2_DMA_Msk /*!< ADC DMA transfer enable */ #define ADC_CR2_ALIGN_Pos (11U) #define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */ -#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignement */ +#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignment */ #define ADC_CR2_JEXTSEL_Pos (12U) #define ADC_CR2_JEXTSEL_Msk (0x7UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00007000 */ @@ -10186,38 +10185,38 @@ typedef struct /* Aliases for __IRQn */ #define ADC1_IRQn ADC1_2_IRQn -#define TIM1_BRK_TIM15_IRQn TIM1_BRK_IRQn #define TIM9_IRQn TIM1_BRK_IRQn #define TIM1_BRK_TIM9_IRQn TIM1_BRK_IRQn +#define TIM1_BRK_TIM15_IRQn TIM1_BRK_IRQn #define TIM1_TRG_COM_TIM17_IRQn TIM1_TRG_COM_IRQn #define TIM1_TRG_COM_TIM11_IRQn TIM1_TRG_COM_IRQn #define TIM11_IRQn TIM1_TRG_COM_IRQn #define TIM10_IRQn TIM1_UP_IRQn -#define TIM1_UP_TIM16_IRQn TIM1_UP_IRQn #define TIM1_UP_TIM10_IRQn TIM1_UP_IRQn +#define TIM1_UP_TIM16_IRQn TIM1_UP_IRQn #define OTG_FS_WKUP_IRQn USBWakeUp_IRQn #define CEC_IRQn USBWakeUp_IRQn -#define CAN1_TX_IRQn USB_HP_CAN1_TX_IRQn #define USB_HP_IRQn USB_HP_CAN1_TX_IRQn +#define CAN1_TX_IRQn USB_HP_CAN1_TX_IRQn #define CAN1_RX0_IRQn USB_LP_CAN1_RX0_IRQn #define USB_LP_IRQn USB_LP_CAN1_RX0_IRQn /* Aliases for __IRQHandler */ #define ADC1_IRQHandler ADC1_2_IRQHandler -#define TIM1_BRK_TIM15_IRQHandler TIM1_BRK_IRQHandler #define TIM9_IRQHandler TIM1_BRK_IRQHandler #define TIM1_BRK_TIM9_IRQHandler TIM1_BRK_IRQHandler +#define TIM1_BRK_TIM15_IRQHandler TIM1_BRK_IRQHandler #define TIM1_TRG_COM_TIM17_IRQHandler TIM1_TRG_COM_IRQHandler #define TIM1_TRG_COM_TIM11_IRQHandler TIM1_TRG_COM_IRQHandler #define TIM11_IRQHandler TIM1_TRG_COM_IRQHandler #define TIM10_IRQHandler TIM1_UP_IRQHandler -#define TIM1_UP_TIM16_IRQHandler TIM1_UP_IRQHandler #define TIM1_UP_TIM10_IRQHandler TIM1_UP_IRQHandler +#define TIM1_UP_TIM16_IRQHandler TIM1_UP_IRQHandler #define OTG_FS_WKUP_IRQHandler USBWakeUp_IRQHandler #define CEC_IRQHandler USBWakeUp_IRQHandler -#define CAN1_TX_IRQHandler USB_HP_CAN1_TX_IRQHandler #define USB_HP_IRQHandler USB_HP_CAN1_TX_IRQHandler +#define CAN1_TX_IRQHandler USB_HP_CAN1_TX_IRQHandler #define CAN1_RX0_IRQHandler USB_LP_CAN1_RX0_IRQHandler #define USB_LP_IRQHandler USB_LP_CAN1_RX0_IRQHandler @@ -10238,5 +10237,4 @@ typedef struct #endif /* __STM32F103xB_H */ - - /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h index 9725d78..8f4fedc 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h @@ -9,18 +9,17 @@ * This file contains: * - Data structures and the address mapping for all peripherals * - Peripheral's registers declarations and bits definition - * - Macros to access peripheral’s registers hardware + * - Macros to access peripheral's registers hardware * ****************************************************************************** * @attention * - *

© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1828,7 +1827,7 @@ typedef struct #define RCC_BDCR_RTCSEL_0 (0x1UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000100 */ #define RCC_BDCR_RTCSEL_1 (0x2UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000200 */ -/*!< RTC congiguration */ +/*!< RTC configuration */ #define RCC_BDCR_RTCSEL_NOCLOCK 0x00000000U /*!< No clock */ #define RCC_BDCR_RTCSEL_LSE 0x00000100U /*!< LSE oscillator clock used as RTC clock */ #define RCC_BDCR_RTCSEL_LSI 0x00000200U /*!< LSI oscillator clock used as RTC clock */ @@ -3848,7 +3847,7 @@ typedef struct #define ADC_CR2_DMA ADC_CR2_DMA_Msk /*!< ADC DMA transfer enable */ #define ADC_CR2_ALIGN_Pos (11U) #define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */ -#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignement */ +#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignment */ #define ADC_CR2_JEXTSEL_Pos (12U) #define ADC_CR2_JEXTSEL_Msk (0x7UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00007000 */ @@ -10434,7 +10433,7 @@ typedef struct /* */ /******************************************************************************/ /* - * @brief Specific device feature definitions (not present on all devices in the STM32F1 serie) + * @brief Specific device feature definitions (not present on all devices in the STM32F1 series) */ #define SPI_I2S_SUPPORT /*!< I2S support */ #define SPI_CRC_ERROR_WORKAROUND_FEATURE @@ -11702,22 +11701,22 @@ typedef struct #define TIM9_IRQn TIM1_BRK_IRQn #define TIM1_BRK_TIM15_IRQn TIM1_BRK_IRQn #define TIM11_IRQn TIM1_TRG_COM_IRQn -#define TIM1_TRG_COM_TIM11_IRQn TIM1_TRG_COM_IRQn #define TIM1_TRG_COM_TIM17_IRQn TIM1_TRG_COM_IRQn -#define TIM1_UP_TIM10_IRQn TIM1_UP_IRQn +#define TIM1_TRG_COM_TIM11_IRQn TIM1_TRG_COM_IRQn #define TIM1_UP_TIM16_IRQn TIM1_UP_IRQn +#define TIM1_UP_TIM10_IRQn TIM1_UP_IRQn #define TIM10_IRQn TIM1_UP_IRQn #define TIM6_DAC_IRQn TIM6_IRQn -#define TIM8_BRK_TIM12_IRQn TIM8_BRK_IRQn #define TIM12_IRQn TIM8_BRK_IRQn -#define TIM14_IRQn TIM8_TRG_COM_IRQn +#define TIM8_BRK_TIM12_IRQn TIM8_BRK_IRQn #define TIM8_TRG_COM_TIM14_IRQn TIM8_TRG_COM_IRQn +#define TIM14_IRQn TIM8_TRG_COM_IRQn #define TIM8_UP_TIM13_IRQn TIM8_UP_IRQn #define TIM13_IRQn TIM8_UP_IRQn #define CEC_IRQn USBWakeUp_IRQn #define OTG_FS_WKUP_IRQn USBWakeUp_IRQn -#define USB_HP_IRQn USB_HP_CAN1_TX_IRQn #define CAN1_TX_IRQn USB_HP_CAN1_TX_IRQn +#define USB_HP_IRQn USB_HP_CAN1_TX_IRQn #define USB_LP_IRQn USB_LP_CAN1_RX0_IRQn #define CAN1_RX0_IRQn USB_LP_CAN1_RX0_IRQn @@ -11729,22 +11728,22 @@ typedef struct #define TIM9_IRQHandler TIM1_BRK_IRQHandler #define TIM1_BRK_TIM15_IRQHandler TIM1_BRK_IRQHandler #define TIM11_IRQHandler TIM1_TRG_COM_IRQHandler -#define TIM1_TRG_COM_TIM11_IRQHandler TIM1_TRG_COM_IRQHandler #define TIM1_TRG_COM_TIM17_IRQHandler TIM1_TRG_COM_IRQHandler -#define TIM1_UP_TIM10_IRQHandler TIM1_UP_IRQHandler +#define TIM1_TRG_COM_TIM11_IRQHandler TIM1_TRG_COM_IRQHandler #define TIM1_UP_TIM16_IRQHandler TIM1_UP_IRQHandler +#define TIM1_UP_TIM10_IRQHandler TIM1_UP_IRQHandler #define TIM10_IRQHandler TIM1_UP_IRQHandler #define TIM6_DAC_IRQHandler TIM6_IRQHandler -#define TIM8_BRK_TIM12_IRQHandler TIM8_BRK_IRQHandler #define TIM12_IRQHandler TIM8_BRK_IRQHandler -#define TIM14_IRQHandler TIM8_TRG_COM_IRQHandler +#define TIM8_BRK_TIM12_IRQHandler TIM8_BRK_IRQHandler #define TIM8_TRG_COM_TIM14_IRQHandler TIM8_TRG_COM_IRQHandler +#define TIM14_IRQHandler TIM8_TRG_COM_IRQHandler #define TIM8_UP_TIM13_IRQHandler TIM8_UP_IRQHandler #define TIM13_IRQHandler TIM8_UP_IRQHandler #define CEC_IRQHandler USBWakeUp_IRQHandler #define OTG_FS_WKUP_IRQHandler USBWakeUp_IRQHandler -#define USB_HP_IRQHandler USB_HP_CAN1_TX_IRQHandler #define CAN1_TX_IRQHandler USB_HP_CAN1_TX_IRQHandler +#define USB_HP_IRQHandler USB_HP_CAN1_TX_IRQHandler #define USB_LP_IRQHandler USB_LP_CAN1_RX0_IRQHandler #define CAN1_RX0_IRQHandler USB_LP_CAN1_RX0_IRQHandler @@ -11765,5 +11764,4 @@ typedef struct #endif /* __STM32F103xE_H */ - - /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xg.h b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xg.h index 6e6c7f0..99b93f5 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xg.h +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xg.h @@ -9,18 +9,17 @@ * This file contains: * - Data structures and the address mapping for all peripherals * - Peripheral's registers declarations and bits definition - * - Macros to access peripheral’s registers hardware + * - Macros to access peripheral's registers hardware * ****************************************************************************** * @attention * - *

© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1883,7 +1882,7 @@ typedef struct #define RCC_BDCR_RTCSEL_0 (0x1UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000100 */ #define RCC_BDCR_RTCSEL_1 (0x2UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000200 */ -/*!< RTC congiguration */ +/*!< RTC configuration */ #define RCC_BDCR_RTCSEL_NOCLOCK 0x00000000U /*!< No clock */ #define RCC_BDCR_RTCSEL_LSE 0x00000100U /*!< LSE oscillator clock used as RTC clock */ #define RCC_BDCR_RTCSEL_LSI 0x00000200U /*!< LSI oscillator clock used as RTC clock */ @@ -3918,7 +3917,7 @@ typedef struct #define ADC_CR2_DMA ADC_CR2_DMA_Msk /*!< ADC DMA transfer enable */ #define ADC_CR2_ALIGN_Pos (11U) #define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */ -#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignement */ +#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignment */ #define ADC_CR2_JEXTSEL_Pos (12U) #define ADC_CR2_JEXTSEL_Msk (0x7UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00007000 */ @@ -10504,7 +10503,7 @@ typedef struct /* */ /******************************************************************************/ /* - * @brief Specific device feature definitions (not present on all devices in the STM32F1 serie) + * @brief Specific device feature definitions (not present on all devices in the STM32F1 series) */ #define SPI_I2S_SUPPORT /*!< I2S support */ @@ -11882,55 +11881,55 @@ typedef struct /* Aliases for __IRQn */ #define ADC1_IRQn ADC1_2_IRQn #define DMA2_Channel4_IRQn DMA2_Channel4_5_IRQn -#define TIM9_IRQn TIM1_BRK_TIM9_IRQn #define TIM1_BRK_IRQn TIM1_BRK_TIM9_IRQn #define TIM1_BRK_TIM15_IRQn TIM1_BRK_TIM9_IRQn +#define TIM9_IRQn TIM1_BRK_TIM9_IRQn #define TIM1_TRG_COM_TIM17_IRQn TIM1_TRG_COM_TIM11_IRQn -#define TIM1_TRG_COM_IRQn TIM1_TRG_COM_TIM11_IRQn #define TIM11_IRQn TIM1_TRG_COM_TIM11_IRQn -#define TIM10_IRQn TIM1_UP_TIM10_IRQn +#define TIM1_TRG_COM_IRQn TIM1_TRG_COM_TIM11_IRQn #define TIM1_UP_IRQn TIM1_UP_TIM10_IRQn +#define TIM10_IRQn TIM1_UP_TIM10_IRQn #define TIM1_UP_TIM16_IRQn TIM1_UP_TIM10_IRQn #define TIM6_DAC_IRQn TIM6_IRQn -#define TIM12_IRQn TIM8_BRK_TIM12_IRQn #define TIM8_BRK_IRQn TIM8_BRK_TIM12_IRQn -#define TIM14_IRQn TIM8_TRG_COM_TIM14_IRQn +#define TIM12_IRQn TIM8_BRK_TIM12_IRQn #define TIM8_TRG_COM_IRQn TIM8_TRG_COM_TIM14_IRQn -#define TIM13_IRQn TIM8_UP_TIM13_IRQn +#define TIM14_IRQn TIM8_TRG_COM_TIM14_IRQn #define TIM8_UP_IRQn TIM8_UP_TIM13_IRQn +#define TIM13_IRQn TIM8_UP_TIM13_IRQn #define CEC_IRQn USBWakeUp_IRQn #define OTG_FS_WKUP_IRQn USBWakeUp_IRQn -#define CAN1_TX_IRQn USB_HP_CAN1_TX_IRQn #define USB_HP_IRQn USB_HP_CAN1_TX_IRQn -#define CAN1_RX0_IRQn USB_LP_CAN1_RX0_IRQn +#define CAN1_TX_IRQn USB_HP_CAN1_TX_IRQn #define USB_LP_IRQn USB_LP_CAN1_RX0_IRQn +#define CAN1_RX0_IRQn USB_LP_CAN1_RX0_IRQn /* Aliases for __IRQHandler */ #define ADC1_IRQHandler ADC1_2_IRQHandler #define DMA2_Channel4_IRQHandler DMA2_Channel4_5_IRQHandler -#define TIM9_IRQHandler TIM1_BRK_TIM9_IRQHandler #define TIM1_BRK_IRQHandler TIM1_BRK_TIM9_IRQHandler #define TIM1_BRK_TIM15_IRQHandler TIM1_BRK_TIM9_IRQHandler +#define TIM9_IRQHandler TIM1_BRK_TIM9_IRQHandler #define TIM1_TRG_COM_TIM17_IRQHandler TIM1_TRG_COM_TIM11_IRQHandler -#define TIM1_TRG_COM_IRQHandler TIM1_TRG_COM_TIM11_IRQHandler #define TIM11_IRQHandler TIM1_TRG_COM_TIM11_IRQHandler -#define TIM10_IRQHandler TIM1_UP_TIM10_IRQHandler +#define TIM1_TRG_COM_IRQHandler TIM1_TRG_COM_TIM11_IRQHandler #define TIM1_UP_IRQHandler TIM1_UP_TIM10_IRQHandler +#define TIM10_IRQHandler TIM1_UP_TIM10_IRQHandler #define TIM1_UP_TIM16_IRQHandler TIM1_UP_TIM10_IRQHandler #define TIM6_DAC_IRQHandler TIM6_IRQHandler -#define TIM12_IRQHandler TIM8_BRK_TIM12_IRQHandler #define TIM8_BRK_IRQHandler TIM8_BRK_TIM12_IRQHandler -#define TIM14_IRQHandler TIM8_TRG_COM_TIM14_IRQHandler +#define TIM12_IRQHandler TIM8_BRK_TIM12_IRQHandler #define TIM8_TRG_COM_IRQHandler TIM8_TRG_COM_TIM14_IRQHandler -#define TIM13_IRQHandler TIM8_UP_TIM13_IRQHandler +#define TIM14_IRQHandler TIM8_TRG_COM_TIM14_IRQHandler #define TIM8_UP_IRQHandler TIM8_UP_TIM13_IRQHandler +#define TIM13_IRQHandler TIM8_UP_TIM13_IRQHandler #define CEC_IRQHandler USBWakeUp_IRQHandler #define OTG_FS_WKUP_IRQHandler USBWakeUp_IRQHandler -#define CAN1_TX_IRQHandler USB_HP_CAN1_TX_IRQHandler #define USB_HP_IRQHandler USB_HP_CAN1_TX_IRQHandler -#define CAN1_RX0_IRQHandler USB_LP_CAN1_RX0_IRQHandler +#define CAN1_TX_IRQHandler USB_HP_CAN1_TX_IRQHandler #define USB_LP_IRQHandler USB_LP_CAN1_RX0_IRQHandler +#define CAN1_RX0_IRQHandler USB_LP_CAN1_RX0_IRQHandler /** @@ -11949,5 +11948,4 @@ typedef struct #endif /* __STM32F103xG_H */ - - /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f105xc.h b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f105xc.h index ffe062d..889db80 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f105xc.h +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f105xc.h @@ -9,18 +9,17 @@ * This file contains: * - Data structures and the address mapping for all peripherals * - Peripheral's registers declarations and bits definition - * - Macros to access peripheral’s registers hardware + * - Macros to access peripheral's registers hardware * ****************************************************************************** * @attention * - *

© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1259,7 +1258,7 @@ typedef struct /* */ /******************************************************************************/ /* - * @brief Specific device feature definitions (not present on all devices in the STM32F1 serie) + * @brief Specific device feature definitions (not present on all devices in the STM32F1 series) */ #define RCC_PLL2_SUPPORT /*!< Support PLL2 */ #define RCC_PLLI2S_SUPPORT @@ -1809,7 +1808,7 @@ typedef struct #define RCC_BDCR_RTCSEL_0 (0x1UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000100 */ #define RCC_BDCR_RTCSEL_1 (0x2UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000200 */ -/*!< RTC congiguration */ +/*!< RTC configuration */ #define RCC_BDCR_RTCSEL_NOCLOCK 0x00000000U /*!< No clock */ #define RCC_BDCR_RTCSEL_LSE 0x00000100U /*!< LSE oscillator clock used as RTC clock */ #define RCC_BDCR_RTCSEL_LSI 0x00000200U /*!< LSI oscillator clock used as RTC clock */ @@ -4072,7 +4071,7 @@ typedef struct #define ADC_CR2_DMA ADC_CR2_DMA_Msk /*!< ADC DMA transfer enable */ #define ADC_CR2_ALIGN_Pos (11U) #define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */ -#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignement */ +#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignment */ #define ADC_CR2_JEXTSEL_Pos (12U) #define ADC_CR2_JEXTSEL_Msk (0x7UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00007000 */ @@ -11760,7 +11759,7 @@ typedef struct /* */ /******************************************************************************/ /* - * @brief Specific device feature definitions (not present on all devices in the STM32F1 serie) + * @brief Specific device feature definitions (not present on all devices in the STM32F1 series) */ #define SPI_I2S_SUPPORT /*!< I2S support */ #define I2S2_I2S3_CLOCK_FEATURE @@ -14289,15 +14288,15 @@ typedef struct #define DMA2_Channel4_5_IRQn DMA2_Channel4_IRQn #define USBWakeUp_IRQn OTG_FS_WKUP_IRQn #define CEC_IRQn OTG_FS_WKUP_IRQn -#define TIM1_BRK_TIM9_IRQn TIM1_BRK_IRQn #define TIM1_BRK_TIM15_IRQn TIM1_BRK_IRQn +#define TIM1_BRK_TIM9_IRQn TIM1_BRK_IRQn #define TIM9_IRQn TIM1_BRK_IRQn -#define TIM11_IRQn TIM1_TRG_COM_IRQn #define TIM1_TRG_COM_TIM17_IRQn TIM1_TRG_COM_IRQn #define TIM1_TRG_COM_TIM11_IRQn TIM1_TRG_COM_IRQn -#define TIM1_UP_TIM16_IRQn TIM1_UP_IRQn -#define TIM1_UP_TIM10_IRQn TIM1_UP_IRQn +#define TIM11_IRQn TIM1_TRG_COM_IRQn #define TIM10_IRQn TIM1_UP_IRQn +#define TIM1_UP_TIM10_IRQn TIM1_UP_IRQn +#define TIM1_UP_TIM16_IRQn TIM1_UP_IRQn #define TIM6_DAC_IRQn TIM6_IRQn @@ -14310,15 +14309,15 @@ typedef struct #define DMA2_Channel4_5_IRQHandler DMA2_Channel4_IRQHandler #define USBWakeUp_IRQHandler OTG_FS_WKUP_IRQHandler #define CEC_IRQHandler OTG_FS_WKUP_IRQHandler -#define TIM1_BRK_TIM9_IRQHandler TIM1_BRK_IRQHandler #define TIM1_BRK_TIM15_IRQHandler TIM1_BRK_IRQHandler +#define TIM1_BRK_TIM9_IRQHandler TIM1_BRK_IRQHandler #define TIM9_IRQHandler TIM1_BRK_IRQHandler -#define TIM11_IRQHandler TIM1_TRG_COM_IRQHandler #define TIM1_TRG_COM_TIM17_IRQHandler TIM1_TRG_COM_IRQHandler #define TIM1_TRG_COM_TIM11_IRQHandler TIM1_TRG_COM_IRQHandler -#define TIM1_UP_TIM16_IRQHandler TIM1_UP_IRQHandler -#define TIM1_UP_TIM10_IRQHandler TIM1_UP_IRQHandler +#define TIM11_IRQHandler TIM1_TRG_COM_IRQHandler #define TIM10_IRQHandler TIM1_UP_IRQHandler +#define TIM1_UP_TIM10_IRQHandler TIM1_UP_IRQHandler +#define TIM1_UP_TIM16_IRQHandler TIM1_UP_IRQHandler #define TIM6_DAC_IRQHandler TIM6_IRQHandler @@ -14338,5 +14337,4 @@ typedef struct #endif /* __STM32F105xC_H */ - - /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f107xc.h b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f107xc.h index c80d6a1..6efdf72 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f107xc.h +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f107xc.h @@ -9,18 +9,17 @@ * This file contains: * - Data structures and the address mapping for all peripherals * - Peripheral's registers declarations and bits definition - * - Macros to access peripheral’s registers hardware + * - Macros to access peripheral's registers hardware * ****************************************************************************** * @attention * - *

© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1339,7 +1338,7 @@ typedef struct /* */ /******************************************************************************/ /* - * @brief Specific device feature definitions (not present on all devices in the STM32F1 serie) + * @brief Specific device feature definitions (not present on all devices in the STM32F1 series) */ #define RCC_PLL2_SUPPORT /*!< Support PLL2 */ #define RCC_PLLI2S_SUPPORT @@ -1898,7 +1897,7 @@ typedef struct #define RCC_BDCR_RTCSEL_0 (0x1UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000100 */ #define RCC_BDCR_RTCSEL_1 (0x2UL << RCC_BDCR_RTCSEL_Pos) /*!< 0x00000200 */ -/*!< RTC congiguration */ +/*!< RTC configuration */ #define RCC_BDCR_RTCSEL_NOCLOCK 0x00000000U /*!< No clock */ #define RCC_BDCR_RTCSEL_LSE 0x00000100U /*!< LSE oscillator clock used as RTC clock */ #define RCC_BDCR_RTCSEL_LSI 0x00000200U /*!< LSI oscillator clock used as RTC clock */ @@ -4164,7 +4163,7 @@ typedef struct #define ADC_CR2_DMA ADC_CR2_DMA_Msk /*!< ADC DMA transfer enable */ #define ADC_CR2_ALIGN_Pos (11U) #define ADC_CR2_ALIGN_Msk (0x1UL << ADC_CR2_ALIGN_Pos) /*!< 0x00000800 */ -#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignement */ +#define ADC_CR2_ALIGN ADC_CR2_ALIGN_Msk /*!< ADC data alignment */ #define ADC_CR2_JEXTSEL_Pos (12U) #define ADC_CR2_JEXTSEL_Msk (0x7UL << ADC_CR2_JEXTSEL_Pos) /*!< 0x00007000 */ @@ -11852,7 +11851,7 @@ typedef struct /* */ /******************************************************************************/ /* - * @brief Specific device feature definitions (not present on all devices in the STM32F1 serie) + * @brief Specific device feature definitions (not present on all devices in the STM32F1 series) */ #define SPI_I2S_SUPPORT /*!< I2S support */ #define I2S2_I2S3_CLOCK_FEATURE @@ -13050,7 +13049,7 @@ typedef struct /* Ethernet MMC Registers bits definition */ /******************************************************************************/ -/* Bit definition for Ethernet MMC Contol Register */ +/* Bit definition for Ethernet MMC Control Register */ #define ETH_MMCCR_MCF_Pos (3U) #define ETH_MMCCR_MCF_Msk (0x1UL << ETH_MMCCR_MCF_Pos) /*!< 0x00000008 */ #define ETH_MMCCR_MCF ETH_MMCCR_MCF_Msk /* MMC Counter Freeze */ @@ -13128,7 +13127,7 @@ typedef struct #define ETH_MMCRFCECR_RFCEC_Msk (0xFFFFFFFFUL << ETH_MMCRFCECR_RFCEC_Pos) /*!< 0xFFFFFFFF */ #define ETH_MMCRFCECR_RFCEC ETH_MMCRFCECR_RFCEC_Msk /* Number of frames received with CRC error. */ -/* Bit definition for Ethernet MMC Received Frames with Alignement Error Counter Register */ +/* Bit definition for Ethernet MMC Received Frames with Alignment Error Counter Register */ #define ETH_MMCRFAECR_RFAEC_Pos (0U) #define ETH_MMCRFAECR_RFAEC_Msk (0xFFFFFFFFUL << ETH_MMCRFAECR_RFAEC_Pos) /*!< 0xFFFFFFFF */ #define ETH_MMCRFAECR_RFAEC ETH_MMCRFAECR_RFAEC_Msk /* Number of frames received with alignment (dribble) error */ @@ -13142,7 +13141,7 @@ typedef struct /* Ethernet PTP Registers bits definition */ /******************************************************************************/ -/* Bit definition for Ethernet PTP Time Stamp Contol Register */ +/* Bit definition for Ethernet PTP Time Stamp Control Register */ #define ETH_PTPTSCR_TSARU_Pos (5U) #define ETH_PTPTSCR_TSARU_Msk (0x1UL << ETH_PTPTSCR_TSARU_Pos) /*!< 0x00000020 */ #define ETH_PTPTSCR_TSARU ETH_PTPTSCR_TSARU_Msk /* Addend register update */ @@ -13352,7 +13351,7 @@ typedef struct #define ETH_DMASR_RPS_Closing ETH_DMASR_RPS_Closing_Msk /* Running - closing descriptor */ #define ETH_DMASR_RPS_Queuing_Pos (17U) #define ETH_DMASR_RPS_Queuing_Msk (0x7UL << ETH_DMASR_RPS_Queuing_Pos) /*!< 0x000E0000 */ -#define ETH_DMASR_RPS_Queuing ETH_DMASR_RPS_Queuing_Msk /* Running - queuing the recieve frame into host memory */ +#define ETH_DMASR_RPS_Queuing ETH_DMASR_RPS_Queuing_Msk /* Running - queuing the receive frame into host memory */ #define ETH_DMASR_NIS_Pos (16U) #define ETH_DMASR_NIS_Msk (0x1UL << ETH_DMASR_NIS_Pos) /*!< 0x00010000 */ #define ETH_DMASR_NIS ETH_DMASR_NIS_Msk /* Normal interrupt summary */ @@ -15197,20 +15196,20 @@ typedef struct #define ADC1_IRQn ADC1_2_IRQn #define USB_LP_IRQn CAN1_RX0_IRQn #define USB_LP_CAN1_RX0_IRQn CAN1_RX0_IRQn -#define USB_HP_IRQn CAN1_TX_IRQn #define USB_HP_CAN1_TX_IRQn CAN1_TX_IRQn +#define USB_HP_IRQn CAN1_TX_IRQn #define DMA2_Channel4_5_IRQn DMA2_Channel4_IRQn #define USBWakeUp_IRQn OTG_FS_WKUP_IRQn #define CEC_IRQn OTG_FS_WKUP_IRQn +#define TIM9_IRQn TIM1_BRK_IRQn #define TIM1_BRK_TIM9_IRQn TIM1_BRK_IRQn #define TIM1_BRK_TIM15_IRQn TIM1_BRK_IRQn -#define TIM9_IRQn TIM1_BRK_IRQn -#define TIM11_IRQn TIM1_TRG_COM_IRQn -#define TIM1_TRG_COM_TIM17_IRQn TIM1_TRG_COM_IRQn #define TIM1_TRG_COM_TIM11_IRQn TIM1_TRG_COM_IRQn -#define TIM1_UP_TIM16_IRQn TIM1_UP_IRQn -#define TIM1_UP_TIM10_IRQn TIM1_UP_IRQn +#define TIM1_TRG_COM_TIM17_IRQn TIM1_TRG_COM_IRQn +#define TIM11_IRQn TIM1_TRG_COM_IRQn #define TIM10_IRQn TIM1_UP_IRQn +#define TIM1_UP_TIM10_IRQn TIM1_UP_IRQn +#define TIM1_UP_TIM16_IRQn TIM1_UP_IRQn #define TIM6_DAC_IRQn TIM6_IRQn @@ -15218,20 +15217,20 @@ typedef struct #define ADC1_IRQHandler ADC1_2_IRQHandler #define USB_LP_IRQHandler CAN1_RX0_IRQHandler #define USB_LP_CAN1_RX0_IRQHandler CAN1_RX0_IRQHandler -#define USB_HP_IRQHandler CAN1_TX_IRQHandler #define USB_HP_CAN1_TX_IRQHandler CAN1_TX_IRQHandler +#define USB_HP_IRQHandler CAN1_TX_IRQHandler #define DMA2_Channel4_5_IRQHandler DMA2_Channel4_IRQHandler #define USBWakeUp_IRQHandler OTG_FS_WKUP_IRQHandler #define CEC_IRQHandler OTG_FS_WKUP_IRQHandler +#define TIM9_IRQHandler TIM1_BRK_IRQHandler #define TIM1_BRK_TIM9_IRQHandler TIM1_BRK_IRQHandler #define TIM1_BRK_TIM15_IRQHandler TIM1_BRK_IRQHandler -#define TIM9_IRQHandler TIM1_BRK_IRQHandler -#define TIM11_IRQHandler TIM1_TRG_COM_IRQHandler -#define TIM1_TRG_COM_TIM17_IRQHandler TIM1_TRG_COM_IRQHandler #define TIM1_TRG_COM_TIM11_IRQHandler TIM1_TRG_COM_IRQHandler -#define TIM1_UP_TIM16_IRQHandler TIM1_UP_IRQHandler -#define TIM1_UP_TIM10_IRQHandler TIM1_UP_IRQHandler +#define TIM1_TRG_COM_TIM17_IRQHandler TIM1_TRG_COM_IRQHandler +#define TIM11_IRQHandler TIM1_TRG_COM_IRQHandler #define TIM10_IRQHandler TIM1_UP_IRQHandler +#define TIM1_UP_TIM10_IRQHandler TIM1_UP_IRQHandler +#define TIM1_UP_TIM16_IRQHandler TIM1_UP_IRQHandler #define TIM6_DAC_IRQHandler TIM6_IRQHandler @@ -15251,5 +15250,4 @@ typedef struct #endif /* __STM32F107xC_H */ - - /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h index 6817f52..bc1c89b 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h @@ -8,21 +8,20 @@ * is using in the C source code, usually in main.c. This file contains: * - Configuration section that allows to select: * - The STM32F1xx device used in the target application - * - To use or not the peripheral’s drivers in application code(i.e. - * code will be based on direct access to peripheral’s registers + * - To use or not the peripheral's drivers in application code(i.e. + * code will be based on direct access to peripheral's registers * rather than drivers API), this option is controlled by * "#define USE_HAL_DRIVER" * ****************************************************************************** * @attention * - *

© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -90,11 +89,11 @@ #endif /* USE_HAL_DRIVER */ /** - * @brief CMSIS Device version number V4.3.3 + * @brief CMSIS Device version number */ #define __STM32F1_CMSIS_VERSION_MAIN (0x04) /*!< [31:24] main version */ #define __STM32F1_CMSIS_VERSION_SUB1 (0x03) /*!< [23:16] sub1 version */ -#define __STM32F1_CMSIS_VERSION_SUB2 (0x03) /*!< [15:8] sub2 version */ +#define __STM32F1_CMSIS_VERSION_SUB2 (0x04) /*!< [15:8] sub2 version */ #define __STM32F1_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */ #define __STM32F1_CMSIS_VERSION ((__STM32F1_CMSIS_VERSION_MAIN << 24)\ |(__STM32F1_CMSIS_VERSION_SUB1 << 16)\ @@ -272,4 +271,3 @@ typedef enum -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h index 187fdde..f8c5304 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h @@ -1,18 +1,17 @@ /** ****************************************************************************** - * @file system_stm32f10x.h + * @file system_stm32f1xx.h * @author MCD Application Team * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File. ****************************************************************************** * @attention * - *

© Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

+ * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -94,5 +93,4 @@ extern void SystemCoreClockUpdate(void); /** * @} - */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + */ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/License.md b/Drivers/CMSIS/Device/ST/STM32F1xx/License.md index 72fbf79..7733a49 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/License.md +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/License.md @@ -1,83 +1,201 @@ -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -1. Definitions. + 1. Definitions. -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. -2. Grant of Copyright License. + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. -3. Grant of Patent License. + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and -4. Redistribution. + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and -You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: -1.You must give any other recipients of the Work or Derivative Works a copy of this License; and -2.You must cause any modified files to carry prominent notices stating that You changed the files; and -3.You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and -4.If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and -You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. -5. Submission of Contributions. + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. -Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. -6. Trademarks. + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. -This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. -7. Disclaimer of Warranty. + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. -Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. -8. Limitation of Liability. + END OF TERMS AND CONDITIONS -In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + APPENDIX: How to apply the Apache License to your work. -9. Accepting Warranty or Additional Liability. + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. -While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -APPENDIX: - - Copyright [2019] [STMicroelectronics] + Copyright [2019] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file + limitations under the License. diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/README.md b/Drivers/CMSIS/Device/ST/STM32F1xx/README.md index 9f892fc..0edf7a2 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/README.md +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/README.md @@ -25,14 +25,7 @@ Details about the content of this release are available in the release note [her ## Compatibility information -In this table, you can find the successive versions of this CMSIS Device component, in-line with the corresponding versions of the full MCU package: - -CMSIS Device F1 | CMSIS Core | Was delivered in the full MCU package ---------------- | ---------- | ------------------------------------- -Tag v4.3.1 | Tag v5.4.0_cm3 | Tag v1.8.0 -Tag v4.3.1 | Tag v5.4.0_cm3 | Tag v1.8.1 -Tag v4.3.2 | Tag v5.4.0_cm3 | Tag v1.8.2 -Tag v4.3.3 | Tag v5.4.0_cm3 | Tag v1.8.4 +It is **crucial** that you use a consistent set of versions for the CMSIS Core - CMSIS Device, as mentioned in [this](https://htmlpreview.github.io/?https://github.com/STMicroelectronics/STM32CubeF1/blob/master/Release_Notes.html) release note. The full **STM32CubeF1** MCU package is available [here](https://github.com/STMicroelectronics/STM32CubeF1). diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Release_Notes.html b/Drivers/CMSIS/Device/ST/STM32F1xx/Release_Notes.html index 06d61db..dad0400 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Release_Notes.html +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Release_Notes.html @@ -11,37 +11,40 @@ span.underline{text-decoration: underline;} div.column{display: inline-block; vertical-align: top; width: 50%;} - + +
-
-
-

Release Notes for STM32F1xx CMSIS

+

Release Notes for STM32F1xx CMSIS

Copyright © 2016 STMicroelectronics

- -
-
-
-

License

-This software component is licensed by ST under BSD 3-Clause license, the “Licenseâ€; You may not use this component except in compliance with the License. You may obtain a copy of the License at: -
-https://opensource.org/licenses/BSD-3-Clause +

Update History

- +

Main Changes

    +
  • Define SPI2_IRQHandler weak alias instead of a duplication of the definition of SPI1_IRQHandler weak alias.
  • +
  • Update the GCC startup file to be aligned to IAR/Keil IDE.
  • +
  • All source files: update disclaimer to add reference to the new license agreement.
  • +
+
+
+
+ +
+

Main Changes

+
  • Improve GCC startup files robustness.
  • Add LSI maximum startup time datasheet value: LSI_STARTUP_TIME.
  • Add atomic register access macros.
  • @@ -52,7 +55,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
    -

    Main Changes

    +

    Main Changes

    • Protect Vector table modification following SRAM or FLASH preprocessor directive by a generic preprocessor directive : USER_VECT_TAB_ADDRESS
    • SystemInit(): update to don’t reset RCC registers to its reset values.
    • @@ -62,7 +65,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
  • I2S:
      -
    • Add missing I2SCFG and I2SPR bits difinitions for STM32F101xE and STM32F101xG
    • +
    • Add missing I2SCFG and I2SPR bits definitions for STM32F101xE and STM32F101xG
@@ -70,7 +73,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
-

Main Changes

+

Main Changes

  • Fix MISRA C 2012 Compilation errors: update to use “UL†postfix for bits mask definitions(_Msk) and memory/peripheral base addresses
  • Fix wrong initialization value for “SystemCoreClock†in System_stm32f1xx.c file
  • @@ -105,7 +108,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
    -

    Main Changes

    +

    Main Changes

    • Add missing IS_TIM_SYNCHRO_INSTANCE macro definition to check TIM SYNCHRO feature instance support.
    @@ -114,7 +117,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
    -

    Main Changes

    +

    Main Changes

    • Use _Pos and _Mask macros for all Bit Definitions
    • Remove Core-CM3 bit definitions from CMSIS devices drivers: duplicated with bit definitions in core_cm3.h.
    • @@ -154,7 +157,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
      -

      Main Changes

      +

      Main Changes

      • Add _Pos and _Msk defines to be used with _VAL2FLD(field, value) and _FLD2VAL(field, value).
          @@ -162,8 +165,8 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
      • RCC: Add define RCC_CFGR_MCOSEL for compatibility across all STM32 series.
      • ADC: Add define ADC_MULTIMODE_SUPPORT for devices supporting the ADC multimode feature.
      • -
      • ADC: Add define ADC_SR_EOS and ADC_SR_JEOS for compatibility accross all STM32 series.
      • -
      • stm32f1xx.h: Replace __STM32F1xx_CMSIS_DEVICE_VERSION_MAIN by __STM32F1_CMSIS_VERSION_MAIN for MISRA compliancy on define length name.
      • +
      • ADC: Add define ADC_SR_EOS and ADC_SR_JEOS for compatibility across all STM32 series.
      • +
      • stm32f1xx.h: Replace __STM32F1xx_CMSIS_DEVICE_VERSION_MAIN by __STM32F1_CMSIS_VERSION_MAIN for MISRA compliance on define length name.
      • Add APBPrescTable constant to list APB prescalers values.
      • Add FLASHSIZE_BASE for the FLASH Size register base address.
      • Add UID_BASE for the unique device ID register base address.
      • @@ -173,7 +176,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
        -

        Main Changes

        +

        Main Changes

        • FLASH: Add FLASH_OBR_DATA0 and FLASH_OBR_DATA1 for FLASH_OBR register.
        • WWDG: Align bit name across all STM32 families. @@ -203,7 +206,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
          -

          Main Changes

          +

          Main Changes

          • Remove __IO or __I on constant table declaration (AHBPrescTable in system_stm32f1xx.c) due to issue with mbed C++ code. The table content was filled with random value at initialization phase.
          • uint8_t alignment done on CMSIS CRC registers structure.
          • @@ -214,7 +217,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
            -

            Main Changes

            +

            Main Changes

            • Update based on STM32Cube specification
            • This version has to be used only with STM32CubeF1 based development
            • @@ -224,7 +227,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
              -

              Main Changes

              +

              Main Changes

              • Update startup files for EWARM toolchain to cope with compiler enhancement of the V7.10 version.
              @@ -233,7 +236,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
              -

              Main Changes

              +

              Main Changes

              • stm32f10x.h
                  @@ -246,7 +249,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                  -

                  Main Changes

                  +

                  Main Changes

                  • All source files: license disclaimer text update and add link to the License file on ST Internet.
                  @@ -255,7 +258,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                  -

                  Main Changes

                  +

                  Main Changes

                  • Update directory structure to be compliant with CMSIS V2.1
                  • All source files: update disclaimer to add reference to the new license agreement
                  • @@ -284,7 +287,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                    -

                    Main Changes

                    +

                    Main Changes

                    • stm32f10x.h and startup_stm32f10x_hd_vl.s files: remove the FSMC interrupt definition for STM32F10x High-density Value line devices.
                    • system_stm32f10x.c file provided within the CMSIS folder.
                    • @@ -294,7 +297,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                      -

                      Main Changes

                      +

                      Main Changes

                      • General
                          @@ -330,7 +333,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                          -

                          Main Changes

                          +

                          Main Changes

                          • General
                              @@ -369,7 +372,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                              -

                              Main Changes

                              +

                              Main Changes

                              • General
                                  diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f100xb.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f100xb.s index 64d7f09..741030c 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f100xb.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;* Copyright (c) 2017 STMicroelectronics. +;* Copyright (c) 2017-2021 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -312,4 +311,3 @@ __user_initial_stackheap END -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f100xe.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f100xe.s index 4a89db2..c8aa745 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f100xe.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f100xe.s @@ -16,13 +16,12 @@ ;****************************************************************************** ;* @attention ;* -;* Copyright (c) 2017 STMicroelectronics. +;* Copyright (c) 2017-2021 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -343,4 +342,3 @@ __user_initial_stackheap END -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101x6.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101x6.s index 2915a6c..7dfe571 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101x6.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101x6.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;* Copyright (c) 2017 STMicroelectronics. +;* Copyright (c) 2017-2021 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -275,4 +274,3 @@ __user_initial_stackheap END -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101xb.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101xb.s index 8f46389..9ade8a8 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101xb.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;* Copyright (c) 2017 STMicroelectronics. +;* Copyright (c) 2017-2021 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -285,4 +284,3 @@ __user_initial_stackheap END -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101xe.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101xe.s index 76fe278..de204a9 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101xe.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101xe.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;* Copyright (c) 2017 STMicroelectronics. +;* Copyright (c) 2017-2021 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -323,4 +322,3 @@ __user_initial_stackheap END -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101xg.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101xg.s index 309ac0e..ce73fd9 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101xg.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f101xg.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;* Copyright (c) 2017 STMicroelectronics. +;* Copyright (c) 2017-2021 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -335,4 +334,3 @@ __user_initial_stackheap END -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f102x6.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f102x6.s index eb7c1f0..a9cfb75 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f102x6.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f102x6.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;* Copyright (c) 2017 STMicroelectronics. +;* Copyright (c) 2017-2021 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -282,4 +281,3 @@ __user_initial_stackheap END -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f102xb.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f102xb.s index 85829e4..231ca7c 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f102xb.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f102xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;* Copyright (c) 2017 STMicroelectronics. +;* Copyright (c) 2017-2021 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -292,4 +291,3 @@ __user_initial_stackheap END -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103x6.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103x6.s index f99fc61..beeddde 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103x6.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103x6.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;* Copyright (c) 2017 STMicroelectronics. +;* Copyright (c) 2017-2021 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -294,4 +293,3 @@ __user_initial_stackheap END -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103xb.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103xb.s index 7f746bf..0915ab0 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103xb.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;* Copyright (c) 2017 STMicroelectronics. +;* Copyright (c) 2017-2021 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -304,4 +303,3 @@ __user_initial_stackheap END -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103xe.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103xe.s index 6e9eba1..1d6bab0 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103xe.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103xe.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;* Copyright (c) 2017 STMicroelectronics. +;* Copyright (c) 2017-2021 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -353,4 +352,3 @@ __user_initial_stackheap END -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103xg.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103xg.s index e6ad5a4..5f6caa0 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103xg.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f103xg.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;* Copyright (c) 2017 STMicroelectronics. +;* Copyright (c) 2017-2021 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -353,4 +352,3 @@ __user_initial_stackheap END -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f105xc.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f105xc.s index e07237b..9cdb91e 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f105xc.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f105xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;* Copyright (c) 2017 STMicroelectronics. +;* Copyright (c) 2017-2021 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -361,4 +360,3 @@ __user_initial_stackheap END -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f107xc.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f107xc.s index 3aea16e..8a6cfbb 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f107xc.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/arm/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;* Copyright (c) 2017 STMicroelectronics. +;* Copyright (c) 2017-2021 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -365,4 +364,3 @@ __user_initial_stackheap END -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F100XB_FLASH.ld b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F100XB_FLASH.ld index 6b11337..8fea722 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F100XB_FLASH.ld +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F100XB_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F100XE_FLASH.ld b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F100XE_FLASH.ld index c73f97a..e768329 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F100XE_FLASH.ld +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F100XE_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F101X6_FLASH.ld b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F101X6_FLASH.ld index 70f1aa6..d222796 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F101X6_FLASH.ld +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F101X6_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F101XB_FLASH.ld b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F101XB_FLASH.ld index 1e0eaa5..7b8f4b3 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F101XB_FLASH.ld +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F101XB_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F101XE_FLASH.ld b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F101XE_FLASH.ld index 48d9e8a..21de5e0 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F101XE_FLASH.ld +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F101XE_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F101XG_FLASH.ld b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F101XG_FLASH.ld index 4797bae..5d027a2 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F101XG_FLASH.ld +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F101XG_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F102X6_FLASH.ld b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F102X6_FLASH.ld index 1d7e863..269202e 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F102X6_FLASH.ld +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F102X6_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F102XB_FLASH.ld b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F102XB_FLASH.ld index efd58c6..c052cea 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F102XB_FLASH.ld +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F102XB_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F103X6_FLASH.ld b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F103X6_FLASH.ld index 85bb065..9cc2403 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F103X6_FLASH.ld +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F103X6_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F103XB_FLASH.ld b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F103XB_FLASH.ld index 4be9df6..7bd75da 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F103XB_FLASH.ld +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F103XB_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F103XE_FLASH.ld b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F103XE_FLASH.ld index e9c5f66..75dd8f9 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F103XE_FLASH.ld +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F103XE_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F103XG_FLASH.ld b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F103XG_FLASH.ld index ee2f9a1..8f1fc9f 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F103XG_FLASH.ld +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F103XG_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F105XC_FLASH.ld b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F105XC_FLASH.ld index 1136668..694a1c9 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F105XC_FLASH.ld +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F105XC_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F107XC_FLASH.ld b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F107XC_FLASH.ld index c3e6d3f..10141b3 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F107XC_FLASH.ld +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/linker/STM32F107XC_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f100xb.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f100xb.s index 1bcc752..2a6443a 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f100xb.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f100xb.s @@ -15,13 +15,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,6 +60,9 @@ defined in linker script */ .type Reset_Handler, %function Reset_Handler: +/* Call the clock system initialization function.*/ + bl SystemInit + /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata ldr r1, =_edata @@ -92,8 +94,6 @@ LoopFillZerobss: cmp r2, r4 bcc FillZerobss -/* Call the clock system intitialization function.*/ - bl SystemInit /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ @@ -376,7 +376,7 @@ g_pfnVectors: .weak SPI1_IRQHandler .thumb_set SPI1_IRQHandler,Default_Handler - + .weak SPI2_IRQHandler .thumb_set SPI2_IRQHandler,Default_Handler @@ -404,5 +404,4 @@ g_pfnVectors: .weak TIM7_IRQHandler .thumb_set TIM7_IRQHandler,Default_Handler -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f100xe.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f100xe.s index a430da4..b00ea4e 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f100xe.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f100xe.s @@ -15,13 +15,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,6 +60,9 @@ defined in linker script */ .type Reset_Handler, %function Reset_Handler: +/* Call the clock system initialization function.*/ + bl SystemInit + /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata ldr r1, =_edata @@ -92,8 +94,6 @@ LoopFillZerobss: cmp r2, r4 bcc FillZerobss -/* Call the clock system intitialization function.*/ - bl SystemInit /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ @@ -445,6 +445,5 @@ g_pfnVectors: .weak DMA2_Channel5_IRQHandler .thumb_set DMA2_Channel5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101x6.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101x6.s index 2f3df08..0ebbd2f 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101x6.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101x6.s @@ -15,13 +15,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,6 +60,9 @@ defined in linker script */ .type Reset_Handler, %function Reset_Handler: +/* Call the clock system initialization function.*/ + bl SystemInit + /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata ldr r1, =_edata @@ -92,8 +94,6 @@ LoopFillZerobss: cmp r2, r4 bcc FillZerobss -/* Call the clock system intitialization function.*/ - bl SystemInit /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ @@ -320,4 +320,3 @@ g_pfnVectors: .weak RTC_Alarm_IRQHandler .thumb_set RTC_Alarm_IRQHandler,Default_Handler -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xb.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xb.s index abec1e4..a67b880 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xb.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xb.s @@ -15,13 +15,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,6 +60,9 @@ defined in linker script */ .type Reset_Handler, %function Reset_Handler: +/* Call the clock system initialization function.*/ + bl SystemInit + /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata ldr r1, =_edata @@ -92,8 +94,6 @@ LoopFillZerobss: cmp r2, r4 bcc FillZerobss -/* Call the clock system intitialization function.*/ - bl SystemInit /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ @@ -335,5 +335,4 @@ g_pfnVectors: .thumb_set RTC_Alarm_IRQHandler,Default_Handler -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xe.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xe.s index 0af2f20..9b945e5 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xe.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xe.s @@ -15,13 +15,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,6 +60,9 @@ defined in linker script */ .type Reset_Handler, %function Reset_Handler: +/* Call the clock system initialization function.*/ + bl SystemInit + /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata ldr r1, =_edata @@ -92,8 +94,6 @@ LoopFillZerobss: cmp r2, r4 bcc FillZerobss -/* Call the clock system intitialization function.*/ - bl SystemInit /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ @@ -421,4 +421,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xg.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xg.s index 4e8a95f..0e3c37f 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xg.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f101xg.s @@ -15,13 +15,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,6 +60,9 @@ defined in linker script */ .type Reset_Handler, %function Reset_Handler: +/* Call the clock system initialization function.*/ + bl SystemInit + /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata ldr r1, =_edata @@ -92,8 +94,6 @@ LoopFillZerobss: cmp r2, r4 bcc FillZerobss -/* Call the clock system intitialization function.*/ - bl SystemInit /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ @@ -437,4 +437,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f102x6.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f102x6.s index 97437a1..0301ea9 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f102x6.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f102x6.s @@ -15,13 +15,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,6 +60,9 @@ defined in linker script */ .type Reset_Handler, %function Reset_Handler: +/* Call the clock system initialization function.*/ + bl SystemInit + /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata ldr r1, =_edata @@ -92,8 +94,6 @@ LoopFillZerobss: cmp r2, r4 bcc FillZerobss -/* Call the clock system intitialization function.*/ - bl SystemInit /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ @@ -328,4 +328,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f102xb.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f102xb.s index 914cc31..f2e4cc8 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f102xb.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f102xb.s @@ -15,13 +15,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,6 +60,9 @@ defined in linker script */ .type Reset_Handler, %function Reset_Handler: +/* Call the clock system initialization function.*/ + bl SystemInit + /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata ldr r1, =_edata @@ -92,8 +94,6 @@ LoopFillZerobss: cmp r2, r4 bcc FillZerobss -/* Call the clock system intitialization function.*/ - bl SystemInit /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ @@ -343,5 +343,4 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103x6.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103x6.s index ac5cb81..87ca9ca 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103x6.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103x6.s @@ -15,13 +15,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,6 +60,9 @@ defined in linker script */ .type Reset_Handler, %function Reset_Handler: +/* Call the clock system initialization function.*/ + bl SystemInit + /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata ldr r1, =_edata @@ -92,8 +94,6 @@ LoopFillZerobss: cmp r2, r4 bcc FillZerobss -/* Call the clock system intitialization function.*/ - bl SystemInit /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ @@ -346,4 +346,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103xb.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103xb.s index f2b7fbe..7614285 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103xb.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103xb.s @@ -15,13 +15,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,6 +60,9 @@ defined in linker script */ .type Reset_Handler, %function Reset_Handler: +/* Call the clock system initialization function.*/ + bl SystemInit + /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata ldr r1, =_edata @@ -92,8 +94,6 @@ LoopFillZerobss: cmp r2, r4 bcc FillZerobss -/* Call the clock system intitialization function.*/ - bl SystemInit /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ @@ -361,5 +361,4 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103xe.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103xe.s index ef23cee..771aa8a 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103xe.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103xe.s @@ -17,13 +17,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -63,6 +62,9 @@ defined in linker script */ .type Reset_Handler, %function Reset_Handler: +/* Call the clock system initialization function.*/ + bl SystemInit + /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata ldr r1, =_edata @@ -94,8 +96,6 @@ LoopFillZerobss: cmp r2, r4 bcc FillZerobss -/* Call the clock system intitialization function.*/ - bl SystemInit /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ @@ -468,4 +468,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103xg.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103xg.s index 514b2a3..d7dc622 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103xg.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f103xg.s @@ -15,13 +15,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,6 +60,9 @@ defined in linker script */ .type Reset_Handler, %function Reset_Handler: +/* Call the clock system initialization function.*/ + bl SystemInit + /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata ldr r1, =_edata @@ -92,8 +94,6 @@ LoopFillZerobss: cmp r2, r4 bcc FillZerobss -/* Call the clock system intitialization function.*/ - bl SystemInit /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ @@ -464,4 +464,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f105xc.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f105xc.s index 9ca591a..b40a7b0 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f105xc.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f105xc.s @@ -15,13 +15,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,6 +60,9 @@ defined in linker script */ .type Reset_Handler, %function Reset_Handler: +/* Call the clock system initialization function.*/ + bl SystemInit + /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata ldr r1, =_edata @@ -91,8 +93,7 @@ FillZerobss: LoopFillZerobss: cmp r2, r4 bcc FillZerobss -/* Call the clock system intitialization function.*/ - bl SystemInit + /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ @@ -460,4 +461,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f107xc.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f107xc.s index d28b3fd..2d1b748 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f107xc.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/gcc/startup_stm32f107xc.s @@ -15,13 +15,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,6 +60,9 @@ defined in linker script */ .type Reset_Handler, %function Reset_Handler: +/* Call the clock system initialization function.*/ + bl SystemInit + /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata ldr r1, =_edata @@ -92,8 +94,7 @@ LoopFillZerobss: cmp r2, r4 bcc FillZerobss -/* Call the clock system intitialization function.*/ - bl SystemInit + /* Call static constructors */ bl __libc_init_array /* Call the application's entry point.*/ @@ -469,4 +470,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f100xb.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f100xb.s index 1458421..f04e9c0 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f100xb.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f100xb.s @@ -11,17 +11,15 @@ ;* address. ;* After Reset the Cortex-M3 processor is in Thread mode, ;* priority is Privileged, and the Stack is set to Main. -;******************************************************************************* -;* @attention +;******************************************************************************** ;* -;*

                                  © Copyright (c) 2017 STMicroelectronics. -;* All rights reserved.

                                  -;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* Copyright (c) 2017-2021 STMicroelectronics. +;* All rights reserved. ;* +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. +; ;******************************************************************************* ; ; @@ -393,4 +391,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f100xe.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f100xe.s index 93c26bf..3919fd2 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f100xe.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f100xe.s @@ -10,17 +10,15 @@ ;* address. ;* After Reset the Cortex-M3 processor is in Thread mode, ;* priority is Privileged, and the Stack is set to Main. -;******************************************************************************* -;* @attention +;******************************************************************************** ;* -;*

                                  © Copyright (c) 2017 STMicroelectronics. -;* All rights reserved.

                                  -;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* Copyright (c) 2017-2021 STMicroelectronics. +;* All rights reserved. ;* +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. +; ;******************************************************************************* ; ; @@ -459,4 +457,3 @@ DMA2_Channel5_IRQHandler B DMA2_Channel5_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f101x6.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f101x6.s index 167e420..9d2db89 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f101x6.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f101x6.s @@ -11,17 +11,15 @@ ;* address. ;* After Reset the Cortex-M3 processor is in Thread mode, ;* priority is Privileged, and the Stack is set to Main. -;******************************************************************************* -;* @attention +;******************************************************************************** ;* -;*

                                  © Copyright (c) 2017 STMicroelectronics. -;* All rights reserved.

                                  -;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* Copyright (c) 2017-2021 STMicroelectronics. +;* All rights reserved. ;* +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. +; ;******************************************************************************* ; ; @@ -320,4 +318,3 @@ RTC_Alarm_IRQHandler B RTC_Alarm_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f101xb.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f101xb.s index bc80744..8e7fb1d 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f101xb.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f101xb.s @@ -11,17 +11,15 @@ ;* address. ;* After Reset the Cortex-M3 processor is in Thread mode, ;* priority is Privileged, and the Stack is set to Main. -;******************************************************************************* -;* @attention +;******************************************************************************** ;* -;*

                                  © Copyright (c) 2017 STMicroelectronics. -;* All rights reserved.

                                  -;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* Copyright (c) 2017-2021 STMicroelectronics. +;* All rights reserved. ;* +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. +; ;******************************************************************************* ; ; @@ -345,4 +343,3 @@ RTC_Alarm_IRQHandler B RTC_Alarm_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f101xe.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f101xe.s index 51f9ae0..bb6ec5d 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f101xe.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f101xe.s @@ -12,17 +12,15 @@ ;* calls main()). ;* After Reset the Cortex-M3 processor is in Thread mode, ;* priority is Privileged, and the Stack is set to Main. -;******************************************************************************* -;* @attention +;******************************************************************************** ;* -;*

                                  © Copyright (c) 2017 STMicroelectronics. -;* All rights reserved.

                                  -;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* Copyright (c) 2017-2021 STMicroelectronics. +;* All rights reserved. ;* +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. +; ;******************************************************************************* ; ; @@ -425,4 +423,3 @@ DMA2_Channel4_5_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f101xg.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f101xg.s index 21ab456..8a75a07 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f101xg.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f101xg.s @@ -13,17 +13,15 @@ ;* calls main()). ;* After Reset the Cortex-M3 processor is in Thread mode, ;* priority is Privileged, and the Stack is set to Main. -;******************************************************************************* -;* @attention +;******************************************************************************** ;* -;*

                                  © Copyright (c) 2017 STMicroelectronics. -;* All rights reserved.

                                  -;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* Copyright (c) 2017-2021 STMicroelectronics. +;* All rights reserved. ;* +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. +; ;******************************************************************************* ; ; @@ -456,4 +454,3 @@ DMA2_Channel4_5_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f102x6.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f102x6.s index 73f094a..32f2096 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f102x6.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f102x6.s @@ -11,17 +11,15 @@ ;* address. ;* After Reset the Cortex-M3 processor is in Thread mode, ;* priority is Privileged, and the Stack is set to Main. -;******************************************************************************* -;* @attention +;******************************************************************************** ;* -;*

                                  © Copyright (c) 2017 STMicroelectronics. -;* All rights reserved.

                                  -;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* Copyright (c) 2017-2021 STMicroelectronics. +;* All rights reserved. ;* +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. +; ;******************************************************************************* ; ; @@ -335,4 +333,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f102xb.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f102xb.s index 98ad2ab..9b54644 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f102xb.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f102xb.s @@ -11,17 +11,15 @@ ;* address. ;* After Reset the Cortex-M3 processor is in Thread mode, ;* priority is Privileged, and the Stack is set to Main. -;******************************************************************************* -;* @attention +;******************************************************************************** ;* -;*

                                  © Copyright (c) 2017 STMicroelectronics. -;* All rights reserved.

                                  -;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* Copyright (c) 2017-2021 STMicroelectronics. +;* All rights reserved. ;* +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. +; ;******************************************************************************* ; ; @@ -360,4 +358,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103x6.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103x6.s index af92293..b6d9d2a 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103x6.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103x6.s @@ -11,17 +11,15 @@ ;* address. ;* After Reset the Cortex-M3 processor is in Thread mode, ;* priority is Privileged, and the Stack is set to Main. -;******************************************************************************* -;* @attention +;******************************************************************************** ;* -;*

                                  © Copyright (c) 2017 STMicroelectronics. -;* All rights reserved.

                                  -;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* Copyright (c) 2017-2021 STMicroelectronics. +;* All rights reserved. ;* +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. +; ;******************************************************************************* ; ; @@ -365,4 +363,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xb.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xb.s index 8768b84..91bccf1 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xb.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xb.s @@ -11,17 +11,15 @@ ;* address. ;* After Reset the Cortex-M3 processor is in Thread mode, ;* priority is Privileged, and the Stack is set to Main. -;******************************************************************************* -;* @attention +;******************************************************************************** ;* -;*

                                  © Copyright (c) 2017 STMicroelectronics. -;* All rights reserved.

                                  -;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* Copyright (c) 2017-2021 STMicroelectronics. +;* All rights reserved. ;* +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. +; ;******************************************************************************* ; ; @@ -390,4 +388,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xe.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xe.s index 1cca3db..c25a316 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xe.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xe.s @@ -12,17 +12,15 @@ ;* calls main()). ;* After Reset the Cortex-M3 processor is in Thread mode, ;* priority is Privileged, and the Stack is set to Main. -;******************************************************************************* -;* @attention +;******************************************************************************** ;* -;*

                                  © Copyright (c) 2017 STMicroelectronics. -;* All rights reserved.

                                  -;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* Copyright (c) 2017-2021 STMicroelectronics. +;* All rights reserved. ;* +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. +; ;******************************************************************************* ; ; @@ -495,4 +493,3 @@ DMA2_Channel4_5_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xg.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xg.s index 3a16b93..b1febe4 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xg.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f103xg.s @@ -9,17 +9,15 @@ ;* - Set the vector table entries with the exceptions ISR address, ;* After Reset the Cortex-M3 processor is in Thread mode, ;* priority is Privileged, and the Stack is set to Main. -;******************************************************************************* -;* @attention +;******************************************************************************** ;* -;*

                                  © Copyright (c) 2017 STMicroelectronics. -;* All rights reserved.

                                  -;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* Copyright (c) 2017-2021 STMicroelectronics. +;* All rights reserved. ;* +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. +; ;******************************************************************************* ; ; @@ -492,4 +490,3 @@ DMA2_Channel4_5_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f105xc.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f105xc.s index dc80673..95b667e 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f105xc.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f105xc.s @@ -11,17 +11,15 @@ ;* address. ;* After Reset the Cortex-M3 processor is in Thread mode, ;* priority is Privileged, and the Stack is set to Main. -;******************************************************************************* -;* @attention +;******************************************************************************** ;* -;*

                                  © Copyright (c) 2017 STMicroelectronics. -;* All rights reserved.

                                  -;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* Copyright (c) 2017-2021 STMicroelectronics. +;* All rights reserved. ;* +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. +; ;******************************************************************************* ; ; @@ -506,4 +504,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f107xc.s b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f107xc.s index 784cf54..b141e69 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f107xc.s +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/iar/startup_stm32f107xc.s @@ -11,17 +11,15 @@ ;* address. ;* After Reset the Cortex-M3 processor is in Thread mode, ;* priority is Privileged, and the Stack is set to Main. -;******************************************************************************* -;* @attention +;******************************************************************************** ;* -;*

                                  © Copyright (c) 2017 STMicroelectronics. -;* All rights reserved.

                                  -;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* Copyright (c) 2017-2021 STMicroelectronics. +;* All rights reserved. ;* +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. +; ;******************************************************************************* ; ; @@ -506,4 +504,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c index bc96aae..3e277e6 100644 --- a/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017-2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -404,5 +403,4 @@ void SystemInit_ExtMemCtl(void) /** * @} - */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + */ diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/_htmresc/favicon.png b/Drivers/CMSIS/Device/ST/STM32F1xx/_htmresc/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..06713eec4974e141c6e9b4156d34e61e89f282ca GIT binary patch literal 4126 zcmV+(5aI8MP)ZIGU@QfPy~$kHP}Vz9c$a)g>fT6hB^OaK4>c|MGS0000HbW%=J|NsC0|NsC0 z|NsC0|NsC0041%NVgLXD!bwCyRCwCllie1CAP9sJ&9ooo{hxLjw5@YC+xxf~%TE}{ zNd5%935b--eKa7{Q8)vZ;eI6pGFH>rL)887WOA={e(b_&0g-g6to#Hm2B3vqWV>1u z@z7*I(bdWdx-Y=OT@|og)oZEgAbc7ep|Gf{$7j1Oa#T&r4>0xv(+}tR_4biWa z1Q-BfcsgeLIJPbT0000rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-kiKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z000F^NklQWRUVq~pvFslpiNq83Yr*1(ELa!!kppKfxQKEkPzz^I>0W)!71xam z(B64`)5a~kHf9SBOp*Wvo{xA*e4|Kv3g6TCo+fF8q^C$|g>#NlXyY$%lmkmCh$x1Z zFbJ_hiDG`37w>KPVB83d7E3>R@-M9$`|}|QFF}1qSk!nanPdVd3K38edo3y+D*=Uo zfOWCwj(F@GSjPG&B<0O;H!Zm0g>eDeK09{b@xB};mEy; z;Gp5H_Cr65qKM1uYIu6x&16!Ei=BHfJLe)1IUnFqc6d#D=ZVQmV9C73vy1=x$SK;s z=*CYZP+Ei1D5Vjl#u88v5dv#jId?iu)8mM}{mD`GcMXtAC5ap?ZoKr&iYuqTKHe$t zTR%R$ZZwxec?l+0r_LIVbe-mzH+D0*ZYsu4BE~~JA2A+AD?BAArO=g8ZfvXtU~o9c zZ(Bd-RFK5jh*DvM1v6^41HB@0K0qn7E8E&Xz1mk6hvmx?*|WB_H!dcO;5R$=<4b~s z5zr3N4zxlkMKOrDeny(PGpEM6^hGyc7lhg>MWtM!af*pn%&q_PxI(n^(-Zd{ICPAp z(WE@Zz5|EZyt{MEDy&l5$Cba^zU!9k&;Vs7lk$@o02LOwb#e2{#3%Cn2>kQF(RKUU z+tW!;FT0@d+TX^L;>@3RytlTP&ts$pqA}TwENBlg9?$-D zF9Sn4URZx8)hVBw<~NY=h3=so7{jEhG%Zc_0QBSvY~K4BS|W5MAem5XSb6m}VDN$f zy+b3n9qjIJoHM5pqYa`IPH9AIoM=!AE1Er>r|3E}#Jq-S)cTrfD&TZjAuN@+V}3mi zlhOce+q<8>Y?i93G=*Z3Web`ri!Q%p%LR*(bB?;|)B`&=J&ab0Z(UKpbzyZV5o*#& z0FLzzaI$v*-#WB)+`n>BoJ*1AwU0XSu;@w&Hu1WYXVR#!8itC%68CzMeiXhL#`9W$9J30NB-Wg!ex`hBlg9F5u@&o4>hd`TWPv z{r{JbyvQGZzbyvPS}zAifbhF49z~X|@9v|!=No>qsF|P~vf=g>7#%0yk<U?Ha8*Z4HW>#8w>z$A3 z>^uQlk;$a-6CQ(uc@RM)Cbss!xuPVl2@c1u-5tEUw}U8OfP_J+QYhfu$B<0Cj3xm7 c?*aZZ00ulYFs-m=@&Et;07*qoM6N<$f~=14i~s-t literal 0 HcmV?d00001 diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/_htmresc/mini-st_2020.css b/Drivers/CMSIS/Device/ST/STM32F1xx/_htmresc/mini-st_2020.css new file mode 100644 index 0000000..3d9e81a --- /dev/null +++ b/Drivers/CMSIS/Device/ST/STM32F1xx/_htmresc/mini-st_2020.css @@ -0,0 +1,1703 @@ +@charset "UTF-8"; +/* + Flavor name: Custom (mini-custom) + Generated online - https://minicss.org/flavors + mini.css version: v3.0.1 +*/ +/* + Browsers resets and base typography. +*/ +/* Core module CSS variable definitions */ +:root { + --fore-color: #03234b; + --secondary-fore-color: #03234b; + --back-color: #ffffff; + --secondary-back-color: #ffffff; + --blockquote-color: #e6007e; + --pre-color: #e6007e; + --border-color: #3cb4e6; + --secondary-border-color: #3cb4e6; + --heading-ratio: 1.2; + --universal-margin: 0.5rem; + --universal-padding: 0.25rem; + --universal-border-radius: 0.075rem; + --background-margin: 1.5%; + --a-link-color: #3cb4e6; + --a-visited-color: #8c0078; } + +html { + font-size: 13.5px; } + +a, b, del, em, i, ins, q, span, strong, u { + font-size: 1em; } + +html, * { + font-family: -apple-system, BlinkMacSystemFont, Helvetica, arial, sans-serif; + line-height: 1.25; + -webkit-text-size-adjust: 100%; } + +* { + font-size: 1rem; } + +body { + margin: 0; + color: var(--fore-color); + @background: var(--back-color); + background: var(--back-color) linear-gradient(#ffd200, #ffd200) repeat-y left top; + background-size: var(--background-margin); + } + +details { + display: block; } + +summary { + display: list-item; } + +abbr[title] { + border-bottom: none; + text-decoration: underline dotted; } + +input { + overflow: visible; } + +img { + max-width: 100%; + height: auto; } + +h1, h2, h3, h4, h5, h6 { + line-height: 1.25; + margin: calc(1.5 * var(--universal-margin)) var(--universal-margin); + font-weight: 400; } + h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { + color: var(--secondary-fore-color); + display: block; + margin-top: -0.25rem; } + +h1 { + font-size: calc(1rem * var(--heading-ratio) * var(--heading-ratio) * var(--heading-ratio)); } + +h2 { + font-size: calc(1rem * var(--heading-ratio) * var(--heading-ratio) ); + border-style: none none solid none ; + border-width: thin; + border-color: var(--border-color); } +h3 { + font-size: calc(1rem * var(--heading-ratio) ); } + +h4 { + font-size: calc(1rem * var(--heading-ratio)); } + +h5 { + font-size: 1rem; } + +h6 { + font-size: calc(1rem / var(--heading-ratio)); } + +p { + margin: var(--universal-margin); } + +ol, ul { + margin: var(--universal-margin); + padding-left: calc(3 * var(--universal-margin)); } + +b, strong { + font-weight: 700; } + +hr { + box-sizing: content-box; + border: 0; + line-height: 1.25em; + margin: var(--universal-margin); + height: 0.0714285714rem; + background: linear-gradient(to right, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent); } + +blockquote { + display: block; + position: relative; + font-style: italic; + color: var(--secondary-fore-color); + margin: var(--universal-margin); + padding: calc(3 * var(--universal-padding)); + border: 0.0714285714rem solid var(--secondary-border-color); + border-left: 0.3rem solid var(--blockquote-color); + border-radius: 0 var(--universal-border-radius) var(--universal-border-radius) 0; } + blockquote:before { + position: absolute; + top: calc(0rem - var(--universal-padding)); + left: 0; + font-family: sans-serif; + font-size: 2rem; + font-weight: 800; + content: "\201c"; + color: var(--blockquote-color); } + blockquote[cite]:after { + font-style: normal; + font-size: 0.75em; + font-weight: 700; + content: "\a— " attr(cite); + white-space: pre; } + +code, kbd, pre, samp { + font-family: Menlo, Consolas, monospace; + font-size: 0.85em; } + +code { + background: var(--secondary-back-color); + border-radius: var(--universal-border-radius); + padding: calc(var(--universal-padding) / 4) calc(var(--universal-padding) / 2); } + +kbd { + background: var(--fore-color); + color: var(--back-color); + border-radius: var(--universal-border-radius); + padding: calc(var(--universal-padding) / 4) calc(var(--universal-padding) / 2); } + +pre { + overflow: auto; + background: var(--secondary-back-color); + padding: calc(1.5 * var(--universal-padding)); + margin: var(--universal-margin); + border: 0.0714285714rem solid var(--secondary-border-color); + border-left: 0.2857142857rem solid var(--pre-color); + border-radius: 0 var(--universal-border-radius) var(--universal-border-radius) 0; } + +sup, sub, code, kbd { + line-height: 0; + position: relative; + vertical-align: baseline; } + +small, sup, sub, figcaption { + font-size: 0.75em; } + +sup { + top: -0.5em; } + +sub { + bottom: -0.25em; } + +figure { + margin: var(--universal-margin); } + +figcaption { + color: var(--secondary-fore-color); } + +a { + text-decoration: none; } + a:link { + color: var(--a-link-color); } + a:visited { + color: var(--a-visited-color); } + a:hover, a:focus { + text-decoration: underline; } + +/* + Definitions for the grid system, cards and containers. +*/ +.container { + margin: 0 auto; + padding: 0 calc(1.5 * var(--universal-padding)); } + +.row { + box-sizing: border-box; + display: flex; + flex: 0 1 auto; + flex-flow: row wrap; + margin: 0 0 0 var(--background-margin); } + +.col-sm, +[class^='col-sm-'], +[class^='col-sm-offset-'], +.row[class*='cols-sm-'] > * { + box-sizing: border-box; + flex: 0 0 auto; + padding: 0 calc(var(--universal-padding) / 2); } + +.col-sm, +.row.cols-sm > * { + max-width: 100%; + flex-grow: 1; + flex-basis: 0; } + +.col-sm-1, +.row.cols-sm-1 > * { + max-width: 8.3333333333%; + flex-basis: 8.3333333333%; } + +.col-sm-offset-0 { + margin-left: 0; } + +.col-sm-2, +.row.cols-sm-2 > * { + max-width: 16.6666666667%; + flex-basis: 16.6666666667%; } + +.col-sm-offset-1 { + margin-left: 8.3333333333%; } + +.col-sm-3, +.row.cols-sm-3 > * { + max-width: 25%; + flex-basis: 25%; } + +.col-sm-offset-2 { + margin-left: 16.6666666667%; } + +.col-sm-4, +.row.cols-sm-4 > * { + max-width: 33.3333333333%; + flex-basis: 33.3333333333%; } + +.col-sm-offset-3 { + margin-left: 25%; } + +.col-sm-5, +.row.cols-sm-5 > * { + max-width: 41.6666666667%; + flex-basis: 41.6666666667%; } + +.col-sm-offset-4 { + margin-left: 33.3333333333%; } + +.col-sm-6, +.row.cols-sm-6 > * { + max-width: 50%; + flex-basis: 50%; } + +.col-sm-offset-5 { + margin-left: 41.6666666667%; } + +.col-sm-7, +.row.cols-sm-7 > * { + max-width: 58.3333333333%; + flex-basis: 58.3333333333%; } + +.col-sm-offset-6 { + margin-left: 50%; } + +.col-sm-8, +.row.cols-sm-8 > * { + max-width: 66.6666666667%; + flex-basis: 66.6666666667%; } + +.col-sm-offset-7 { + margin-left: 58.3333333333%; } + +.col-sm-9, +.row.cols-sm-9 > * { + max-width: 75%; + flex-basis: 75%; } + +.col-sm-offset-8 { + margin-left: 66.6666666667%; } + +.col-sm-10, +.row.cols-sm-10 > * { + max-width: 83.3333333333%; + flex-basis: 83.3333333333%; } + +.col-sm-offset-9 { + margin-left: 75%; } + +.col-sm-11, +.row.cols-sm-11 > * { + max-width: 91.6666666667%; + flex-basis: 91.6666666667%; } + +.col-sm-offset-10 { + margin-left: 83.3333333333%; } + +.col-sm-12, +.row.cols-sm-12 > * { + max-width: 100%; + flex-basis: 100%; } + +.col-sm-offset-11 { + margin-left: 91.6666666667%; } + +.col-sm-normal { + order: initial; } + +.col-sm-first { + order: -999; } + +.col-sm-last { + order: 999; } + +@media screen and (min-width: 500px) { + .col-md, + [class^='col-md-'], + [class^='col-md-offset-'], + .row[class*='cols-md-'] > * { + box-sizing: border-box; + flex: 0 0 auto; + padding: 0 calc(var(--universal-padding) / 2); } + + .col-md, + .row.cols-md > * { + max-width: 100%; + flex-grow: 1; + flex-basis: 0; } + + .col-md-1, + .row.cols-md-1 > * { + max-width: 8.3333333333%; + flex-basis: 8.3333333333%; } + + .col-md-offset-0 { + margin-left: 0; } + + .col-md-2, + .row.cols-md-2 > * { + max-width: 16.6666666667%; + flex-basis: 16.6666666667%; } + + .col-md-offset-1 { + margin-left: 8.3333333333%; } + + .col-md-3, + .row.cols-md-3 > * { + max-width: 25%; + flex-basis: 25%; } + + .col-md-offset-2 { + margin-left: 16.6666666667%; } + + .col-md-4, + .row.cols-md-4 > * { + max-width: 33.3333333333%; + flex-basis: 33.3333333333%; } + + .col-md-offset-3 { + margin-left: 25%; } + + .col-md-5, + .row.cols-md-5 > * { + max-width: 41.6666666667%; + flex-basis: 41.6666666667%; } + + .col-md-offset-4 { + margin-left: 33.3333333333%; } + + .col-md-6, + .row.cols-md-6 > * { + max-width: 50%; + flex-basis: 50%; } + + .col-md-offset-5 { + margin-left: 41.6666666667%; } + + .col-md-7, + .row.cols-md-7 > * { + max-width: 58.3333333333%; + flex-basis: 58.3333333333%; } + + .col-md-offset-6 { + margin-left: 50%; } + + .col-md-8, + .row.cols-md-8 > * { + max-width: 66.6666666667%; + flex-basis: 66.6666666667%; } + + .col-md-offset-7 { + margin-left: 58.3333333333%; } + + .col-md-9, + .row.cols-md-9 > * { + max-width: 75%; + flex-basis: 75%; } + + .col-md-offset-8 { + margin-left: 66.6666666667%; } + + .col-md-10, + .row.cols-md-10 > * { + max-width: 83.3333333333%; + flex-basis: 83.3333333333%; } + + .col-md-offset-9 { + margin-left: 75%; } + + .col-md-11, + .row.cols-md-11 > * { + max-width: 91.6666666667%; + flex-basis: 91.6666666667%; } + + .col-md-offset-10 { + margin-left: 83.3333333333%; } + + .col-md-12, + .row.cols-md-12 > * { + max-width: 100%; + flex-basis: 100%; } + + .col-md-offset-11 { + margin-left: 91.6666666667%; } + + .col-md-normal { + order: initial; } + + .col-md-first { + order: -999; } + + .col-md-last { + order: 999; } } +@media screen and (min-width: 1280px) { + .col-lg, + [class^='col-lg-'], + [class^='col-lg-offset-'], + .row[class*='cols-lg-'] > * { + box-sizing: border-box; + flex: 0 0 auto; + padding: 0 calc(var(--universal-padding) / 2); } + + .col-lg, + .row.cols-lg > * { + max-width: 100%; + flex-grow: 1; + flex-basis: 0; } + + .col-lg-1, + .row.cols-lg-1 > * { + max-width: 8.3333333333%; + flex-basis: 8.3333333333%; } + + .col-lg-offset-0 { + margin-left: 0; } + + .col-lg-2, + .row.cols-lg-2 > * { + max-width: 16.6666666667%; + flex-basis: 16.6666666667%; } + + .col-lg-offset-1 { + margin-left: 8.3333333333%; } + + .col-lg-3, + .row.cols-lg-3 > * { + max-width: 25%; + flex-basis: 25%; } + + .col-lg-offset-2 { + margin-left: 16.6666666667%; } + + .col-lg-4, + .row.cols-lg-4 > * { + max-width: 33.3333333333%; + flex-basis: 33.3333333333%; } + + .col-lg-offset-3 { + margin-left: 25%; } + + .col-lg-5, + .row.cols-lg-5 > * { + max-width: 41.6666666667%; + flex-basis: 41.6666666667%; } + + .col-lg-offset-4 { + margin-left: 33.3333333333%; } + + .col-lg-6, + .row.cols-lg-6 > * { + max-width: 50%; + flex-basis: 50%; } + + .col-lg-offset-5 { + margin-left: 41.6666666667%; } + + .col-lg-7, + .row.cols-lg-7 > * { + max-width: 58.3333333333%; + flex-basis: 58.3333333333%; } + + .col-lg-offset-6 { + margin-left: 50%; } + + .col-lg-8, + .row.cols-lg-8 > * { + max-width: 66.6666666667%; + flex-basis: 66.6666666667%; } + + .col-lg-offset-7 { + margin-left: 58.3333333333%; } + + .col-lg-9, + .row.cols-lg-9 > * { + max-width: 75%; + flex-basis: 75%; } + + .col-lg-offset-8 { + margin-left: 66.6666666667%; } + + .col-lg-10, + .row.cols-lg-10 > * { + max-width: 83.3333333333%; + flex-basis: 83.3333333333%; } + + .col-lg-offset-9 { + margin-left: 75%; } + + .col-lg-11, + .row.cols-lg-11 > * { + max-width: 91.6666666667%; + flex-basis: 91.6666666667%; } + + .col-lg-offset-10 { + margin-left: 83.3333333333%; } + + .col-lg-12, + .row.cols-lg-12 > * { + max-width: 100%; + flex-basis: 100%; } + + .col-lg-offset-11 { + margin-left: 91.6666666667%; } + + .col-lg-normal { + order: initial; } + + .col-lg-first { + order: -999; } + + .col-lg-last { + order: 999; } } +/* Card component CSS variable definitions */ +:root { + --card-back-color: #3cb4e6; + --card-fore-color: #03234b; + --card-border-color: #03234b; } + +.card { + display: flex; + flex-direction: column; + justify-content: space-between; + align-self: center; + position: relative; + width: 100%; + background: var(--card-back-color); + color: var(--card-fore-color); + border: 0.0714285714rem solid var(--card-border-color); + border-radius: var(--universal-border-radius); + margin: var(--universal-margin); + overflow: hidden; } + @media screen and (min-width: 320px) { + .card { + max-width: 320px; } } + .card > .sectione { + background: var(--card-back-color); + color: var(--card-fore-color); + box-sizing: border-box; + margin: 0; + border: 0; + border-radius: 0; + border-bottom: 0.0714285714rem solid var(--card-border-color); + padding: var(--universal-padding); + width: 100%; } + .card > .sectione.media { + height: 200px; + padding: 0; + -o-object-fit: cover; + object-fit: cover; } + .card > .sectione:last-child { + border-bottom: 0; } + +/* + Custom elements for card elements. +*/ +@media screen and (min-width: 240px) { + .card.small { + max-width: 240px; } } +@media screen and (min-width: 480px) { + .card.large { + max-width: 480px; } } +.card.fluid { + max-width: 100%; + width: auto; } + +.card.warning { + --card-back-color: #e5b8b7; + --card-fore-color: #3b234b; + --card-border-color: #8c0078; } + +.card.error { + --card-back-color: #464650; + --card-fore-color: #ffffff; + --card-border-color: #8c0078; } + +.card > .sectione.dark { + --card-back-color: #3b234b; + --card-fore-color: #ffffff; } + +.card > .sectione.double-padded { + padding: calc(1.5 * var(--universal-padding)); } + +/* + Definitions for forms and input elements. +*/ +/* Input_control module CSS variable definitions */ +:root { + --form-back-color: #ffe97f; + --form-fore-color: #03234b; + --form-border-color: #3cb4e6; + --input-back-color: #ffffff; + --input-fore-color: #03234b; + --input-border-color: #3cb4e6; + --input-focus-color: #0288d1; + --input-invalid-color: #d32f2f; + --button-back-color: #e2e2e2; + --button-hover-back-color: #dcdcdc; + --button-fore-color: #212121; + --button-border-color: transparent; + --button-hover-border-color: transparent; + --button-group-border-color: rgba(124, 124, 124, 0.54); } + +form { + background: var(--form-back-color); + color: var(--form-fore-color); + border: 0.0714285714rem solid var(--form-border-color); + border-radius: var(--universal-border-radius); + margin: var(--universal-margin); + padding: calc(2 * var(--universal-padding)) var(--universal-padding); } + +fieldset { + border: 0.0714285714rem solid var(--form-border-color); + border-radius: var(--universal-border-radius); + margin: calc(var(--universal-margin) / 4); + padding: var(--universal-padding); } + +legend { + box-sizing: border-box; + display: table; + max-width: 100%; + white-space: normal; + font-weight: 500; + padding: calc(var(--universal-padding) / 2); } + +label { + padding: calc(var(--universal-padding) / 2) var(--universal-padding); } + +.input-group { + display: inline-block; } + .input-group.fluid { + display: flex; + align-items: center; + justify-content: center; } + .input-group.fluid > input { + max-width: 100%; + flex-grow: 1; + flex-basis: 0px; } + @media screen and (max-width: 499px) { + .input-group.fluid { + align-items: stretch; + flex-direction: column; } } + .input-group.vertical { + display: flex; + align-items: stretch; + flex-direction: column; } + .input-group.vertical > input { + max-width: 100%; + flex-grow: 1; + flex-basis: 0px; } + +[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { + height: auto; } + +[type="search"] { + -webkit-appearance: textfield; + outline-offset: -2px; } + +[type="search"]::-webkit-search-cancel-button, +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; } + +input:not([type]), [type="text"], [type="email"], [type="number"], [type="search"], +[type="password"], [type="url"], [type="tel"], [type="checkbox"], [type="radio"], textarea, select { + box-sizing: border-box; + background: var(--input-back-color); + color: var(--input-fore-color); + border: 0.0714285714rem solid var(--input-border-color); + border-radius: var(--universal-border-radius); + margin: calc(var(--universal-margin) / 2); + padding: var(--universal-padding) calc(1.5 * var(--universal-padding)); } + +input:not([type="button"]):not([type="submit"]):not([type="reset"]):hover, input:not([type="button"]):not([type="submit"]):not([type="reset"]):focus, textarea:hover, textarea:focus, select:hover, select:focus { + border-color: var(--input-focus-color); + box-shadow: none; } +input:not([type="button"]):not([type="submit"]):not([type="reset"]):invalid, input:not([type="button"]):not([type="submit"]):not([type="reset"]):focus:invalid, textarea:invalid, textarea:focus:invalid, select:invalid, select:focus:invalid { + border-color: var(--input-invalid-color); + box-shadow: none; } +input:not([type="button"]):not([type="submit"]):not([type="reset"])[readonly], textarea[readonly], select[readonly] { + background: var(--secondary-back-color); } + +select { + max-width: 100%; } + +option { + overflow: hidden; + text-overflow: ellipsis; } + +[type="checkbox"], [type="radio"] { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + position: relative; + height: calc(1rem + var(--universal-padding) / 2); + width: calc(1rem + var(--universal-padding) / 2); + vertical-align: text-bottom; + padding: 0; + flex-basis: calc(1rem + var(--universal-padding) / 2) !important; + flex-grow: 0 !important; } + [type="checkbox"]:checked:before, [type="radio"]:checked:before { + position: absolute; } + +[type="checkbox"]:checked:before { + content: '\2713'; + font-family: sans-serif; + font-size: calc(1rem + var(--universal-padding) / 2); + top: calc(0rem - var(--universal-padding)); + left: calc(var(--universal-padding) / 4); } + +[type="radio"] { + border-radius: 100%; } + [type="radio"]:checked:before { + border-radius: 100%; + content: ''; + top: calc(0.0714285714rem + var(--universal-padding) / 2); + left: calc(0.0714285714rem + var(--universal-padding) / 2); + background: var(--input-fore-color); + width: 0.5rem; + height: 0.5rem; } + +:placeholder-shown { + color: var(--input-fore-color); } + +::-ms-placeholder { + color: var(--input-fore-color); + opacity: 0.54; } + +button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; } + +button, html [type="button"], [type="reset"], [type="submit"] { + -webkit-appearance: button; } + +button { + overflow: visible; + text-transform: none; } + +button, [type="button"], [type="submit"], [type="reset"], +a.button, label.button, .button, +a[role="button"], label[role="button"], [role="button"] { + display: inline-block; + background: var(--button-back-color); + color: var(--button-fore-color); + border: 0.0714285714rem solid var(--button-border-color); + border-radius: var(--universal-border-radius); + padding: var(--universal-padding) calc(1.5 * var(--universal-padding)); + margin: var(--universal-margin); + text-decoration: none; + cursor: pointer; + transition: background 0.3s; } + button:hover, button:focus, [type="button"]:hover, [type="button"]:focus, [type="submit"]:hover, [type="submit"]:focus, [type="reset"]:hover, [type="reset"]:focus, + a.button:hover, + a.button:focus, label.button:hover, label.button:focus, .button:hover, .button:focus, + a[role="button"]:hover, + a[role="button"]:focus, label[role="button"]:hover, label[role="button"]:focus, [role="button"]:hover, [role="button"]:focus { + background: var(--button-hover-back-color); + border-color: var(--button-hover-border-color); } + +input:disabled, input[disabled], textarea:disabled, textarea[disabled], select:disabled, select[disabled], button:disabled, button[disabled], .button:disabled, .button[disabled], [role="button"]:disabled, [role="button"][disabled] { + cursor: not-allowed; + opacity: 0.75; } + +.button-group { + display: flex; + border: 0.0714285714rem solid var(--button-group-border-color); + border-radius: var(--universal-border-radius); + margin: var(--universal-margin); } + .button-group > button, .button-group [type="button"], .button-group > [type="submit"], .button-group > [type="reset"], .button-group > .button, .button-group > [role="button"] { + margin: 0; + max-width: 100%; + flex: 1 1 auto; + text-align: center; + border: 0; + border-radius: 0; + box-shadow: none; } + .button-group > :not(:first-child) { + border-left: 0.0714285714rem solid var(--button-group-border-color); } + @media screen and (max-width: 499px) { + .button-group { + flex-direction: column; } + .button-group > :not(:first-child) { + border: 0; + border-top: 0.0714285714rem solid var(--button-group-border-color); } } + +/* + Custom elements for forms and input elements. +*/ +button.primary, [type="button"].primary, [type="submit"].primary, [type="reset"].primary, .button.primary, [role="button"].primary { + --button-back-color: #1976d2; + --button-fore-color: #f8f8f8; } + button.primary:hover, button.primary:focus, [type="button"].primary:hover, [type="button"].primary:focus, [type="submit"].primary:hover, [type="submit"].primary:focus, [type="reset"].primary:hover, [type="reset"].primary:focus, .button.primary:hover, .button.primary:focus, [role="button"].primary:hover, [role="button"].primary:focus { + --button-hover-back-color: #1565c0; } + +button.secondary, [type="button"].secondary, [type="submit"].secondary, [type="reset"].secondary, .button.secondary, [role="button"].secondary { + --button-back-color: #d32f2f; + --button-fore-color: #f8f8f8; } + button.secondary:hover, button.secondary:focus, [type="button"].secondary:hover, [type="button"].secondary:focus, [type="submit"].secondary:hover, [type="submit"].secondary:focus, [type="reset"].secondary:hover, [type="reset"].secondary:focus, .button.secondary:hover, .button.secondary:focus, [role="button"].secondary:hover, [role="button"].secondary:focus { + --button-hover-back-color: #c62828; } + +button.tertiary, [type="button"].tertiary, [type="submit"].tertiary, [type="reset"].tertiary, .button.tertiary, [role="button"].tertiary { + --button-back-color: #308732; + --button-fore-color: #f8f8f8; } + button.tertiary:hover, button.tertiary:focus, [type="button"].tertiary:hover, [type="button"].tertiary:focus, [type="submit"].tertiary:hover, [type="submit"].tertiary:focus, [type="reset"].tertiary:hover, [type="reset"].tertiary:focus, .button.tertiary:hover, .button.tertiary:focus, [role="button"].tertiary:hover, [role="button"].tertiary:focus { + --button-hover-back-color: #277529; } + +button.inverse, [type="button"].inverse, [type="submit"].inverse, [type="reset"].inverse, .button.inverse, [role="button"].inverse { + --button-back-color: #212121; + --button-fore-color: #f8f8f8; } + button.inverse:hover, button.inverse:focus, [type="button"].inverse:hover, [type="button"].inverse:focus, [type="submit"].inverse:hover, [type="submit"].inverse:focus, [type="reset"].inverse:hover, [type="reset"].inverse:focus, .button.inverse:hover, .button.inverse:focus, [role="button"].inverse:hover, [role="button"].inverse:focus { + --button-hover-back-color: #111; } + +button.small, [type="button"].small, [type="submit"].small, [type="reset"].small, .button.small, [role="button"].small { + padding: calc(0.5 * var(--universal-padding)) calc(0.75 * var(--universal-padding)); + margin: var(--universal-margin); } + +button.large, [type="button"].large, [type="submit"].large, [type="reset"].large, .button.large, [role="button"].large { + padding: calc(1.5 * var(--universal-padding)) calc(2 * var(--universal-padding)); + margin: var(--universal-margin); } + +/* + Definitions for navigation elements. +*/ +/* Navigation module CSS variable definitions */ +:root { + --header-back-color: #03234b; + --header-hover-back-color: #ffd200; + --header-fore-color: #ffffff; + --header-border-color: #3cb4e6; + --nav-back-color: #ffffff; + --nav-hover-back-color: #ffe97f; + --nav-fore-color: #e6007e; + --nav-border-color: #3cb4e6; + --nav-link-color: #3cb4e6; + --footer-fore-color: #ffffff; + --footer-back-color: #03234b; + --footer-border-color: #3cb4e6; + --footer-link-color: #3cb4e6; + --drawer-back-color: #ffffff; + --drawer-hover-back-color: #ffe97f; + --drawer-border-color: #3cb4e6; + --drawer-close-color: #e6007e; } + +header { + height: 2.75rem; + background: var(--header-back-color); + color: var(--header-fore-color); + border-bottom: 0.0714285714rem solid var(--header-border-color); + padding: calc(var(--universal-padding) / 4) 0; + white-space: nowrap; + overflow-x: auto; + overflow-y: hidden; } + header.row { + box-sizing: content-box; } + header .logo { + color: var(--header-fore-color); + font-size: 1.75rem; + padding: var(--universal-padding) calc(2 * var(--universal-padding)); + text-decoration: none; } + header button, header [type="button"], header .button, header [role="button"] { + box-sizing: border-box; + position: relative; + top: calc(0rem - var(--universal-padding) / 4); + height: calc(3.1875rem + var(--universal-padding) / 2); + background: var(--header-back-color); + line-height: calc(3.1875rem - var(--universal-padding) * 1.5); + text-align: center; + color: var(--header-fore-color); + border: 0; + border-radius: 0; + margin: 0; + text-transform: uppercase; } + header button:hover, header button:focus, header [type="button"]:hover, header [type="button"]:focus, header .button:hover, header .button:focus, header [role="button"]:hover, header [role="button"]:focus { + background: var(--header-hover-back-color); } + +nav { + background: var(--nav-back-color); + color: var(--nav-fore-color); + border: 0.0714285714rem solid var(--nav-border-color); + border-radius: var(--universal-border-radius); + margin: var(--universal-margin); } + nav * { + padding: var(--universal-padding) calc(1.5 * var(--universal-padding)); } + nav a, nav a:visited { + display: block; + color: var(--nav-link-color); + border-radius: var(--universal-border-radius); + transition: background 0.3s; } + nav a:hover, nav a:focus, nav a:visited:hover, nav a:visited:focus { + text-decoration: none; + background: var(--nav-hover-back-color); } + nav .sublink-1 { + position: relative; + margin-left: calc(2 * var(--universal-padding)); } + nav .sublink-1:before { + position: absolute; + left: calc(var(--universal-padding) - 1 * var(--universal-padding)); + top: -0.0714285714rem; + content: ''; + height: 100%; + border: 0.0714285714rem solid var(--nav-border-color); + border-left: 0; } + nav .sublink-2 { + position: relative; + margin-left: calc(4 * var(--universal-padding)); } + nav .sublink-2:before { + position: absolute; + left: calc(var(--universal-padding) - 3 * var(--universal-padding)); + top: -0.0714285714rem; + content: ''; + height: 100%; + border: 0.0714285714rem solid var(--nav-border-color); + border-left: 0; } + +footer { + background: var(--footer-back-color); + color: var(--footer-fore-color); + border-top: 0.0714285714rem solid var(--footer-border-color); + padding: calc(2 * var(--universal-padding)) var(--universal-padding); + font-size: 0.875rem; } + footer a, footer a:visited { + color: var(--footer-link-color); } + +header.sticky { + position: -webkit-sticky; + position: sticky; + z-index: 1101; + top: 0; } + +footer.sticky { + position: -webkit-sticky; + position: sticky; + z-index: 1101; + bottom: 0; } + +.drawer-toggle:before { + display: inline-block; + position: relative; + vertical-align: bottom; + content: '\00a0\2261\00a0'; + font-family: sans-serif; + font-size: 1.5em; } +@media screen and (min-width: 500px) { + .drawer-toggle:not(.persistent) { + display: none; } } + +[type="checkbox"].drawer { + height: 1px; + width: 1px; + margin: -1px; + overflow: hidden; + position: absolute; + clip: rect(0 0 0 0); + -webkit-clip-path: inset(100%); + clip-path: inset(100%); } + [type="checkbox"].drawer + * { + display: block; + box-sizing: border-box; + position: fixed; + top: 0; + width: 320px; + height: 100vh; + overflow-y: auto; + background: var(--drawer-back-color); + border: 0.0714285714rem solid var(--drawer-border-color); + border-radius: 0; + margin: 0; + z-index: 1110; + right: -320px; + transition: right 0.3s; } + [type="checkbox"].drawer + * .drawer-close { + position: absolute; + top: var(--universal-margin); + right: var(--universal-margin); + z-index: 1111; + width: 2rem; + height: 2rem; + border-radius: var(--universal-border-radius); + padding: var(--universal-padding); + margin: 0; + cursor: pointer; + transition: background 0.3s; } + [type="checkbox"].drawer + * .drawer-close:before { + display: block; + content: '\00D7'; + color: var(--drawer-close-color); + position: relative; + font-family: sans-serif; + font-size: 2rem; + line-height: 1; + text-align: center; } + [type="checkbox"].drawer + * .drawer-close:hover, [type="checkbox"].drawer + * .drawer-close:focus { + background: var(--drawer-hover-back-color); } + @media screen and (max-width: 320px) { + [type="checkbox"].drawer + * { + width: 100%; } } + [type="checkbox"].drawer:checked + * { + right: 0; } + @media screen and (min-width: 500px) { + [type="checkbox"].drawer:not(.persistent) + * { + position: static; + height: 100%; + z-index: 1100; } + [type="checkbox"].drawer:not(.persistent) + * .drawer-close { + display: none; } } + +/* + Definitions for the responsive table component. +*/ +/* Table module CSS variable definitions. */ +:root { + --table-border-color: #03234b; + --table-border-separator-color: #03234b; + --table-head-back-color: #03234b; + --table-head-fore-color: #ffffff; + --table-body-back-color: #ffffff; + --table-body-fore-color: #03234b; + --table-body-alt-back-color: #f4f4f4; } + +table { + border-collapse: separate; + border-spacing: 0; + margin: 0; + display: flex; + flex: 0 1 auto; + flex-flow: row wrap; + padding: var(--universal-padding); + padding-top: 0; } + table caption { + font-size: 1rem; + margin: calc(2 * var(--universal-margin)) 0; + max-width: 100%; + flex: 0 0 100%; } + table thead, table tbody { + display: flex; + flex-flow: row wrap; + border: 0.0714285714rem solid var(--table-border-color); } + table thead { + z-index: 999; + border-radius: var(--universal-border-radius) var(--universal-border-radius) 0 0; + border-bottom: 0.0714285714rem solid var(--table-border-separator-color); } + table tbody { + border-top: 0; + margin-top: calc(0 - var(--universal-margin)); + border-radius: 0 0 var(--universal-border-radius) var(--universal-border-radius); } + table tr { + display: flex; + padding: 0; } + table th, table td { + padding: calc(0.5 * var(--universal-padding)); + font-size: 0.9rem; } + table th { + text-align: left; + background: var(--table-head-back-color); + color: var(--table-head-fore-color); } + table td { + background: var(--table-body-back-color); + color: var(--table-body-fore-color); + border-top: 0.0714285714rem solid var(--table-border-color); } + +table:not(.horizontal) { + overflow: auto; + max-height: 100%; } + table:not(.horizontal) thead, table:not(.horizontal) tbody { + max-width: 100%; + flex: 0 0 100%; } + table:not(.horizontal) tr { + flex-flow: row wrap; + flex: 0 0 100%; } + table:not(.horizontal) th, table:not(.horizontal) td { + flex: 1 0 0%; + overflow: hidden; + text-overflow: ellipsis; } + table:not(.horizontal) thead { + position: sticky; + top: 0; } + table:not(.horizontal) tbody tr:first-child td { + border-top: 0; } + +table.horizontal { + border: 0; } + table.horizontal thead, table.horizontal tbody { + border: 0; + flex: .2 0 0; + flex-flow: row nowrap; } + table.horizontal tbody { + overflow: auto; + justify-content: space-between; + flex: .8 0 0; + margin-left: 0; + padding-bottom: calc(var(--universal-padding) / 4); } + table.horizontal tr { + flex-direction: column; + flex: 1 0 auto; } + table.horizontal th, table.horizontal td { + width: auto; + border: 0; + border-bottom: 0.0714285714rem solid var(--table-border-color); } + table.horizontal th:not(:first-child), table.horizontal td:not(:first-child) { + border-top: 0; } + table.horizontal th { + text-align: right; + border-left: 0.0714285714rem solid var(--table-border-color); + border-right: 0.0714285714rem solid var(--table-border-separator-color); } + table.horizontal thead tr:first-child { + padding-left: 0; } + table.horizontal th:first-child, table.horizontal td:first-child { + border-top: 0.0714285714rem solid var(--table-border-color); } + table.horizontal tbody tr:last-child td { + border-right: 0.0714285714rem solid var(--table-border-color); } + table.horizontal tbody tr:last-child td:first-child { + border-top-right-radius: 0.25rem; } + table.horizontal tbody tr:last-child td:last-child { + border-bottom-right-radius: 0.25rem; } + table.horizontal thead tr:first-child th:first-child { + border-top-left-radius: 0.25rem; } + table.horizontal thead tr:first-child th:last-child { + border-bottom-left-radius: 0.25rem; } + +@media screen and (max-width: 499px) { + table, table.horizontal { + border-collapse: collapse; + border: 0; + width: 100%; + display: table; } + table thead, table th, table.horizontal thead, table.horizontal th { + border: 0; + height: 1px; + width: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + clip: rect(0 0 0 0); + -webkit-clip-path: inset(100%); + clip-path: inset(100%); } + table tbody, table.horizontal tbody { + border: 0; + display: table-row-group; } + table tr, table.horizontal tr { + display: block; + border: 0.0714285714rem solid var(--table-border-color); + border-radius: var(--universal-border-radius); + background: #ffffff; + padding: var(--universal-padding); + margin: var(--universal-margin); + margin-bottom: calc(1 * var(--universal-margin)); } + table th, table td, table.horizontal th, table.horizontal td { + width: auto; } + table td, table.horizontal td { + display: block; + border: 0; + text-align: right; } + table td:before, table.horizontal td:before { + content: attr(data-label); + float: left; + font-weight: 600; } + table th:first-child, table td:first-child, table.horizontal th:first-child, table.horizontal td:first-child { + border-top: 0; } + table tbody tr:last-child td, table.horizontal tbody tr:last-child td { + border-right: 0; } } +table tr:nth-of-type(2n) > td { + background: var(--table-body-alt-back-color); } + +@media screen and (max-width: 500px) { + table tr:nth-of-type(2n) { + background: var(--table-body-alt-back-color); } } +:root { + --table-body-hover-back-color: #90caf9; } + +table.hoverable tr:hover, table.hoverable tr:hover > td, table.hoverable tr:focus, table.hoverable tr:focus > td { + background: var(--table-body-hover-back-color); } + +@media screen and (max-width: 500px) { + table.hoverable tr:hover, table.hoverable tr:hover > td, table.hoverable tr:focus, table.hoverable tr:focus > td { + background: var(--table-body-hover-back-color); } } +/* + Definitions for contextual background elements, toasts and tooltips. +*/ +/* Contextual module CSS variable definitions */ +:root { + --mark-back-color: #3cb4e6; + --mark-fore-color: #ffffff; } + +mark { + background: var(--mark-back-color); + color: var(--mark-fore-color); + font-size: 0.95em; + line-height: 1em; + border-radius: var(--universal-border-radius); + padding: calc(var(--universal-padding) / 4) var(--universal-padding); } + mark.inline-block { + display: inline-block; + font-size: 1em; + line-height: 1.4; + padding: calc(var(--universal-padding) / 2) var(--universal-padding); } + +:root { + --toast-back-color: #424242; + --toast-fore-color: #fafafa; } + +.toast { + position: fixed; + bottom: calc(var(--universal-margin) * 3); + left: 50%; + transform: translate(-50%, -50%); + z-index: 1111; + color: var(--toast-fore-color); + background: var(--toast-back-color); + border-radius: calc(var(--universal-border-radius) * 16); + padding: var(--universal-padding) calc(var(--universal-padding) * 3); } + +:root { + --tooltip-back-color: #212121; + --tooltip-fore-color: #fafafa; } + +.tooltip { + position: relative; + display: inline-block; } + .tooltip:before, .tooltip:after { + position: absolute; + opacity: 0; + clip: rect(0 0 0 0); + -webkit-clip-path: inset(100%); + clip-path: inset(100%); + transition: all 0.3s; + z-index: 1010; + left: 50%; } + .tooltip:not(.bottom):before, .tooltip:not(.bottom):after { + bottom: 75%; } + .tooltip.bottom:before, .tooltip.bottom:after { + top: 75%; } + .tooltip:hover:before, .tooltip:hover:after, .tooltip:focus:before, .tooltip:focus:after { + opacity: 1; + clip: auto; + -webkit-clip-path: inset(0%); + clip-path: inset(0%); } + .tooltip:before { + content: ''; + background: transparent; + border: var(--universal-margin) solid transparent; + left: calc(50% - var(--universal-margin)); } + .tooltip:not(.bottom):before { + border-top-color: #212121; } + .tooltip.bottom:before { + border-bottom-color: #212121; } + .tooltip:after { + content: attr(aria-label); + color: var(--tooltip-fore-color); + background: var(--tooltip-back-color); + border-radius: var(--universal-border-radius); + padding: var(--universal-padding); + white-space: nowrap; + transform: translateX(-50%); } + .tooltip:not(.bottom):after { + margin-bottom: calc(2 * var(--universal-margin)); } + .tooltip.bottom:after { + margin-top: calc(2 * var(--universal-margin)); } + +:root { + --modal-overlay-color: rgba(0, 0, 0, 0.45); + --modal-close-color: #e6007e; + --modal-close-hover-color: #ffe97f; } + +[type="checkbox"].modal { + height: 1px; + width: 1px; + margin: -1px; + overflow: hidden; + position: absolute; + clip: rect(0 0 0 0); + -webkit-clip-path: inset(100%); + clip-path: inset(100%); } + [type="checkbox"].modal + div { + position: fixed; + top: 0; + left: 0; + display: none; + width: 100vw; + height: 100vh; + background: var(--modal-overlay-color); } + [type="checkbox"].modal + div .card { + margin: 0 auto; + max-height: 50vh; + overflow: auto; } + [type="checkbox"].modal + div .card .modal-close { + position: absolute; + top: 0; + right: 0; + width: 1.75rem; + height: 1.75rem; + border-radius: var(--universal-border-radius); + padding: var(--universal-padding); + margin: 0; + cursor: pointer; + transition: background 0.3s; } + [type="checkbox"].modal + div .card .modal-close:before { + display: block; + content: '\00D7'; + color: var(--modal-close-color); + position: relative; + font-family: sans-serif; + font-size: 1.75rem; + line-height: 1; + text-align: center; } + [type="checkbox"].modal + div .card .modal-close:hover, [type="checkbox"].modal + div .card .modal-close:focus { + background: var(--modal-close-hover-color); } + [type="checkbox"].modal:checked + div { + display: flex; + flex: 0 1 auto; + z-index: 1200; } + [type="checkbox"].modal:checked + div .card .modal-close { + z-index: 1211; } + +:root { + --collapse-label-back-color: #03234b; + --collapse-label-fore-color: #ffffff; + --collapse-label-hover-back-color: #3cb4e6; + --collapse-selected-label-back-color: #3cb4e6; + --collapse-border-color: var(--collapse-label-back-color); + --collapse-selected-border-color: #ceecf8; + --collapse-content-back-color: #ffffff; + --collapse-selected-label-border-color: #3cb4e6; } + +.collapse { + width: calc(100% - 2 * var(--universal-margin)); + opacity: 1; + display: flex; + flex-direction: column; + margin: var(--universal-margin); + border-radius: var(--universal-border-radius); } + .collapse > [type="radio"], .collapse > [type="checkbox"] { + height: 1px; + width: 1px; + margin: -1px; + overflow: hidden; + position: absolute; + clip: rect(0 0 0 0); + -webkit-clip-path: inset(100%); + clip-path: inset(100%); } + .collapse > label { + flex-grow: 1; + display: inline-block; + height: 1.25rem; + cursor: pointer; + transition: background 0.2s; + color: var(--collapse-label-fore-color); + background: var(--collapse-label-back-color); + border: 0.0714285714rem solid var(--collapse-selected-border-color); + padding: calc(1.25 * var(--universal-padding)); } + .collapse > label:hover, .collapse > label:focus { + background: var(--collapse-label-hover-back-color); } + .collapse > label + div { + flex-basis: auto; + height: 1px; + width: 1px; + margin: -1px; + overflow: hidden; + position: absolute; + clip: rect(0 0 0 0); + -webkit-clip-path: inset(100%); + clip-path: inset(100%); + transition: max-height 0.3s; + max-height: 1px; } + .collapse > :checked + label { + background: var(--collapse-selected-label-back-color); + border-color: var(--collapse-selected-label-border-color); } + .collapse > :checked + label + div { + box-sizing: border-box; + position: relative; + width: 100%; + height: auto; + overflow: auto; + margin: 0; + background: var(--collapse-content-back-color); + border: 0.0714285714rem solid var(--collapse-selected-border-color); + border-top: 0; + padding: var(--universal-padding); + clip: auto; + -webkit-clip-path: inset(0%); + clip-path: inset(0%); + max-height: 100%; } + .collapse > label:not(:first-of-type) { + border-top: 0; } + .collapse > label:first-of-type { + border-radius: var(--universal-border-radius) var(--universal-border-radius) 0 0; } + .collapse > label:last-of-type:not(:first-of-type) { + border-radius: 0 0 var(--universal-border-radius) var(--universal-border-radius); } + .collapse > label:last-of-type:first-of-type { + border-radius: var(--universal-border-radius); } + .collapse > :checked:last-of-type:not(:first-of-type) + label { + border-radius: 0; } + .collapse > :checked:last-of-type + label + div { + border-radius: 0 0 var(--universal-border-radius) var(--universal-border-radius); } + +/* + Custom elements for contextual background elements, toasts and tooltips. +*/ +mark.tertiary { + --mark-back-color: #3cb4e6; } + +mark.tag { + padding: calc(var(--universal-padding)/2) var(--universal-padding); + border-radius: 1em; } + +/* + Definitions for progress elements and spinners. +*/ +/* Progress module CSS variable definitions */ +:root { + --progress-back-color: #3cb4e6; + --progress-fore-color: #555; } + +progress { + display: block; + vertical-align: baseline; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + height: 0.75rem; + width: calc(100% - 2 * var(--universal-margin)); + margin: var(--universal-margin); + border: 0; + border-radius: calc(2 * var(--universal-border-radius)); + background: var(--progress-back-color); + color: var(--progress-fore-color); } + progress::-webkit-progress-value { + background: var(--progress-fore-color); + border-top-left-radius: calc(2 * var(--universal-border-radius)); + border-bottom-left-radius: calc(2 * var(--universal-border-radius)); } + progress::-webkit-progress-bar { + background: var(--progress-back-color); } + progress::-moz-progress-bar { + background: var(--progress-fore-color); + border-top-left-radius: calc(2 * var(--universal-border-radius)); + border-bottom-left-radius: calc(2 * var(--universal-border-radius)); } + progress[value="1000"]::-webkit-progress-value { + border-radius: calc(2 * var(--universal-border-radius)); } + progress[value="1000"]::-moz-progress-bar { + border-radius: calc(2 * var(--universal-border-radius)); } + progress.inline { + display: inline-block; + vertical-align: middle; + width: 60%; } + +:root { + --spinner-back-color: #ddd; + --spinner-fore-color: #555; } + +@keyframes spinner-donut-anim { + 0% { + transform: rotate(0deg); } + 100% { + transform: rotate(360deg); } } +.spinner { + display: inline-block; + margin: var(--universal-margin); + border: 0.25rem solid var(--spinner-back-color); + border-left: 0.25rem solid var(--spinner-fore-color); + border-radius: 50%; + width: 1.25rem; + height: 1.25rem; + animation: spinner-donut-anim 1.2s linear infinite; } + +/* + Custom elements for progress bars and spinners. +*/ +progress.primary { + --progress-fore-color: #1976d2; } + +progress.secondary { + --progress-fore-color: #d32f2f; } + +progress.tertiary { + --progress-fore-color: #308732; } + +.spinner.primary { + --spinner-fore-color: #1976d2; } + +.spinner.secondary { + --spinner-fore-color: #d32f2f; } + +.spinner.tertiary { + --spinner-fore-color: #308732; } + +/* + Definitions for icons - powered by Feather (https://feathericons.com/). +*/ +span[class^='icon-'] { + display: inline-block; + height: 1em; + width: 1em; + vertical-align: -0.125em; + background-size: contain; + margin: 0 calc(var(--universal-margin) / 4); } + span[class^='icon-'].secondary { + -webkit-filter: invert(25%); + filter: invert(25%); } + span[class^='icon-'].inverse { + -webkit-filter: invert(100%); + filter: invert(100%); } + +span.icon-alert { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12' y2='16'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-bookmark { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E"); } +span.icon-calendar { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-credit { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='1' y1='10' x2='23' y2='10'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-edit { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34'%3E%3C/path%3E%3Cpolygon points='18 2 22 6 12 16 8 16 8 12 18 2'%3E%3C/polygon%3E%3C/svg%3E"); } +span.icon-link { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-help { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='17' x2='12' y2='17'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-home { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E"); } +span.icon-info { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12' y2='8'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-lock { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E"); } +span.icon-mail { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E"); } +span.icon-location { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E"); } +span.icon-phone { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E"); } +span.icon-rss { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11a9 9 0 0 1 9 9'%3E%3C/path%3E%3Cpath d='M4 4a16 16 0 0 1 16 16'%3E%3C/path%3E%3Ccircle cx='5' cy='19' r='1'%3E%3C/circle%3E%3C/svg%3E"); } +span.icon-search { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-settings { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'%3E%3C/path%3E%3C/svg%3E"); } +span.icon-share { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'%3E%3C/circle%3E%3Ccircle cx='6' cy='12' r='3'%3E%3C/circle%3E%3Ccircle cx='18' cy='19' r='3'%3E%3C/circle%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'%3E%3C/line%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-cart { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E"); } +span.icon-upload { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='17 8 12 3 7 8'%3E%3C/polyline%3E%3Cline x1='12' y1='3' x2='12' y2='15'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-user { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E"); } + +/* + Definitions for utilities and helper classes. +*/ +/* Utility module CSS variable definitions */ +:root { + --generic-border-color: rgba(0, 0, 0, 0.3); + --generic-box-shadow: 0 0.2857142857rem 0.2857142857rem 0 rgba(0, 0, 0, 0.125), 0 0.1428571429rem 0.1428571429rem -0.1428571429rem rgba(0, 0, 0, 0.125); } + +.hidden { + display: none !important; } + +.visually-hidden { + position: absolute !important; + width: 1px !important; + height: 1px !important; + margin: -1px !important; + border: 0 !important; + padding: 0 !important; + clip: rect(0 0 0 0) !important; + -webkit-clip-path: inset(100%) !important; + clip-path: inset(100%) !important; + overflow: hidden !important; } + +.bordered { + border: 0.0714285714rem solid var(--generic-border-color) !important; } + +.rounded { + border-radius: var(--universal-border-radius) !important; } + +.circular { + border-radius: 50% !important; } + +.shadowed { + box-shadow: var(--generic-box-shadow) !important; } + +.responsive-margin { + margin: calc(var(--universal-margin) / 4) !important; } + @media screen and (min-width: 500px) { + .responsive-margin { + margin: calc(var(--universal-margin) / 2) !important; } } + @media screen and (min-width: 1280px) { + .responsive-margin { + margin: var(--universal-margin) !important; } } + +.responsive-padding { + padding: calc(var(--universal-padding) / 4) !important; } + @media screen and (min-width: 500px) { + .responsive-padding { + padding: calc(var(--universal-padding) / 2) !important; } } + @media screen and (min-width: 1280px) { + .responsive-padding { + padding: var(--universal-padding) !important; } } + +@media screen and (max-width: 499px) { + .hidden-sm { + display: none !important; } } +@media screen and (min-width: 500px) and (max-width: 1279px) { + .hidden-md { + display: none !important; } } +@media screen and (min-width: 1280px) { + .hidden-lg { + display: none !important; } } +@media screen and (max-width: 499px) { + .visually-hidden-sm { + position: absolute !important; + width: 1px !important; + height: 1px !important; + margin: -1px !important; + border: 0 !important; + padding: 0 !important; + clip: rect(0 0 0 0) !important; + -webkit-clip-path: inset(100%) !important; + clip-path: inset(100%) !important; + overflow: hidden !important; } } +@media screen and (min-width: 500px) and (max-width: 1279px) { + .visually-hidden-md { + position: absolute !important; + width: 1px !important; + height: 1px !important; + margin: -1px !important; + border: 0 !important; + padding: 0 !important; + clip: rect(0 0 0 0) !important; + -webkit-clip-path: inset(100%) !important; + clip-path: inset(100%) !important; + overflow: hidden !important; } } +@media screen and (min-width: 1280px) { + .visually-hidden-lg { + position: absolute !important; + width: 1px !important; + height: 1px !important; + margin: -1px !important; + border: 0 !important; + padding: 0 !important; + clip: rect(0 0 0 0) !important; + -webkit-clip-path: inset(100%) !important; + clip-path: inset(100%) !important; + overflow: hidden !important; } } + +/*# sourceMappingURL=mini-custom.css.map */ + +img[alt="ST logo"] { display: block; margin: auto; width: 75%; max-width: 250px; min-width: 71px; } +img[alt="Cube logo"] { float: right; width: 30%; max-width: 10rem; min-width: 8rem; padding-right: 1rem;} + +.figure { + display: block; + margin-left: auto; + margin-right: auto; + text-align: center; +} \ No newline at end of file diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/_htmresc/st_logo.png b/Drivers/CMSIS/Device/ST/STM32F1xx/_htmresc/st_logo.png deleted file mode 100644 index 8b80057fd3a454a97de1c9d732b7fede82c83227..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 18616 zcmbTd^-~<*6D~X~?jgaQV8LAj0X_tm1Ydk1xVy{Z3GPmS;IP2r4oh%%cMl#Qcz~Pl zz5l>lZ`GVRHB&V|boY7A^z(F|Z=Y4=aIwg-006*MkpHOuZ?5<^0x;12-SsK9!v0Mt zmQpHG08kT${nrHb-!rC@ysj$%ki7ceKq56ESOEZeJ%x`_nqEey{^(v>eK${gL>pJ% zX8+KBAR_W-jhDrs{egi|sP<73DP`UFoa(>xj;8qknEx2bL~2@t%3k>}hnl@CWQrW@ zqfK>@e3$sL-m%ftg0YAkk!@=P!Ognuz(zhb|Tux{FeX<<7(5oLVU8=W*sUZ*$TqlSb6o1O0a zzeP#ZW!;?#>0N5v?0D|q?mzD8-<^@1V0FH{fY}2A9ooXbylcB6Y>PVo4nMxLi|AWA z8M(b#9`j|%0v7ktATOSzsh-T7%Wqa>t*x!29M*iDetE6#^`?iEoQW5F*w7rjcWYw>-UyKyDHetK@Im)qdu0o-zudq@gQN3)r z=(%XIh|%7(Y}2mODA6--)=u;7mi|lUCki50L@QOyZN@2N`Bwwn9et)BF?yQr9`Sn# ze!a;09%cuNiCJ+Hwx|5Sw&L`0rJvq<$7D5j#Y=O^YcW)1x!+MVRWRVHrXDj~g@40Q zBvp_niE6-dasJKX&t@%;X`7_R9QhT$w_Dv~zW73kCM;9WC z#^@^R#^^HZ#`rQ5ZjC*^uYUMgw=ae5*IV2JyEL@LlJ1k!yA8p=fmyQ={`Pjq&sK}Y>k9r>*Y-3njDRLc8z*D?su--n+y(fpV8FB zwS%vLw=L>F9>rMJzXaXgg5NRvaHPKO=qdV`%ecKE^q=CNs6^=Vl)5QG9h0>AKM-1F zvU-S)!Vnz~yg}XNmnaKSqm&}<1}#nOBCWZsLvn3_pkm8Z)~*KF8yv=yRk*!4rf$7T zT*ey^g`%>`O82HoVNPMCaM^5e_Eeop`^`Wsro=Q9SzJ-{LW5j1QdRH>Oq5bEX({TJ-TNGPvNBrk5{my=8FEQ%0fftv4 z)$FK)-usf%cyd|Y@=r@u!~HI3-5_Q=E%R!AkEqtv$Yv%Zit4K`i*n5tM!wdwLFM?% z@N0D&tLS9%TD>`41R~`%HzXtZS6pjo$}fsAA6cq`&Llq^TE@#ID4eU}(xZH$-0oa>g$RMe)N_S(=w@nXEL&?{|e zd%-=H@Ei^9kz3up?3!?QYr2O7^M9)q_E2E@^vESGQ&5WzDh<(QgQEd3BICrRm8O)S!fPO#z(h0}Vk) zolMw(Ecl!UD7xMUH0>?+9qzTMCMQxcM+Od*!L7F!tiwSSG>D@|J~*c~gu?`RewztA z1cO8*h9GGR{``zPp9t6vZJ81Ar<-bz38Jv-ro`wI#Mq&-k$*5tL<>Pk=)T1H_z8YhPJDWCuq5c#f&iDRo3$~XHhc-#T3{whJvB?;N^IKpX^H#=oYNa@u&^9He20t za7qlYKRH^S(Tj2{XC=lPI|MVMOVVX4V8cbx(9Ix%YK__iyN9E(k)118*aO-OzZNT# zbhE^f=Cze>bdhX>8xBFW70+=Tb@QnIyKKmQGt`}ZHXrVVWgxIT1k&eFDonM5iFh{^ z;FtT_qYo%x6$`ChDD~;i`c>h@T~X~pZ&-v==wrV4)ra@?=39Z}7c)OR&&9#@9uxU( z?hh)jyY_o}tH;1B>v%95XoGM@gDYB{I@;aJAn;N$2z~uDX|IL`uf-*Mm1ic21|E8c zQZWw`gvb==bz|iv=774j$zii$vlW@T4LDFEfea$Z+frqVA{<)qP_mhp2AbFqEE(0z zfCJgi{n&vKxpSY#-W)(E-Y3u@1KQGcnWN=qz;Nz2-6>bIL8wZk?oy8xe49zo9Evpm zI>QVA&&4C5*aCjxksX%9lfPpQNw|#TzMQ;YvC%Rx=uA#dmU{e@tzaW&rq}9N5VXBw z6Mff^1He^5U}j4TZD};Z7u2!LZ@OjGIPgR|MLZ*9%)E@0nE%K=W5s+NOT~n_{fBc9 z8DlU6un9om`MN~!FtpPXkJSq(+KPHqF&N23_vGeqphc*cEAF=okHGoFWHHWTm&R zAZXR)=q}Jv`jsvKCoL27h?ylNq0fz5xasR{P`5RW_7kzL^b_#T@e?r5nGKuMX?!lz zcEq|hYJscWj{YtO1of8Xi0jH z6s+!rS0;ag(Cml~|NKB+tNwwq9kl+8wc0!T$L$CFw95drNPiuZ3jOf4G_NXoM$sQj zZn*2v3^ISC(OoqO%W>m};%SHDOcD)D7%f&?jnrI9&1_u;6m(x2g#=wb zH$Cl!I6f#QI6iFo2i^nPy^8_Rt0g@Gzv3FoK629)r#wPie#!P^T*B)9JDi>Qta-Ee zyLS}t0#vL+3WcNfUo47o=g+h7Q(waq$0Fo`#^t+!ugP{n=lV`j6a9^vBl)I!L&VaI zK(10FWw?KM*=_ynJ3HIwyD^##=aKUk4u|yIYk$&C>^B?x{I5c+Il`m3RQ%_=Tq`!D zQw3HQ7dw%VR~rkqeqr+THi``YT){njI8j~%3VNWBl3EUyQ zx>y&BaDTkwjg$12&1?kD`IcCB_?j~8XMfHm4iQ(TCj7-)DOn-+%UzP)ab?nnNlfTA zh(FmGsK1tl`G8>eb=1j~9lDZPh<*?zhjW@Gx5%UjcH4 zbrrd<#%%JyFrW`_Loz= zP30^V%kIB;=&%K@{YbXT6@(|c>dXlNk~?15SVEmMX6`Mjv>+MN2M$^N?ju|1T-qoW zJQV;x5rIpTc>eCM*`;fq^U3U2uW>l1RVxe^4B$CEub2J}+bN)$=(gE92((ah@ar_) z+I|k<9;iL6@Dyhc+LX|pTR>r3{P!==s^guY!a#cZ5Ry6QtTzvk zUh~+ICB=TnC(!+~G1}X`=zKbJF=VNy60Le=gO@j5lEJet5>jc!PbM+D!ZlS$KuYx&pkm{S?k)BU1<65@ z({=ySGqzCiV-vc5qOJ z48y)rR(Ys{uWIjyQX*o`4?xK$K9nE1K!t$coI~(ku$IzWaVM`ocnY1)=&_o_R%I_2 zZ_{Cs>@7#7ktZS)0EENs++_HHh39c*#7z#Pyifk3+e!lsET`nm%a#Zp{hflp4Vw$+ zOju*)#0tN99xzE1;G}_c;Oj@<_%Z8;SCB3P74uOYE__wpp<3HB0g0wsxZ1toEwg)5 z23F}NQwRV%3UQi)GQQt^$a%zzV8w>aIl;CkQ!6h%=n!jXPZ;sfULBWNTi1QT%V~R| zdrjBQt+%&EcrjOO0&pO(SR|R1%nis?Q}KUl75Q=`bI5TGenEMls+QNXGp;Grr-EZVy`f(ovFSmI(u6D90n zU}rWOG+9F)ioe9yO)lx~AD<~|_xP=uVs4I z6w+kccIU+(Ltf0bDM$mvJrBdPzjnQ4w#L-qTZ+S6V5l=pqj|%(!m@K!R(Sm5G<;5V zXK~r#d34;M-;>*+VXbyWbw`4vdOanA^uK`Ag&w)G;7}_OpATxWe^GjFe%&*Ocx)w7 zwt4Bs4luF3C-9V+n~E!?(W3d6$CtEn7OZ{~I`6iW|1x;QzkF49GF&d=Wg#fC2^Vn?KLfW@n~pFc4gBpg!U$uFR0 z6`f||PCJat3glNlwW|z^j;^p%9oQc82S&N+!L>xWR*UT~JbFCj)0}2J6c-rV3iVO! z`IdFp zB0H{SvHRu;zx(EM(0%j9fA`HVZ|@5Oo0EGok@w*1K*{Sg3QERYynQ|7kzI{t_?~>T zQGQ|?TPR(EZYAFen;>d7>k zc`O4jwao>J?dp~fG@8l|SBHzOE5h7?Ba_OYs%93|;KP${8}j%VGb?LRi<;yffk06& zmc)TH`g@-+zt@fG!z|MO3057>Y}ppB{w8IS2o68)NnHSA-jKa+X$k+&Klw{5Ksly#ye_HBKV&h1zbIsIT-|0XRq)zWf_~s9{=n3BOfpPy7{f5RZzL^9tdzjj zr)R?-SV}4UX;&dWNKq={6q|g;FEbIjXC}?$K%uY_ur_MF+MkJ>-c@8l1|6F7^BR4N zf%t(1oJ!m zg^z<^ddW{6+A~!=F*1he)s`5=HR&3O@tjq)pn!{ zodn}X=d$=iUh-ibxQ>PQw|#fHTLppRwXG}*HyUkLKB?Vxf>#@2_z&V#B0Cjvmfka$ znI~k?Pp)A)OXy(kdOeH7nbmp9bNb|>|e%T7Dg>BKo&y=JzU)v zs{+P#O$)wko3MOQY!bv_78@Q%uABK!ZPIi<~iCxyQ>J*D53j_;0vks;+?UxqO^ z8)9k;>&t3F)oFofc_t(0cdCn(OIM;4fePgKSw+PKcigoQR9JV_C-y`&%By+|aMjTd z;$iN6>#`KNXtG+yNhfl+PYn(#cr;Nf>DZ1mRU`A-PFI}Scq~0EgRR31c4LZcz_w!3 zU&-x*oGPQoz`-m#bYEC;V<7tHiC(wn395M}YNU9p|6@2$$6(9N_DyMjuOwT6X&Cu> zXg1{_^+%NsBhDf;)3V~J5%bl|^XVjqRgu^moR2288%NOgcLoNBkN6t5F&l2`tPvao zfAbQy!&*Ln*uWc{tVDqwT1{Q>{s19S6+;c@2e$2eZd>zL~I~M}G^8w4Y2bnyq)>=S+L6j%|@%XWqbYm%+}R z%Jg=|X7Y&0*lujN6>tzy)?{CBuT|FT#I=sU+569+)8oyIH?8?{Y{Im(PMHAGs5_GI z>1wLl+yiE$+I28-c2!jx)_?k2nIm}7iH=O{X#yL$s@}hUPf^xece9Vi{DUPRKm%@= zI4q=C$Qla?I0{;1W!^-Bt)o=r>#KNZnZPW3piq_&q`~HLF~1_^MHlt66*62}BJqzu zM;g!LlycVJ?1ohPMvFHu3^-`<`sR(iyLG`EB|;bk%3GG!#?x`m5gx zWnZm7bb@UTrR9OXVs1t)?(5a%Yqq>?ivrob2S7W|CH$C|Kscw z=5hgFRsHTTA{lDQ(a0VW8vk$By+wL4Ao<5{Br)oU$x2pMfJKrlPqr@4P$Y9Nt_7R| zCx>hhMeHtjM0mJ|?T<(EIY{^^cAiA&R=2C=g&o@6vm!E&&86BrLOf18fr==x77OBH zdyOvB1fjqxDMa5;G9@=qu?tN_vB?)=#H^qB;g*jHrr^*ISGt+pLXyWcu+bAWNk&IG zl?zGxV&+)tmQ@d~T5Yypa4*^P5t*t6C($W-Y9zknsGLXPPDR^RF~`>QcV4iB%ltJg#%JgzSOl!L!d<7;Gfa5FAv zjVdBTD(TpZ3>zF8@VbIAM{aYtDv8fh>oAmOoV`*>G_abe#aOPM+6b%!IzPP2K{>A5U*>>2+^+79)a z;+jQ03qhGCNA7Yx7^lX9Ba9FuFHNen`s{buqNeEv)$x#QoePK6M~soRL17NVafu`4RB%F$`Pl z5~X9X{(zDkw(=x-=6pOllhfSrJCozywriAokKZ^VZ?epc?F2YfOmC=V98gW?oL=*# zC!4VJtdyAXwE6cHlNoijVy3KiZxeTrjL5AO4?|IT4#6gV63bUTC!(fd*MK@3^J@F! zOg&Y}^l`KyT>$RnH8O17_%?_PVh?o(+5L|_R7c|c+R_PRXb26L8QM&z+5MaH{wtOk zn}L=^TXs*WwrBLOJ6hDKim{LKAa3?WEiRefh;#TMZ3y1zA%QAUYh={Ux!GU!o~ zQNH$+pUp$BPoB27%q zF^6BflF{;t=SZSz+GrMJ3q~ti7gQ;5SbjS`5!DFxQB8KOt1OQ(G%_V;vcdj>K_dXjNxb}0M?HyjDs(afDCVx%>+I2GAO;jMfy0Iwh$=Utfm z5snMAm4|C3O1?MDEQ%I@RL1I{SrN67(Q)b*7k&Ip+-THJr%-;ILx=v!SaW75@EH3` zUhVOn4CYZ>iZ!iaGNBq9Be`Mcq5Opf?{HZfcJM-VDr$qSCy^3Lij|O&UW{&ffZ&!( zaA9$H9_5lFs;vRx6|mmn{Ic~u%y*(_t~*m12^>%iUOQ9Ap<@`U;!iRpBZ5y=p}@B6 zSP;R6QS{hs7)q75Mgj7814d~Bae=<{A1Z5>;LN66N?m?;5pl?`*_wW1l4a8IBb4tyR6@^@^BOm`{tD6YyAv};)Te2G+K}4;<~T9 ztiHbWTlGjD1=omQ_viT9PJOR7GjZ^{`7u?a_$hGpx54G9Z4Uj-NJ+>3SA0ZSx1vXw zLxYWusP2Sm*#o~_#B)vb&lTfmtsonTnPHIvx!#}HYvp=bPcZe zcHOCWuo0{MxR+#P#Pz1PSlaT$g-HbB!hTlHpV_F!Ay^U-vb1-6W)!xh?3imeOv*Z3 z=D=Ij-4e>!J=_Q#nqT5Fkomgv(@3uQo!?=8R9Sw(0)&ni z2jsV8*xm^OAO91C)$^*!X=%ZHvh_G35URQ9mZ|{A0)E?gJcL0T$H-NA92s6VF$CYW z9RHBse3R!V%B}9#+)P1_9L@j@2VcH-GZ=N2{$k05r?kj$KxpvthW zd7m|F4Ka%sEOHJC`oN z{Q9h2$S$VYkMHBEw7ybMx&7`nIaMLI5n~s)u5f7_tg^|2p4eFF&|6C45|-}T zY2bbCicJ7u0b>nvzMSvbBTOChoOAKvC$b5)Y}lT;{a-@oZBJ!oQNfsC36M4qtjvVR zX;Qkn$Pw56!sOMyw2f6>a4-#^ zy$1D*lt}-KofQ^atUig?;uYP;un=4nq7RPpS6+7^7eT`a+9Hs&(5Wu`IyLv0kJINP zH{2$kHb`Me^3C!975F7KG!qcJ%Ot-tp1f*bJffu1KR9B1lQ=XYBq15?hlJ33*QN-~ z25i$#OI}x{k+-P3EKo3v2XVk4?t;KE4nj1dk!Zo@w6D?!o#k^~T|3?;an*{_dc}rZ zWWWrKbdBu0k$7Zn5A%~0$lei$vU1P?CE&!L*!t%`ziuxu= z$+Xt=qUvFYn;a&JSK-D!mWnDWtF|5q!R|hT$Hv!*O-Hv$ zFMd5*W#~$3AJN-2|IVd@2bWN6TIfD_0uz(~vS50vn&4k2seimRF5`Q+1IS}!NNHN| zuWuQz50#5kO>f(wTSg+{VKXLrOZR$Gm~DhS1f%%-9{FGG$s*ZrqKZL|g5VaRU11N3WB;tGWJx5jj1rPZ1}$YE7~gsu zE25FmauDeN0tjmI!T8LA_@Jktp-r4gQRI3~pz@ext*^u56U%RNNACtB2^N&i&Zkq_ z`%gV|mr`$f?Rog-De|tRlA$9w&gIG-7Zqk}`K~S#ez0!r0TA4$*?1vW^S1eRHim+x~x!Fuo?ZZGGykdj`C(v!pIX!M7^#v%t*g zcznI+6jSi4g8knZOJ2XD^*-Nu8++1xNL67@Dpa}id>w3=oC<2l|TauHqSGbyr z9Lb=M3fe$ymZM2IcIy2$WhWPLfA8YEy!~$2XHICgk})!EbwTa@re-=DC1|8#7fNFq6gJ2K}GKAX`f_@q32jY5x4yTSxUH;`}j*L?c8b@JA9D(4X1n>r5 zmjA{5zUzqX9?77@2f4TGSC#Gv z>RXD%m8Sx#GLz`?10nyLA3f`rKtm)2mp8 z2WUMD#ZK*6rx@tHUO&Z&$15&*p$9S&RarVs7nI?jWCTx!i z0n`(39&^Y>ScN)8+_K-B#JBi}jEM2qqgbCqWKx*4*ll_rs)9n)b|4=f&23 zGJ5Ub{5j_`P?1;gHXtz{3VvNPjI4v63M z7VR-O|JQRM-E&ZagmZ6Y#+`oTU{Zdpg*T>rA?e2lXyimlx-MsB_vpS!^2jDQhm%@q z{n8XwoaYQc8y7Itb%2)$a=$~0tev`)%-s+AXZ8I@XV4DuPx#4Z3^R?1Q&1e*!{+@j zwy0-{m|^s)xqlSU>jQk{owo@5+inF)-p_24DlAw`pUe~G8ATB<-h>G97|FK_kfkQlN-!Xir7CB=dF)cJj`)++W>CeZ z0KpG5Ul%&-7q_N%mRtvtM37+jS>A#7p`RadxDFCIFsAEA)28 zRc#)^^3Z1>`W_P8_n+_5l5pGfayTk_=7^k}d#ir!c>8mR4k$J+> z7$;sN^3k#e1A<-CaO6F6V7^1u(puc4hVnfPK2u$wSE_XF>^Bp?OAv{2Y8)b{(a(2LFQfe!w)T1x>k{ZpuhTF(Y6rhpZbrH!ElxM! z5seXw{2(-vFEyNn8P2QzldxYgR;$=9Va+n>oR-HQXL;u7|E|m|OuX!t) z=Y4P{a-kdSJHXaCvpi=8=DW$Bomevgq&Ys4T71MX_~k_QpcOJ7j|>5e z8fKax8KCNY#00?1+;-F_`mYl6?wiA0M9-%AWH7g{~~uALu>r1q7;w|*!aJIeE{mR8WtR@KBhs8TcC2jA=CW|Xy-ycIi>d)c7Okmo?_;IS6kWJ z(`FLRj~hxiQw>hGi`}`RB+q+jpRWZ9z114q7dyj#>yMG?n=NfcSz}CGOi5Bt#D4u( zFREX`PCs3=cqxne=H=$udT;=|-YI7ij;hPlH)3oXm z`Zikh-OIS^*V9YKw;%r4iW?YA#ppM%LKP=jnMYQ)JEBqy1t4U@E<8VwMW2U*KvaS5 zNDwVyHjTg6hvcbS>{N7lJu=~^Ut)S#sq~v9%#hIV2H~>o^9=!kEGypac0E4e6TQIW zr~+Bn`Sb4k*0*Zts;f;Vq@fsZn1hLBQyIO8W(13u0211vHK)RMC5neH4xx7?6jMVOl3i-ENH1NU{ z-FW1hXwfmWi;TOg`k_dSL1ckNlukjE5IiKg=2DaEcWG#qTCd+ts`vavz;Wye>fPE6 zy5Y~H#6~R#r29XgZcKEUWF`#TkPjT0Tb$nr`$rM*rO!0=z{AwY-%*%Y>1iy07;xo= zlqRRR7Oc25bnNStf}IG@3`}b^k0oTD!zg(19YJjRnXs}9jracK>Fw6_hgpNk9M$d_ zY;%@p@*94vn6~^S;rS|c_SBN9%41Y5CNDz~xgJ>zs5bOlC^*0Hm`3d+UdEAQlhAJ~ z9rS!JpiEjf-g5TxWc*_}=Uu;kRBG#hg)R{HVt_KfnWZwXW)vK%qN^F`Uk1yRWlJX^%Xv zrk4pFBKoY0c4V8}-7;k5jeHn#no6bE=CpUiQ*YjAXr&^e4Ji=kd5l#`F`6lq$7V{v z3HxGM@4$C!_rCJ0-}}J#b+>i@#M5T@ zDq!my3QKfc?}%tQt*O2KZN233YvPN6nJ}^KNmAv>Z%4u&!~ecZRVXA}Vl6Juc1QC% z^+u0V1RbM%wwc6J;|v%G|8k{t}#XaV3b2aS>;{E0?a{QN?D zjap1}Foj*+4gOfLe03+j+-fGX6EVmh%q%{kCs18^=Y$ttM`Ru~Sih(@mxvo*(|OHJwq(zE2(ex%#gkzo*Y14gL&0 zb&R`Soa5K^wB%jo6cc>zQGL@J1IWOVy&G6nrZ5tClv8t|5cv^+Gb2^+T0kC3kdVb= zzt>d9Y8%qhJjVP{A;^*2E;@stxE=CCM8#hlN3jEzVQ}z~l*fFX-3jF?-%dnrKMp>* z+*ojsjy{>@Jvb5ZmHokSc4fmUNZRBEvkDd^(WV&AoGicLZM&xx+F?MzT8H=FtNK9| zS}XSejv}P(R*P5=IL)L^{d8bx{SC>9DDxXj4@z-n^Hya-p}k%LC>kvh2A}eK-{n8P z{ymeI^r5$}WuJ`hTT7y&m(wGugFoqC45jML$-|3L7JDo`mbG@4AeOa9^F5Xfc~AdJ z6z*HExRMYeE;qZsGE(eCPFCa$fMk$Uzn)5Lqpt$(K3(+J)whl&sJ0{&+hDO7rV zmH=Vx#~{t)BZI;GL9NP4eoCJAPi}V8s2_pM0^Qn!dLjeT+!j52$p%MSaS9-1=VIXE zZZI?CV3-Z~UNNk|?P_bEXiaFvcS$(=j(imNA_Txz*qk*3Zt> zNTsgN3vU6G(NEuWibkSSE-gZ&wr@}`tuvHEIJGFQY)vT7_Sn%Zf>;noCdR{II*9Uy zi1DPT!QZt9edc?XCO_%vF)Vha6tK-jiPV+wdZr2-8Z+moIE4fA9Um2wrmprd`ujDw zA4$!<#8*6C%(UP!wX!r@9XeCS{UX~rhBT6- z&m5@`REID~K)qRRLN40)>Fz=?P=C-jXZA1}lMo#Lic@|(zYtC?Sr$}gjz;wX-)dH; z>kQvsjFQ|FEvL5r4GE`Vi>HJ+qxMkQH`jx)M#C81t{fBmVaUEu2p_>}$^Lp*OiKYZg_C_ycw2+?0OT`)la$oyQwx zn_edD@HInp4-Gny;i{I~SnCp_RpFSS_!Eo_CI3DYHotlBCu`)~d17BV58M;K#oqAY zMpX+Xw9;xj#wpOozs(lT<+Th^5&14m(|Q*%;z`vKh4SNgAVBe}N~g2sLPrFC2|fE< zFpnnM-xp>{8@7DssTYKd@0S%KXilVkqrjiHGyiM<4X=4ToUoPe$O?bRyn$W!y*w+D z6&Dp2t9Ct*jrJO53Vv$UzniUP=-;pr=_NhmXKlFLRkmbSfW7QwHhvWb87Y|_ zx8ovSSXKm9h{zGnW$Hh-iI?ZMHSbjn*3Sh{-$#hX$;rQovTb9bL)q_$Wc zZmKiDhCM5p5vXSn($(MVPz`Tl^8Dq9O!MXzxdIh}Yi;I?zh>o(TXxwNlF}fbbJWC- z#GcWxTx796z)2UUjk&XWZFb3^oh-r)7Kkx{urkexT2D1!HLjPN~zvz2X#hz4#kSWLV*CW#DJu#do;exLU5E*Yb2H*HhXE&}5w)`L0O>xl{F?nRCT2 z*sv_q70&aZdR}eGSdA;#MccWyIlME%-v<$!Uv*^qnA&%(krwShZthK$iyit6H#l;> zK-^@!-w;mtEMfj7rnxx}?MKV=JHn^z-cHiGPN(d-mV0j(9hnwwg#l4%su_AWn&D=e zjR-cx9)55a@TwJcUi!8R@A2vD&T99g^diZcn-!n?8)u3269>8(cQRcMciiUGO^eip z5B)0E8kXbcz#sx*&|^TUl$Lb)lb&Ip>#TdtDfUcwzE~nzmuQ7EmTjAgdgUiGuSuNa zpCb6rE6(O5o(^pW-+RuE)g@nrZK=PFeQcL58r8o>9J$FQ<9+2A1d*DBdQ!b*dT;;4 z$Xo4EWN=S2^E$tAy9hSL=6Vn#bHD2g;0=sNhjJ6d)KUocZ)+A6o6_A*qTK}$*h#RS zyk#XkuOO@^1ht8v-%9N{Y9oewzu$e7L(scb^mXW2_TiW*-y)vNyH`OadIrI^Y>*Zd zp?=ROXFoq0Kk^tpwCFt$B)QKsZPM$&nJ*fs2;Xd)FtPd@FMUTnfVUp;sJHFaw;TuBTKR%BOW_}ClL_Bhz{A0l{Qgc%@tjIWj2ys8T z-56z(;=%E*LE!6!#2)6$>Eq4>1p;7`)Z_NSc1X=l%@0`gB7usIOR#p2{Cap%H#@u+ z`w+GL;VMer0DCjGMC|TGF_;&EgwZvSq=Q8@4}X7rF+n51h%CM@hl5WX$J z1a?I~km{+qh|RA-3+BNxgHjmg>KA!Bo!rA$QbB?cckI}KdkcLRox3JZd`fkXjx#A+ z_&En<1xc&Qmnoz0c*OV_guW?$J#uUHP(jS@beks0sZ#) z21ebzv6U?Wp@^S4Wn-$u_zmK3cE*C1Mlc5xAi|J_lu9>vY@H z+=VfBpk=&5g2V=pY;m2PHSN1`4hDAzs43VInEYm~-~S`AxRI%f?TU84wXtx z=s<1xk#OUIW)~ZG_2?E}ncAz?RlZ%Nu{wqJtc71aL~G>$Y^@Cl^I zh)|w&6EwGxERMm32{6|adN{lmCnO=?!|jUP3Ws1;e!SWGzjeq)Lvs!ZTTq&ie5vo- z`1p%Yqwt8KsRfc+Zbj`#L-1}(Bwi~Ax5qO&ZU@{ejQ+Hp4mt4VPoV_VeCr(6zF z9UR1ae&+2iX+s6E2V}Lxc6ZM+-8S6$a@?&Cn^C~=sPX~d#JLm;5Qw1n%IW*&PBV?q z09O(5{}gEc5xG_jOowcjF=x4y(&YamY5r}Y`?S#80Bh&J&-}>XgL{roRVEZo{x*i~ ziq&;TCj2%^Ju@%&4lTnyhe)5-5PDrQb*+9kAHW!EOaiu61g8cl_=CS1bA@HjhP}H5 zEBJUSKy2WF;ua_T{{-d-8TdvHidCA`BXq&j4cFtL z^yXVy20#nD1@%y@Y5U4sF1MvXa8K;F7B|Z;gH>tspveGY5S|}@U_A#|Imi?6GS1f%=ROP|BEkV#WqVG3b_;n2 z;H#;^adfh%ovD>w5Gs4>tI$7iJW3x%2mWus`fl%IFZf2qhN?JgWZYM_WBdsAyZ9Ln zRkEUt($@b`?c4fgl`7mn2lzu)}t zF)QPs=rMRr?Dp9+=yMv@`)?NKswHtVMS+34S>A@W)D9NFirDEhF)P8UhG0LzO-*O0 zw~iYtAHX;-bhAs~r#R<26~a<=Te-BB1z_}yavF7s_X>@Au~8kI-fv?*ch&2-MEDeRpn$| zQs#J6{sP}E#c@zKLH{=n*1NNgxp^;34)cyq+y$_nMaXHdPefdQB&ZYuaBF&F+#jI) z5iI(HZ*=0~V#^Xg^oqt{LGBS3`Mzzz-b6=qrl1#6B|u? z)MRjg9LIM9!?@uFajP;=#Ssg@2~wUs91pUhTWF1+X;!z;#!7zZ!HA3(S&VVh0-H-7)D5Ez?jhb5*13LRK%!y+ z0JbakM=Tfr@d$}P-7SM{#QqrU2pOeg#laPR_u*ECoxGxwD+5qp7mJFAC4KD`kx<@y z!H-TwF(`nXfja!2zxynS|Kfw?Nv{=+iYwx~iR_4 zsDFPJT72Tn&;L~mWIpqIHR?q6{H5=03xogjIQ00LT=Sm?Yu??dTo^X%GTU3y3 z5U%wt^lQ~lI;@oqpCR=JSG?o&&sGC)JkTBL$iPQn)gVhj=u1Ww=)nAbnfA|CTF1W} zHDFT%X57(fTIQ+HQ=ZLM-4b?z)=H^8gSHr jqXrx`;HZHtT?79Qd=?ufS>7*000000NkvXXu0mjfyH5ns diff --git a/Drivers/CMSIS/Device/ST/STM32F1xx/_htmresc/st_logo_2020.png b/Drivers/CMSIS/Device/ST/STM32F1xx/_htmresc/st_logo_2020.png new file mode 100644 index 0000000000000000000000000000000000000000..d6cebb5ac70e0594cbe37a6b60036a80ef3bed37 GIT binary patch literal 7520 zcmcI|WmKC@*KTl!K!Z~t6qn*&DDF_CK%q#B6QmH_DHL}I6b%;K-J$eBN|2xh0+bea zmtyV5bG|?CpZBcu=iF<}z4q*xz1LhL*PcBwx;m;Pgmi=e0DweYO-UaBz)*UWZ}4#+ zCC-V!SC16}H#HLv0Dy?%--0o{5_}H;Jf%=ql7H=+dziOk_)KzUSaiQ9L<^g!49k}} z?4y$V zrsn3Ul^TY`00G_J_8;F7Sr5c3Y)f-yOYl{fS0avfKJg7R%r!y-ohcBkr6XBZBkE)( z_t+tVV2}G1_CN!)yWes*wa-AGwk31N_T1`)4COlfz+o(9S90e?6jHV4)!>`j+oRqp z)gb?rtSdw<#&c?q!OKB+Ncn!kr5JR2EYan8HAPXBw*Oh-F(6GmaC!`$p7fl!_Cdu> z5@PUMR_K5&jgevDepWqepZVdMHR$q>ga=7k0ltW$HHVn>HRa!#(+BW_jN$5rx^MtR zzWT7tNWQeFzEp+86jOYI=I)*GZYEiXlf-Mw%tJ^ptL%2)%#PmUjxC4wx@%KxQ)8kO?|7E1 zd@5gd9_$*6nx?fj*iF_EJT*PYLFP}d8*Fw>cu3@&nm%V_C}V7HMmg|Nl#1J1^#)uz zZag|X>{6j-myvL}3(H8o3resNBq_jcuJuyT!QuXnNN&zG^tG? z>y*dy1#XfwyCE#UiLT(~LYAVwp)epErJLsHBA|l0xo)kxLAPob+7tFlr{7x8(#v|O zknK}QC6|~=cTJ0;x9MWMKua;LdTKIHX>35a@7{5y0MQ|zqsP64mM~`gJ&&R{pSUBA zf3Y>k>d|xdzBFztjtO~{y%@LUdwSgzEj=69hH3-NNWx7<|49%2%lvTEeE3_|$~iDd zlktnxf|NB>Bui)yY;%TXgWA;rhODxR!-4GzxKd473I)3;j zS4-Vun<^vqZ4)HbwVzq%5%)S!>Q(Y&PkF ze1ab_oy?_$PZT-mKJ3K^;6MrB*Wc$lkYJ_460AFYEq{AjlDxm;5GRwOsm>doJy3Z;a$FSu-q`X)Hw&o~?_`Dnpx4dOj6#)bGOdZbj4hD`l|&#v~K+WrGO zpLCVQg=*h=4H1sK)D*Pxtb#p`c+g-eK65k!CEZjLIrfm}5<4@KVqZ#8(S$vs{?Xv) zN(}CKeeLR%I)W!p(l-`utKmBbJk-On{)ciqUN5%?TS8uwKU(8}Mxhsb&qHL~DDcB@qi} z4z%efV#K69a#lShPt5}*7ME@^xunFR{k;|qp z`_Hgdj_Qle?%Ydlr3f^SdRkUncIj7qTiu85tA$v`#419Nlof8tjqUjO z!Rwyq$Krfh`(@MiE+)yie&jU^crprYV&?zN!2b33S2qtW+zB$nahDhVZiQ12bmcwYBcT8KS>v`jsuI@X zy^k^7>TM5Ndp@}pSl6vmkk*u`@C`z(gq||K2>y=Y#w1i`Nk2zAP7{_^ACq;bQmT<4 z;b~K3=?mhZX#~jQnZjdU={NFp^HRr~;^PXQ*UIHzkq}Xsn!56*ZCOOEt|^ zawUwGqs;zCEGKTz&(a(@h#0sCE+@`3Y<&}9!(;Pw&`C+d#D?`##&!@*ERaH0fksrh zfk2svh3!d~h{SC6BNKN2j6(lzC>S^_*eh{@gR zP$rV4$nqV1y|zYpd;nQr-`Vlp(5sQXx9AibC?xc7pUV)v2cWfHu3{KLbfP;;;`I&)mWqLcXt6s+5fps9R?K>hGR$5;=( zo#;zzQ5!w+(99p1_gh^?F#$tpMd+4%G|K`XG_#@A>30WD2L9!0a>wRASg`M?^z#)| zifb$d^KUD&3qLsr-@}r_7p${gdmRqhy819bj?yI-v({I?0o3_8d>CZmCzqH4{{QtD z|6dvgm<^~668G`6wLw4C4y-o9E9ZG3RiH^&;rrKSBT@bMR+!TlYo*9P;?Z>xORMV3ndQp9EyNn!!~j&x&$gDVke|t#!{QoegHm+sT7cSjwSu z)jZlx1pHrrx0&YCZWJ4xC&U%r_IwfJOxnYqYMcZn&_hgnKuls z>(Y$qjIhcweo^A_VVq_#UR&urF%UbI^><5L5zbV9owMQviM*_{@i|dke!!v8a_yG! zl%#ay{(6U_N3-)yeif3tx6>aQSf1r zO~OuNW<8a~bi6Xby0@tKw0@f1R!@+3S2nf#F&j~l0mrNCtjoZdPYob?g!Vx4F-uA2 z4uS>8eR?dA9i>C|cm-m5lO0m@$f(DB6Z<9Pe07xR`l4$ks3eZ@v5}1?^YNQy-tB(` zgUNZrGVf#b~`}jew;MQG1O~VDk_i*<)p9DfFfd;vLy4QZT zMYh|DxJg3-!{szUN*uo&`&DUkzq4qG2`Lj;Ar46DYUymcviS{Unhzmx z=LwZ-Lr{t1z?9Oip%!z{j+Z%_@u?C78I`V4fC`icG1c|2;`EoLK$ z)9|wrAV&V1Vgts~tQCw0X?X{74W"NJQ zW3BP!5c~4zzHJScwQK9L_%m%L`*q{1aW_3rObki~B~=Dwp`;@w`>xZ6;L_6oR^ecEcmup`yb}lgsmv zQByrxc)Qqm(Hwmq%fLjqcrJ5QR?z_*vb~Iy~RXUY8u-D8AqTzetwNNA8~N z$j&1>#IrkSslUqXW|l}q_TlTVKAjRI@~7(GLf4M>GM!3u_)y6ORe6BQUmrQ16%OdZKo(?AYXK$u@=)TPUi1EZaLBu zuEB(5GX2vcoHS%zMUW!DZ)&xRo@mhouk|hMgHIG>cO-Ah(0AMNlq@?cPpy==-!#qR zBov7l3G?P*KM(vU;Apo-(-Bw;sdQJkh~r)W$KRQKd!#(A8M34^MhD10Ra={AqSvjy z3>PkgA}f^@Rg1$dX=jaEB_V%_vn(W<111_s!g>CYrcwJTJ63Eeg6{_C`aMQIgKctR zHMjkr+y6gK!v6=6;CGl#?PqmiX`A@dmmvZ}-X$*q8}G(xq|voo`=$YZuQAa8f9ApK z1VQiEUQC=OO{|Nc8ZrXH208X|XCzIRO?+Nb55Jt@va9hqBpv)uY6ma-csvSlJoJOC zK;w~s?#r)K@gm*;((JsWHU-KvFTF)q>AzwPq)I+}OrSpxh!-CM1VEMfw1fpfVL7p{ z)I$rNp5kPYDsvXL>8nV{#0fa*lm`Z;0Z=c^1qveY2uk&7nhMRl`0EsvUuvwdF&o)PCVN3wmFBPegWzooF6y~b} zY>X2;LO~&rbvx59?(4^aR+s1C6hI4r&x9Q9jL9);KZEw_x%TWZXaMzK6|2XG9$IU% zkEq}t^YOaa4s`%7F31X-#SfMgNp+4R=g2G|O^W)6^2fEsmkTTaVhKCip+3qWuN8?y zaSD_k6%-@Ifhm`z02=ZWA-pi5`A=7ztHWpP2K5rCW{>!wIUOYrH``#bz>qVSH76=8 zyJ!sNBxt;dMTn}yzUTCq1!w;N7pzb?WJrQ50W+`meL{k8i0VhFsPUz(07k`l` zg1Ifl1fc-^p^MQCpK~Jk&L!*mWfNA!&MSu`sPmti>K-;I5Dk00nB3vOl4!JwjEx^X zWQsIp2Ea_>`9f@%zGl4i3FAO9=e$2^b_>_I*dqiLJ=@TejStM?^yX$9dW`#ha)PEF zPr0zUJX!j-juYK*olG_9axQniXhF|E}oSTG_S)FZ3sN4T@q zy{l;!{UGc};YVaT97tx3s7P$WsW2^*I+Hy;vqndG!9S?tZtDIRif1=bBsqtW-n7$O zWy}Z%jKSkgLX#1p>|#4l-!$c+kA`++Ixv(Rm`;Ilb3q3tD|QjaPQ8)BJ=8R*15?nL zJR{yuqOG&!JrSZ${#NY#b!k)yDajQ$A}fUQhe7ueN6h2Pj3wY5eo|7$PaJD zM69(ee1qlSyLn)Ln6)o53Lj)elqG}gb^c}qd(q&$8B5N%nSvEjUIoEXO^obv=A7QGZzNzjO*H=*b2!86Wnqdy~8ePkq@1D1)Q^O)JG;fUCV z`rgD}dJ{7BUyBbgoTL91w^q-CfBpDr?0R38`L%p9&Q#%r*@=9p-Ioqy+WscLq?jq5 zfyYNkxr7w)-(!c85mt!FjNJ4UE6P8p8sc#Kb4L1N3!yaCo9@t3n8s}K)1!w8x77xU zo-NY3SR*Pgt#~7F;y^J&Y%z^+C9wu;hN|TC7dqSHOB&kE)Q)6Ad(l&+tA@$@w0bhJ z6xc6EJ6nm{=|V7Vo&qcXc4i)D?X0Uk$p7~iI#ci?#fxvM z78`u%m5S@^_F;_foidufzP z&ueh-zU1yM&8~0lmOfkio-gBex`)?hCJcI8Jv*R0c|WUqSq z?RU?Rmm=3t_2C%%UW9c*D%T{T{EjryCKnsz9-*Bs0}M*xS&-odhCK5eS_Eqi&c6J4o|f&;uUT=p7Fedw#EUl4%Jv{w zq-cCF^otBvw~~$yj6O>>;VqU)3Ml&Atm$B(Ht8=+&x2VS5aWD&t*+04{@k^Gn~yHY zWYC%@ld;g_qz=k*;Iv&xs5M85cEZCU&n2Baf>R6*bN>V|!)eF&l#C93eAMLD=ZF7= zOISFfB5P;F!ngWD3jfMJE_53F&dFc{h2TwSbT*(h6!c}_5_UFeB_*DiyCrtQ7Byr@ z-aCWVt?J}YP7-lfelbrCgZ5mdv(^W&Yf^OvpI}#NbS1Lc`r4&t#3kM!utm&#a;?GR z-1FusfX7&?a9h`%8wf-ub7UXp44xm4w04)S$}}_hPqn-#IabO^bo6$K07>?%G5Xs( zA$*lz_K>lAJ_o<;fsP-*-%~O(716KRqVq+X@=5J~Z~bba(yWL`;EN`@Mr2it&Lkgb z&I|R5!`ZSk%)xFX*FYDaAh=5qWSY@rx1Du9J$$=lh#!~NcFJM&aOv)eqg_@`i^zJCR9a%_{k_i%msw5q z*3!~#Xx3r|VaAwiG}~9M#c`=$Uk6~xe)47ymW+;0DD_lV67L#ouJBa7mF{)X^?eIvPdOMu4ksr`jUP$~{x@?ev2 zdX#ite2RMim01PEg`;qfwg^;v8nx9F!CtNCvz)V{PVgCs*;_@_Rk*oLx@f7hJ7^^1 zu66b)mb!ZMXLZ%8dj-+JCMoWS-Wji-Q-~U7Pt~UiXMej8JcNjk<6?Wk9eLBIhu&Vo^0;AH> z;Q5^a!NZhP(vDfBv&?jdnQavv#8N0E{ZEgs>|1)qYo^t5 zIV$g~`C2%g$*(z4)8hJlK2mF-MJW#3%Cs6`uAvsgRtTo8n!Et)1pZx@_9I18 zw7ER9v~DyrC*R$do9aEw5r@B)YzHOLB^-c9Eu9D!sFmI8^VljVKE89{zY_8PTSF+J b^}%0^qYmp2WD(pA|JtZ4>nPPKybJpu3@X?! literal 0 HcmV?d00001 diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h b/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h index ac54cea..b59ff6d 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2021 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -23,7 +22,7 @@ #define STM32_HAL_LEGACY #ifdef __cplusplus - extern "C" { +extern "C" { #endif /* Includes ------------------------------------------------------------------*/ @@ -38,6 +37,16 @@ #define AES_CLEARFLAG_CCF CRYP_CLEARFLAG_CCF #define AES_CLEARFLAG_RDERR CRYP_CLEARFLAG_RDERR #define AES_CLEARFLAG_WRERR CRYP_CLEARFLAG_WRERR +#if defined(STM32U5) || defined(STM32H7) || defined(STM32MP1) +#define CRYP_DATATYPE_32B CRYP_NO_SWAP +#define CRYP_DATATYPE_16B CRYP_HALFWORD_SWAP +#define CRYP_DATATYPE_8B CRYP_BYTE_SWAP +#define CRYP_DATATYPE_1B CRYP_BIT_SWAP +#if defined(STM32U5) +#define CRYP_CCF_CLEAR CRYP_CLEAR_CCF +#define CRYP_ERR_CLEAR CRYP_CLEAR_RWEIF +#endif /* STM32U5 */ +#endif /* STM32U5 || STM32H7 || STM32MP1 */ /** * @} */ @@ -97,6 +106,16 @@ #if defined(STM32H7) #define ADC_CHANNEL_VBAT_DIV4 ADC_CHANNEL_VBAT #endif /* STM32H7 */ + +#if defined(STM32U5) +#define ADC_SAMPLETIME_5CYCLE ADC_SAMPLETIME_5CYCLES +#define ADC_SAMPLETIME_391CYCLES_5 ADC_SAMPLETIME_391CYCLES +#define ADC4_SAMPLETIME_160CYCLES_5 ADC4_SAMPLETIME_814CYCLES_5 +#endif /* STM32U5 */ + +#if defined(STM32H5) +#define ADC_CHANNEL_VCORE ADC_CHANNEL_VDDCORE +#endif /* STM32H5 */ /** * @} */ @@ -124,7 +143,8 @@ #define COMP_EXTI_LINE_COMP6_EVENT COMP_EXTI_LINE_COMP6 #define COMP_EXTI_LINE_COMP7_EVENT COMP_EXTI_LINE_COMP7 #if defined(STM32L0) -#define COMP_LPTIMCONNECTION_ENABLED ((uint32_t)0x00000003U) /*!< COMPX output generic naming: connected to LPTIM input 1 for COMP1, LPTIM input 2 for COMP2 */ +#define COMP_LPTIMCONNECTION_ENABLED ((uint32_t)0x00000003U) /*!< COMPX output generic naming: connected to LPTIM + input 1 for COMP1, LPTIM input 2 for COMP2 */ #endif #define COMP_OUTPUT_COMP6TIM2OCREFCLR COMP_OUTPUT_COMP6_TIM2OCREFCLR #if defined(STM32F373xC) || defined(STM32F378xx) @@ -198,6 +218,11 @@ #endif #endif + +#if defined(STM32U5) +#define __HAL_COMP_COMP1_EXTI_CLEAR_RASING_FLAG __HAL_COMP_COMP1_EXTI_CLEAR_RISING_FLAG +#endif + /** * @} */ @@ -206,6 +231,25 @@ * @{ */ #define __HAL_CORTEX_SYSTICKCLK_CONFIG HAL_SYSTICK_CLKSourceConfig +#if defined(STM32U5) +#define MPU_DEVICE_nGnRnE MPU_DEVICE_NGNRNE +#define MPU_DEVICE_nGnRE MPU_DEVICE_NGNRE +#define MPU_DEVICE_nGRE MPU_DEVICE_NGRE +#endif /* STM32U5 */ +/** + * @} + */ + +/** @defgroup CRC_Aliases CRC API aliases + * @{ + */ +#if defined(STM32H5) || defined(STM32C0) +#else +#define HAL_CRC_Input_Data_Reverse HAL_CRCEx_Input_Data_Reverse /*!< Aliased to HAL_CRCEx_Input_Data_Reverse for + inter STM32 series compatibility */ +#define HAL_CRC_Output_Data_Reverse HAL_CRCEx_Output_Data_Reverse /*!< Aliased to HAL_CRCEx_Output_Data_Reverse for + inter STM32 series compatibility */ +#endif /** * @} */ @@ -235,12 +279,25 @@ #define DAC_WAVEGENERATION_NOISE DAC_WAVE_NOISE #define DAC_WAVEGENERATION_TRIANGLE DAC_WAVE_TRIANGLE -#if defined(STM32G4) || defined(STM32H7) +#if defined(STM32G4) || defined(STM32L5) || defined(STM32H7) || defined (STM32U5) #define DAC_CHIPCONNECT_DISABLE DAC_CHIPCONNECT_EXTERNAL #define DAC_CHIPCONNECT_ENABLE DAC_CHIPCONNECT_INTERNAL #endif -#if defined(STM32L1) || defined(STM32L4) || defined(STM32G0) || defined(STM32L5) || defined(STM32H7) || defined(STM32F4) || defined(STM32G4) +#if defined(STM32U5) +#define DAC_TRIGGER_STOP_LPTIM1_OUT DAC_TRIGGER_STOP_LPTIM1_CH1 +#define DAC_TRIGGER_STOP_LPTIM3_OUT DAC_TRIGGER_STOP_LPTIM3_CH1 +#define DAC_TRIGGER_LPTIM1_OUT DAC_TRIGGER_LPTIM1_CH1 +#define DAC_TRIGGER_LPTIM3_OUT DAC_TRIGGER_LPTIM3_CH1 +#endif + +#if defined(STM32H5) +#define DAC_TRIGGER_LPTIM1_OUT DAC_TRIGGER_LPTIM1_CH1 +#define DAC_TRIGGER_LPTIM2_OUT DAC_TRIGGER_LPTIM2_CH1 +#endif + +#if defined(STM32L1) || defined(STM32L4) || defined(STM32G0) || defined(STM32L5) || defined(STM32H7) || \ + defined(STM32F4) || defined(STM32G4) #define HAL_DAC_MSP_INIT_CB_ID HAL_DAC_MSPINIT_CB_ID #define HAL_DAC_MSP_DEINIT_CB_ID HAL_DAC_MSPDEINIT_CB_ID #endif @@ -305,7 +362,8 @@ #define HAL_DMAMUX_REQUEST_GEN_FALLING HAL_DMAMUX_REQ_GEN_FALLING #define HAL_DMAMUX_REQUEST_GEN_RISING_FALLING HAL_DMAMUX_REQ_GEN_RISING_FALLING -#if defined(STM32L4R5xx) || defined(STM32L4R9xx) || defined(STM32L4R9xx) || defined(STM32L4S5xx) || defined(STM32L4S7xx) || defined(STM32L4S9xx) +#if defined(STM32L4R5xx) || defined(STM32L4R9xx) || defined(STM32L4R9xx) || defined(STM32L4S5xx) || \ + defined(STM32L4S7xx) || defined(STM32L4S9xx) #define DMA_REQUEST_DCMI_PSSI DMA_REQUEST_DCMI #endif @@ -383,6 +441,9 @@ #endif /* STM32H7 */ +#if defined(STM32U5) +#define GPDMA1_REQUEST_DCMI GPDMA1_REQUEST_DCMI_PSSI +#endif /* STM32U5 */ /** * @} */ @@ -462,7 +523,7 @@ #define OB_RDP_LEVEL0 OB_RDP_LEVEL_0 #define OB_RDP_LEVEL1 OB_RDP_LEVEL_1 #define OB_RDP_LEVEL2 OB_RDP_LEVEL_2 -#if defined(STM32G0) +#if defined(STM32G0) || defined(STM32C0) #define OB_BOOT_LOCK_DISABLE OB_BOOT_ENTRY_FORCED_NONE #define OB_BOOT_LOCK_ENABLE OB_BOOT_ENTRY_FORCED_FLASH #else @@ -470,15 +531,27 @@ #define OB_BOOT_ENTRY_FORCED_FLASH OB_BOOT_LOCK_ENABLE #endif #if defined(STM32H7) -#define FLASH_FLAG_SNECCE_BANK1RR FLASH_FLAG_SNECCERR_BANK1 -#define FLASH_FLAG_DBECCE_BANK1RR FLASH_FLAG_DBECCERR_BANK1 -#define FLASH_FLAG_STRBER_BANK1R FLASH_FLAG_STRBERR_BANK1 -#define FLASH_FLAG_SNECCE_BANK2RR FLASH_FLAG_SNECCERR_BANK2 -#define FLASH_FLAG_DBECCE_BANK2RR FLASH_FLAG_DBECCERR_BANK2 -#define FLASH_FLAG_STRBER_BANK2R FLASH_FLAG_STRBERR_BANK2 -#define FLASH_FLAG_WDW FLASH_FLAG_WBNE -#define OB_WRP_SECTOR_All OB_WRP_SECTOR_ALL +#define FLASH_FLAG_SNECCE_BANK1RR FLASH_FLAG_SNECCERR_BANK1 +#define FLASH_FLAG_DBECCE_BANK1RR FLASH_FLAG_DBECCERR_BANK1 +#define FLASH_FLAG_STRBER_BANK1R FLASH_FLAG_STRBERR_BANK1 +#define FLASH_FLAG_SNECCE_BANK2RR FLASH_FLAG_SNECCERR_BANK2 +#define FLASH_FLAG_DBECCE_BANK2RR FLASH_FLAG_DBECCERR_BANK2 +#define FLASH_FLAG_STRBER_BANK2R FLASH_FLAG_STRBERR_BANK2 +#define FLASH_FLAG_WDW FLASH_FLAG_WBNE +#define OB_WRP_SECTOR_All OB_WRP_SECTOR_ALL #endif /* STM32H7 */ +#if defined(STM32U5) +#define OB_USER_nRST_STOP OB_USER_NRST_STOP +#define OB_USER_nRST_STDBY OB_USER_NRST_STDBY +#define OB_USER_nRST_SHDW OB_USER_NRST_SHDW +#define OB_USER_nSWBOOT0 OB_USER_NSWBOOT0 +#define OB_USER_nBOOT0 OB_USER_NBOOT0 +#define OB_nBOOT0_RESET OB_NBOOT0_RESET +#define OB_nBOOT0_SET OB_NBOOT0_SET +#define OB_USER_SRAM134_RST OB_USER_SRAM_RST +#define OB_SRAM134_RST_ERASE OB_SRAM_RST_ERASE +#define OB_SRAM134_RST_NOT_ERASE OB_SRAM_RST_NOT_ERASE +#endif /* STM32U5 */ /** * @} @@ -521,6 +594,107 @@ #define HAL_SYSCFG_EnableIOAnalogSwitchVDD HAL_SYSCFG_EnableIOSwitchVDD #define HAL_SYSCFG_DisableIOAnalogSwitchVDD HAL_SYSCFG_DisableIOSwitchVDD #endif /* STM32G4 */ + +#if defined(STM32H5) +#define SYSCFG_IT_FPU_IOC SBS_IT_FPU_IOC +#define SYSCFG_IT_FPU_DZC SBS_IT_FPU_DZC +#define SYSCFG_IT_FPU_UFC SBS_IT_FPU_UFC +#define SYSCFG_IT_FPU_OFC SBS_IT_FPU_OFC +#define SYSCFG_IT_FPU_IDC SBS_IT_FPU_IDC +#define SYSCFG_IT_FPU_IXC SBS_IT_FPU_IXC + +#define SYSCFG_BREAK_FLASH_ECC SBS_BREAK_FLASH_ECC +#define SYSCFG_BREAK_PVD SBS_BREAK_PVD +#define SYSCFG_BREAK_SRAM_ECC SBS_BREAK_SRAM_ECC +#define SYSCFG_BREAK_LOCKUP SBS_BREAK_LOCKUP + +#define SYSCFG_VREFBUF_VOLTAGE_SCALE0 VREFBUF_VOLTAGE_SCALE0 +#define SYSCFG_VREFBUF_VOLTAGE_SCALE1 VREFBUF_VOLTAGE_SCALE1 +#define SYSCFG_VREFBUF_VOLTAGE_SCALE2 VREFBUF_VOLTAGE_SCALE2 +#define SYSCFG_VREFBUF_VOLTAGE_SCALE3 VREFBUF_VOLTAGE_SCALE3 + +#define SYSCFG_VREFBUF_HIGH_IMPEDANCE_DISABLE VREFBUF_HIGH_IMPEDANCE_DISABLE +#define SYSCFG_VREFBUF_HIGH_IMPEDANCE_ENABLE VREFBUF_HIGH_IMPEDANCE_ENABLE + +#define SYSCFG_FASTMODEPLUS_PB6 SBS_FASTMODEPLUS_PB6 +#define SYSCFG_FASTMODEPLUS_PB7 SBS_FASTMODEPLUS_PB7 +#define SYSCFG_FASTMODEPLUS_PB8 SBS_FASTMODEPLUS_PB8 +#define SYSCFG_FASTMODEPLUS_PB9 SBS_FASTMODEPLUS_PB9 + +#define SYSCFG_ETH_MII SBS_ETH_MII +#define SYSCFG_ETH_RMII SBS_ETH_RMII +#define IS_SYSCFG_ETHERNET_CONFIG IS_SBS_ETHERNET_CONFIG + +#define SYSCFG_MEMORIES_ERASE_FLAG_IPMEE SBS_MEMORIES_ERASE_FLAG_IPMEE +#define SYSCFG_MEMORIES_ERASE_FLAG_MCLR SBS_MEMORIES_ERASE_FLAG_MCLR +#define IS_SYSCFG_MEMORIES_ERASE_FLAG IS_SBS_MEMORIES_ERASE_FLAG + +#define IS_SYSCFG_CODE_CONFIG IS_SBS_CODE_CONFIG + +#define SYSCFG_MPU_NSEC SBS_MPU_NSEC +#define SYSCFG_VTOR_NSEC SBS_VTOR_NSEC +#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U) +#define SYSCFG_SAU SBS_SAU +#define SYSCFG_MPU_SEC SBS_MPU_SEC +#define SYSCFG_VTOR_AIRCR_SEC SBS_VTOR_AIRCR_SEC +#define SYSCFG_LOCK_ALL SBS_LOCK_ALL +#else +#define SYSCFG_LOCK_ALL SBS_LOCK_ALL +#endif /* __ARM_FEATURE_CMSE */ + +#define SYSCFG_CLK SBS_CLK +#define SYSCFG_CLASSB SBS_CLASSB +#define SYSCFG_FPU SBS_FPU +#define SYSCFG_ALL SBS_ALL + +#define SYSCFG_SEC SBS_SEC +#define SYSCFG_NSEC SBS_NSEC + +#define __HAL_SYSCFG_FPU_INTERRUPT_ENABLE __HAL_SBS_FPU_INTERRUPT_ENABLE +#define __HAL_SYSCFG_FPU_INTERRUPT_DISABLE __HAL_SBS_FPU_INTERRUPT_DISABLE + +#define __HAL_SYSCFG_BREAK_ECC_LOCK __HAL_SBS_BREAK_ECC_LOCK +#define __HAL_SYSCFG_BREAK_LOCKUP_LOCK __HAL_SBS_BREAK_LOCKUP_LOCK +#define __HAL_SYSCFG_BREAK_PVD_LOCK __HAL_SBS_BREAK_PVD_LOCK +#define __HAL_SYSCFG_BREAK_SRAM_ECC_LOCK __HAL_SBS_BREAK_SRAM_ECC_LOCK + +#define __HAL_SYSCFG_FASTMODEPLUS_ENABLE __HAL_SBS_FASTMODEPLUS_ENABLE +#define __HAL_SYSCFG_FASTMODEPLUS_DISABLE __HAL_SBS_FASTMODEPLUS_DISABLE + +#define __HAL_SYSCFG_GET_MEMORIES_ERASE_STATUS __HAL_SBS_GET_MEMORIES_ERASE_STATUS +#define __HAL_SYSCFG_CLEAR_MEMORIES_ERASE_STATUS __HAL_SBS_CLEAR_MEMORIES_ERASE_STATUS + +#define IS_SYSCFG_FPU_INTERRUPT IS_SBS_FPU_INTERRUPT +#define IS_SYSCFG_BREAK_CONFIG IS_SBS_BREAK_CONFIG +#define IS_SYSCFG_VREFBUF_VOLTAGE_SCALE IS_VREFBUF_VOLTAGE_SCALE +#define IS_SYSCFG_VREFBUF_HIGH_IMPEDANCE IS_VREFBUF_HIGH_IMPEDANCE +#define IS_SYSCFG_VREFBUF_TRIMMING IS_VREFBUF_TRIMMING +#define IS_SYSCFG_FASTMODEPLUS IS_SBS_FASTMODEPLUS +#define IS_SYSCFG_ITEMS_ATTRIBUTES IS_SBS_ITEMS_ATTRIBUTES +#define IS_SYSCFG_ATTRIBUTES IS_SBS_ATTRIBUTES +#define IS_SYSCFG_LOCK_ITEMS IS_SBS_LOCK_ITEMS + +#define HAL_SYSCFG_VREFBUF_VoltageScalingConfig HAL_VREFBUF_VoltageScalingConfig +#define HAL_SYSCFG_VREFBUF_HighImpedanceConfig HAL_VREFBUF_HighImpedanceConfig +#define HAL_SYSCFG_VREFBUF_TrimmingConfig HAL_VREFBUF_TrimmingConfig +#define HAL_SYSCFG_EnableVREFBUF HAL_EnableVREFBUF +#define HAL_SYSCFG_DisableVREFBUF HAL_DisableVREFBUF + +#define HAL_SYSCFG_EnableIOAnalogSwitchBooster HAL_SBS_EnableIOAnalogSwitchBooster +#define HAL_SYSCFG_DisableIOAnalogSwitchBooster HAL_SBS_DisableIOAnalogSwitchBooster +#define HAL_SYSCFG_ETHInterfaceSelect HAL_SBS_ETHInterfaceSelect + +#define HAL_SYSCFG_Lock HAL_SBS_Lock +#define HAL_SYSCFG_GetLock HAL_SBS_GetLock + +#if defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3U) +#define HAL_SYSCFG_ConfigAttributes HAL_SBS_ConfigAttributes +#define HAL_SYSCFG_GetConfigAttributes HAL_SBS_GetConfigAttributes +#endif /* __ARM_FEATURE_CMSE */ + +#endif /* STM32H5 */ + + /** * @} */ @@ -588,34 +762,72 @@ #define GPIO_AF10_OTG2_HS GPIO_AF10_OTG2_FS #define GPIO_AF10_OTG1_FS GPIO_AF10_OTG1_HS #define GPIO_AF12_OTG2_FS GPIO_AF12_OTG1_FS -#endif /*STM32H743xx || STM32H753xx || STM32H750xx || STM32H742xx || STM32H745xx || STM32H755xx || STM32H747xx || STM32H757xx */ +#endif /*STM32H743xx || STM32H753xx || STM32H750xx || STM32H742xx || STM32H745xx || STM32H755xx || STM32H747xx || \ + STM32H757xx */ #endif /* STM32H7 */ #define GPIO_AF0_LPTIM GPIO_AF0_LPTIM1 #define GPIO_AF1_LPTIM GPIO_AF1_LPTIM1 #define GPIO_AF2_LPTIM GPIO_AF2_LPTIM1 -#if defined(STM32L0) || defined(STM32L4) || defined(STM32F4) || defined(STM32F2) || defined(STM32F7) || defined(STM32G4) || defined(STM32H7) +#if defined(STM32L0) || defined(STM32L4) || defined(STM32F4) || defined(STM32F2) || defined(STM32F7) || \ + defined(STM32G4) || defined(STM32H7) || defined(STM32WB) || defined(STM32U5) #define GPIO_SPEED_LOW GPIO_SPEED_FREQ_LOW #define GPIO_SPEED_MEDIUM GPIO_SPEED_FREQ_MEDIUM #define GPIO_SPEED_FAST GPIO_SPEED_FREQ_HIGH #define GPIO_SPEED_HIGH GPIO_SPEED_FREQ_VERY_HIGH -#endif /* STM32L0 || STM32L4 || STM32F4 || STM32F2 || STM32F7 || STM32G4 || STM32H7*/ +#endif /* STM32L0 || STM32L4 || STM32F4 || STM32F2 || STM32F7 || STM32G4 || STM32H7 || STM32WB || STM32U5*/ #if defined(STM32L1) - #define GPIO_SPEED_VERY_LOW GPIO_SPEED_FREQ_LOW - #define GPIO_SPEED_LOW GPIO_SPEED_FREQ_MEDIUM - #define GPIO_SPEED_MEDIUM GPIO_SPEED_FREQ_HIGH - #define GPIO_SPEED_HIGH GPIO_SPEED_FREQ_VERY_HIGH +#define GPIO_SPEED_VERY_LOW GPIO_SPEED_FREQ_LOW +#define GPIO_SPEED_LOW GPIO_SPEED_FREQ_MEDIUM +#define GPIO_SPEED_MEDIUM GPIO_SPEED_FREQ_HIGH +#define GPIO_SPEED_HIGH GPIO_SPEED_FREQ_VERY_HIGH #endif /* STM32L1 */ #if defined(STM32F0) || defined(STM32F3) || defined(STM32F1) - #define GPIO_SPEED_LOW GPIO_SPEED_FREQ_LOW - #define GPIO_SPEED_MEDIUM GPIO_SPEED_FREQ_MEDIUM - #define GPIO_SPEED_HIGH GPIO_SPEED_FREQ_HIGH +#define GPIO_SPEED_LOW GPIO_SPEED_FREQ_LOW +#define GPIO_SPEED_MEDIUM GPIO_SPEED_FREQ_MEDIUM +#define GPIO_SPEED_HIGH GPIO_SPEED_FREQ_HIGH #endif /* STM32F0 || STM32F3 || STM32F1 */ #define GPIO_AF6_DFSDM GPIO_AF6_DFSDM1 + +#if defined(STM32U5) || defined(STM32H5) +#define GPIO_AF0_RTC_50Hz GPIO_AF0_RTC_50HZ +#endif /* STM32U5 || STM32H5 */ +#if defined(STM32U5) +#define GPIO_AF0_S2DSTOP GPIO_AF0_SRDSTOP +#define GPIO_AF11_LPGPIO GPIO_AF11_LPGPIO1 +#endif /* STM32U5 */ +/** + * @} + */ + +/** @defgroup HAL_GTZC_Aliased_Defines HAL GTZC Aliased Defines maintained for legacy purpose + * @{ + */ +#if defined(STM32U5) +#define GTZC_PERIPH_DCMI GTZC_PERIPH_DCMI_PSSI +#define GTZC_PERIPH_LTDC GTZC_PERIPH_LTDCUSB +#endif /* STM32U5 */ +#if defined(STM32H5) +#define GTZC_PERIPH_DAC12 GTZC_PERIPH_DAC1 +#define GTZC_PERIPH_ADC12 GTZC_PERIPH_ADC +#define GTZC_PERIPH_USBFS GTZC_PERIPH_USB +#endif /* STM32H5 */ +#if defined(STM32H5) || defined(STM32U5) +#define GTZC_MCPBB_NB_VCTR_REG_MAX GTZC_MPCBB_NB_VCTR_REG_MAX +#define GTZC_MCPBB_NB_LCK_VCTR_REG_MAX GTZC_MPCBB_NB_LCK_VCTR_REG_MAX +#define GTZC_MCPBB_SUPERBLOCK_UNLOCKED GTZC_MPCBB_SUPERBLOCK_UNLOCKED +#define GTZC_MCPBB_SUPERBLOCK_LOCKED GTZC_MPCBB_SUPERBLOCK_LOCKED +#define GTZC_MCPBB_BLOCK_NSEC GTZC_MPCBB_BLOCK_NSEC +#define GTZC_MCPBB_BLOCK_SEC GTZC_MPCBB_BLOCK_SEC +#define GTZC_MCPBB_BLOCK_NPRIV GTZC_MPCBB_BLOCK_NPRIV +#define GTZC_MCPBB_BLOCK_PRIV GTZC_MPCBB_BLOCK_PRIV +#define GTZC_MCPBB_LOCK_OFF GTZC_MPCBB_LOCK_OFF +#define GTZC_MCPBB_LOCK_ON GTZC_MPCBB_LOCK_ON +#endif /* STM32H5 || STM32U5 */ /** * @} */ @@ -773,49 +985,6 @@ #define HRTIM_EVENTSRC_3 (HRTIM_EECR1_EE1SRC_1) #define HRTIM_EVENTSRC_4 (HRTIM_EECR1_EE1SRC_1 | HRTIM_EECR1_EE1SRC_0) -/** @brief Constants defining the events that can be selected to configure the - * set/reset crossbar of a timer output - */ -#define HRTIM_OUTPUTSET_TIMEV_1 (HRTIM_SET1R_TIMEVNT1) -#define HRTIM_OUTPUTSET_TIMEV_2 (HRTIM_SET1R_TIMEVNT2) -#define HRTIM_OUTPUTSET_TIMEV_3 (HRTIM_SET1R_TIMEVNT3) -#define HRTIM_OUTPUTSET_TIMEV_4 (HRTIM_SET1R_TIMEVNT4) -#define HRTIM_OUTPUTSET_TIMEV_5 (HRTIM_SET1R_TIMEVNT5) -#define HRTIM_OUTPUTSET_TIMEV_6 (HRTIM_SET1R_TIMEVNT6) -#define HRTIM_OUTPUTSET_TIMEV_7 (HRTIM_SET1R_TIMEVNT7) -#define HRTIM_OUTPUTSET_TIMEV_8 (HRTIM_SET1R_TIMEVNT8) -#define HRTIM_OUTPUTSET_TIMEV_9 (HRTIM_SET1R_TIMEVNT9) - -#define HRTIM_OUTPUTRESET_TIMEV_1 (HRTIM_RST1R_TIMEVNT1) -#define HRTIM_OUTPUTRESET_TIMEV_2 (HRTIM_RST1R_TIMEVNT2) -#define HRTIM_OUTPUTRESET_TIMEV_3 (HRTIM_RST1R_TIMEVNT3) -#define HRTIM_OUTPUTRESET_TIMEV_4 (HRTIM_RST1R_TIMEVNT4) -#define HRTIM_OUTPUTRESET_TIMEV_5 (HRTIM_RST1R_TIMEVNT5) -#define HRTIM_OUTPUTRESET_TIMEV_6 (HRTIM_RST1R_TIMEVNT6) -#define HRTIM_OUTPUTRESET_TIMEV_7 (HRTIM_RST1R_TIMEVNT7) -#define HRTIM_OUTPUTRESET_TIMEV_8 (HRTIM_RST1R_TIMEVNT8) -#define HRTIM_OUTPUTRESET_TIMEV_9 (HRTIM_RST1R_TIMEVNT9) - -/** @brief Constants defining the event filtering applied to external events - * by a timer - */ -#define HRTIM_TIMEVENTFILTER_NONE (0x00000000U) -#define HRTIM_TIMEVENTFILTER_BLANKINGCMP1 (HRTIM_EEFR1_EE1FLTR_0) -#define HRTIM_TIMEVENTFILTER_BLANKINGCMP2 (HRTIM_EEFR1_EE1FLTR_1) -#define HRTIM_TIMEVENTFILTER_BLANKINGCMP3 (HRTIM_EEFR1_EE1FLTR_1 | HRTIM_EEFR1_EE1FLTR_0) -#define HRTIM_TIMEVENTFILTER_BLANKINGCMP4 (HRTIM_EEFR1_EE1FLTR_2) -#define HRTIM_TIMEVENTFILTER_BLANKINGFLTR1 (HRTIM_EEFR1_EE1FLTR_2 | HRTIM_EEFR1_EE1FLTR_0) -#define HRTIM_TIMEVENTFILTER_BLANKINGFLTR2 (HRTIM_EEFR1_EE1FLTR_2 | HRTIM_EEFR1_EE1FLTR_1) -#define HRTIM_TIMEVENTFILTER_BLANKINGFLTR3 (HRTIM_EEFR1_EE1FLTR_2 | HRTIM_EEFR1_EE1FLTR_1 | HRTIM_EEFR1_EE1FLTR_0) -#define HRTIM_TIMEVENTFILTER_BLANKINGFLTR4 (HRTIM_EEFR1_EE1FLTR_3) -#define HRTIM_TIMEVENTFILTER_BLANKINGFLTR5 (HRTIM_EEFR1_EE1FLTR_3 | HRTIM_EEFR1_EE1FLTR_0) -#define HRTIM_TIMEVENTFILTER_BLANKINGFLTR6 (HRTIM_EEFR1_EE1FLTR_3 | HRTIM_EEFR1_EE1FLTR_1) -#define HRTIM_TIMEVENTFILTER_BLANKINGFLTR7 (HRTIM_EEFR1_EE1FLTR_3 | HRTIM_EEFR1_EE1FLTR_1 | HRTIM_EEFR1_EE1FLTR_0) -#define HRTIM_TIMEVENTFILTER_BLANKINGFLTR8 (HRTIM_EEFR1_EE1FLTR_3 | HRTIM_EEFR1_EE1FLTR_2) -#define HRTIM_TIMEVENTFILTER_WINDOWINGCMP2 (HRTIM_EEFR1_EE1FLTR_3 | HRTIM_EEFR1_EE1FLTR_2 | HRTIM_EEFR1_EE1FLTR_0) -#define HRTIM_TIMEVENTFILTER_WINDOWINGCMP3 (HRTIM_EEFR1_EE1FLTR_3 | HRTIM_EEFR1_EE1FLTR_2 | HRTIM_EEFR1_EE1FLTR_1) -#define HRTIM_TIMEVENTFILTER_WINDOWINGTIM (HRTIM_EEFR1_EE1FLTR_3 | HRTIM_EEFR1_EE1FLTR_2 | HRTIM_EEFR1_EE1FLTR_1 | HRTIM_EEFR1_EE1FLTR_0) - /** @brief Constants defining the DLL calibration periods (in micro seconds) */ #define HRTIM_CALIBRATIONRATE_7300 0x00000000U @@ -839,7 +1008,8 @@ #define I2C_NOSTRETCH_ENABLED I2C_NOSTRETCH_ENABLE #define I2C_ANALOGFILTER_ENABLED I2C_ANALOGFILTER_ENABLE #define I2C_ANALOGFILTER_DISABLED I2C_ANALOGFILTER_DISABLE -#if defined(STM32F0) || defined(STM32F1) || defined(STM32F3) || defined(STM32G0) || defined(STM32L4) || defined(STM32L1) || defined(STM32F7) +#if defined(STM32F0) || defined(STM32F1) || defined(STM32F3) || defined(STM32G0) || defined(STM32L4) || \ + defined(STM32L1) || defined(STM32F7) #define HAL_I2C_STATE_MEM_BUSY_TX HAL_I2C_STATE_BUSY_TX #define HAL_I2C_STATE_MEM_BUSY_RX HAL_I2C_STATE_BUSY_RX #define HAL_I2C_STATE_MASTER_BUSY_TX HAL_I2C_STATE_BUSY_TX @@ -896,6 +1066,20 @@ #define LPTIM_TRIGSAMPLETIME_4TRANSITION LPTIM_TRIGSAMPLETIME_4TRANSITIONS #define LPTIM_TRIGSAMPLETIME_8TRANSITION LPTIM_TRIGSAMPLETIME_8TRANSITIONS + +/** @defgroup HAL_LPTIM_Aliased_Defines HAL LPTIM Aliased Defines maintained for legacy purpose + * @{ + */ +#define HAL_LPTIM_ReadCompare HAL_LPTIM_ReadCapturedValue +/** + * @} + */ + +#if defined(STM32U5) +#define LPTIM_ISR_CC1 LPTIM_ISR_CC1IF +#define LPTIM_ISR_CC2 LPTIM_ISR_CC2IF +#define LPTIM_CHANNEL_ALL 0x00000000U +#endif /* STM32U5 */ /** * @} */ @@ -963,11 +1147,16 @@ #define OPAMP_PGACONNECT_VM0 OPAMP_PGA_CONNECT_INVERTINGINPUT_IO0 #define OPAMP_PGACONNECT_VM1 OPAMP_PGA_CONNECT_INVERTINGINPUT_IO1 -#if defined(STM32L1) || defined(STM32L4) || defined(STM32L5) || defined(STM32H7) || defined(STM32G4) +#if defined(STM32L1) || defined(STM32L4) || defined(STM32L5) || defined(STM32H7) || defined(STM32G4) || defined(STM32U5) #define HAL_OPAMP_MSP_INIT_CB_ID HAL_OPAMP_MSPINIT_CB_ID #define HAL_OPAMP_MSP_DEINIT_CB_ID HAL_OPAMP_MSPDEINIT_CB_ID #endif +#if defined(STM32L4) || defined(STM32L5) +#define OPAMP_POWERMODE_NORMAL OPAMP_POWERMODE_NORMALPOWER +#elif defined(STM32G4) +#define OPAMP_POWERMODE_NORMAL OPAMP_POWERMODE_NORMALSPEED +#endif /** * @} @@ -979,15 +1168,15 @@ #define I2S_STANDARD_PHILLIPS I2S_STANDARD_PHILIPS #if defined(STM32H7) - #define I2S_IT_TXE I2S_IT_TXP - #define I2S_IT_RXNE I2S_IT_RXP +#define I2S_IT_TXE I2S_IT_TXP +#define I2S_IT_RXNE I2S_IT_RXP - #define I2S_FLAG_TXE I2S_FLAG_TXP - #define I2S_FLAG_RXNE I2S_FLAG_RXP +#define I2S_FLAG_TXE I2S_FLAG_TXP +#define I2S_FLAG_RXNE I2S_FLAG_RXP #endif #if defined(STM32F7) - #define I2S_CLOCK_SYSCLK I2S_CLOCK_PLL +#define I2S_CLOCK_SYSCLK I2S_CLOCK_PLL #endif /** * @} @@ -1022,7 +1211,7 @@ /** * @} */ - + /** @defgroup HAL_RTC_Aliased_Defines HAL RTC Aliased Defines maintained for legacy purpose * @{ */ @@ -1042,8 +1231,8 @@ #define RTC_TAMPER1_2_3_INTERRUPT RTC_ALL_TAMPER_INTERRUPT #define RTC_TIMESTAMPPIN_PC13 RTC_TIMESTAMPPIN_DEFAULT -#define RTC_TIMESTAMPPIN_PA0 RTC_TIMESTAMPPIN_POS1 -#define RTC_TIMESTAMPPIN_PI8 RTC_TIMESTAMPPIN_POS1 +#define RTC_TIMESTAMPPIN_PA0 RTC_TIMESTAMPPIN_POS1 +#define RTC_TIMESTAMPPIN_PI8 RTC_TIMESTAMPPIN_POS1 #define RTC_TIMESTAMPPIN_PC1 RTC_TIMESTAMPPIN_POS2 #define RTC_OUTPUT_REMAP_PC13 RTC_OUTPUT_REMAP_NONE @@ -1054,15 +1243,42 @@ #define RTC_TAMPERPIN_PA0 RTC_TAMPERPIN_POS1 #define RTC_TAMPERPIN_PI8 RTC_TAMPERPIN_POS1 +#if defined(STM32H5) +#define TAMP_SECRETDEVICE_ERASE_NONE TAMP_DEVICESECRETS_ERASE_NONE +#define TAMP_SECRETDEVICE_ERASE_BKP_SRAM TAMP_DEVICESECRETS_ERASE_BKPSRAM +#endif /* STM32H5 */ + +#if defined(STM32WBA) +#define TAMP_SECRETDEVICE_ERASE_NONE TAMP_DEVICESECRETS_ERASE_NONE +#define TAMP_SECRETDEVICE_ERASE_SRAM2 TAMP_DEVICESECRETS_ERASE_SRAM2 +#define TAMP_SECRETDEVICE_ERASE_RHUK TAMP_DEVICESECRETS_ERASE_RHUK +#define TAMP_SECRETDEVICE_ERASE_ICACHE TAMP_DEVICESECRETS_ERASE_ICACHE +#define TAMP_SECRETDEVICE_ERASE_SAES_AES_HASH TAMP_DEVICESECRETS_ERASE_SAES_AES_HASH +#define TAMP_SECRETDEVICE_ERASE_PKA_SRAM TAMP_DEVICESECRETS_ERASE_PKA_SRAM +#define TAMP_SECRETDEVICE_ERASE_ALL TAMP_DEVICESECRETS_ERASE_ALL +#endif /* STM32WBA */ + +#if defined(STM32H5) || defined(STM32WBA) +#define TAMP_SECRETDEVICE_ERASE_DISABLE TAMP_DEVICESECRETS_ERASE_NONE +#define TAMP_SECRETDEVICE_ERASE_ENABLE TAMP_SECRETDEVICE_ERASE_ALL +#endif /* STM32H5 || STM32WBA */ + +#if defined(STM32F7) +#define RTC_TAMPCR_TAMPXE RTC_TAMPER_ENABLE_BITS_MASK +#define RTC_TAMPCR_TAMPXIE RTC_TAMPER_IT_ENABLE_BITS_MASK +#endif /* STM32F7 */ + #if defined(STM32H7) #define RTC_TAMPCR_TAMPXE RTC_TAMPER_X #define RTC_TAMPCR_TAMPXIE RTC_TAMPER_X_INTERRUPT +#endif /* STM32H7 */ +#if defined(STM32F7) || defined(STM32H7) || defined(STM32L0) #define RTC_TAMPER1_INTERRUPT RTC_IT_TAMP1 #define RTC_TAMPER2_INTERRUPT RTC_IT_TAMP2 #define RTC_TAMPER3_INTERRUPT RTC_IT_TAMP3 -#define RTC_ALL_TAMPER_INTERRUPT RTC_IT_TAMPALL -#endif /* STM32H7 */ +#define RTC_ALL_TAMPER_INTERRUPT RTC_IT_TAMP +#endif /* STM32F7 || STM32H7 || STM32L0 */ /** * @} @@ -1122,16 +1338,16 @@ #if defined(STM32H7) - #define SPI_FLAG_TXE SPI_FLAG_TXP - #define SPI_FLAG_RXNE SPI_FLAG_RXP +#define SPI_FLAG_TXE SPI_FLAG_TXP +#define SPI_FLAG_RXNE SPI_FLAG_RXP - #define SPI_IT_TXE SPI_IT_TXP - #define SPI_IT_RXNE SPI_IT_RXP +#define SPI_IT_TXE SPI_IT_TXP +#define SPI_IT_RXNE SPI_IT_RXP - #define SPI_FRLVL_EMPTY SPI_RX_FIFO_0PACKET - #define SPI_FRLVL_QUARTER_FULL SPI_RX_FIFO_1PACKET - #define SPI_FRLVL_HALF_FULL SPI_RX_FIFO_2PACKET - #define SPI_FRLVL_FULL SPI_RX_FIFO_3PACKET +#define SPI_FRLVL_EMPTY SPI_RX_FIFO_0PACKET +#define SPI_FRLVL_QUARTER_FULL SPI_RX_FIFO_1PACKET +#define SPI_FRLVL_HALF_FULL SPI_RX_FIFO_2PACKET +#define SPI_FRLVL_FULL SPI_RX_FIFO_3PACKET #endif /* STM32H7 */ @@ -1229,6 +1445,10 @@ #define TIM_TIM3_TI1_COMP1COMP2_OUT TIM_TIM3_TI1_COMP1_COMP2 #endif +#if defined(STM32U5) +#define OCREF_CLEAR_SELECT_Pos OCREF_CLEAR_SELECT_POS +#define OCREF_CLEAR_SELECT_Msk OCREF_CLEAR_SELECT_MSK +#endif /** * @} */ @@ -1338,30 +1558,40 @@ #define ETH_MMCRFAECR 0x00000198U #define ETH_MMCRGUFCR 0x000001C4U -#define ETH_MAC_TXFIFO_FULL 0x02000000U /* Tx FIFO full */ -#define ETH_MAC_TXFIFONOT_EMPTY 0x01000000U /* Tx FIFO not empty */ -#define ETH_MAC_TXFIFO_WRITE_ACTIVE 0x00400000U /* Tx FIFO write active */ -#define ETH_MAC_TXFIFO_IDLE 0x00000000U /* Tx FIFO read status: Idle */ -#define ETH_MAC_TXFIFO_READ 0x00100000U /* Tx FIFO read status: Read (transferring data to the MAC transmitter) */ -#define ETH_MAC_TXFIFO_WAITING 0x00200000U /* Tx FIFO read status: Waiting for TxStatus from MAC transmitter */ -#define ETH_MAC_TXFIFO_WRITING 0x00300000U /* Tx FIFO read status: Writing the received TxStatus or flushing the TxFIFO */ -#define ETH_MAC_TRANSMISSION_PAUSE 0x00080000U /* MAC transmitter in pause */ -#define ETH_MAC_TRANSMITFRAMECONTROLLER_IDLE 0x00000000U /* MAC transmit frame controller: Idle */ -#define ETH_MAC_TRANSMITFRAMECONTROLLER_WAITING 0x00020000U /* MAC transmit frame controller: Waiting for Status of previous frame or IFG/backoff period to be over */ -#define ETH_MAC_TRANSMITFRAMECONTROLLER_GENRATING_PCF 0x00040000U /* MAC transmit frame controller: Generating and transmitting a Pause control frame (in full duplex mode) */ -#define ETH_MAC_TRANSMITFRAMECONTROLLER_TRANSFERRING 0x00060000U /* MAC transmit frame controller: Transferring input frame for transmission */ +#define ETH_MAC_TXFIFO_FULL 0x02000000U /* Tx FIFO full */ +#define ETH_MAC_TXFIFONOT_EMPTY 0x01000000U /* Tx FIFO not empty */ +#define ETH_MAC_TXFIFO_WRITE_ACTIVE 0x00400000U /* Tx FIFO write active */ +#define ETH_MAC_TXFIFO_IDLE 0x00000000U /* Tx FIFO read status: Idle */ +#define ETH_MAC_TXFIFO_READ 0x00100000U /* Tx FIFO read status: Read (transferring data to + the MAC transmitter) */ +#define ETH_MAC_TXFIFO_WAITING 0x00200000U /* Tx FIFO read status: Waiting for TxStatus from + MAC transmitter */ +#define ETH_MAC_TXFIFO_WRITING 0x00300000U /* Tx FIFO read status: Writing the received TxStatus + or flushing the TxFIFO */ +#define ETH_MAC_TRANSMISSION_PAUSE 0x00080000U /* MAC transmitter in pause */ +#define ETH_MAC_TRANSMITFRAMECONTROLLER_IDLE 0x00000000U /* MAC transmit frame controller: Idle */ +#define ETH_MAC_TRANSMITFRAMECONTROLLER_WAITING 0x00020000U /* MAC transmit frame controller: Waiting for Status + of previous frame or IFG/backoff period to be over */ +#define ETH_MAC_TRANSMITFRAMECONTROLLER_GENRATING_PCF 0x00040000U /* MAC transmit frame controller: Generating and + transmitting a Pause control frame (in full duplex mode) */ +#define ETH_MAC_TRANSMITFRAMECONTROLLER_TRANSFERRING 0x00060000U /* MAC transmit frame controller: Transferring input + frame for transmission */ #define ETH_MAC_MII_TRANSMIT_ACTIVE 0x00010000U /* MAC MII transmit engine active */ #define ETH_MAC_RXFIFO_EMPTY 0x00000000U /* Rx FIFO fill level: empty */ -#define ETH_MAC_RXFIFO_BELOW_THRESHOLD 0x00000100U /* Rx FIFO fill level: fill-level below flow-control de-activate threshold */ -#define ETH_MAC_RXFIFO_ABOVE_THRESHOLD 0x00000200U /* Rx FIFO fill level: fill-level above flow-control activate threshold */ +#define ETH_MAC_RXFIFO_BELOW_THRESHOLD 0x00000100U /* Rx FIFO fill level: fill-level below flow-control + de-activate threshold */ +#define ETH_MAC_RXFIFO_ABOVE_THRESHOLD 0x00000200U /* Rx FIFO fill level: fill-level above flow-control + activate threshold */ #define ETH_MAC_RXFIFO_FULL 0x00000300U /* Rx FIFO fill level: full */ #if defined(STM32F1) #else #define ETH_MAC_READCONTROLLER_IDLE 0x00000000U /* Rx FIFO read controller IDLE state */ #define ETH_MAC_READCONTROLLER_READING_DATA 0x00000020U /* Rx FIFO read controller Reading frame data */ -#define ETH_MAC_READCONTROLLER_READING_STATUS 0x00000040U /* Rx FIFO read controller Reading frame status (or time-stamp) */ +#define ETH_MAC_READCONTROLLER_READING_STATUS 0x00000040U /* Rx FIFO read controller Reading frame status + (or time-stamp) */ #endif -#define ETH_MAC_READCONTROLLER_FLUSHING 0x00000060U /* Rx FIFO read controller Flushing the frame data and status */ +#define ETH_MAC_READCONTROLLER_FLUSHING 0x00000060U /* Rx FIFO read controller Flushing the frame data and + status */ #define ETH_MAC_RXFIFO_WRITE_ACTIVE 0x00000010U /* Rx FIFO write controller active */ #define ETH_MAC_SMALL_FIFO_NOTACTIVE 0x00000000U /* MAC small FIFO read / write controllers not active */ #define ETH_MAC_SMALL_FIFO_READ_ACTIVE 0x00000002U /* MAC small FIFO read controller active */ @@ -1417,6 +1647,20 @@ */ #endif /* STM32L4 || STM32F7 || STM32F4 || STM32H7 */ +#if defined(STM32L4) || defined(STM32F7) || defined(STM32F427xx) || defined(STM32F437xx) \ + || defined(STM32F429xx) || defined(STM32F439xx) || defined(STM32F469xx) || defined(STM32F479xx) \ + || defined(STM32H7) || defined(STM32U5) +/** @defgroup DMA2D_Aliases DMA2D API Aliases + * @{ + */ +#define HAL_DMA2D_DisableCLUT HAL_DMA2D_CLUTLoading_Abort /*!< Aliased to HAL_DMA2D_CLUTLoading_Abort + for compatibility with legacy code */ +/** + * @} + */ + +#endif /* STM32L4 || STM32F7 || STM32F4 || STM32H7 || STM32U5 */ + /** @defgroup HAL_PPP_Aliased_Defines HAL PPP Aliased Defines maintained for legacy purpose * @{ */ @@ -1435,6 +1679,29 @@ * @} */ +/** @defgroup HAL_DCACHE_Aliased_Functions HAL DCACHE Aliased Functions maintained for legacy purpose + * @{ + */ + +#if defined(STM32U5) +#define HAL_DCACHE_CleanInvalidateByAddr HAL_DCACHE_CleanInvalidByAddr +#define HAL_DCACHE_CleanInvalidateByAddr_IT HAL_DCACHE_CleanInvalidByAddr_IT +#endif /* STM32U5 */ + +/** + * @} + */ + +#if !defined(STM32F2) +/** @defgroup HASH_alias HASH API alias + * @{ + */ +#define HAL_HASHEx_IRQHandler HAL_HASH_IRQHandler /*!< Redirection for compatibility with legacy code */ +/** + * + * @} + */ +#endif /* STM32F2 */ /** @defgroup HAL_HASH_Aliased_Functions HAL HASH Aliased Functions maintained for legacy purpose * @{ */ @@ -1494,7 +1761,9 @@ #define HAL_DisableDBGStopMode HAL_DBGMCU_DisableDBGStopMode #define HAL_EnableDBGStandbyMode HAL_DBGMCU_EnableDBGStandbyMode #define HAL_DisableDBGStandbyMode HAL_DBGMCU_DisableDBGStandbyMode -#define HAL_DBG_LowPowerConfig(Periph, cmd) (((cmd)==ENABLE)? HAL_DBGMCU_DBG_EnableLowPowerConfig(Periph) : HAL_DBGMCU_DBG_DisableLowPowerConfig(Periph)) +#define HAL_DBG_LowPowerConfig(Periph, cmd) (((cmd\ + )==ENABLE)? HAL_DBGMCU_DBG_EnableLowPowerConfig(Periph) : \ + HAL_DBGMCU_DBG_DisableLowPowerConfig(Periph)) #define HAL_VREFINT_OutputSelect HAL_SYSCFG_VREFINT_OutputSelect #define HAL_Lock_Cmd(cmd) (((cmd)==ENABLE) ? HAL_SYSCFG_Enable_Lock_VREFINT() : HAL_SYSCFG_Disable_Lock_VREFINT()) #if defined(STM32L0) @@ -1502,8 +1771,11 @@ #define HAL_VREFINT_Cmd(cmd) (((cmd)==ENABLE)? HAL_SYSCFG_EnableVREFINT() : HAL_SYSCFG_DisableVREFINT()) #endif #define HAL_ADC_EnableBuffer_Cmd(cmd) (((cmd)==ENABLE) ? HAL_ADCEx_EnableVREFINT() : HAL_ADCEx_DisableVREFINT()) -#define HAL_ADC_EnableBufferSensor_Cmd(cmd) (((cmd)==ENABLE) ? HAL_ADCEx_EnableVREFINTTempSensor() : HAL_ADCEx_DisableVREFINTTempSensor()) -#if defined(STM32H7A3xx) || defined(STM32H7B3xx) || defined(STM32H7B0xx) || defined(STM32H7A3xxQ) || defined(STM32H7B3xxQ) || defined(STM32H7B0xxQ) +#define HAL_ADC_EnableBufferSensor_Cmd(cmd) (((cmd\ + )==ENABLE) ? HAL_ADCEx_EnableVREFINTTempSensor() : \ + HAL_ADCEx_DisableVREFINTTempSensor()) +#if defined(STM32H7A3xx) || defined(STM32H7B3xx) || defined(STM32H7B0xx) || defined(STM32H7A3xxQ) || \ + defined(STM32H7B3xxQ) || defined(STM32H7B0xxQ) #define HAL_EnableSRDomainDBGStopMode HAL_EnableDomain3DBGStopMode #define HAL_DisableSRDomainDBGStopMode HAL_DisableDomain3DBGStopMode #define HAL_EnableSRDomainDBGStandbyMode HAL_EnableDomain3DBGStandbyMode @@ -1525,9 +1797,9 @@ #define HAL_DATA_EEPROMEx_Erase HAL_FLASHEx_DATAEEPROM_Erase #define HAL_DATA_EEPROMEx_Program HAL_FLASHEx_DATAEEPROM_Program - /** +/** * @} - */ + */ /** @defgroup HAL_I2C_Aliased_Functions HAL I2C Aliased Functions maintained for legacy purpose * @{ @@ -1537,15 +1809,21 @@ #define HAL_FMPI2CEx_AnalogFilter_Config HAL_FMPI2CEx_ConfigAnalogFilter #define HAL_FMPI2CEx_DigitalFilter_Config HAL_FMPI2CEx_ConfigDigitalFilter -#define HAL_I2CFastModePlusConfig(SYSCFG_I2CFastModePlus, cmd) (((cmd)==ENABLE)? HAL_I2CEx_EnableFastModePlus(SYSCFG_I2CFastModePlus): HAL_I2CEx_DisableFastModePlus(SYSCFG_I2CFastModePlus)) +#define HAL_I2CFastModePlusConfig(SYSCFG_I2CFastModePlus, cmd) ((cmd == ENABLE)? \ + HAL_I2CEx_EnableFastModePlus(SYSCFG_I2CFastModePlus): \ + HAL_I2CEx_DisableFastModePlus(SYSCFG_I2CFastModePlus)) -#if defined(STM32H7) || defined(STM32WB) || defined(STM32G0) || defined(STM32F0) || defined(STM32F1) || defined(STM32F2) || defined(STM32F3) || defined(STM32F4) || defined(STM32F7) || defined(STM32L0) || defined(STM32L4) || defined(STM32L5) || defined(STM32G4) || defined(STM32L1) +#if defined(STM32H7) || defined(STM32WB) || defined(STM32G0) || defined(STM32F0) || defined(STM32F1) || \ + defined(STM32F2) || defined(STM32F3) || defined(STM32F4) || defined(STM32F7) || defined(STM32L0) || \ + defined(STM32L4) || defined(STM32L5) || defined(STM32G4) || defined(STM32L1) #define HAL_I2C_Master_Sequential_Transmit_IT HAL_I2C_Master_Seq_Transmit_IT #define HAL_I2C_Master_Sequential_Receive_IT HAL_I2C_Master_Seq_Receive_IT #define HAL_I2C_Slave_Sequential_Transmit_IT HAL_I2C_Slave_Seq_Transmit_IT #define HAL_I2C_Slave_Sequential_Receive_IT HAL_I2C_Slave_Seq_Receive_IT -#endif /* STM32H7 || STM32WB || STM32G0 || STM32F0 || STM32F1 || STM32F2 || STM32F3 || STM32F4 || STM32F7 || STM32L0 || STM32L4 || STM32L5 || STM32G4 || STM32L1 */ -#if defined(STM32H7) || defined(STM32WB) || defined(STM32G0) || defined(STM32F4) || defined(STM32F7) || defined(STM32L0) || defined(STM32L4) || defined(STM32L5) || defined(STM32G4)|| defined(STM32L1) +#endif /* STM32H7 || STM32WB || STM32G0 || STM32F0 || STM32F1 || STM32F2 || STM32F3 || STM32F4 || STM32F7 || STM32L0 || + STM32L4 || STM32L5 || STM32G4 || STM32L1 */ +#if defined(STM32H7) || defined(STM32WB) || defined(STM32G0) || defined(STM32F4) || defined(STM32F7) || \ + defined(STM32L0) || defined(STM32L4) || defined(STM32L5) || defined(STM32G4)|| defined(STM32L1) #define HAL_I2C_Master_Sequential_Transmit_DMA HAL_I2C_Master_Seq_Transmit_DMA #define HAL_I2C_Master_Sequential_Receive_DMA HAL_I2C_Master_Seq_Receive_DMA #define HAL_I2C_Slave_Sequential_Transmit_DMA HAL_I2C_Slave_Seq_Transmit_DMA @@ -1562,9 +1840,9 @@ #define HAL_FMPI2C_Slave_Sequential_Transmit_DMA HAL_FMPI2C_Slave_Seq_Transmit_DMA #define HAL_FMPI2C_Slave_Sequential_Receive_DMA HAL_FMPI2C_Slave_Seq_Receive_DMA #endif /* STM32F4 */ - /** +/** * @} - */ + */ /** @defgroup HAL_PWR_Aliased HAL PWR Aliased maintained for legacy purpose * @{ @@ -1619,7 +1897,108 @@ #define PWR_MODE_EVT PWR_PVD_MODE_NORMAL - /** +#if defined (STM32U5) +#define PWR_SRAM1_PAGE1_STOP_RETENTION PWR_SRAM1_PAGE1_STOP +#define PWR_SRAM1_PAGE2_STOP_RETENTION PWR_SRAM1_PAGE2_STOP +#define PWR_SRAM1_PAGE3_STOP_RETENTION PWR_SRAM1_PAGE3_STOP +#define PWR_SRAM1_PAGE4_STOP_RETENTION PWR_SRAM1_PAGE4_STOP +#define PWR_SRAM1_PAGE5_STOP_RETENTION PWR_SRAM1_PAGE5_STOP +#define PWR_SRAM1_PAGE6_STOP_RETENTION PWR_SRAM1_PAGE6_STOP +#define PWR_SRAM1_PAGE7_STOP_RETENTION PWR_SRAM1_PAGE7_STOP +#define PWR_SRAM1_PAGE8_STOP_RETENTION PWR_SRAM1_PAGE8_STOP +#define PWR_SRAM1_PAGE9_STOP_RETENTION PWR_SRAM1_PAGE9_STOP +#define PWR_SRAM1_PAGE10_STOP_RETENTION PWR_SRAM1_PAGE10_STOP +#define PWR_SRAM1_PAGE11_STOP_RETENTION PWR_SRAM1_PAGE11_STOP +#define PWR_SRAM1_PAGE12_STOP_RETENTION PWR_SRAM1_PAGE12_STOP +#define PWR_SRAM1_FULL_STOP_RETENTION PWR_SRAM1_FULL_STOP + +#define PWR_SRAM2_PAGE1_STOP_RETENTION PWR_SRAM2_PAGE1_STOP +#define PWR_SRAM2_PAGE2_STOP_RETENTION PWR_SRAM2_PAGE2_STOP +#define PWR_SRAM2_FULL_STOP_RETENTION PWR_SRAM2_FULL_STOP + +#define PWR_SRAM3_PAGE1_STOP_RETENTION PWR_SRAM3_PAGE1_STOP +#define PWR_SRAM3_PAGE2_STOP_RETENTION PWR_SRAM3_PAGE2_STOP +#define PWR_SRAM3_PAGE3_STOP_RETENTION PWR_SRAM3_PAGE3_STOP +#define PWR_SRAM3_PAGE4_STOP_RETENTION PWR_SRAM3_PAGE4_STOP +#define PWR_SRAM3_PAGE5_STOP_RETENTION PWR_SRAM3_PAGE5_STOP +#define PWR_SRAM3_PAGE6_STOP_RETENTION PWR_SRAM3_PAGE6_STOP +#define PWR_SRAM3_PAGE7_STOP_RETENTION PWR_SRAM3_PAGE7_STOP +#define PWR_SRAM3_PAGE8_STOP_RETENTION PWR_SRAM3_PAGE8_STOP +#define PWR_SRAM3_PAGE9_STOP_RETENTION PWR_SRAM3_PAGE9_STOP +#define PWR_SRAM3_PAGE10_STOP_RETENTION PWR_SRAM3_PAGE10_STOP +#define PWR_SRAM3_PAGE11_STOP_RETENTION PWR_SRAM3_PAGE11_STOP +#define PWR_SRAM3_PAGE12_STOP_RETENTION PWR_SRAM3_PAGE12_STOP +#define PWR_SRAM3_PAGE13_STOP_RETENTION PWR_SRAM3_PAGE13_STOP +#define PWR_SRAM3_FULL_STOP_RETENTION PWR_SRAM3_FULL_STOP + +#define PWR_SRAM4_FULL_STOP_RETENTION PWR_SRAM4_FULL_STOP + +#define PWR_SRAM5_PAGE1_STOP_RETENTION PWR_SRAM5_PAGE1_STOP +#define PWR_SRAM5_PAGE2_STOP_RETENTION PWR_SRAM5_PAGE2_STOP +#define PWR_SRAM5_PAGE3_STOP_RETENTION PWR_SRAM5_PAGE3_STOP +#define PWR_SRAM5_PAGE4_STOP_RETENTION PWR_SRAM5_PAGE4_STOP +#define PWR_SRAM5_PAGE5_STOP_RETENTION PWR_SRAM5_PAGE5_STOP +#define PWR_SRAM5_PAGE6_STOP_RETENTION PWR_SRAM5_PAGE6_STOP +#define PWR_SRAM5_PAGE7_STOP_RETENTION PWR_SRAM5_PAGE7_STOP +#define PWR_SRAM5_PAGE8_STOP_RETENTION PWR_SRAM5_PAGE8_STOP +#define PWR_SRAM5_PAGE9_STOP_RETENTION PWR_SRAM5_PAGE9_STOP +#define PWR_SRAM5_PAGE10_STOP_RETENTION PWR_SRAM5_PAGE10_STOP +#define PWR_SRAM5_PAGE11_STOP_RETENTION PWR_SRAM5_PAGE11_STOP +#define PWR_SRAM5_PAGE12_STOP_RETENTION PWR_SRAM5_PAGE12_STOP +#define PWR_SRAM5_PAGE13_STOP_RETENTION PWR_SRAM5_PAGE13_STOP +#define PWR_SRAM5_FULL_STOP_RETENTION PWR_SRAM5_FULL_STOP + +#define PWR_SRAM6_PAGE1_STOP_RETENTION PWR_SRAM6_PAGE1_STOP +#define PWR_SRAM6_PAGE2_STOP_RETENTION PWR_SRAM6_PAGE2_STOP +#define PWR_SRAM6_PAGE3_STOP_RETENTION PWR_SRAM6_PAGE3_STOP +#define PWR_SRAM6_PAGE4_STOP_RETENTION PWR_SRAM6_PAGE4_STOP +#define PWR_SRAM6_PAGE5_STOP_RETENTION PWR_SRAM6_PAGE5_STOP +#define PWR_SRAM6_PAGE6_STOP_RETENTION PWR_SRAM6_PAGE6_STOP +#define PWR_SRAM6_PAGE7_STOP_RETENTION PWR_SRAM6_PAGE7_STOP +#define PWR_SRAM6_PAGE8_STOP_RETENTION PWR_SRAM6_PAGE8_STOP +#define PWR_SRAM6_FULL_STOP_RETENTION PWR_SRAM6_FULL_STOP + + +#define PWR_ICACHE_FULL_STOP_RETENTION PWR_ICACHE_FULL_STOP +#define PWR_DCACHE1_FULL_STOP_RETENTION PWR_DCACHE1_FULL_STOP +#define PWR_DCACHE2_FULL_STOP_RETENTION PWR_DCACHE2_FULL_STOP +#define PWR_DMA2DRAM_FULL_STOP_RETENTION PWR_DMA2DRAM_FULL_STOP +#define PWR_PERIPHRAM_FULL_STOP_RETENTION PWR_PERIPHRAM_FULL_STOP +#define PWR_PKA32RAM_FULL_STOP_RETENTION PWR_PKA32RAM_FULL_STOP +#define PWR_GRAPHICPRAM_FULL_STOP_RETENTION PWR_GRAPHICPRAM_FULL_STOP +#define PWR_DSIRAM_FULL_STOP_RETENTION PWR_DSIRAM_FULL_STOP +#define PWR_JPEGRAM_FULL_STOP_RETENTION PWR_JPEGRAM_FULL_STOP + + +#define PWR_SRAM2_PAGE1_STANDBY_RETENTION PWR_SRAM2_PAGE1_STANDBY +#define PWR_SRAM2_PAGE2_STANDBY_RETENTION PWR_SRAM2_PAGE2_STANDBY +#define PWR_SRAM2_FULL_STANDBY_RETENTION PWR_SRAM2_FULL_STANDBY + +#define PWR_SRAM1_FULL_RUN_RETENTION PWR_SRAM1_FULL_RUN +#define PWR_SRAM2_FULL_RUN_RETENTION PWR_SRAM2_FULL_RUN +#define PWR_SRAM3_FULL_RUN_RETENTION PWR_SRAM3_FULL_RUN +#define PWR_SRAM4_FULL_RUN_RETENTION PWR_SRAM4_FULL_RUN +#define PWR_SRAM5_FULL_RUN_RETENTION PWR_SRAM5_FULL_RUN +#define PWR_SRAM6_FULL_RUN_RETENTION PWR_SRAM6_FULL_RUN + +#define PWR_ALL_RAM_RUN_RETENTION_MASK PWR_ALL_RAM_RUN_MASK +#endif + +/** + * @} + */ + +/** @defgroup HAL_RTC_Aliased_Functions HAL RTC Aliased Functions maintained for legacy purpose + * @{ + */ +#if defined(STM32H5) || defined(STM32WBA) +#define HAL_RTCEx_SetBoothardwareKey HAL_RTCEx_LockBootHardwareKey +#define HAL_RTCEx_BKUPBlock_Enable HAL_RTCEx_BKUPBlock +#define HAL_RTCEx_BKUPBlock_Disable HAL_RTCEx_BKUPUnblock +#define HAL_RTCEx_Erase_SecretDev_Conf HAL_RTCEx_ConfigEraseDeviceSecrets +#endif /* STM32H5 || STM32WBA */ + +/** * @} */ @@ -1648,7 +2027,8 @@ #define HAL_TIM_DMAError TIM_DMAError #define HAL_TIM_DMACaptureCplt TIM_DMACaptureCplt #define HAL_TIMEx_DMACommutationCplt TIMEx_DMACommutationCplt -#if defined(STM32H7) || defined(STM32G0) || defined(STM32F0) || defined(STM32F1) || defined(STM32F2) || defined(STM32F3) || defined(STM32F4) || defined(STM32F7) || defined(STM32L0) || defined(STM32L4) +#if defined(STM32H7) || defined(STM32G0) || defined(STM32F0) || defined(STM32F1) || defined(STM32F2) || \ + defined(STM32F3) || defined(STM32F4) || defined(STM32F7) || defined(STM32L0) || defined(STM32L4) #define HAL_TIM_SlaveConfigSynchronization HAL_TIM_SlaveConfigSynchro #define HAL_TIM_SlaveConfigSynchronization_IT HAL_TIM_SlaveConfigSynchro_IT #define HAL_TIMEx_CommutationCallback HAL_TIMEx_CommutCallback @@ -1870,15 +2250,15 @@ #define __HAL_FREEZE_RTC_DBGMCU __HAL_DBGMCU_FREEZE_RTC #define __HAL_UNFREEZE_RTC_DBGMCU __HAL_DBGMCU_UNFREEZE_RTC #if defined(STM32H7) - #define __HAL_FREEZE_WWDG_DBGMCU __HAL_DBGMCU_FREEZE_WWDG1 - #define __HAL_UNFREEZE_WWDG_DBGMCU __HAL_DBGMCU_UnFreeze_WWDG1 - #define __HAL_FREEZE_IWDG_DBGMCU __HAL_DBGMCU_FREEZE_IWDG1 - #define __HAL_UNFREEZE_IWDG_DBGMCU __HAL_DBGMCU_UnFreeze_IWDG1 +#define __HAL_FREEZE_WWDG_DBGMCU __HAL_DBGMCU_FREEZE_WWDG1 +#define __HAL_UNFREEZE_WWDG_DBGMCU __HAL_DBGMCU_UnFreeze_WWDG1 +#define __HAL_FREEZE_IWDG_DBGMCU __HAL_DBGMCU_FREEZE_IWDG1 +#define __HAL_UNFREEZE_IWDG_DBGMCU __HAL_DBGMCU_UnFreeze_IWDG1 #else - #define __HAL_FREEZE_WWDG_DBGMCU __HAL_DBGMCU_FREEZE_WWDG - #define __HAL_UNFREEZE_WWDG_DBGMCU __HAL_DBGMCU_UNFREEZE_WWDG - #define __HAL_FREEZE_IWDG_DBGMCU __HAL_DBGMCU_FREEZE_IWDG - #define __HAL_UNFREEZE_IWDG_DBGMCU __HAL_DBGMCU_UNFREEZE_IWDG +#define __HAL_FREEZE_WWDG_DBGMCU __HAL_DBGMCU_FREEZE_WWDG +#define __HAL_UNFREEZE_WWDG_DBGMCU __HAL_DBGMCU_UNFREEZE_WWDG +#define __HAL_FREEZE_IWDG_DBGMCU __HAL_DBGMCU_FREEZE_IWDG +#define __HAL_UNFREEZE_IWDG_DBGMCU __HAL_DBGMCU_UNFREEZE_IWDG #endif /* STM32H7 */ #define __HAL_FREEZE_I2C1_TIMEOUT_DBGMCU __HAL_DBGMCU_FREEZE_I2C1_TIMEOUT #define __HAL_UNFREEZE_I2C1_TIMEOUT_DBGMCU __HAL_DBGMCU_UNFREEZE_I2C1_TIMEOUT @@ -1905,7 +2285,8 @@ #define COMP_STOP __HAL_COMP_DISABLE #define COMP_LOCK __HAL_COMP_LOCK -#if defined(STM32F301x8) || defined(STM32F302x8) || defined(STM32F318xx) || defined(STM32F303x8) || defined(STM32F334x8) || defined(STM32F328xx) +#if defined(STM32F301x8) || defined(STM32F302x8) || defined(STM32F318xx) || defined(STM32F303x8) || \ + defined(STM32F334x8) || defined(STM32F328xx) #define __HAL_COMP_EXTI_RISING_IT_ENABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_ENABLE_RISING_EDGE() : \ ((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_ENABLE_RISING_EDGE() : \ __HAL_COMP_COMP6_EXTI_ENABLE_RISING_EDGE()) @@ -2077,8 +2458,10 @@ /** @defgroup HAL_COMP_Aliased_Functions HAL COMP Aliased Functions maintained for legacy purpose * @{ */ -#define HAL_COMP_Start_IT HAL_COMP_Start /* Function considered as legacy as EXTI event or IT configuration is done into HAL_COMP_Init() */ -#define HAL_COMP_Stop_IT HAL_COMP_Stop /* Function considered as legacy as EXTI event or IT configuration is done into HAL_COMP_Init() */ +#define HAL_COMP_Start_IT HAL_COMP_Start /* Function considered as legacy as EXTI event or IT configuration is + done into HAL_COMP_Init() */ +#define HAL_COMP_Stop_IT HAL_COMP_Stop /* Function considered as legacy as EXTI event or IT configuration is + done into HAL_COMP_Init() */ /** * @} */ @@ -2089,8 +2472,8 @@ */ #define IS_DAC_WAVE(WAVE) (((WAVE) == DAC_WAVE_NONE) || \ - ((WAVE) == DAC_WAVE_NOISE)|| \ - ((WAVE) == DAC_WAVE_TRIANGLE)) + ((WAVE) == DAC_WAVE_NOISE)|| \ + ((WAVE) == DAC_WAVE_TRIANGLE)) /** * @} @@ -2146,7 +2529,7 @@ #define IS_I2S_INSTANCE_EXT IS_I2S_ALL_INSTANCE_EXT #if defined(STM32H7) - #define __HAL_I2S_CLEAR_FREFLAG __HAL_I2S_CLEAR_TIFREFLAG +#define __HAL_I2S_CLEAR_FREFLAG __HAL_I2S_CLEAR_TIFREFLAG #endif /** @@ -2237,7 +2620,9 @@ #define __HAL_PWR_INTERNALWAKEUP_ENABLE HAL_PWREx_EnableInternalWakeUpLine #define __HAL_PWR_PULL_UP_DOWN_CONFIG_DISABLE HAL_PWREx_DisablePullUpPullDownConfig #define __HAL_PWR_PULL_UP_DOWN_CONFIG_ENABLE HAL_PWREx_EnablePullUpPullDownConfig -#define __HAL_PWR_PVD_EXTI_CLEAR_EGDE_TRIGGER() do { __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE();__HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE(); } while(0) +#define __HAL_PWR_PVD_EXTI_CLEAR_EGDE_TRIGGER() do { __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE(); \ + __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE(); \ + } while(0) #define __HAL_PWR_PVD_EXTI_EVENT_DISABLE __HAL_PWR_PVD_EXTI_DISABLE_EVENT #define __HAL_PWR_PVD_EXTI_EVENT_ENABLE __HAL_PWR_PVD_EXTI_ENABLE_EVENT #define __HAL_PWR_PVD_EXTI_FALLINGTRIGGER_DISABLE __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE @@ -2246,8 +2631,12 @@ #define __HAL_PWR_PVD_EXTI_RISINGTRIGGER_ENABLE __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE #define __HAL_PWR_PVD_EXTI_SET_FALLING_EGDE_TRIGGER __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE #define __HAL_PWR_PVD_EXTI_SET_RISING_EDGE_TRIGGER __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE -#define __HAL_PWR_PVM_DISABLE() do { HAL_PWREx_DisablePVM1();HAL_PWREx_DisablePVM2();HAL_PWREx_DisablePVM3();HAL_PWREx_DisablePVM4(); } while(0) -#define __HAL_PWR_PVM_ENABLE() do { HAL_PWREx_EnablePVM1();HAL_PWREx_EnablePVM2();HAL_PWREx_EnablePVM3();HAL_PWREx_EnablePVM4(); } while(0) +#define __HAL_PWR_PVM_DISABLE() do { HAL_PWREx_DisablePVM1();HAL_PWREx_DisablePVM2(); \ + HAL_PWREx_DisablePVM3();HAL_PWREx_DisablePVM4(); \ + } while(0) +#define __HAL_PWR_PVM_ENABLE() do { HAL_PWREx_EnablePVM1();HAL_PWREx_EnablePVM2(); \ + HAL_PWREx_EnablePVM3();HAL_PWREx_EnablePVM4(); \ + } while(0) #define __HAL_PWR_SRAM2CONTENT_PRESERVE_DISABLE HAL_PWREx_DisableSRAM2ContentRetention #define __HAL_PWR_SRAM2CONTENT_PRESERVE_ENABLE HAL_PWREx_EnableSRAM2ContentRetention #define __HAL_PWR_VDDIO2_DISABLE HAL_PWREx_DisableVddIO2 @@ -2283,7 +2672,8 @@ #define RCC_StopWakeUpClock_HSI RCC_STOP_WAKEUPCLOCK_HSI #define HAL_RCC_CCSCallback HAL_RCC_CSSCallback -#define HAL_RC48_EnableBuffer_Cmd(cmd) (((cmd)==ENABLE) ? HAL_RCCEx_EnableHSI48_VREFINT() : HAL_RCCEx_DisableHSI48_VREFINT()) +#define HAL_RC48_EnableBuffer_Cmd(cmd) (((cmd)==ENABLE) ? \ + HAL_RCCEx_EnableHSI48_VREFINT() : HAL_RCCEx_DisableHSI48_VREFINT()) #define __ADC_CLK_DISABLE __HAL_RCC_ADC_CLK_DISABLE #define __ADC_CLK_ENABLE __HAL_RCC_ADC_CLK_ENABLE @@ -2787,6 +3177,11 @@ #define __HAL_RCC_WWDG_IS_CLK_ENABLED __HAL_RCC_WWDG1_IS_CLK_ENABLED #define __HAL_RCC_WWDG_IS_CLK_DISABLED __HAL_RCC_WWDG1_IS_CLK_DISABLED +#define RCC_SPI4CLKSOURCE_D2PCLK1 RCC_SPI4CLKSOURCE_D2PCLK2 +#define RCC_SPI5CLKSOURCE_D2PCLK1 RCC_SPI5CLKSOURCE_D2PCLK2 +#define RCC_SPI45CLKSOURCE_D2PCLK1 RCC_SPI45CLKSOURCE_D2PCLK2 +#define RCC_SPI45CLKSOURCE_CDPCLK1 RCC_SPI45CLKSOURCE_CDPCLK2 +#define RCC_SPI45CLKSOURCE_PCLK1 RCC_SPI45CLKSOURCE_PCLK2 #endif #define __WWDG_CLK_DISABLE __HAL_RCC_WWDG_CLK_DISABLE @@ -3251,7 +3646,8 @@ #define RCC_MCOSOURCE_PLLCLK_NODIV RCC_MCO1SOURCE_PLLCLK #define RCC_MCOSOURCE_PLLCLK_DIV2 RCC_MCO1SOURCE_PLLCLK_DIV2 -#if defined(STM32L4) || defined(STM32WB) || defined(STM32G0) || defined(STM32G4) || defined(STM32L5) || defined(STM32WL) +#if defined(STM32L4) || defined(STM32WB) || defined(STM32G0) || defined(STM32G4) || defined(STM32L5) || \ + defined(STM32WL) || defined(STM32C0) #define RCC_RTCCLKSOURCE_NO_CLK RCC_RTCCLKSOURCE_NONE #else #define RCC_RTCCLKSOURCE_NONE RCC_RTCCLKSOURCE_NO_CLK @@ -3363,6 +3759,124 @@ #define RCC_DFSDM1CLKSOURCE_APB2 RCC_DFSDM1CLKSOURCE_PCLK2 #define RCC_DFSDM2CLKSOURCE_APB2 RCC_DFSDM2CLKSOURCE_PCLK2 #define RCC_FMPI2C1CLKSOURCE_APB RCC_FMPI2C1CLKSOURCE_PCLK1 +#if defined(STM32U5) +#define MSIKPLLModeSEL RCC_MSIKPLL_MODE_SEL +#define MSISPLLModeSEL RCC_MSISPLL_MODE_SEL +#define __HAL_RCC_AHB21_CLK_DISABLE __HAL_RCC_AHB2_1_CLK_DISABLE +#define __HAL_RCC_AHB22_CLK_DISABLE __HAL_RCC_AHB2_2_CLK_DISABLE +#define __HAL_RCC_AHB1_CLK_Disable_Clear __HAL_RCC_AHB1_CLK_ENABLE +#define __HAL_RCC_AHB21_CLK_Disable_Clear __HAL_RCC_AHB2_1_CLK_ENABLE +#define __HAL_RCC_AHB22_CLK_Disable_Clear __HAL_RCC_AHB2_2_CLK_ENABLE +#define __HAL_RCC_AHB3_CLK_Disable_Clear __HAL_RCC_AHB3_CLK_ENABLE +#define __HAL_RCC_APB1_CLK_Disable_Clear __HAL_RCC_APB1_CLK_ENABLE +#define __HAL_RCC_APB2_CLK_Disable_Clear __HAL_RCC_APB2_CLK_ENABLE +#define __HAL_RCC_APB3_CLK_Disable_Clear __HAL_RCC_APB3_CLK_ENABLE +#define IS_RCC_MSIPLLModeSelection IS_RCC_MSIPLLMODE_SELECT +#define RCC_PERIPHCLK_CLK48 RCC_PERIPHCLK_ICLK +#define RCC_CLK48CLKSOURCE_HSI48 RCC_ICLK_CLKSOURCE_HSI48 +#define RCC_CLK48CLKSOURCE_PLL2 RCC_ICLK_CLKSOURCE_PLL2 +#define RCC_CLK48CLKSOURCE_PLL1 RCC_ICLK_CLKSOURCE_PLL1 +#define RCC_CLK48CLKSOURCE_MSIK RCC_ICLK_CLKSOURCE_MSIK +#define __HAL_RCC_ADC1_CLK_ENABLE __HAL_RCC_ADC12_CLK_ENABLE +#define __HAL_RCC_ADC1_CLK_DISABLE __HAL_RCC_ADC12_CLK_DISABLE +#define __HAL_RCC_ADC1_IS_CLK_ENABLED __HAL_RCC_ADC12_IS_CLK_ENABLED +#define __HAL_RCC_ADC1_IS_CLK_DISABLED __HAL_RCC_ADC12_IS_CLK_DISABLED +#define __HAL_RCC_ADC1_FORCE_RESET __HAL_RCC_ADC12_FORCE_RESET +#define __HAL_RCC_ADC1_RELEASE_RESET __HAL_RCC_ADC12_RELEASE_RESET +#define __HAL_RCC_ADC1_CLK_SLEEP_ENABLE __HAL_RCC_ADC12_CLK_SLEEP_ENABLE +#define __HAL_RCC_ADC1_CLK_SLEEP_DISABLE __HAL_RCC_ADC12_CLK_SLEEP_DISABLE +#define __HAL_RCC_GET_CLK48_SOURCE __HAL_RCC_GET_ICLK_SOURCE +#define __HAL_RCC_PLLFRACN_ENABLE __HAL_RCC_PLL_FRACN_ENABLE +#define __HAL_RCC_PLLFRACN_DISABLE __HAL_RCC_PLL_FRACN_DISABLE +#define __HAL_RCC_PLLFRACN_CONFIG __HAL_RCC_PLL_FRACN_CONFIG +#define IS_RCC_PLLFRACN_VALUE IS_RCC_PLL_FRACN_VALUE +#endif /* STM32U5 */ + +#if defined(STM32H5) +#define __HAL_RCC_PLLFRACN_ENABLE __HAL_RCC_PLL_FRACN_ENABLE +#define __HAL_RCC_PLLFRACN_DISABLE __HAL_RCC_PLL_FRACN_DISABLE +#define __HAL_RCC_PLLFRACN_CONFIG __HAL_RCC_PLL_FRACN_CONFIG +#define IS_RCC_PLLFRACN_VALUE IS_RCC_PLL_FRACN_VALUE + +#define RCC_PLLSOURCE_NONE RCC_PLL1_SOURCE_NONE +#define RCC_PLLSOURCE_HSI RCC_PLL1_SOURCE_HSI +#define RCC_PLLSOURCE_CSI RCC_PLL1_SOURCE_CSI +#define RCC_PLLSOURCE_HSE RCC_PLL1_SOURCE_HSE +#define RCC_PLLVCIRANGE_0 RCC_PLL1_VCIRANGE_0 +#define RCC_PLLVCIRANGE_1 RCC_PLL1_VCIRANGE_1 +#define RCC_PLLVCIRANGE_2 RCC_PLL1_VCIRANGE_2 +#define RCC_PLLVCIRANGE_3 RCC_PLL1_VCIRANGE_3 +#define RCC_PLL1VCOWIDE RCC_PLL1_VCORANGE_WIDE +#define RCC_PLL1VCOMEDIUM RCC_PLL1_VCORANGE_MEDIUM + +#define IS_RCC_PLLSOURCE IS_RCC_PLL1_SOURCE +#define IS_RCC_PLLRGE_VALUE IS_RCC_PLL1_VCIRGE_VALUE +#define IS_RCC_PLLVCORGE_VALUE IS_RCC_PLL1_VCORGE_VALUE +#define IS_RCC_PLLCLOCKOUT_VALUE IS_RCC_PLL1_CLOCKOUT_VALUE +#define IS_RCC_PLL_FRACN_VALUE IS_RCC_PLL1_FRACN_VALUE +#define IS_RCC_PLLM_VALUE IS_RCC_PLL1_DIVM_VALUE +#define IS_RCC_PLLN_VALUE IS_RCC_PLL1_MULN_VALUE +#define IS_RCC_PLLP_VALUE IS_RCC_PLL1_DIVP_VALUE +#define IS_RCC_PLLQ_VALUE IS_RCC_PLL1_DIVQ_VALUE +#define IS_RCC_PLLR_VALUE IS_RCC_PLL1_DIVR_VALUE + +#define __HAL_RCC_PLL_ENABLE __HAL_RCC_PLL1_ENABLE +#define __HAL_RCC_PLL_DISABLE __HAL_RCC_PLL1_DISABLE +#define __HAL_RCC_PLL_FRACN_ENABLE __HAL_RCC_PLL1_FRACN_ENABLE +#define __HAL_RCC_PLL_FRACN_DISABLE __HAL_RCC_PLL1_FRACN_DISABLE +#define __HAL_RCC_PLL_CONFIG __HAL_RCC_PLL1_CONFIG +#define __HAL_RCC_PLL_PLLSOURCE_CONFIG __HAL_RCC_PLL1_PLLSOURCE_CONFIG +#define __HAL_RCC_PLL_DIVM_CONFIG __HAL_RCC_PLL1_DIVM_CONFIG +#define __HAL_RCC_PLL_FRACN_CONFIG __HAL_RCC_PLL1_FRACN_CONFIG +#define __HAL_RCC_PLL_VCIRANGE __HAL_RCC_PLL1_VCIRANGE +#define __HAL_RCC_PLL_VCORANGE __HAL_RCC_PLL1_VCORANGE +#define __HAL_RCC_GET_PLL_OSCSOURCE __HAL_RCC_GET_PLL1_OSCSOURCE +#define __HAL_RCC_PLLCLKOUT_ENABLE __HAL_RCC_PLL1_CLKOUT_ENABLE +#define __HAL_RCC_PLLCLKOUT_DISABLE __HAL_RCC_PLL1_CLKOUT_DISABLE +#define __HAL_RCC_GET_PLLCLKOUT_CONFIG __HAL_RCC_GET_PLL1_CLKOUT_CONFIG + +#define __HAL_RCC_PLL2FRACN_ENABLE __HAL_RCC_PLL2_FRACN_ENABLE +#define __HAL_RCC_PLL2FRACN_DISABLE __HAL_RCC_PLL2_FRACN_DISABLE +#define __HAL_RCC_PLL2CLKOUT_ENABLE __HAL_RCC_PLL2_CLKOUT_ENABLE +#define __HAL_RCC_PLL2CLKOUT_DISABLE __HAL_RCC_PLL2_CLKOUT_DISABLE +#define __HAL_RCC_PLL2FRACN_CONFIG __HAL_RCC_PLL2_FRACN_CONFIG +#define __HAL_RCC_GET_PLL2CLKOUT_CONFIG __HAL_RCC_GET_PLL2_CLKOUT_CONFIG + +#define __HAL_RCC_PLL3FRACN_ENABLE __HAL_RCC_PLL3_FRACN_ENABLE +#define __HAL_RCC_PLL3FRACN_DISABLE __HAL_RCC_PLL3_FRACN_DISABLE +#define __HAL_RCC_PLL3CLKOUT_ENABLE __HAL_RCC_PLL3_CLKOUT_ENABLE +#define __HAL_RCC_PLL3CLKOUT_DISABLE __HAL_RCC_PLL3_CLKOUT_DISABLE +#define __HAL_RCC_PLL3FRACN_CONFIG __HAL_RCC_PLL3_FRACN_CONFIG +#define __HAL_RCC_GET_PLL3CLKOUT_CONFIG __HAL_RCC_GET_PLL3_CLKOUT_CONFIG + +#define RCC_PLL2VCIRANGE_0 RCC_PLL2_VCIRANGE_0 +#define RCC_PLL2VCIRANGE_1 RCC_PLL2_VCIRANGE_1 +#define RCC_PLL2VCIRANGE_2 RCC_PLL2_VCIRANGE_2 +#define RCC_PLL2VCIRANGE_3 RCC_PLL2_VCIRANGE_3 + +#define RCC_PLL2VCOWIDE RCC_PLL2_VCORANGE_WIDE +#define RCC_PLL2VCOMEDIUM RCC_PLL2_VCORANGE_MEDIUM + +#define RCC_PLL2SOURCE_NONE RCC_PLL2_SOURCE_NONE +#define RCC_PLL2SOURCE_HSI RCC_PLL2_SOURCE_HSI +#define RCC_PLL2SOURCE_CSI RCC_PLL2_SOURCE_CSI +#define RCC_PLL2SOURCE_HSE RCC_PLL2_SOURCE_HSE + +#define RCC_PLL3VCIRANGE_0 RCC_PLL3_VCIRANGE_0 +#define RCC_PLL3VCIRANGE_1 RCC_PLL3_VCIRANGE_1 +#define RCC_PLL3VCIRANGE_2 RCC_PLL3_VCIRANGE_2 +#define RCC_PLL3VCIRANGE_3 RCC_PLL3_VCIRANGE_3 + +#define RCC_PLL3VCOWIDE RCC_PLL3_VCORANGE_WIDE +#define RCC_PLL3VCOMEDIUM RCC_PLL3_VCORANGE_MEDIUM + +#define RCC_PLL3SOURCE_NONE RCC_PLL3_SOURCE_NONE +#define RCC_PLL3SOURCE_HSI RCC_PLL3_SOURCE_HSI +#define RCC_PLL3SOURCE_CSI RCC_PLL3_SOURCE_CSI +#define RCC_PLL3SOURCE_HSE RCC_PLL3_SOURCE_HSE + + +#endif /* STM32H5 */ /** * @} @@ -3380,7 +3894,9 @@ /** @defgroup HAL_RTC_Aliased_Macros HAL RTC Aliased Macros maintained for legacy purpose * @{ */ -#if defined (STM32G0) || defined (STM32L5) || defined (STM32L412xx) || defined (STM32L422xx) || defined (STM32L4P5xx) || defined (STM32L4Q5xx) || defined (STM32G4) || defined (STM32WL) +#if defined (STM32G0) || defined (STM32L5) || defined (STM32L412xx) || defined (STM32L422xx) || \ + defined (STM32L4P5xx)|| defined (STM32L4Q5xx) || defined (STM32G4) || defined (STM32WL) || defined (STM32U5) || \ + defined (STM32WBA) || defined (STM32H5) || defined (STM32C0) #else #define __HAL_RTC_CLEAR_FLAG __HAL_RTC_EXTI_CLEAR_FLAG #endif @@ -3400,21 +3916,26 @@ #else #define __HAL_RTC_EXTI_CLEAR_FLAG(__EXTI_LINE__) (((__EXTI_LINE__) == RTC_EXTI_LINE_ALARM_EVENT) ? __HAL_RTC_ALARM_EXTI_CLEAR_FLAG() : \ (((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG() : \ - __HAL_RTC_TAMPER_TIMESTAMP_EXTI_CLEAR_FLAG())) + __HAL_RTC_TAMPER_TIMESTAMP_EXTI_CLEAR_FLAG())) #define __HAL_RTC_EXTI_ENABLE_IT(__EXTI_LINE__) (((__EXTI_LINE__) == RTC_EXTI_LINE_ALARM_EVENT) ? __HAL_RTC_ALARM_EXTI_ENABLE_IT() : \ - (((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT() : \ - __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_IT())) + (((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT() : \ + __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_IT())) #define __HAL_RTC_EXTI_DISABLE_IT(__EXTI_LINE__) (((__EXTI_LINE__) == RTC_EXTI_LINE_ALARM_EVENT) ? __HAL_RTC_ALARM_EXTI_DISABLE_IT() : \ - (((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_IT() : \ - __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_IT())) + (((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_IT() : \ + __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_IT())) #define __HAL_RTC_EXTI_GET_FLAG(__EXTI_LINE__) (((__EXTI_LINE__) == RTC_EXTI_LINE_ALARM_EVENT) ? __HAL_RTC_ALARM_EXTI_GET_FLAG() : \ - (((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_GET_FLAG() : \ - __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GET_FLAG())) + (((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_GET_FLAG() : \ + __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GET_FLAG())) #define __HAL_RTC_EXTI_GENERATE_SWIT(__EXTI_LINE__) (((__EXTI_LINE__) == RTC_EXTI_LINE_ALARM_EVENT) ? __HAL_RTC_ALARM_EXTI_GENERATE_SWIT() : \ - (((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_GENERATE_SWIT() : \ - __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GENERATE_SWIT())) + (((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_GENERATE_SWIT() : \ + __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GENERATE_SWIT())) #endif /* STM32F1 */ +#if defined (STM32F0) || defined (STM32F2) || defined (STM32F3) || defined (STM32F4) || defined (STM32F7) || \ + defined (STM32L0) || defined (STM32L1) +#define __HAL_RTC_TAMPER_GET_IT __HAL_RTC_TAMPER_GET_FLAG +#endif + #define IS_ALARM IS_RTC_ALARM #define IS_ALARM_MASK IS_RTC_ALARM_MASK #define IS_TAMPER IS_RTC_TAMPER @@ -3433,17 +3954,31 @@ #define __RTC_WRITEPROTECTION_ENABLE __HAL_RTC_WRITEPROTECTION_ENABLE #define __RTC_WRITEPROTECTION_DISABLE __HAL_RTC_WRITEPROTECTION_DISABLE +#if defined (STM32H5) +#define __HAL_RCC_RTCAPB_CLK_ENABLE __HAL_RCC_RTC_CLK_ENABLE +#define __HAL_RCC_RTCAPB_CLK_DISABLE __HAL_RCC_RTC_CLK_DISABLE +#endif /* STM32H5 */ + /** * @} */ -/** @defgroup HAL_SD_Aliased_Macros HAL SD Aliased Macros maintained for legacy purpose +/** @defgroup HAL_SD_Aliased_Macros HAL SD/MMC Aliased Macros maintained for legacy purpose * @{ */ #define SD_OCR_CID_CSD_OVERWRIETE SD_OCR_CID_CSD_OVERWRITE #define SD_CMD_SD_APP_STAUS SD_CMD_SD_APP_STATUS +#if !defined(STM32F1) && !defined(STM32F2) && !defined(STM32F4) && !defined(STM32L1) +#define eMMC_HIGH_VOLTAGE_RANGE EMMC_HIGH_VOLTAGE_RANGE +#define eMMC_DUAL_VOLTAGE_RANGE EMMC_DUAL_VOLTAGE_RANGE +#define eMMC_LOW_VOLTAGE_RANGE EMMC_LOW_VOLTAGE_RANGE + +#define SDMMC_NSpeed_CLK_DIV SDMMC_NSPEED_CLK_DIV +#define SDMMC_HSpeed_CLK_DIV SDMMC_HSPEED_CLK_DIV +#endif + #if defined(STM32F4) || defined(STM32F2) #define SD_SDMMC_DISABLED SD_SDIO_DISABLED #define SD_SDMMC_FUNCTION_BUSY SD_SDIO_FUNCTION_BUSY @@ -3596,6 +4131,13 @@ #define __HAL_USART_GETCLOCKSOURCE USART_GETCLOCKSOURCE #define __USART_GETCLOCKSOURCE USART_GETCLOCKSOURCE +#if defined(STM32F0) || defined(STM32F3) || defined(STM32F7) +#define USART_OVERSAMPLING_16 0x00000000U +#define USART_OVERSAMPLING_8 USART_CR1_OVER8 + +#define IS_USART_OVERSAMPLING(__SAMPLING__) (((__SAMPLING__) == USART_OVERSAMPLING_16) || \ + ((__SAMPLING__) == USART_OVERSAMPLING_8)) +#endif /* STM32F0 || STM32F3 || STM32F7 */ /** * @} */ @@ -3765,6 +4307,16 @@ * @} */ +/** @defgroup HAL_Generic_Aliased_Macros HAL Generic Aliased Macros maintained for legacy purpose + * @{ + */ +#if defined (STM32F7) +#define ART_ACCLERATOR_ENABLE ART_ACCELERATOR_ENABLE +#endif /* STM32F7 */ +/** + * @} + */ + /** @defgroup HAL_PPP_Aliased_Macros HAL PPP Aliased Macros maintained for legacy purpose * @{ */ @@ -3779,5 +4331,4 @@ #endif /* STM32_HAL_LEGACY */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32f1xx_hal_can_ex_legacy.h b/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32f1xx_hal_can_ex_legacy.h index 2446b0a..1ec47cd 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32f1xx_hal_can_ex_legacy.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32f1xx_hal_can_ex_legacy.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -124,5 +123,3 @@ typedef struct #endif #endif /* __STM32F1xx_HAL_CAN_EX_LEGACY_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32f1xx_hal_can_legacy.h b/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32f1xx_hal_can_legacy.h index 0d2ba41..2322ac8 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32f1xx_hal_can_legacy.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32f1xx_hal_can_legacy.h @@ -6,29 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © COPYRIGHT(c) 2017 STMicroelectronics

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -445,7 +428,7 @@ typedef struct #define MSR_REGISTER_INDEX 0x1U #define ESR_REGISTER_INDEX 0x3U -/* CAN flags bits position into their respective register (TSR, RF0R, RF1R or MSR regsiters) */ +/* CAN flags bits position into their respective register (TSR, RF0R, RF1R or MSR registers) */ /* Transmit Flags */ #define CAN_TSR_RQCP0_BIT_POSITION 0x00000000U #define CAN_TSR_RQCP1_BIT_POSITION 0x00000008U @@ -791,6 +774,3 @@ HAL_CAN_StateTypeDef HAL_CAN_GetState(CAN_HandleTypeDef* hcan); #endif #endif /* __STM32F1xx_HAL_CAN_LEGACY_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32_assert_template.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32_assert_template.h index 011d57c..89d81a7 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32_assert_template.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32_assert_template.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -54,4 +53,4 @@ void assert_failed(uint8_t* file, uint32_t line); #endif /* __STM32_ASSERT_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h index 35092c0..a67a3b9 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -355,4 +354,4 @@ void HAL_DBGMCU_DisableDBGStandbyMode(void); #endif /* __STM32F1xx_HAL_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h index 8b49282..f5e6d36 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h @@ -7,13 +7,12 @@ * @attention * * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -27,8 +26,7 @@ #endif /* Includes ------------------------------------------------------------------*/ -#include "stm32f1xx_hal_def.h" - +#include "stm32f1xx_hal_def.h" /** @addtogroup STM32F1xx_HAL_Driver * @{ */ @@ -1000,5 +998,3 @@ void ADC_DMAError(DMA_HandleTypeDef *hdma); #endif /* __STM32F1xx_HAL_ADC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h index 21a8c9f..9e66a2e 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -705,6 +704,3 @@ HAL_StatusTypeDef HAL_ADCEx_MultiModeConfigChannel(ADC_HandleTypeDef *hadc #endif #endif /* __STM32F1xx_HAL_ADC_EX_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_can.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_can.h index e2787aa..287c991 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_can.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_can.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -103,21 +102,25 @@ typedef struct { uint32_t FilterIdHigh; /*!< Specifies the filter identification number (MSBs for a 32-bit configuration, first one for a 16-bit configuration). - This parameter must be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF. */ + This parameter must be a number between + Min_Data = 0x0000 and Max_Data = 0xFFFF. */ uint32_t FilterIdLow; /*!< Specifies the filter identification number (LSBs for a 32-bit configuration, second one for a 16-bit configuration). - This parameter must be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF. */ + This parameter must be a number between + Min_Data = 0x0000 and Max_Data = 0xFFFF. */ uint32_t FilterMaskIdHigh; /*!< Specifies the filter mask number or identification number, according to the mode (MSBs for a 32-bit configuration, first one for a 16-bit configuration). - This parameter must be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF. */ + This parameter must be a number between + Min_Data = 0x0000 and Max_Data = 0xFFFF. */ uint32_t FilterMaskIdLow; /*!< Specifies the filter mask number or identification number, according to the mode (LSBs for a 32-bit configuration, second one for a 16-bit configuration). - This parameter must be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF. */ + This parameter must be a number between + Min_Data = 0x0000 and Max_Data = 0xFFFF. */ uint32_t FilterFIFOAssignment; /*!< Specifies the FIFO (0 or 1U) which will be assigned to the filter. This parameter can be a value of @ref CAN_filter_FIFO */ @@ -295,11 +298,11 @@ typedef void (*pCAN_CallbackTypeDef)(CAN_HandleTypeDef *hcan); /*!< pointer to #define HAL_CAN_ERROR_RX_FOV0 (0x00000200U) /*!< Rx FIFO0 overrun error */ #define HAL_CAN_ERROR_RX_FOV1 (0x00000400U) /*!< Rx FIFO1 overrun error */ #define HAL_CAN_ERROR_TX_ALST0 (0x00000800U) /*!< TxMailbox 0 transmit failure due to arbitration lost */ -#define HAL_CAN_ERROR_TX_TERR0 (0x00001000U) /*!< TxMailbox 0 transmit failure due to transmit error */ +#define HAL_CAN_ERROR_TX_TERR0 (0x00001000U) /*!< TxMailbox 0 transmit failure due to transmit error */ #define HAL_CAN_ERROR_TX_ALST1 (0x00002000U) /*!< TxMailbox 1 transmit failure due to arbitration lost */ -#define HAL_CAN_ERROR_TX_TERR1 (0x00004000U) /*!< TxMailbox 1 transmit failure due to transmit error */ +#define HAL_CAN_ERROR_TX_TERR1 (0x00004000U) /*!< TxMailbox 1 transmit failure due to transmit error */ #define HAL_CAN_ERROR_TX_ALST2 (0x00008000U) /*!< TxMailbox 2 transmit failure due to arbitration lost */ -#define HAL_CAN_ERROR_TX_TERR2 (0x00010000U) /*!< TxMailbox 2 transmit failure due to transmit error */ +#define HAL_CAN_ERROR_TX_TERR2 (0x00010000U) /*!< TxMailbox 2 transmit failure due to transmit error */ #define HAL_CAN_ERROR_TIMEOUT (0x00020000U) /*!< Timeout error */ #define HAL_CAN_ERROR_NOT_INITIALIZED (0x00040000U) /*!< Peripheral not initialized */ #define HAL_CAN_ERROR_NOT_READY (0x00080000U) /*!< Peripheral not ready */ @@ -330,7 +333,8 @@ typedef void (*pCAN_CallbackTypeDef)(CAN_HandleTypeDef *hcan); /*!< pointer to #define CAN_MODE_NORMAL (0x00000000U) /*!< Normal mode */ #define CAN_MODE_LOOPBACK ((uint32_t)CAN_BTR_LBKM) /*!< Loopback mode */ #define CAN_MODE_SILENT ((uint32_t)CAN_BTR_SILM) /*!< Silent mode */ -#define CAN_MODE_SILENT_LOOPBACK ((uint32_t)(CAN_BTR_LBKM | CAN_BTR_SILM)) /*!< Loopback combined with silent mode */ +#define CAN_MODE_SILENT_LOOPBACK ((uint32_t)(CAN_BTR_LBKM | CAN_BTR_SILM)) /*!< Loopback combined with + silent mode */ /** * @} */ @@ -645,7 +649,8 @@ void HAL_CAN_MspDeInit(CAN_HandleTypeDef *hcan); #if USE_HAL_CAN_REGISTER_CALLBACKS == 1 /* Callbacks Register/UnRegister functions ***********************************/ -HAL_StatusTypeDef HAL_CAN_RegisterCallback(CAN_HandleTypeDef *hcan, HAL_CAN_CallbackIDTypeDef CallbackID, void (* pCallback)(CAN_HandleTypeDef *_hcan)); +HAL_StatusTypeDef HAL_CAN_RegisterCallback(CAN_HandleTypeDef *hcan, HAL_CAN_CallbackIDTypeDef CallbackID, + void (* pCallback)(CAN_HandleTypeDef *_hcan)); HAL_StatusTypeDef HAL_CAN_UnRegisterCallback(CAN_HandleTypeDef *hcan, HAL_CAN_CallbackIDTypeDef CallbackID); #endif /* (USE_HAL_CAN_REGISTER_CALLBACKS) */ @@ -659,7 +664,7 @@ HAL_StatusTypeDef HAL_CAN_UnRegisterCallback(CAN_HandleTypeDef *hcan, HAL_CAN_Ca */ /* Configuration functions ****************************************************/ -HAL_StatusTypeDef HAL_CAN_ConfigFilter(CAN_HandleTypeDef *hcan, CAN_FilterTypeDef *sFilterConfig); +HAL_StatusTypeDef HAL_CAN_ConfigFilter(CAN_HandleTypeDef *hcan, const CAN_FilterTypeDef *sFilterConfig); /** * @} @@ -675,14 +680,16 @@ HAL_StatusTypeDef HAL_CAN_Start(CAN_HandleTypeDef *hcan); HAL_StatusTypeDef HAL_CAN_Stop(CAN_HandleTypeDef *hcan); HAL_StatusTypeDef HAL_CAN_RequestSleep(CAN_HandleTypeDef *hcan); HAL_StatusTypeDef HAL_CAN_WakeUp(CAN_HandleTypeDef *hcan); -uint32_t HAL_CAN_IsSleepActive(CAN_HandleTypeDef *hcan); -HAL_StatusTypeDef HAL_CAN_AddTxMessage(CAN_HandleTypeDef *hcan, CAN_TxHeaderTypeDef *pHeader, uint8_t aData[], uint32_t *pTxMailbox); +uint32_t HAL_CAN_IsSleepActive(const CAN_HandleTypeDef *hcan); +HAL_StatusTypeDef HAL_CAN_AddTxMessage(CAN_HandleTypeDef *hcan, const CAN_TxHeaderTypeDef *pHeader, + const uint8_t aData[], uint32_t *pTxMailbox); HAL_StatusTypeDef HAL_CAN_AbortTxRequest(CAN_HandleTypeDef *hcan, uint32_t TxMailboxes); -uint32_t HAL_CAN_GetTxMailboxesFreeLevel(CAN_HandleTypeDef *hcan); -uint32_t HAL_CAN_IsTxMessagePending(CAN_HandleTypeDef *hcan, uint32_t TxMailboxes); -uint32_t HAL_CAN_GetTxTimestamp(CAN_HandleTypeDef *hcan, uint32_t TxMailbox); -HAL_StatusTypeDef HAL_CAN_GetRxMessage(CAN_HandleTypeDef *hcan, uint32_t RxFifo, CAN_RxHeaderTypeDef *pHeader, uint8_t aData[]); -uint32_t HAL_CAN_GetRxFifoFillLevel(CAN_HandleTypeDef *hcan, uint32_t RxFifo); +uint32_t HAL_CAN_GetTxMailboxesFreeLevel(const CAN_HandleTypeDef *hcan); +uint32_t HAL_CAN_IsTxMessagePending(const CAN_HandleTypeDef *hcan, uint32_t TxMailboxes); +uint32_t HAL_CAN_GetTxTimestamp(const CAN_HandleTypeDef *hcan, uint32_t TxMailbox); +HAL_StatusTypeDef HAL_CAN_GetRxMessage(CAN_HandleTypeDef *hcan, uint32_t RxFifo, + CAN_RxHeaderTypeDef *pHeader, uint8_t aData[]); +uint32_t HAL_CAN_GetRxFifoFillLevel(const CAN_HandleTypeDef *hcan, uint32_t RxFifo); /** * @} @@ -730,8 +737,8 @@ void HAL_CAN_ErrorCallback(CAN_HandleTypeDef *hcan); * @{ */ /* Peripheral State and Error functions ***************************************/ -HAL_CAN_StateTypeDef HAL_CAN_GetState(CAN_HandleTypeDef *hcan); -uint32_t HAL_CAN_GetError(CAN_HandleTypeDef *hcan); +HAL_CAN_StateTypeDef HAL_CAN_GetState(const CAN_HandleTypeDef *hcan); +uint32_t HAL_CAN_GetError(const CAN_HandleTypeDef *hcan); HAL_StatusTypeDef HAL_CAN_ResetError(CAN_HandleTypeDef *hcan); /** @@ -809,7 +816,8 @@ HAL_StatusTypeDef HAL_CAN_ResetError(CAN_HandleTypeDef *hcan); #define IS_CAN_TX_MAILBOX(TRANSMITMAILBOX) (((TRANSMITMAILBOX) == CAN_TX_MAILBOX0 ) || \ ((TRANSMITMAILBOX) == CAN_TX_MAILBOX1 ) || \ ((TRANSMITMAILBOX) == CAN_TX_MAILBOX2 )) -#define IS_CAN_TX_MAILBOX_LIST(TRANSMITMAILBOX) ((TRANSMITMAILBOX) <= (CAN_TX_MAILBOX0 | CAN_TX_MAILBOX1 | CAN_TX_MAILBOX2)) +#define IS_CAN_TX_MAILBOX_LIST(TRANSMITMAILBOX) ((TRANSMITMAILBOX) <= (CAN_TX_MAILBOX0 | CAN_TX_MAILBOX1 | \ + CAN_TX_MAILBOX2)) #define IS_CAN_STDID(STDID) ((STDID) <= 0x7FFU) #define IS_CAN_EXTID(EXTID) ((EXTID) <= 0x1FFFFFFFU) #define IS_CAN_DLC(DLC) ((DLC) <= 8U) @@ -845,6 +853,3 @@ HAL_StatusTypeDef HAL_CAN_ResetError(CAN_HandleTypeDef *hcan); #endif #endif /* STM32F1xx_HAL_CAN_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cec.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cec.h index 0859019..3ae3bc2 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cec.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cec.h @@ -6,15 +6,14 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * - ****************************************************************************** + ****************************************************************************** */ /* Define to prevent recursive inclusion -------------------------------------*/ @@ -22,7 +21,7 @@ #define __STM32F1xx_HAL_CEC_H #ifdef __cplusplus - extern "C" { +extern "C" { #endif /* Includes ------------------------------------------------------------------*/ @@ -37,44 +36,49 @@ /** @addtogroup CEC * @{ */ - -/* Exported types ------------------------------------------------------------*/ + +/* Exported types ------------------------------------------------------------*/ /** @defgroup CEC_Exported_Types CEC Exported Types * @{ */ -/** - * @brief CEC Init Structure definition - */ + +/** + * @brief CEC Init Structure definition + */ typedef struct { - uint32_t TimingErrorFree; /*!< Configures the CEC Bit Timing Error Mode. - This parameter can be a value of @ref CEC_BitTimingErrorMode */ - uint32_t PeriodErrorFree; /*!< Configures the CEC Bit Period Error Mode. - This parameter can be a value of @ref CEC_BitPeriodErrorMode */ - uint16_t OwnAddress; /*!< Own addresses configuration - This parameter can be a value of @ref CEC_OWN_ADDRESS */ - uint8_t *RxBuffer; /*!< CEC Rx buffer pointeur */ -}CEC_InitTypeDef; + uint32_t TimingErrorFree; /*!< Configures the CEC Bit Timing Error Mode. + This parameter can be a value of CEC_BitTimingErrorMode */ -/** - * @brief HAL CEC State structures definition - * @note HAL CEC State value is a combination of 2 different substates: gState and RxState. - * - gState contains CEC state information related to global Handle management + uint32_t PeriodErrorFree; /*!< Configures the CEC Bit Period Error Mode. + This parameter can be a value of CEC_BitPeriodErrorMode */ + + uint16_t OwnAddress; /*!< Own addresses configuration + This parameter can be a value of @ref CEC_OWN_ADDRESS */ + + uint8_t *RxBuffer; /*!< CEC Rx buffer pointer */ +} CEC_InitTypeDef; + +/** + * @brief HAL CEC State definition + * @note HAL CEC State value is a combination of 2 different substates: gState and RxState + (see @ref CEC_State_Definition). + * - gState contains CEC state information related to global Handle management * and also information related to Tx operations. * gState value coding follow below described bitmap : * b7 (not used) * x : Should be set to 0 - * b6 Error information + * b6 Error information * 0 : No Error * 1 : Error - * b5 IP initilisation status - * 0 : Reset (IP not initialized) - * 1 : Init done (IP initialized. HAL CEC Init function already called) + * b5 CEC peripheral initialization status + * 0 : Reset (peripheral not initialized) + * 1 : Init done (peripheral initialized. HAL CEC Init function already called) * b4-b3 (not used) * xx : Should be set to 00 * b2 Intrinsic process state * 0 : Ready - * 1 : Busy (IP busy with some configuration or internal operations) + * 1 : Busy (peripheral busy with some configuration or internal operations) * b1 (not used) * x : Should be set to 0 * b0 Tx state @@ -84,20 +88,20 @@ typedef struct * RxState value coding follow below described bitmap : * b7-b6 (not used) * xx : Should be set to 00 - * b5 IP initilisation status - * 0 : Reset (IP not initialized) - * 1 : Init done (IP initialized) + * b5 CEC peripheral initialization status + * 0 : Reset (peripheral not initialized) + * 1 : Init done (peripheral initialized) * b4-b2 (not used) * xxx : Should be set to 000 * b1 Rx state * 0 : Ready (no Rx operation ongoing) * 1 : Busy (Rx operation ongoing) * b0 (not used) - * x : Should be set to 0. - */ + * x : Should be set to 0. + */ typedef enum { - HAL_CEC_STATE_RESET = 0x00U, /*!< Peripheral is not yet Initialized + HAL_CEC_STATE_RESET = 0x00U, /*!< Peripheral is not yet Initialized Value is allowed for gState and RxState */ HAL_CEC_STATE_READY = 0x20U, /*!< Peripheral Initialized and ready for use Value is allowed for gState and RxState */ @@ -105,50 +109,51 @@ typedef enum Value is allowed for gState only */ HAL_CEC_STATE_BUSY_RX = 0x22U, /*!< Data Reception process is ongoing Value is allowed for RxState only */ - HAL_CEC_STATE_BUSY_TX = 0x21U, /*!< Data Transmission process is ongoing + HAL_CEC_STATE_BUSY_TX = 0x21U, /*!< Data Transmission process is ongoing Value is allowed for gState only */ HAL_CEC_STATE_BUSY_RX_TX = 0x23U, /*!< an internal process is ongoing Value is allowed for gState only */ HAL_CEC_STATE_ERROR = 0x60U /*!< Error Value is allowed for gState only */ -}HAL_CEC_StateTypeDef; +} HAL_CEC_StateTypeDef; -/** - * @brief CEC handle Structure definition - */ +/** + * @brief CEC handle Structure definition + */ typedef struct __CEC_HandleTypeDef { CEC_TypeDef *Instance; /*!< CEC registers base address */ - + CEC_InitTypeDef Init; /*!< CEC communication parameters */ - - uint8_t *pTxBuffPtr; /*!< Pointer to CEC Tx transfer Buffer */ - + + const uint8_t *pTxBuffPtr; /*!< Pointer to CEC Tx transfer Buffer */ + uint16_t TxXferCount; /*!< CEC Tx Transfer Counter */ - + uint16_t RxXferSize; /*!< CEC Rx Transfer size, 0: header received only */ - + HAL_LockTypeDef Lock; /*!< Locking object */ - HAL_CEC_StateTypeDef gState; /*!< CEC state information related to global Handle management + HAL_CEC_StateTypeDef gState; /*!< CEC state information related to global Handle management and also related to Tx operations. This parameter can be a value of @ref HAL_CEC_StateTypeDef */ - + HAL_CEC_StateTypeDef RxState; /*!< CEC state information related to Rx operations. This parameter can be a value of @ref HAL_CEC_StateTypeDef */ - - uint32_t ErrorCode; /*!< For errors handling purposes, copy of ISR register - in case error is reported */ + + uint32_t ErrorCode; /*!< For errors handling purposes, copy of ISR register + in case error is reported */ #if (USE_HAL_CEC_REGISTER_CALLBACKS == 1) - void (* TxCpltCallback) ( struct __CEC_HandleTypeDef * hcec); /*!< CEC Tx Transfer completed callback */ - void (* RxCpltCallback) ( struct __CEC_HandleTypeDef * hcec, uint32_t RxFrameSize); /*!< CEC Rx Transfer completed callback */ - void (* ErrorCallback) ( struct __CEC_HandleTypeDef * hcec); /*!< CEC error callback */ + void (* TxCpltCallback)(struct __CEC_HandleTypeDef *hcec); /*!< CEC Tx Transfer completed callback */ + void (* RxCpltCallback)(struct __CEC_HandleTypeDef *hcec, + uint32_t RxFrameSize); /*!< CEC Rx Transfer completed callback */ + void (* ErrorCallback)(struct __CEC_HandleTypeDef *hcec); /*!< CEC error callback */ - void (* MspInitCallback) ( struct __CEC_HandleTypeDef * hcec); /*!< CEC Msp Init callback */ - void (* MspDeInitCallback) ( struct __CEC_HandleTypeDef * hcec); /*!< CEC Msp DeInit callback */ + void (* MspInitCallback)(struct __CEC_HandleTypeDef *hcec); /*!< CEC Msp Init callback */ + void (* MspDeInitCallback)(struct __CEC_HandleTypeDef *hcec); /*!< CEC Msp DeInit callback */ -#endif /* (USE_HAL_CEC_REGISTER_CALLBACKS) */ -}CEC_HandleTypeDef; +#endif /* (USE_HAL_CEC_REGISTER_CALLBACKS) */ +} CEC_HandleTypeDef; #if (USE_HAL_CEC_REGISTER_CALLBACKS == 1) /** @@ -158,16 +163,18 @@ typedef enum { HAL_CEC_TX_CPLT_CB_ID = 0x00U, /*!< CEC Tx Transfer completed callback ID */ HAL_CEC_RX_CPLT_CB_ID = 0x01U, /*!< CEC Rx Transfer completed callback ID */ - HAL_CEC_ERROR_CB_ID = 0x02U, /*!< CEC error callback ID */ + HAL_CEC_ERROR_CB_ID = 0x02U, /*!< CEC error callback ID */ HAL_CEC_MSPINIT_CB_ID = 0x03U, /*!< CEC Msp Init callback ID */ HAL_CEC_MSPDEINIT_CB_ID = 0x04U /*!< CEC Msp DeInit callback ID */ -}HAL_CEC_CallbackIDTypeDef; +} HAL_CEC_CallbackIDTypeDef; /** * @brief HAL CEC Callback pointer definition */ -typedef void (*pCEC_CallbackTypeDef)(CEC_HandleTypeDef * hcec); /*!< pointer to an CEC callback function */ -typedef void (*pCEC_RxCallbackTypeDef)(CEC_HandleTypeDef * hcec, uint32_t RxFrameSize); /*!< pointer to an Rx Transfer completed callback function */ +typedef void (*pCEC_CallbackTypeDef)(CEC_HandleTypeDef *hcec); /*!< pointer to an CEC callback function */ +typedef void (*pCEC_RxCallbackTypeDef)(CEC_HandleTypeDef *hcec, + uint32_t RxFrameSize); /*!< pointer to an Rx Transfer completed + callback function */ #endif /* USE_HAL_CEC_REGISTER_CALLBACKS */ /** * @} @@ -198,7 +205,7 @@ typedef void (*pCEC_RxCallbackTypeDef)(CEC_HandleTypeDef * hcec, uint32_t RxFra /** @defgroup CEC_BitTimingErrorMode Bit Timing Error Mode * @{ - */ + */ #define CEC_BIT_TIMING_ERROR_MODE_STANDARD 0x00000000U /*!< Bit timing error Standard Mode */ #define CEC_BIT_TIMING_ERROR_MODE_ERRORFREE CEC_CFGR_BTEM /*!< Bit timing error Free Mode */ /** @@ -207,14 +214,14 @@ typedef void (*pCEC_RxCallbackTypeDef)(CEC_HandleTypeDef * hcec, uint32_t RxFra /** @defgroup CEC_BitPeriodErrorMode Bit Period Error Mode * @{ - */ + */ #define CEC_BIT_PERIOD_ERROR_MODE_STANDARD 0x00000000U /*!< Bit period error Standard Mode */ #define CEC_BIT_PERIOD_ERROR_MODE_FLEXIBLE CEC_CFGR_BPEM /*!< Bit period error Flexible Mode */ /** * @} - */ - -/** @defgroup CEC_Initiator_Position CEC Initiator logical address position in message header + */ + +/** @defgroup CEC_Initiator_Position CEC Initiator logical address position in message header * @{ */ #define CEC_INITIATOR_LSB_POS 4U @@ -222,7 +229,7 @@ typedef void (*pCEC_RxCallbackTypeDef)(CEC_HandleTypeDef * hcec, uint32_t RxFra * @} */ -/** @defgroup CEC_OWN_ADDRESS CEC Own Address +/** @defgroup CEC_OWN_ADDRESS CEC Own Address * @{ */ #define CEC_OWN_ADDRESS_NONE CEC_OWN_ADDRESS_0 /* Reset value */ @@ -268,18 +275,18 @@ typedef void (*pCEC_RxCallbackTypeDef)(CEC_HandleTypeDef * hcec, uint32_t RxFra /** * @} */ - + /** * @} - */ - + */ + /* Exported macros -----------------------------------------------------------*/ /** @defgroup CEC_Exported_Macros CEC Exported Macros * @{ */ /** @brief Reset CEC handle gstate & RxState - * @param __HANDLE__: CEC handle. + * @param __HANDLE__ CEC handle. * @retval None */ #if (USE_HAL_CEC_REGISTER_CALLBACKS == 1) @@ -289,7 +296,7 @@ typedef void (*pCEC_RxCallbackTypeDef)(CEC_HandleTypeDef * hcec, uint32_t RxFra (__HANDLE__)->MspInitCallback = NULL; \ (__HANDLE__)->MspDeInitCallback = NULL; \ } while(0) -#else +#else #define __HAL_CEC_RESET_HANDLE_STATE(__HANDLE__) do{ \ (__HANDLE__)->gState = HAL_CEC_STATE_RESET; \ (__HANDLE__)->RxState = HAL_CEC_STATE_RESET; \ @@ -297,106 +304,106 @@ typedef void (*pCEC_RxCallbackTypeDef)(CEC_HandleTypeDef * hcec, uint32_t RxFra #endif /* USE_HAL_CEC_REGISTER_CALLBACKS */ /** @brief Checks whether or not the specified CEC interrupt flag is set. - * @param __HANDLE__: specifies the CEC Handle. - * @param __FLAG__: specifies the flag to check. + * @param __HANDLE__ specifies the CEC Handle. + * @param __FLAG__ specifies the flag to check. * @arg CEC_FLAG_TERR: Tx Error * @arg CEC_FLAG_TBTRF:Tx Block Transfer Finished * @arg CEC_FLAG_RERR: Rx Error * @arg CEC_FLAG_RBTF: Rx Block Transfer Finished * @retval ITStatus */ -#define __HAL_CEC_GET_FLAG(__HANDLE__, __FLAG__) READ_BIT((__HANDLE__)->Instance->CSR,(__FLAG__)) +#define __HAL_CEC_GET_FLAG(__HANDLE__, __FLAG__) READ_BIT((__HANDLE__)->Instance->CSR,(__FLAG__)) /** @brief Clears the CEC's pending flags. - * @param __HANDLE__: specifies the CEC Handle. - * @param __FLAG__: specifies the flag to clear. + * @param __HANDLE__ specifies the CEC Handle. + * @param __FLAG__ specifies the flag to clear. * This parameter can be any combination of the following values: * @arg CEC_CSR_TERR: Tx Error * @arg CEC_FLAG_TBTRF: Tx Block Transfer Finished * @arg CEC_CSR_RERR: Rx Error * @arg CEC_CSR_RBTF: Rx Block Transfer Finished - * @retval none + * @retval none */ #define __HAL_CEC_CLEAR_FLAG(__HANDLE__, __FLAG__) \ - do { \ - uint32_t tmp = 0x0U; \ - tmp = (__HANDLE__)->Instance->CSR & 0x00000002U; \ - (__HANDLE__)->Instance->CSR &= (uint32_t)(((~(uint32_t)(__FLAG__)) & 0xFFFFFFFCU) | tmp);\ - } while(0U) + do { \ + uint32_t tmp = 0x0U; \ + tmp = (__HANDLE__)->Instance->CSR & 0x00000002U; \ + (__HANDLE__)->Instance->CSR &= (uint32_t)(((~(uint32_t)(__FLAG__)) & 0xFFFFFFFCU) | tmp);\ + } while(0U) /** @brief Enables the specified CEC interrupt. - * @param __HANDLE__: specifies the CEC Handle. - * @param __INTERRUPT__: specifies the CEC interrupt to enable. - * This parameter can be: + * @param __HANDLE__ specifies the CEC Handle. + * @param __INTERRUPT__ specifies the CEC interrupt to enable. + * This parameter can be one of the following values: * @arg CEC_IT_IE : Interrupt Enable. * @retval none */ #define __HAL_CEC_ENABLE_IT(__HANDLE__, __INTERRUPT__) SET_BIT((__HANDLE__)->Instance->CFGR, (__INTERRUPT__)) /** @brief Disables the specified CEC interrupt. - * @param __HANDLE__: specifies the CEC Handle. - * @param __INTERRUPT__: specifies the CEC interrupt to disable. - * This parameter can be: + * @param __HANDLE__ specifies the CEC Handle. + * @param __INTERRUPT__ specifies the CEC interrupt to disable. + * This parameter can be one of the following values: * @arg CEC_IT_IE : Interrupt Enable * @retval none - */ + */ #define __HAL_CEC_DISABLE_IT(__HANDLE__, __INTERRUPT__) CLEAR_BIT((__HANDLE__)->Instance->CFGR, (__INTERRUPT__)) /** @brief Checks whether or not the specified CEC interrupt is enabled. - * @param __HANDLE__: specifies the CEC Handle. - * @param __INTERRUPT__: specifies the CEC interrupt to check. - * This parameter can be: + * @param __HANDLE__ specifies the CEC Handle. + * @param __INTERRUPT__ specifies the CEC interrupt to check. + * This parameter can be one of the following values: * @arg CEC_IT_IE : Interrupt Enable - * @retval FlagStatus + * @retval FlagStatus */ #define __HAL_CEC_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) READ_BIT((__HANDLE__)->Instance->CFGR, (__INTERRUPT__)) /** @brief Enables the CEC device - * @param __HANDLE__: specifies the CEC Handle. - * @retval none + * @param __HANDLE__ specifies the CEC Handle. + * @retval none */ #define __HAL_CEC_ENABLE(__HANDLE__) SET_BIT((__HANDLE__)->Instance->CFGR, CEC_CFGR_PE) /** @brief Disables the CEC device - * @param __HANDLE__: specifies the CEC Handle. - * @retval none + * @param __HANDLE__ specifies the CEC Handle. + * @retval none */ #define __HAL_CEC_DISABLE(__HANDLE__) CLEAR_BIT((__HANDLE__)->Instance->CFGR, CEC_CFGR_PE) /** @brief Set Transmission Start flag - * @param __HANDLE__: specifies the CEC Handle. - * @retval none + * @param __HANDLE__ specifies the CEC Handle. + * @retval none */ #define __HAL_CEC_FIRST_BYTE_TX_SET(__HANDLE__) SET_BIT((__HANDLE__)->Instance->CSR, CEC_CSR_TSOM) /** @brief Set Transmission End flag - * @param __HANDLE__: specifies the CEC Handle. + * @param __HANDLE__ specifies the CEC Handle. * @retval none */ #define __HAL_CEC_LAST_BYTE_TX_SET(__HANDLE__) SET_BIT((__HANDLE__)->Instance->CSR, CEC_CSR_TEOM) /** @brief Get Transmission Start flag - * @param __HANDLE__: specifies the CEC Handle. - * @retval FlagStatus + * @param __HANDLE__ specifies the CEC Handle. + * @retval FlagStatus */ #define __HAL_CEC_GET_TRANSMISSION_START_FLAG(__HANDLE__) READ_BIT((__HANDLE__)->Instance->CSR, CEC_CSR_TSOM) /** @brief Get Transmission End flag - * @param __HANDLE__: specifies the CEC Handle. - * @retval FlagStatus + * @param __HANDLE__ specifies the CEC Handle. + * @retval FlagStatus */ #define __HAL_CEC_GET_TRANSMISSION_END_FLAG(__HANDLE__) READ_BIT((__HANDLE__)->Instance->CSR, CEC_CSR_TEOM) /** @brief Clear OAR register - * @param __HANDLE__: specifies the CEC Handle. - * @retval none + * @param __HANDLE__ specifies the CEC Handle. + * @retval none */ #define __HAL_CEC_CLEAR_OAR(__HANDLE__) CLEAR_BIT((__HANDLE__)->Instance->OAR, CEC_OAR_OA) /** @brief Set OAR register - * @param __HANDLE__: specifies the CEC Handle. - * @param __ADDRESS__: Own Address value. - * @retval none + * @param __HANDLE__ specifies the CEC Handle. + * @param __ADDRESS__ Own Address value. + * @retval none */ #define __HAL_CEC_SET_OAR(__HANDLE__,__ADDRESS__) MODIFY_REG((__HANDLE__)->Instance->OAR, CEC_OAR_OA, (__ADDRESS__)); @@ -410,7 +417,7 @@ typedef void (*pCEC_RxCallbackTypeDef)(CEC_HandleTypeDef * hcec, uint32_t RxFra */ /** @addtogroup CEC_Exported_Functions_Group1 Initialization and de-initialization functions - * @brief Initialization and Configuration functions + * @brief Initialization and Configuration functions * @{ */ /* Initialization and de-initialization functions ****************************/ @@ -419,8 +426,10 @@ HAL_StatusTypeDef HAL_CEC_DeInit(CEC_HandleTypeDef *hcec); HAL_StatusTypeDef HAL_CEC_SetDeviceAddress(CEC_HandleTypeDef *hcec, uint16_t CEC_OwnAddress); void HAL_CEC_MspInit(CEC_HandleTypeDef *hcec); void HAL_CEC_MspDeInit(CEC_HandleTypeDef *hcec); + #if (USE_HAL_CEC_REGISTER_CALLBACKS == 1) -HAL_StatusTypeDef HAL_CEC_RegisterCallback(CEC_HandleTypeDef *hcec, HAL_CEC_CallbackIDTypeDef CallbackID, pCEC_CallbackTypeDef pCallback); +HAL_StatusTypeDef HAL_CEC_RegisterCallback(CEC_HandleTypeDef *hcec, HAL_CEC_CallbackIDTypeDef CallbackID, + pCEC_CallbackTypeDef pCallback); HAL_StatusTypeDef HAL_CEC_UnRegisterCallback(CEC_HandleTypeDef *hcec, HAL_CEC_CallbackIDTypeDef CallbackID); HAL_StatusTypeDef HAL_CEC_RegisterRxCpltCallback(CEC_HandleTypeDef *hcec, pCEC_RxCallbackTypeDef pCallback); @@ -430,14 +439,15 @@ HAL_StatusTypeDef HAL_CEC_UnRegisterRxCpltCallback(CEC_HandleTypeDef *hcec); * @} */ -/** @addtogroup CEC_Exported_Functions_Group2 Input and Output operation functions - * @brief CEC Transmit/Receive functions +/** @addtogroup CEC_Exported_Functions_Group2 Input and Output operation functions + * @brief CEC Transmit/Receive functions * @{ */ /* I/O operation functions ***************************************************/ -HAL_StatusTypeDef HAL_CEC_Transmit_IT(CEC_HandleTypeDef *hcec, uint8_t InitiatorAddress,uint8_t DestinationAddress, uint8_t *pData, uint32_t Size); -uint32_t HAL_CEC_GetLastReceivedFrameSize(CEC_HandleTypeDef *hcec); -void HAL_CEC_ChangeRxBuffer(CEC_HandleTypeDef *hcec, uint8_t* Rxbuffer); +HAL_StatusTypeDef HAL_CEC_Transmit_IT(CEC_HandleTypeDef *hcec, uint8_t InitiatorAddress, uint8_t DestinationAddress, + const uint8_t *pData, uint32_t Size); +uint32_t HAL_CEC_GetLastReceivedFrameSize(const CEC_HandleTypeDef *hcec); +void HAL_CEC_ChangeRxBuffer(CEC_HandleTypeDef *hcec, uint8_t *Rxbuffer); void HAL_CEC_IRQHandler(CEC_HandleTypeDef *hcec); void HAL_CEC_TxCpltCallback(CEC_HandleTypeDef *hcec); void HAL_CEC_RxCpltCallback(CEC_HandleTypeDef *hcec, uint32_t RxFrameSize); @@ -446,13 +456,13 @@ void HAL_CEC_ErrorCallback(CEC_HandleTypeDef *hcec); * @} */ -/** @defgroup CEC_Exported_Functions_Group3 Peripheral Control functions - * @brief CEC control functions +/** @defgroup CEC_Exported_Functions_Group3 Peripheral Control functions + * @brief CEC control functions * @{ */ -/* Peripheral State and Error functions ***************************************/ -HAL_CEC_StateTypeDef HAL_CEC_GetState(CEC_HandleTypeDef *hcec); -uint32_t HAL_CEC_GetError(CEC_HandleTypeDef *hcec); +/* Peripheral State functions ************************************************/ +HAL_CEC_StateTypeDef HAL_CEC_GetState(const CEC_HandleTypeDef *hcec); +uint32_t HAL_CEC_GetError(const CEC_HandleTypeDef *hcec); /** * @} */ @@ -460,7 +470,7 @@ uint32_t HAL_CEC_GetError(CEC_HandleTypeDef *hcec); /** * @} */ - + /* Private types -------------------------------------------------------------*/ /** @defgroup CEC_Private_Types CEC Private Types * @{ @@ -468,16 +478,16 @@ uint32_t HAL_CEC_GetError(CEC_HandleTypeDef *hcec); /** * @} - */ + */ /* Private variables ---------------------------------------------------------*/ /** @defgroup CEC_Private_Variables CEC Private Variables * @{ */ - + /** * @} - */ + */ /* Private constants ---------------------------------------------------------*/ /** @defgroup CEC_Private_Constants CEC Private Constants @@ -486,7 +496,7 @@ uint32_t HAL_CEC_GetError(CEC_HandleTypeDef *hcec); /** * @} - */ + */ /* Private macros ------------------------------------------------------------*/ /** @defgroup CEC_Private_Macros CEC Private Macros @@ -499,28 +509,26 @@ uint32_t HAL_CEC_GetError(CEC_HandleTypeDef *hcec); ((MODE) == CEC_BIT_PERIOD_ERROR_MODE_FLEXIBLE)) /** @brief Check CEC message size. - * The message size is the payload size: without counting the header, - * it varies from 0 byte (ping operation, one header only, no payload) to - * 15 bytes (1 opcode and up to 14 operands following the header). - * @param __SIZE__: CEC message size. + * The message size is the payload size: without counting the header, + * it varies from 0 byte (ping operation, one header only, no payload) to + * 15 bytes (1 opcode and up to 14 operands following the header). + * @param __SIZE__ CEC message size. * @retval Test result (TRUE or FALSE). */ #define IS_CEC_MSGSIZE(__SIZE__) ((__SIZE__) <= 0x10U) + /** @brief Check CEC device Own Address Register (OAR) setting. - * @param __ADDRESS__: CEC own address. + * @param __ADDRESS__ CEC own address. * @retval Test result (TRUE or FALSE). */ #define IS_CEC_OWN_ADDRESS(__ADDRESS__) ((__ADDRESS__) <= 0x0000000FU) /** @brief Check CEC initiator or destination logical address setting. - * Initiator and destination addresses are coded over 4 bits. - * @param __ADDRESS__: CEC initiator or logical address. + * Initiator and destination addresses are coded over 4 bits. + * @param __ADDRESS__ CEC initiator or logical address. * @retval Test result (TRUE or FALSE). */ #define IS_CEC_ADDRESS(__ADDRESS__) ((__ADDRESS__) <= 0x0000000FU) - - - /** * @} */ @@ -528,18 +536,18 @@ uint32_t HAL_CEC_GetError(CEC_HandleTypeDef *hcec); /** @defgroup CEC_Private_Functions CEC Private Functions * @{ */ - -/** - * @} - */ - -/** - * @} - */ /** * @} - */ + */ + +/** + * @} + */ + +/** + * @} + */ #endif /* CEC */ @@ -549,4 +557,3 @@ uint32_t HAL_CEC_GetError(CEC_HandleTypeDef *hcec); #endif /* __STM32F1xx_HAL_CEC_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_conf_template.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_conf_template.h index 097720b..73402ec 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_conf_template.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_conf_template.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,4 +395,4 @@ void assert_failed(uint8_t* file, uint32_t line); #endif /* __STM32F1xx_HAL_CONF_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h index a365b02..dfa69fe 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -407,4 +406,3 @@ void HAL_MPU_ConfigRegion(MPU_Region_InitTypeDef *MPU_Init); #endif /* __STM32F1xx_HAL_CORTEX_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_crc.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_crc.h index 92ccd0f..bf177e4 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_crc.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_crc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -158,7 +157,7 @@ uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t /** @defgroup CRC_Exported_Functions_Group3 Peripheral State functions * @{ */ -HAL_CRC_StateTypeDef HAL_CRC_GetState(CRC_HandleTypeDef *hcrc); +HAL_CRC_StateTypeDef HAL_CRC_GetState(const CRC_HandleTypeDef *hcrc); /** * @} */ @@ -180,5 +179,3 @@ HAL_CRC_StateTypeDef HAL_CRC_GetState(CRC_HandleTypeDef *hcrc); #endif #endif /* STM32F1xx_HAL_CRC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h index d09c6ae..0277886 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -79,19 +78,19 @@ typedef struct __IO uint32_t ErrorCode; /*!< DAC Error code */ #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1) - void (* ConvCpltCallbackCh1) (struct __DAC_HandleTypeDef *hdac); - void (* ConvHalfCpltCallbackCh1) (struct __DAC_HandleTypeDef *hdac); - void (* ErrorCallbackCh1) (struct __DAC_HandleTypeDef *hdac); - void (* DMAUnderrunCallbackCh1) (struct __DAC_HandleTypeDef *hdac); + void (* ConvCpltCallbackCh1)(struct __DAC_HandleTypeDef *hdac); + void (* ConvHalfCpltCallbackCh1)(struct __DAC_HandleTypeDef *hdac); + void (* ErrorCallbackCh1)(struct __DAC_HandleTypeDef *hdac); + void (* DMAUnderrunCallbackCh1)(struct __DAC_HandleTypeDef *hdac); - void (* ConvCpltCallbackCh2) (struct __DAC_HandleTypeDef *hdac); - void (* ConvHalfCpltCallbackCh2) (struct __DAC_HandleTypeDef *hdac); - void (* ErrorCallbackCh2) (struct __DAC_HandleTypeDef *hdac); - void (* DMAUnderrunCallbackCh2) (struct __DAC_HandleTypeDef *hdac); + void (* ConvCpltCallbackCh2)(struct __DAC_HandleTypeDef *hdac); + void (* ConvHalfCpltCallbackCh2)(struct __DAC_HandleTypeDef *hdac); + void (* ErrorCallbackCh2)(struct __DAC_HandleTypeDef *hdac); + void (* DMAUnderrunCallbackCh2)(struct __DAC_HandleTypeDef *hdac); - void (* MspInitCallback) (struct __DAC_HandleTypeDef *hdac); - void (* MspDeInitCallback) (struct __DAC_HandleTypeDef *hdac); + void (* MspInitCallback)(struct __DAC_HandleTypeDef *hdac); + void (* MspDeInitCallback)(struct __DAC_HandleTypeDef *hdac); #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */ } DAC_HandleTypeDef; @@ -382,7 +381,7 @@ void HAL_DAC_MspDeInit(DAC_HandleTypeDef *hdac); /* IO operation functions *****************************************************/ HAL_StatusTypeDef HAL_DAC_Start(DAC_HandleTypeDef *hdac, uint32_t Channel); HAL_StatusTypeDef HAL_DAC_Stop(DAC_HandleTypeDef *hdac, uint32_t Channel); -HAL_StatusTypeDef HAL_DAC_Start_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel, uint32_t *pData, uint32_t Length, +HAL_StatusTypeDef HAL_DAC_Start_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel, const uint32_t *pData, uint32_t Length, uint32_t Alignment); HAL_StatusTypeDef HAL_DAC_Stop_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel); void HAL_DAC_IRQHandler(DAC_HandleTypeDef *hdac); @@ -408,8 +407,9 @@ HAL_StatusTypeDef HAL_DAC_UnRegisterCallback(DAC_HandleTypeDef *hdac, HAL_DA * @{ */ /* Peripheral Control functions ***********************************************/ -uint32_t HAL_DAC_GetValue(DAC_HandleTypeDef *hdac, uint32_t Channel); -HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef *hdac, DAC_ChannelConfTypeDef *sConfig, uint32_t Channel); +uint32_t HAL_DAC_GetValue(const DAC_HandleTypeDef *hdac, uint32_t Channel); +HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef *hdac, + const DAC_ChannelConfTypeDef *sConfig, uint32_t Channel); /** * @} */ @@ -418,8 +418,8 @@ HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef *hdac, DAC_ChannelConf * @{ */ /* Peripheral State and Error functions ***************************************/ -HAL_DAC_StateTypeDef HAL_DAC_GetState(DAC_HandleTypeDef *hdac); -uint32_t HAL_DAC_GetError(DAC_HandleTypeDef *hdac); +HAL_DAC_StateTypeDef HAL_DAC_GetState(const DAC_HandleTypeDef *hdac); +uint32_t HAL_DAC_GetError(const DAC_HandleTypeDef *hdac); /** * @} @@ -455,5 +455,3 @@ void DAC_DMAHalfConvCpltCh1(DMA_HandleTypeDef *hdma); #endif /* STM32F1xx_HAL_DAC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h index 6ce1e93..25e8bc0 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -85,7 +84,7 @@ extern "C" { /** @defgroup DACEx_trigger_selection DAC trigger selection * @{ */ -#define DAC_TRIGGER_NONE 0x00000000U /*!< Conversion is automatic once the DAC1_DHRxxxx register +#define DAC_TRIGGER_NONE 0x00000000U /*!< Conversion is automatic once the DAC1_DHRxxxx register has been loaded, and not by external trigger */ #define DAC_TRIGGER_T6_TRGO ((uint32_t) DAC_CR_TEN1) /*!< TIM6 TRGO selected as external conversion trigger for DAC channel */ #define DAC_TRIGGER_T7_TRGO ((uint32_t)( DAC_CR_TSEL1_1 | DAC_CR_TEN1)) /*!< TIM7 TRGO selected as external conversion trigger for DAC channel */ @@ -98,7 +97,7 @@ extern "C" { /* For STM32F10x high-density and XL-density devices: TIM8 */ #define DAC_TRIGGER_T8_TRGO ((uint32_t) DAC_CR_TSEL1_0 | DAC_CR_TEN1) /*!< TIM8 TRGO selected as external conversion trigger for DAC channel */ #endif /* STM32F101xE || STM32F101xG || STM32F103xE || STM32F103xG */ - + #if defined (STM32F100xB) || defined (STM32F100xE) || defined (STM32F105xC) || defined (STM32F107xC) /* For STM32F10x connectivity line devices and STM32F100x devices: TIM3 */ #define DAC_TRIGGER_T3_TRGO ((uint32_t) DAC_CR_TSEL1_0 | DAC_CR_TEN1) /*!< TIM3 TRGO selected as external conversion trigger for DAC channel */ @@ -120,19 +119,20 @@ extern "C" { #if defined (STM32F100xE) /*!< DAC trigger availability depending on STM32F1 devices: - For STM32F100x high-density value line devices, the TIM15 TRGO event can be selected + For STM32F100x high-density value line devices, the TIM15 TRGO event can be selected as replacement of TIM5 TRGO if the MISC_REMAP bit in the AFIO_MAPR2 register is set. Refer to macro "__HAL_AFIO_REMAP_MISC_ENABLE()/__HAL_AFIO_REMAP_MISC_DISABLE()". Otherwise, TIM5 TRGO is used and TIM15 TRGO is not used (default case). For more details please refer to the AFIO section. */ #define DAC_TRIGGER_T15_TRGO DAC_TRIGGER_T5_TRGO #endif /* STM32F100xE */ - + #endif /* STM32F100xB */ /** * @} */ + /** * @} */ @@ -225,7 +225,7 @@ HAL_StatusTypeDef HAL_DACEx_NoiseWaveGenerate(DAC_HandleTypeDef *hdac, uint32_t HAL_StatusTypeDef HAL_DACEx_DualStart(DAC_HandleTypeDef *hdac); HAL_StatusTypeDef HAL_DACEx_DualStop(DAC_HandleTypeDef *hdac); HAL_StatusTypeDef HAL_DACEx_DualSetValue(DAC_HandleTypeDef *hdac, uint32_t Alignment, uint32_t Data1, uint32_t Data2); -uint32_t HAL_DACEx_DualGetValue(DAC_HandleTypeDef *hdac); +uint32_t HAL_DACEx_DualGetValue(const DAC_HandleTypeDef *hdac); void HAL_DACEx_ConvCpltCallbackCh2(DAC_HandleTypeDef *hdac); void HAL_DACEx_ConvHalfCpltCallbackCh2(DAC_HandleTypeDef *hdac); @@ -274,5 +274,3 @@ void DAC_DMAHalfConvCpltCh2(DMA_HandleTypeDef *hdma); #endif #endif /* STM32F1xx_HAL_DAC_EX_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h index 155c017..d4d98f7 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -65,7 +64,9 @@ typedef enum (__DMA_HANDLE__).Parent = (__HANDLE__); \ } while(0U) +#if !defined(UNUSED) #define UNUSED(X) (void)X /* To avoid gcc/g++ warnings */ +#endif /* UNUSED */ /** @brief Reset the Handle's State field. * @param __HANDLE__ specifies the Peripheral Handle. @@ -207,4 +208,4 @@ typedef enum #endif /* ___STM32F1xx_HAL_DEF */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h index 39ca574..2eff9ac 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -110,29 +109,29 @@ typedef enum */ typedef struct __DMA_HandleTypeDef { - DMA_Channel_TypeDef *Instance; /*!< Register base address */ + DMA_Channel_TypeDef *Instance; /*!< Register base address */ - DMA_InitTypeDef Init; /*!< DMA communication parameters */ + DMA_InitTypeDef Init; /*!< DMA communication parameters */ - HAL_LockTypeDef Lock; /*!< DMA locking object */ + HAL_LockTypeDef Lock; /*!< DMA locking object */ - __IO HAL_DMA_StateTypeDef State; /*!< DMA transfer state */ + __IO HAL_DMA_StateTypeDef State; /*!< DMA transfer state */ - void *Parent; /*!< Parent object state */ + void *Parent; /*!< Parent object state */ - void (* XferCpltCallback)( struct __DMA_HandleTypeDef * hdma); /*!< DMA transfer complete callback */ + void (* XferCpltCallback)( struct __DMA_HandleTypeDef * hdma); /*!< DMA transfer complete callback */ - void (* XferHalfCpltCallback)( struct __DMA_HandleTypeDef * hdma); /*!< DMA Half transfer complete callback */ + void (* XferHalfCpltCallback)( struct __DMA_HandleTypeDef * hdma); /*!< DMA Half transfer complete callback */ - void (* XferErrorCallback)( struct __DMA_HandleTypeDef * hdma); /*!< DMA transfer error callback */ + void (* XferErrorCallback)( struct __DMA_HandleTypeDef * hdma); /*!< DMA transfer error callback */ - void (* XferAbortCallback)( struct __DMA_HandleTypeDef * hdma); /*!< DMA transfer abort callback */ + void (* XferAbortCallback)( struct __DMA_HandleTypeDef * hdma); /*!< DMA transfer abort callback */ - __IO uint32_t ErrorCode; /*!< DMA Error code */ + __IO uint32_t ErrorCode; /*!< DMA Error code */ - DMA_TypeDef *DmaBaseAddress; /*!< DMA Channel Base Address */ + DMA_TypeDef *DmaBaseAddress; /*!< DMA Channel Base Address */ - uint32_t ChannelIndex; /*!< DMA Channel Index */ + uint32_t ChannelIndex; /*!< DMA Channel Index */ } DMA_HandleTypeDef; /** @@ -454,4 +453,3 @@ uint32_t HAL_DMA_GetError(DMA_HandleTypeDef *hdma); #endif /* __STM32F1xx_HAL_DMA_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h index 2de1a2d..ce31cff 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -274,4 +273,3 @@ #endif /* __STM32F1xx_HAL_DMA_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_eth.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_eth.h index 2e46085..1867796 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_eth.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_eth.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -576,7 +575,7 @@ typedef struct } ETH_DMADescTypeDef; /** - * @brief Received Frame Informations structure definition + * @brief Received Frame Information structure definition */ typedef struct { @@ -2140,6 +2139,3 @@ HAL_ETH_StateTypeDef HAL_ETH_GetState(ETH_HandleTypeDef *heth); #endif #endif /* __STM32F1xx_HAL_ETH_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h index 3a79557..14baf44 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2019 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -317,4 +316,3 @@ void HAL_EXTI_GenerateSWI(EXTI_HandleTypeDef *hexti); #endif /* STM32F1xx_HAL_EXTI_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h index 52e480b..2479847 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h @@ -6,14 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. ****************************************************************************** */ @@ -324,5 +322,4 @@ HAL_StatusTypeDef FLASH_WaitForLastOperationBank2(uint32_t Timeout); #endif /* __STM32F1xx_HAL_FLASH_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h index 0a5b24a..5283526 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h @@ -6,14 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. ****************************************************************************** */ @@ -783,4 +781,3 @@ uint32_t HAL_FLASHEx_OBGetUserData(uint32_t DATAAdress); #endif /* __STM32F1xx_HAL_FLASH_EX_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h index a344f8f..469a2ea 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -305,4 +304,3 @@ void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin); #endif /* STM32F1xx_HAL_GPIO_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h index 5f6c3fd..e61dc15 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -891,4 +890,3 @@ void HAL_GPIOEx_DisableEventout(void); #endif /* STM32F1xx_HAL_GPIO_EX_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_hcd.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_hcd.h index f5b8ce5..7186a6e 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_hcd.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_hcd.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -159,6 +158,10 @@ typedef struct #define __HAL_HCD_GET_FLAG(__HANDLE__, __INTERRUPT__) ((USB_ReadInterrupts((__HANDLE__)->Instance)\ & (__INTERRUPT__)) == (__INTERRUPT__)) + +#define __HAL_HCD_GET_CH_FLAG(__HANDLE__, __chnum__, __INTERRUPT__) \ + ((USB_ReadChInterrupts((__HANDLE__)->Instance, (__chnum__)) & (__INTERRUPT__)) == (__INTERRUPT__)) + #define __HAL_HCD_CLEAR_FLAG(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->GINTSTS) = (__INTERRUPT__)) #define __HAL_HCD_IS_INVALID_INTERRUPT(__HANDLE__) (USB_ReadInterrupts((__HANDLE__)->Instance) == 0U) @@ -248,6 +251,11 @@ HAL_StatusTypeDef HAL_HCD_HC_SubmitRequest(HCD_HandleTypeDef *hhcd, uint8_t ch_n uint8_t token, uint8_t *pbuff, uint16_t length, uint8_t do_ping); +HAL_StatusTypeDef HAL_HCD_HC_SetHubInfo(HCD_HandleTypeDef *hhcd, uint8_t ch_num, + uint8_t addr, uint8_t PortNbr); + +HAL_StatusTypeDef HAL_HCD_HC_ClearHubInfo(HCD_HandleTypeDef *hhcd, uint8_t ch_num); + /* Non-Blocking mode: Interrupt */ void HAL_HCD_IRQHandler(HCD_HandleTypeDef *hhcd); void HAL_HCD_WKUP_IRQHandler(HCD_HandleTypeDef *hhcd); @@ -277,16 +285,13 @@ HAL_StatusTypeDef HAL_HCD_Stop(HCD_HandleTypeDef *hhcd); /** @addtogroup HCD_Exported_Functions_Group4 Peripheral State functions * @{ */ -HCD_StateTypeDef HAL_HCD_GetState(HCD_HandleTypeDef *hhcd); -HCD_URBStateTypeDef HAL_HCD_HC_GetURBState(HCD_HandleTypeDef *hhcd, uint8_t chnum); -HCD_HCStateTypeDef HAL_HCD_HC_GetState(HCD_HandleTypeDef *hhcd, uint8_t chnum); -uint32_t HAL_HCD_HC_GetXferCount(HCD_HandleTypeDef *hhcd, uint8_t chnum); +HCD_StateTypeDef HAL_HCD_GetState(HCD_HandleTypeDef const *hhcd); +HCD_URBStateTypeDef HAL_HCD_HC_GetURBState(HCD_HandleTypeDef const *hhcd, uint8_t chnum); +HCD_HCStateTypeDef HAL_HCD_HC_GetState(HCD_HandleTypeDef const *hhcd, uint8_t chnum); +uint32_t HAL_HCD_HC_GetXferCount(HCD_HandleTypeDef const *hhcd, uint8_t chnum); uint32_t HAL_HCD_GetCurrentFrame(HCD_HandleTypeDef *hhcd); uint32_t HAL_HCD_GetCurrentSpeed(HCD_HandleTypeDef *hhcd); -/** - * @} - */ /** * @} @@ -307,6 +312,9 @@ uint32_t HAL_HCD_GetCurrentSpeed(HCD_HandleTypeDef *hhcd); /** * @} */ +/** + * @} + */ #endif /* defined (USB_OTG_FS) */ #ifdef __cplusplus @@ -314,5 +322,3 @@ uint32_t HAL_HCD_GetCurrentSpeed(HCD_HandleTypeDef *hhcd); #endif #endif /* STM32F1xx_HAL_HCD_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h index 8d5e284..e48232d 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -737,4 +736,3 @@ uint32_t HAL_I2C_GetError(I2C_HandleTypeDef *hi2c); #endif /* __STM32F1xx_HAL_I2C_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2s.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2s.h index 2313768..2593c75 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2s.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2s.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -553,4 +552,3 @@ uint32_t HAL_I2S_GetError(I2S_HandleTypeDef *hi2s); #endif /* STM32F1xx_HAL_I2S_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_irda.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_irda.h index aaff498..791c1d3 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_irda.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_irda.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -145,7 +144,7 @@ typedef struct IRDA_InitTypeDef Init; /*!< IRDA communication parameters */ - uint8_t *pTxBuffPtr; /*!< Pointer to IRDA Tx transfer Buffer */ + const uint8_t *pTxBuffPtr; /*!< Pointer to IRDA Tx transfer Buffer */ uint16_t TxXferSize; /*!< IRDA Tx Transfer size */ @@ -548,11 +547,11 @@ HAL_StatusTypeDef HAL_IRDA_UnRegisterCallback(IRDA_HandleTypeDef *hirda, HAL_IRD * @{ */ /* IO operation functions *******************************************************/ -HAL_StatusTypeDef HAL_IRDA_Transmit(IRDA_HandleTypeDef *hirda, uint8_t *pData, uint16_t Size, uint32_t Timeout); +HAL_StatusTypeDef HAL_IRDA_Transmit(IRDA_HandleTypeDef *hirda, const uint8_t *pData, uint16_t Size, uint32_t Timeout); HAL_StatusTypeDef HAL_IRDA_Receive(IRDA_HandleTypeDef *hirda, uint8_t *pData, uint16_t Size, uint32_t Timeout); -HAL_StatusTypeDef HAL_IRDA_Transmit_IT(IRDA_HandleTypeDef *hirda, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_IRDA_Transmit_IT(IRDA_HandleTypeDef *hirda, const uint8_t *pData, uint16_t Size); HAL_StatusTypeDef HAL_IRDA_Receive_IT(IRDA_HandleTypeDef *hirda, uint8_t *pData, uint16_t Size); -HAL_StatusTypeDef HAL_IRDA_Transmit_DMA(IRDA_HandleTypeDef *hirda, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_IRDA_Transmit_DMA(IRDA_HandleTypeDef *hirda, const uint8_t *pData, uint16_t Size); HAL_StatusTypeDef HAL_IRDA_Receive_DMA(IRDA_HandleTypeDef *hirda, uint8_t *pData, uint16_t Size); HAL_StatusTypeDef HAL_IRDA_DMAPause(IRDA_HandleTypeDef *hirda); HAL_StatusTypeDef HAL_IRDA_DMAResume(IRDA_HandleTypeDef *hirda); @@ -582,8 +581,8 @@ void HAL_IRDA_AbortReceiveCpltCallback(IRDA_HandleTypeDef *hirda); * @{ */ /* Peripheral State functions **************************************************/ -HAL_IRDA_StateTypeDef HAL_IRDA_GetState(IRDA_HandleTypeDef *hirda); -uint32_t HAL_IRDA_GetError(IRDA_HandleTypeDef *hirda); +HAL_IRDA_StateTypeDef HAL_IRDA_GetState(const IRDA_HandleTypeDef *hirda); +uint32_t HAL_IRDA_GetError(const IRDA_HandleTypeDef *hirda); /** * @} */ @@ -669,4 +668,3 @@ uint32_t HAL_IRDA_GetError(IRDA_HandleTypeDef *hirda); #endif /* __STM32F1xx_HAL_IRDA_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_iwdg.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_iwdg.h index f0a2b54..ea6bf8a 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_iwdg.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_iwdg.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -219,5 +218,3 @@ HAL_StatusTypeDef HAL_IWDG_Refresh(IWDG_HandleTypeDef *hiwdg); #endif #endif /* STM32F1xx_HAL_IWDG_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_mmc.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_mmc.h index 990b430..475a9c5 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_mmc.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_mmc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2018 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -145,6 +144,8 @@ typedef struct uint32_t CID[4U]; /*!< MMC card identification number table */ + uint32_t Ext_CSD[128]; + #if defined (USE_HAL_MMC_REGISTER_CALLBACKS) && (USE_HAL_MMC_REGISTER_CALLBACKS == 1U) void (* TxCpltCallback) (struct __MMC_HandleTypeDef *hmmc); void (* RxCpltCallback) (struct __MMC_HandleTypeDef *hmmc); @@ -334,10 +335,12 @@ typedef void (*pMMC_CallbackTypeDef) (MMC_HandleTypeDef *hmmc); /** * @brief */ -#define MMC_HIGH_VOLTAGE_RANGE 0x80FF8000U /*!< VALUE OF ARGUMENT */ -#define MMC_DUAL_VOLTAGE_RANGE 0x80FF8080U /*!< VALUE OF ARGUMENT */ -#define eMMC_HIGH_VOLTAGE_RANGE 0xC0FF8000U /*!< for eMMC > 2Gb sector mode */ -#define eMMC_DUAL_VOLTAGE_RANGE 0xC0FF8080U /*!< for eMMC > 2Gb sector mode */ +#define MMC_HIGH_VOLTAGE_RANGE 0x80FF8000U /*!< High voltage in byte mode */ +#define MMC_DUAL_VOLTAGE_RANGE 0x80FF8080U /*!< Dual voltage in byte mode */ +#define MMC_LOW_VOLTAGE_RANGE 0x80000080U /*!< Low voltage in byte mode */ +#define EMMC_HIGH_VOLTAGE_RANGE 0xC0FF8000U /*!< High voltage in sector mode */ +#define EMMC_DUAL_VOLTAGE_RANGE 0xC0FF8080U /*!< Dual voltage in sector mode */ +#define EMMC_LOW_VOLTAGE_RANGE 0xC0000080U /*!< Low voltage in sector mode */ #define MMC_INVALID_VOLTAGE_RANGE 0x0001FF01U /** * @} @@ -636,6 +639,7 @@ HAL_MMC_CardStateTypeDef HAL_MMC_GetCardState(MMC_HandleTypeDef *hmmc); HAL_StatusTypeDef HAL_MMC_GetCardCID(MMC_HandleTypeDef *hmmc, HAL_MMC_CardCIDTypeDef *pCID); HAL_StatusTypeDef HAL_MMC_GetCardCSD(MMC_HandleTypeDef *hmmc, HAL_MMC_CardCSDTypeDef *pCSD); HAL_StatusTypeDef HAL_MMC_GetCardInfo(MMC_HandleTypeDef *hmmc, HAL_MMC_CardInfoTypeDef *pCardInfo); +HAL_StatusTypeDef HAL_MMC_GetCardExtCSD(MMC_HandleTypeDef *hmmc, uint32_t *pExtCSD, uint32_t Timeout); /** * @} */ @@ -649,7 +653,7 @@ uint32_t HAL_MMC_GetError(MMC_HandleTypeDef *hmmc); * @} */ -/** @defgroup MMC_Exported_Functions_Group6 Perioheral Abort management +/** @defgroup MMC_Exported_Functions_Group6 Peripheral Abort management * @{ */ HAL_StatusTypeDef HAL_MMC_Abort(MMC_HandleTypeDef *hmmc); @@ -741,5 +745,3 @@ HAL_StatusTypeDef HAL_MMC_Abort_IT(MMC_HandleTypeDef *hmmc); #endif /* SDIO */ #endif /* STM32F1xx_HAL_MMC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_nand.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_nand.h index cc5d764..38093c3 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_nand.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_nand.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -106,9 +105,8 @@ typedef struct FunctionalState ExtraCommandEnable; /*!< NAND extra command needed for Page reading mode. This parameter is mandatory for some NAND parts after the read command (NAND_CMD_AREA_TRUE1) and before DATA reading sequence. - Example: Toshiba THTH58BYG3S0HBAI6. This parameter could be ENABLE or DISABLE - Please check the Read Mode sequnece in the NAND device datasheet */ + Please check the Read Mode sequence in the NAND device datasheet */ } NAND_DeviceConfigTypeDef; /** @@ -128,7 +126,7 @@ typedef struct __IO HAL_NAND_StateTypeDef State; /*!< NAND device access state */ - NAND_DeviceConfigTypeDef Config; /*!< NAND phusical characteristic information structure */ + NAND_DeviceConfigTypeDef Config; /*!< NAND physical characteristic information structure */ #if (USE_HAL_NAND_REGISTER_CALLBACKS == 1) void (* MspInitCallback)(struct __NAND_HandleTypeDef *hnand); /*!< NAND Msp Init callback */ @@ -216,27 +214,27 @@ void HAL_NAND_ITCallback(NAND_HandleTypeDef *hnand); /* IO operation functions ****************************************************/ HAL_StatusTypeDef HAL_NAND_Reset(NAND_HandleTypeDef *hnand); -HAL_StatusTypeDef HAL_NAND_Read_Page_8b(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint8_t *pBuffer, - uint32_t NumPageToRead); -HAL_StatusTypeDef HAL_NAND_Write_Page_8b(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint8_t *pBuffer, - uint32_t NumPageToWrite); -HAL_StatusTypeDef HAL_NAND_Read_SpareArea_8b(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, +HAL_StatusTypeDef HAL_NAND_Read_Page_8b(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, + uint8_t *pBuffer, uint32_t NumPageToRead); +HAL_StatusTypeDef HAL_NAND_Write_Page_8b(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, + const uint8_t *pBuffer, uint32_t NumPageToWrite); +HAL_StatusTypeDef HAL_NAND_Read_SpareArea_8b(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, uint8_t *pBuffer, uint32_t NumSpareAreaToRead); -HAL_StatusTypeDef HAL_NAND_Write_SpareArea_8b(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, - uint8_t *pBuffer, uint32_t NumSpareAreaTowrite); +HAL_StatusTypeDef HAL_NAND_Write_SpareArea_8b(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, + const uint8_t *pBuffer, uint32_t NumSpareAreaTowrite); -HAL_StatusTypeDef HAL_NAND_Read_Page_16b(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint16_t *pBuffer, - uint32_t NumPageToRead); -HAL_StatusTypeDef HAL_NAND_Write_Page_16b(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint16_t *pBuffer, - uint32_t NumPageToWrite); -HAL_StatusTypeDef HAL_NAND_Read_SpareArea_16b(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, +HAL_StatusTypeDef HAL_NAND_Read_Page_16b(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, + uint16_t *pBuffer, uint32_t NumPageToRead); +HAL_StatusTypeDef HAL_NAND_Write_Page_16b(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, + const uint16_t *pBuffer, uint32_t NumPageToWrite); +HAL_StatusTypeDef HAL_NAND_Read_SpareArea_16b(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, uint16_t *pBuffer, uint32_t NumSpareAreaToRead); -HAL_StatusTypeDef HAL_NAND_Write_SpareArea_16b(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, - uint16_t *pBuffer, uint32_t NumSpareAreaTowrite); +HAL_StatusTypeDef HAL_NAND_Write_SpareArea_16b(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, + const uint16_t *pBuffer, uint32_t NumSpareAreaTowrite); -HAL_StatusTypeDef HAL_NAND_Erase_Block(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress); +HAL_StatusTypeDef HAL_NAND_Erase_Block(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress); -uint32_t HAL_NAND_Address_Inc(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress); +uint32_t HAL_NAND_Address_Inc(const NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress); #if (USE_HAL_NAND_REGISTER_CALLBACKS == 1) /* NAND callback registering/unregistering */ @@ -266,8 +264,8 @@ HAL_StatusTypeDef HAL_NAND_GetECC(NAND_HandleTypeDef *hnand, uint32_t *ECCval, * @{ */ /* NAND State functions *******************************************************/ -HAL_NAND_StateTypeDef HAL_NAND_GetState(NAND_HandleTypeDef *hnand); -uint32_t HAL_NAND_Read_Status(NAND_HandleTypeDef *hnand); +HAL_NAND_StateTypeDef HAL_NAND_GetState(const NAND_HandleTypeDef *hnand); +uint32_t HAL_NAND_Read_Status(const NAND_HandleTypeDef *hnand); /** * @} */ @@ -379,5 +377,3 @@ uint32_t HAL_NAND_Read_Status(NAND_HandleTypeDef *hnand); #endif #endif /* STM32F1xx_HAL_NAND_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_nor.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_nor.h index 2a1fa11..4bcf447 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_nor.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_nor.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -235,7 +234,7 @@ HAL_StatusTypeDef HAL_NOR_WriteOperation_Disable(NOR_HandleTypeDef *hnor); */ /* NOR State functions ********************************************************/ -HAL_NOR_StateTypeDef HAL_NOR_GetState(NOR_HandleTypeDef *hnor); +HAL_NOR_StateTypeDef HAL_NOR_GetState(const NOR_HandleTypeDef *hnor); HAL_NOR_StatusTypeDef HAL_NOR_GetStatus(NOR_HandleTypeDef *hnor, uint32_t Address, uint32_t Timeout); /** * @} @@ -325,5 +324,3 @@ HAL_NOR_StatusTypeDef HAL_NOR_GetStatus(NOR_HandleTypeDef *hnor, uint32_t Addres #endif #endif /* STM32F1xx_HAL_NOR_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pccard.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pccard.h index e35816f..58ec0ea 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pccard.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pccard.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -280,5 +279,3 @@ HAL_PCCARD_StatusTypeDef HAL_PCCARD_ReadStatus(PCCARD_HandleTypeDef *hpccard); #endif #endif /* STM32F1xx_HAL_PCCARD_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h index 9a613e1..881ba2f 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -112,8 +111,8 @@ typedef struct PCD_EPTypeDef OUT_ep[16]; /*!< OUT endpoint parameters */ #endif /* defined (USB_OTG_FS) */ #if defined (USB) - PCD_EPTypeDef IN_ep[8]; /*!< IN endpoint parameters */ - PCD_EPTypeDef OUT_ep[8]; /*!< OUT endpoint parameters */ + PCD_EPTypeDef IN_ep[8]; /*!< IN endpoint parameters */ + PCD_EPTypeDef OUT_ep[8]; /*!< OUT endpoint parameters */ #endif /* defined (USB) */ HAL_LockTypeDef Lock; /*!< PCD peripheral status */ __IO PCD_StateTypeDef State; /*!< PCD communication state */ @@ -121,6 +120,7 @@ typedef struct uint32_t Setup[12]; /*!< Setup packet buffer */ PCD_LPM_StateTypeDef LPM_State; /*!< LPM State */ uint32_t BESL; + uint32_t FrameNumber; /*!< Store Current Frame number */ void *pData; /*!< Pointer to upper stack Handler */ @@ -194,14 +194,14 @@ typedef struct * @brief macros to handle interrupts and specific clock configurations * @{ */ -#if defined (USB_OTG_FS) #define __HAL_PCD_ENABLE(__HANDLE__) (void)USB_EnableGlobalInt ((__HANDLE__)->Instance) #define __HAL_PCD_DISABLE(__HANDLE__) (void)USB_DisableGlobalInt ((__HANDLE__)->Instance) #define __HAL_PCD_GET_FLAG(__HANDLE__, __INTERRUPT__) \ ((USB_ReadInterrupts((__HANDLE__)->Instance) & (__INTERRUPT__)) == (__INTERRUPT__)) -#define __HAL_PCD_CLEAR_FLAG(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->GINTSTS) &= (__INTERRUPT__)) +#if defined (USB_OTG_FS) +#define __HAL_PCD_CLEAR_FLAG(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->GINTSTS) &= (__INTERRUPT__)) #define __HAL_PCD_IS_INVALID_INTERRUPT(__HANDLE__) (USB_ReadInterrupts((__HANDLE__)->Instance) == 0U) #define __HAL_PCD_UNGATE_PHYCLOCK(__HANDLE__) \ @@ -226,18 +226,13 @@ typedef struct #endif /* defined (USB_OTG_FS) */ #if defined (USB) -#define __HAL_PCD_ENABLE(__HANDLE__) (void)USB_EnableGlobalInt ((__HANDLE__)->Instance) -#define __HAL_PCD_DISABLE(__HANDLE__) (void)USB_DisableGlobalInt ((__HANDLE__)->Instance) -#define __HAL_PCD_GET_FLAG(__HANDLE__, __INTERRUPT__) ((USB_ReadInterrupts((__HANDLE__)->Instance)\ - & (__INTERRUPT__)) == (__INTERRUPT__)) +#define __HAL_PCD_CLEAR_FLAG(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->ISTR)\ + &= (uint16_t)(~(__INTERRUPT__))) -#define __HAL_PCD_CLEAR_FLAG(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->ISTR)\ - &= (uint16_t)(~(__INTERRUPT__))) - -#define __HAL_USB_WAKEUP_EXTI_ENABLE_IT() EXTI->IMR |= USB_WAKEUP_EXTI_LINE -#define __HAL_USB_WAKEUP_EXTI_DISABLE_IT() EXTI->IMR &= ~(USB_WAKEUP_EXTI_LINE) -#define __HAL_USB_WAKEUP_EXTI_GET_FLAG() EXTI->PR & (USB_WAKEUP_EXTI_LINE) -#define __HAL_USB_WAKEUP_EXTI_CLEAR_FLAG() EXTI->PR = USB_WAKEUP_EXTI_LINE +#define __HAL_USB_WAKEUP_EXTI_ENABLE_IT() EXTI->IMR |= USB_WAKEUP_EXTI_LINE +#define __HAL_USB_WAKEUP_EXTI_DISABLE_IT() EXTI->IMR &= ~(USB_WAKEUP_EXTI_LINE) +#define __HAL_USB_WAKEUP_EXTI_GET_FLAG() EXTI->PR & (USB_WAKEUP_EXTI_LINE) +#define __HAL_USB_WAKEUP_EXTI_CLEAR_FLAG() EXTI->PR = USB_WAKEUP_EXTI_LINE #define __HAL_USB_WAKEUP_EXTI_ENABLE_RISING_EDGE() \ do { \ @@ -303,12 +298,10 @@ typedef void (*pPCD_IsoInIncpltCallbackTypeDef)(PCD_HandleTypeDef *hpcd, uint8_t * @} */ -HAL_StatusTypeDef HAL_PCD_RegisterCallback(PCD_HandleTypeDef *hpcd, - HAL_PCD_CallbackIDTypeDef CallbackID, +HAL_StatusTypeDef HAL_PCD_RegisterCallback(PCD_HandleTypeDef *hpcd, HAL_PCD_CallbackIDTypeDef CallbackID, pPCD_CallbackTypeDef pCallback); -HAL_StatusTypeDef HAL_PCD_UnRegisterCallback(PCD_HandleTypeDef *hpcd, - HAL_PCD_CallbackIDTypeDef CallbackID); +HAL_StatusTypeDef HAL_PCD_UnRegisterCallback(PCD_HandleTypeDef *hpcd, HAL_PCD_CallbackIDTypeDef CallbackID); HAL_StatusTypeDef HAL_PCD_RegisterDataOutStageCallback(PCD_HandleTypeDef *hpcd, pPCD_DataOutStageCallbackTypeDef pCallback); @@ -368,24 +361,17 @@ void HAL_PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum); HAL_StatusTypeDef HAL_PCD_DevConnect(PCD_HandleTypeDef *hpcd); HAL_StatusTypeDef HAL_PCD_DevDisconnect(PCD_HandleTypeDef *hpcd); HAL_StatusTypeDef HAL_PCD_SetAddress(PCD_HandleTypeDef *hpcd, uint8_t address); -HAL_StatusTypeDef HAL_PCD_EP_Open(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, - uint16_t ep_mps, uint8_t ep_type); - +HAL_StatusTypeDef HAL_PCD_EP_Open(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint16_t ep_mps, uint8_t ep_type); HAL_StatusTypeDef HAL_PCD_EP_Close(PCD_HandleTypeDef *hpcd, uint8_t ep_addr); -HAL_StatusTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, - uint8_t *pBuf, uint32_t len); - -HAL_StatusTypeDef HAL_PCD_EP_Transmit(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, - uint8_t *pBuf, uint32_t len); - - +HAL_StatusTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len); +HAL_StatusTypeDef HAL_PCD_EP_Transmit(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len); HAL_StatusTypeDef HAL_PCD_EP_SetStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr); HAL_StatusTypeDef HAL_PCD_EP_ClrStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr); HAL_StatusTypeDef HAL_PCD_EP_Flush(PCD_HandleTypeDef *hpcd, uint8_t ep_addr); +HAL_StatusTypeDef HAL_PCD_EP_Abort(PCD_HandleTypeDef *hpcd, uint8_t ep_addr); HAL_StatusTypeDef HAL_PCD_ActivateRemoteWakeup(PCD_HandleTypeDef *hpcd); HAL_StatusTypeDef HAL_PCD_DeActivateRemoteWakeup(PCD_HandleTypeDef *hpcd); - -uint32_t HAL_PCD_EP_GetRxCount(PCD_HandleTypeDef *hpcd, uint8_t ep_addr); +uint32_t HAL_PCD_EP_GetRxCount(PCD_HandleTypeDef const *hpcd, uint8_t ep_addr); /** * @} */ @@ -394,7 +380,7 @@ uint32_t HAL_PCD_EP_GetRxCount(PCD_HandleTypeDef *hpcd, uint8_t ep_addr /** @addtogroup PCD_Exported_Functions_Group4 Peripheral State functions * @{ */ -PCD_StateTypeDef HAL_PCD_GetState(PCD_HandleTypeDef *hpcd); +PCD_StateTypeDef HAL_PCD_GetState(PCD_HandleTypeDef const *hpcd); /** * @} */ @@ -497,14 +483,12 @@ PCD_StateTypeDef HAL_PCD_GetState(PCD_HandleTypeDef *hpcd); #define USB_CNTRX_BLSIZE (0x1U << 15) /* SetENDPOINT */ -#define PCD_SET_ENDPOINT(USBx, bEpNum, wRegValue) (*(__IO uint16_t *)\ - (&(USBx)->EP0R + ((bEpNum) * 2U)) = (uint16_t)(wRegValue)) +#define PCD_SET_ENDPOINT(USBx, bEpNum, wRegValue) \ + (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * 2U)) = (uint16_t)(wRegValue)) /* GetENDPOINT */ #define PCD_GET_ENDPOINT(USBx, bEpNum) (*(__IO uint16_t *)(&(USBx)->EP0R + ((bEpNum) * 2U))) -/* ENDPOINT transfer */ -#define USB_EP0StartXfer USB_EPStartXfer /** * @brief sets the type in the endpoint register(bits EP_TYPE[1:0]) @@ -513,8 +497,9 @@ PCD_StateTypeDef HAL_PCD_GetState(PCD_HandleTypeDef *hpcd); * @param wType Endpoint Type. * @retval None */ -#define PCD_SET_EPTYPE(USBx, bEpNum, wType) (PCD_SET_ENDPOINT((USBx), (bEpNum), ((PCD_GET_ENDPOINT((USBx), (bEpNum))\ - & USB_EP_T_MASK) | (wType) | USB_EP_CTR_TX | USB_EP_CTR_RX))) +#define PCD_SET_EPTYPE(USBx, bEpNum, wType) \ + (PCD_SET_ENDPOINT((USBx), (bEpNum), \ + ((PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EP_T_MASK) | (wType) | USB_EP_CTR_TX | USB_EP_CTR_RX))) /** @@ -532,7 +517,7 @@ PCD_StateTypeDef HAL_PCD_GetState(PCD_HandleTypeDef *hpcd); * @param bEpNum, bDir * @retval None */ -#define PCD_FreeUserBuffer(USBx, bEpNum, bDir) \ +#define PCD_FREE_USER_BUFFER(USBx, bEpNum, bDir) \ do { \ if ((bDir) == 0U) \ { \ @@ -700,8 +685,8 @@ PCD_StateTypeDef HAL_PCD_GetState(PCD_HandleTypeDef *hpcd); * @param bEpNum Endpoint Number. * @retval None */ -#define PCD_SET_EP_DBUF(USBx, bEpNum) PCD_SET_EP_KIND((USBx), (bEpNum)) -#define PCD_CLEAR_EP_DBUF(USBx, bEpNum) PCD_CLEAR_EP_KIND((USBx), (bEpNum)) +#define PCD_SET_BULK_EP_DBUF(USBx, bEpNum) PCD_SET_EP_KIND((USBx), (bEpNum)) +#define PCD_CLEAR_BULK_EP_DBUF(USBx, bEpNum) PCD_CLEAR_EP_KIND((USBx), (bEpNum)) /** * @brief Clears bit CTR_RX / CTR_TX in the endpoint register. @@ -804,11 +789,13 @@ PCD_StateTypeDef HAL_PCD_GetState(PCD_HandleTypeDef *hpcd); */ #define PCD_GET_EP_ADDRESS(USBx, bEpNum) ((uint8_t)(PCD_GET_ENDPOINT((USBx), (bEpNum)) & USB_EPADDR_FIELD)) -#define PCD_EP_TX_CNT(USBx, bEpNum) ((uint16_t *)((((uint32_t)(USBx)->BTABLE\ - + ((uint32_t)(bEpNum) * 8U) + 2U) * PMA_ACCESS) + ((uint32_t)(USBx) + 0x400U))) +#define PCD_EP_TX_CNT(USBx, bEpNum) \ + ((uint16_t *)((((uint32_t)(USBx)->BTABLE + \ + ((uint32_t)(bEpNum) * 8U) + 2U) * PMA_ACCESS) + ((uint32_t)(USBx) + 0x400U))) -#define PCD_EP_RX_CNT(USBx, bEpNum) ((uint16_t *)((((uint32_t)(USBx)->BTABLE\ - + ((uint32_t)(bEpNum) * 8U) + 6U) * PMA_ACCESS) + ((uint32_t)(USBx) + 0x400U))) +#define PCD_EP_RX_CNT(USBx, bEpNum) \ + ((uint16_t *)((((uint32_t)(USBx)->BTABLE + \ + ((uint32_t)(bEpNum) * 8U) + 6U) * PMA_ACCESS) + ((uint32_t)(USBx) + 0x400U))) /** @@ -861,7 +848,7 @@ PCD_StateTypeDef HAL_PCD_GetState(PCD_HandleTypeDef *hpcd); { \ (wNBlocks)--; \ } \ - *(pdwReg) = (uint16_t)(((wNBlocks) << 10) | USB_CNTRX_BLSIZE); \ + *(pdwReg) |= (uint16_t)(((wNBlocks) << 10) | USB_CNTRX_BLSIZE); \ } while(0) /* PCD_CALC_BLK32 */ #define PCD_CALC_BLK2(pdwReg, wCount, wNBlocks) \ @@ -871,24 +858,29 @@ PCD_StateTypeDef HAL_PCD_GetState(PCD_HandleTypeDef *hpcd); { \ (wNBlocks)++; \ } \ - *(pdwReg) = (uint16_t)((wNBlocks) << 10); \ + *(pdwReg) |= (uint16_t)((wNBlocks) << 10); \ } while(0) /* PCD_CALC_BLK2 */ #define PCD_SET_EP_CNT_RX_REG(pdwReg, wCount) \ do { \ uint32_t wNBlocks; \ - if ((wCount) == 0U) \ + \ + *(pdwReg) &= 0x3FFU; \ + \ + if ((wCount) > 62U) \ { \ - *(pdwReg) &= (uint16_t)~USB_CNTRX_NBLK_MSK; \ - *(pdwReg) |= USB_CNTRX_BLSIZE; \ - } \ - else if((wCount) <= 62U) \ - { \ - PCD_CALC_BLK2((pdwReg), (wCount), wNBlocks); \ + PCD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \ } \ else \ { \ - PCD_CALC_BLK32((pdwReg), (wCount), wNBlocks); \ + if ((wCount) == 0U) \ + { \ + *(pdwReg) |= USB_CNTRX_BLSIZE; \ + } \ + else \ + { \ + PCD_CALC_BLK2((pdwReg), (wCount), wNBlocks); \ + } \ } \ } while(0) /* PCD_SET_EP_CNT_RX_REG */ @@ -1061,5 +1053,3 @@ PCD_StateTypeDef HAL_PCD_GetState(PCD_HandleTypeDef *hpcd); #endif #endif /* STM32F1xx_HAL_PCD_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd_ex.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd_ex.h index 4582702..30ef673 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd_ex.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pcd_ex.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -23,7 +22,7 @@ #ifdef __cplusplus extern "C" { -#endif +#endif /* __cplusplus */ /* Includes ------------------------------------------------------------------*/ #include "stm32f1xx_hal_def.h" @@ -80,9 +79,7 @@ void HAL_PCDEx_BCD_Callback(PCD_HandleTypeDef *hpcd, PCD_BCD_MsgTypeDef msg); #ifdef __cplusplus } -#endif +#endif /* __cplusplus */ #endif /* STM32F1xx_HAL_PCD_EX_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h index 9696c00..41f98af 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -384,5 +383,3 @@ void HAL_PWR_PVDCallback(void); #endif /* __STM32F1xx_HAL_PWR_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h index 782e33a..9814caf 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h @@ -6,14 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. ****************************************************************************** */ @@ -614,7 +612,7 @@ typedef struct * @brief Force or release APB1 peripheral reset. * @{ */ -#define __HAL_RCC_APB1_FORCE_RESET() (RCC->APB2RSTR = 0xFFFFFFFFU) +#define __HAL_RCC_APB1_FORCE_RESET() (RCC->APB1RSTR = 0xFFFFFFFFU) #define __HAL_RCC_TIM2_FORCE_RESET() (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM2RST)) #define __HAL_RCC_TIM3_FORCE_RESET() (RCC->APB1RSTR |= (RCC_APB1RSTR_TIM3RST)) #define __HAL_RCC_WWDG_FORCE_RESET() (RCC->APB1RSTR |= (RCC_APB1RSTR_WWDGRST)) @@ -1374,5 +1372,4 @@ void HAL_RCC_CSSCallback(void); #endif /* __STM32F1xx_HAL_RCC_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h index 822ca9b..049d0ec 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h @@ -6,14 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. ****************************************************************************** */ @@ -1904,5 +1902,4 @@ HAL_StatusTypeDef HAL_RCCEx_DisablePLL2(void); #endif /* __STM32F1xx_HAL_RCC_EX_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rtc.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rtc.h index 5e4f5ab..83ee478 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rtc.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rtc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -603,5 +602,3 @@ HAL_StatusTypeDef HAL_RTC_WaitForSynchro(RTC_HandleTypeDef *hrtc); #endif #endif /* __STM32F1xx_HAL_RTC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rtc_ex.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rtc_ex.h index 7c285ce..4070eda 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rtc_ex.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rtc_ex.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -408,5 +407,3 @@ HAL_StatusTypeDef HAL_RTCEx_SetSmoothCalib(RTC_HandleTypeDef *hrtc, uint32_t Smo #endif #endif /* __STM32F1xx_HAL_RTC_EX_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_sd.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_sd.h index bdf6007..2b45f55 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_sd.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_sd.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2018 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -757,5 +756,3 @@ HAL_StatusTypeDef HAL_SD_Abort_IT(SD_HandleTypeDef *hsd); #endif /* STM32F1xx_HAL_SD_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_smartcard.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_smartcard.h index 9fe82b8..5d8c126 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_smartcard.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_smartcard.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -157,7 +156,7 @@ typedef struct __SMARTCARD_HandleTypeDef SMARTCARD_InitTypeDef Init; /*!< SmartCard communication parameters */ - uint8_t *pTxBuffPtr; /*!< Pointer to SmartCard Tx transfer Buffer */ + const uint8_t *pTxBuffPtr; /*!< Pointer to SmartCard Tx transfer Buffer */ uint16_t TxXferSize; /*!< SmartCard Tx Transfer size */ @@ -631,11 +630,11 @@ HAL_StatusTypeDef HAL_SMARTCARD_UnRegisterCallback(SMARTCARD_HandleTypeDef *hsc, * @{ */ /* IO operation functions *******************************************************/ -HAL_StatusTypeDef HAL_SMARTCARD_Transmit(SMARTCARD_HandleTypeDef *hsc, uint8_t *pData, uint16_t Size, uint32_t Timeout); +HAL_StatusTypeDef HAL_SMARTCARD_Transmit(SMARTCARD_HandleTypeDef *hsc, const uint8_t *pData, uint16_t Size, uint32_t Timeout); HAL_StatusTypeDef HAL_SMARTCARD_Receive(SMARTCARD_HandleTypeDef *hsc, uint8_t *pData, uint16_t Size, uint32_t Timeout); -HAL_StatusTypeDef HAL_SMARTCARD_Transmit_IT(SMARTCARD_HandleTypeDef *hsc, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SMARTCARD_Transmit_IT(SMARTCARD_HandleTypeDef *hsc, const uint8_t *pData, uint16_t Size); HAL_StatusTypeDef HAL_SMARTCARD_Receive_IT(SMARTCARD_HandleTypeDef *hsc, uint8_t *pData, uint16_t Size); -HAL_StatusTypeDef HAL_SMARTCARD_Transmit_DMA(SMARTCARD_HandleTypeDef *hsc, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_SMARTCARD_Transmit_DMA(SMARTCARD_HandleTypeDef *hsc, const uint8_t *pData, uint16_t Size); HAL_StatusTypeDef HAL_SMARTCARD_Receive_DMA(SMARTCARD_HandleTypeDef *hsc, uint8_t *pData, uint16_t Size); /* Transfer Abort functions */ HAL_StatusTypeDef HAL_SMARTCARD_Abort(SMARTCARD_HandleTypeDef *hsc); @@ -660,8 +659,8 @@ void HAL_SMARTCARD_AbortReceiveCpltCallback(SMARTCARD_HandleTypeDef *hsc); * @{ */ /* Peripheral State functions **************************************************/ -HAL_SMARTCARD_StateTypeDef HAL_SMARTCARD_GetState(SMARTCARD_HandleTypeDef *hsc); -uint32_t HAL_SMARTCARD_GetError(SMARTCARD_HandleTypeDef *hsc); +HAL_SMARTCARD_StateTypeDef HAL_SMARTCARD_GetState(const SMARTCARD_HandleTypeDef *hsc); +uint32_t HAL_SMARTCARD_GetError(const SMARTCARD_HandleTypeDef *hsc); /** * @} */ @@ -742,4 +741,3 @@ uint32_t HAL_SMARTCARD_GetError(SMARTCARD_HandleTypeDef *hsc); #endif /* __STM32F1xx_HAL_SMARTCARD_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h index 271bd3a..73073fc 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -657,7 +656,8 @@ void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi); /* Callbacks Register/UnRegister functions ***********************************/ #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U) -HAL_StatusTypeDef HAL_SPI_RegisterCallback(SPI_HandleTypeDef *hspi, HAL_SPI_CallbackIDTypeDef CallbackID, pSPI_CallbackTypeDef pCallback); +HAL_StatusTypeDef HAL_SPI_RegisterCallback(SPI_HandleTypeDef *hspi, HAL_SPI_CallbackIDTypeDef CallbackID, + pSPI_CallbackTypeDef pCallback); HAL_StatusTypeDef HAL_SPI_UnRegisterCallback(SPI_HandleTypeDef *hspi, HAL_SPI_CallbackIDTypeDef CallbackID); #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */ /** @@ -728,4 +728,3 @@ uint32_t HAL_SPI_GetError(SPI_HandleTypeDef *hspi); #endif /* STM32F1xx_HAL_SPI_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_sram.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_sram.h index 9030de6..a5f498e 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_sram.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_sram.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -206,7 +205,7 @@ HAL_StatusTypeDef HAL_SRAM_WriteOperation_Disable(SRAM_HandleTypeDef *hsram); */ /* SRAM State functions ******************************************************/ -HAL_SRAM_StateTypeDef HAL_SRAM_GetState(SRAM_HandleTypeDef *hsram); +HAL_SRAM_StateTypeDef HAL_SRAM_GetState(const SRAM_HandleTypeDef *hsram); /** * @} @@ -231,5 +230,3 @@ HAL_SRAM_StateTypeDef HAL_SRAM_GetState(SRAM_HandleTypeDef *hsram); #endif #endif /* STM32F1xx_HAL_SRAM_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h index fb80276..53951f7 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -706,6 +705,15 @@ typedef void (*pTIM_CallbackTypeDef)(TIM_HandleTypeDef *htim); /*!< pointer to * @} */ +/** @defgroup TIM_CC_DMA_Request CCx DMA request selection + * @{ + */ +#define TIM_CCDMAREQUEST_CC 0x00000000U /*!< CCx DMA request sent when capture or compare match event occurs */ +#define TIM_CCDMAREQUEST_UPDATE TIM_CR2_CCDS /*!< CCx DMA requests sent when update event occurs */ +/** + * @} + */ + /** @defgroup TIM_Flag_definition TIM Flag Definition * @{ */ @@ -740,16 +748,16 @@ typedef void (*pTIM_CallbackTypeDef)(TIM_HandleTypeDef *htim); /*!< pointer to /** @defgroup TIM_Clock_Source TIM Clock Source * @{ */ -#define TIM_CLOCKSOURCE_ETRMODE2 TIM_SMCR_ETPS_1 /*!< External clock source mode 2 */ #define TIM_CLOCKSOURCE_INTERNAL TIM_SMCR_ETPS_0 /*!< Internal clock source */ +#define TIM_CLOCKSOURCE_ETRMODE1 TIM_TS_ETRF /*!< External clock source mode 1 (ETRF) */ +#define TIM_CLOCKSOURCE_ETRMODE2 TIM_SMCR_ETPS_1 /*!< External clock source mode 2 */ +#define TIM_CLOCKSOURCE_TI1ED TIM_TS_TI1F_ED /*!< External clock source mode 1 (TTI1FP1 + edge detect.) */ +#define TIM_CLOCKSOURCE_TI1 TIM_TS_TI1FP1 /*!< External clock source mode 1 (TTI1FP1) */ +#define TIM_CLOCKSOURCE_TI2 TIM_TS_TI2FP2 /*!< External clock source mode 1 (TTI2FP2) */ #define TIM_CLOCKSOURCE_ITR0 TIM_TS_ITR0 /*!< External clock source mode 1 (ITR0) */ #define TIM_CLOCKSOURCE_ITR1 TIM_TS_ITR1 /*!< External clock source mode 1 (ITR1) */ #define TIM_CLOCKSOURCE_ITR2 TIM_TS_ITR2 /*!< External clock source mode 1 (ITR2) */ #define TIM_CLOCKSOURCE_ITR3 TIM_TS_ITR3 /*!< External clock source mode 1 (ITR3) */ -#define TIM_CLOCKSOURCE_TI1ED TIM_TS_TI1F_ED /*!< External clock source mode 1 (TTI1FP1 + edge detect.) */ -#define TIM_CLOCKSOURCE_TI1 TIM_TS_TI1FP1 /*!< External clock source mode 1 (TTI1FP1) */ -#define TIM_CLOCKSOURCE_TI2 TIM_TS_TI2FP2 /*!< External clock source mode 1 (TTI2FP2) */ -#define TIM_CLOCKSOURCE_ETRMODE1 TIM_TS_ETRF /*!< External clock source mode 1 (ETRF) */ /** * @} */ @@ -1527,6 +1535,17 @@ typedef void (*pTIM_CallbackTypeDef)(TIM_HandleTypeDef *htim); /*!< pointer to TIM_SET_CAPTUREPOLARITY((__HANDLE__), (__CHANNEL__), (__POLARITY__)); \ }while(0) +/** @brief Select the Capture/compare DMA request source. + * @param __HANDLE__ specifies the TIM Handle. + * @param __CCDMA__ specifies Capture/compare DMA request source + * This parameter can be one of the following values: + * @arg TIM_CCDMAREQUEST_CC: CCx DMA request generated on Capture/Compare event + * @arg TIM_CCDMAREQUEST_UPDATE: CCx DMA request generated on Update event + * @retval None + */ +#define __HAL_TIM_SELECT_CCDMAREQUEST(__HANDLE__, __CCDMA__) \ + MODIFY_REG((__HANDLE__)->Instance->CR2, TIM_CR2_CCDS, (__CCDMA__)) + /** * @} */ @@ -1635,20 +1654,22 @@ typedef void (*pTIM_CallbackTypeDef)(TIM_HandleTypeDef *htim); /*!< pointer to #define IS_TIM_OPM_CHANNELS(__CHANNEL__) (((__CHANNEL__) == TIM_CHANNEL_1) || \ ((__CHANNEL__) == TIM_CHANNEL_2)) +#define IS_TIM_PERIOD(__PERIOD__) (((__PERIOD__) > 0U) && ((__PERIOD__) <= 0xFFFFU)) + #define IS_TIM_COMPLEMENTARY_CHANNELS(__CHANNEL__) (((__CHANNEL__) == TIM_CHANNEL_1) || \ ((__CHANNEL__) == TIM_CHANNEL_2) || \ ((__CHANNEL__) == TIM_CHANNEL_3)) #define IS_TIM_CLOCKSOURCE(__CLOCK__) (((__CLOCK__) == TIM_CLOCKSOURCE_INTERNAL) || \ + ((__CLOCK__) == TIM_CLOCKSOURCE_ETRMODE1) || \ ((__CLOCK__) == TIM_CLOCKSOURCE_ETRMODE2) || \ - ((__CLOCK__) == TIM_CLOCKSOURCE_ITR0) || \ - ((__CLOCK__) == TIM_CLOCKSOURCE_ITR1) || \ - ((__CLOCK__) == TIM_CLOCKSOURCE_ITR2) || \ - ((__CLOCK__) == TIM_CLOCKSOURCE_ITR3) || \ ((__CLOCK__) == TIM_CLOCKSOURCE_TI1ED) || \ ((__CLOCK__) == TIM_CLOCKSOURCE_TI1) || \ ((__CLOCK__) == TIM_CLOCKSOURCE_TI2) || \ - ((__CLOCK__) == TIM_CLOCKSOURCE_ETRMODE1)) + ((__CLOCK__) == TIM_CLOCKSOURCE_ITR0) || \ + ((__CLOCK__) == TIM_CLOCKSOURCE_ITR1) || \ + ((__CLOCK__) == TIM_CLOCKSOURCE_ITR2) || \ + ((__CLOCK__) == TIM_CLOCKSOURCE_ITR3)) #define IS_TIM_CLOCKPOLARITY(__POLARITY__) (((__POLARITY__) == TIM_CLOCKPOLARITY_INVERTED) || \ ((__POLARITY__) == TIM_CLOCKPOLARITY_NONINVERTED) || \ @@ -1724,13 +1745,13 @@ typedef void (*pTIM_CallbackTypeDef)(TIM_HandleTypeDef *htim); /*!< pointer to ((__MODE__) == TIM_OCMODE_FORCED_ACTIVE) || \ ((__MODE__) == TIM_OCMODE_FORCED_INACTIVE)) -#define IS_TIM_TRIGGER_SELECTION(__SELECTION__) (((__SELECTION__) == TIM_TS_ITR0) || \ - ((__SELECTION__) == TIM_TS_ITR1) || \ - ((__SELECTION__) == TIM_TS_ITR2) || \ - ((__SELECTION__) == TIM_TS_ITR3) || \ +#define IS_TIM_TRIGGER_SELECTION(__SELECTION__) (((__SELECTION__) == TIM_TS_ITR0) || \ + ((__SELECTION__) == TIM_TS_ITR1) || \ + ((__SELECTION__) == TIM_TS_ITR2) || \ + ((__SELECTION__) == TIM_TS_ITR3) || \ ((__SELECTION__) == TIM_TS_TI1F_ED) || \ - ((__SELECTION__) == TIM_TS_TI1FP1) || \ - ((__SELECTION__) == TIM_TS_TI2FP2) || \ + ((__SELECTION__) == TIM_TS_TI1FP1) || \ + ((__SELECTION__) == TIM_TS_TI2FP2) || \ ((__SELECTION__) == TIM_TS_ETRF)) #define IS_TIM_INTERNAL_TRIGGEREVENT_SELECTION(__SELECTION__) (((__SELECTION__) == TIM_TS_ITR0) || \ @@ -1819,11 +1840,11 @@ typedef void (*pTIM_CallbackTypeDef)(TIM_HandleTypeDef *htim); /*!< pointer to ((__HANDLE__)->ChannelState[3] = (__CHANNEL_STATE__))) #define TIM_CHANNEL_STATE_SET_ALL(__HANDLE__, __CHANNEL_STATE__) do { \ - (__HANDLE__)->ChannelState[0] = (__CHANNEL_STATE__); \ - (__HANDLE__)->ChannelState[1] = (__CHANNEL_STATE__); \ - (__HANDLE__)->ChannelState[2] = (__CHANNEL_STATE__); \ - (__HANDLE__)->ChannelState[3] = (__CHANNEL_STATE__); \ - } while(0) + (__HANDLE__)->ChannelState[0] = (__CHANNEL_STATE__); \ + (__HANDLE__)->ChannelState[1] = (__CHANNEL_STATE__); \ + (__HANDLE__)->ChannelState[2] = (__CHANNEL_STATE__); \ + (__HANDLE__)->ChannelState[3] = (__CHANNEL_STATE__); \ + } while(0) #define TIM_CHANNEL_N_STATE_GET(__HANDLE__, __CHANNEL__)\ (((__CHANNEL__) == TIM_CHANNEL_1) ? (__HANDLE__)->ChannelNState[0] :\ @@ -1838,15 +1859,15 @@ typedef void (*pTIM_CallbackTypeDef)(TIM_HandleTypeDef *htim); /*!< pointer to ((__HANDLE__)->ChannelNState[3] = (__CHANNEL_STATE__))) #define TIM_CHANNEL_N_STATE_SET_ALL(__HANDLE__, __CHANNEL_STATE__) do { \ - (__HANDLE__)->ChannelNState[0] = \ - (__CHANNEL_STATE__); \ - (__HANDLE__)->ChannelNState[1] = \ - (__CHANNEL_STATE__); \ - (__HANDLE__)->ChannelNState[2] = \ - (__CHANNEL_STATE__); \ - (__HANDLE__)->ChannelNState[3] = \ - (__CHANNEL_STATE__); \ - } while(0) + (__HANDLE__)->ChannelNState[0] = \ + (__CHANNEL_STATE__); \ + (__HANDLE__)->ChannelNState[1] = \ + (__CHANNEL_STATE__); \ + (__HANDLE__)->ChannelNState[2] = \ + (__CHANNEL_STATE__); \ + (__HANDLE__)->ChannelNState[3] = \ + (__CHANNEL_STATE__); \ + } while(0) /** * @} @@ -1877,7 +1898,7 @@ HAL_StatusTypeDef HAL_TIM_Base_Stop(TIM_HandleTypeDef *htim); HAL_StatusTypeDef HAL_TIM_Base_Start_IT(TIM_HandleTypeDef *htim); HAL_StatusTypeDef HAL_TIM_Base_Stop_IT(TIM_HandleTypeDef *htim); /* Non-Blocking mode: DMA */ -HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length); +HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, const uint32_t *pData, uint16_t Length); HAL_StatusTypeDef HAL_TIM_Base_Stop_DMA(TIM_HandleTypeDef *htim); /** * @} @@ -1899,7 +1920,8 @@ HAL_StatusTypeDef HAL_TIM_OC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); HAL_StatusTypeDef HAL_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); /* Non-Blocking mode: DMA */ -HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length); +HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, + uint16_t Length); HAL_StatusTypeDef HAL_TIM_OC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); /** * @} @@ -1921,7 +1943,8 @@ HAL_StatusTypeDef HAL_TIM_PWM_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); HAL_StatusTypeDef HAL_TIM_PWM_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); HAL_StatusTypeDef HAL_TIM_PWM_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); /* Non-Blocking mode: DMA */ -HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length); +HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, + uint16_t Length); HAL_StatusTypeDef HAL_TIM_PWM_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); /** * @} @@ -1973,7 +1996,7 @@ HAL_StatusTypeDef HAL_TIM_OnePulse_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Out * @{ */ /* Timer Encoder functions ****************************************************/ -HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, TIM_Encoder_InitTypeDef *sConfig); +HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, const TIM_Encoder_InitTypeDef *sConfig); HAL_StatusTypeDef HAL_TIM_Encoder_DeInit(TIM_HandleTypeDef *htim); void HAL_TIM_Encoder_MspInit(TIM_HandleTypeDef *htim); void HAL_TIM_Encoder_MspDeInit(TIM_HandleTypeDef *htim); @@ -2006,21 +2029,25 @@ void HAL_TIM_IRQHandler(TIM_HandleTypeDef *htim); * @{ */ /* Control functions *********************************************************/ -HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OC_InitTypeDef *sConfig, uint32_t Channel); -HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OC_InitTypeDef *sConfig, uint32_t Channel); -HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, TIM_IC_InitTypeDef *sConfig, uint32_t Channel); +HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_OC_InitTypeDef *sConfig, + uint32_t Channel); +HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_OC_InitTypeDef *sConfig, + uint32_t Channel); +HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_IC_InitTypeDef *sConfig, + uint32_t Channel); HAL_StatusTypeDef HAL_TIM_OnePulse_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OnePulse_InitTypeDef *sConfig, uint32_t OutputChannel, uint32_t InputChannel); -HAL_StatusTypeDef HAL_TIM_ConfigOCrefClear(TIM_HandleTypeDef *htim, TIM_ClearInputConfigTypeDef *sClearInputConfig, +HAL_StatusTypeDef HAL_TIM_ConfigOCrefClear(TIM_HandleTypeDef *htim, + const TIM_ClearInputConfigTypeDef *sClearInputConfig, uint32_t Channel); -HAL_StatusTypeDef HAL_TIM_ConfigClockSource(TIM_HandleTypeDef *htim, TIM_ClockConfigTypeDef *sClockSourceConfig); +HAL_StatusTypeDef HAL_TIM_ConfigClockSource(TIM_HandleTypeDef *htim, const TIM_ClockConfigTypeDef *sClockSourceConfig); HAL_StatusTypeDef HAL_TIM_ConfigTI1Input(TIM_HandleTypeDef *htim, uint32_t TI1_Selection); -HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro(TIM_HandleTypeDef *htim, TIM_SlaveConfigTypeDef *sSlaveConfig); -HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro_IT(TIM_HandleTypeDef *htim, TIM_SlaveConfigTypeDef *sSlaveConfig); +HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro(TIM_HandleTypeDef *htim, const TIM_SlaveConfigTypeDef *sSlaveConfig); +HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro_IT(TIM_HandleTypeDef *htim, const TIM_SlaveConfigTypeDef *sSlaveConfig); HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, - uint32_t BurstRequestSrc, uint32_t *BurstBuffer, uint32_t BurstLength); + uint32_t BurstRequestSrc, const uint32_t *BurstBuffer, uint32_t BurstLength); HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, - uint32_t BurstRequestSrc, uint32_t *BurstBuffer, + uint32_t BurstRequestSrc, const uint32_t *BurstBuffer, uint32_t BurstLength, uint32_t DataLength); HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc); HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, @@ -2030,7 +2057,7 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint3 uint32_t BurstLength, uint32_t DataLength); HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc); HAL_StatusTypeDef HAL_TIM_GenerateEvent(TIM_HandleTypeDef *htim, uint32_t EventSource); -uint32_t HAL_TIM_ReadCapturedValue(TIM_HandleTypeDef *htim, uint32_t Channel); +uint32_t HAL_TIM_ReadCapturedValue(const TIM_HandleTypeDef *htim, uint32_t Channel); /** * @} */ @@ -2067,17 +2094,17 @@ HAL_StatusTypeDef HAL_TIM_UnRegisterCallback(TIM_HandleTypeDef *htim, HAL_TIM_Ca * @{ */ /* Peripheral State functions ************************************************/ -HAL_TIM_StateTypeDef HAL_TIM_Base_GetState(TIM_HandleTypeDef *htim); -HAL_TIM_StateTypeDef HAL_TIM_OC_GetState(TIM_HandleTypeDef *htim); -HAL_TIM_StateTypeDef HAL_TIM_PWM_GetState(TIM_HandleTypeDef *htim); -HAL_TIM_StateTypeDef HAL_TIM_IC_GetState(TIM_HandleTypeDef *htim); -HAL_TIM_StateTypeDef HAL_TIM_OnePulse_GetState(TIM_HandleTypeDef *htim); -HAL_TIM_StateTypeDef HAL_TIM_Encoder_GetState(TIM_HandleTypeDef *htim); +HAL_TIM_StateTypeDef HAL_TIM_Base_GetState(const TIM_HandleTypeDef *htim); +HAL_TIM_StateTypeDef HAL_TIM_OC_GetState(const TIM_HandleTypeDef *htim); +HAL_TIM_StateTypeDef HAL_TIM_PWM_GetState(const TIM_HandleTypeDef *htim); +HAL_TIM_StateTypeDef HAL_TIM_IC_GetState(const TIM_HandleTypeDef *htim); +HAL_TIM_StateTypeDef HAL_TIM_OnePulse_GetState(const TIM_HandleTypeDef *htim); +HAL_TIM_StateTypeDef HAL_TIM_Encoder_GetState(const TIM_HandleTypeDef *htim); /* Peripheral Channel state functions ************************************************/ -HAL_TIM_ActiveChannel HAL_TIM_GetActiveChannel(TIM_HandleTypeDef *htim); -HAL_TIM_ChannelStateTypeDef HAL_TIM_GetChannelState(TIM_HandleTypeDef *htim, uint32_t Channel); -HAL_TIM_DMABurstStateTypeDef HAL_TIM_DMABurstState(TIM_HandleTypeDef *htim); +HAL_TIM_ActiveChannel HAL_TIM_GetActiveChannel(const TIM_HandleTypeDef *htim); +HAL_TIM_ChannelStateTypeDef HAL_TIM_GetChannelState(const TIM_HandleTypeDef *htim, uint32_t Channel); +HAL_TIM_DMABurstStateTypeDef HAL_TIM_DMABurstState(const TIM_HandleTypeDef *htim); /** * @} */ @@ -2091,9 +2118,9 @@ HAL_TIM_DMABurstStateTypeDef HAL_TIM_DMABurstState(TIM_HandleTypeDef *htim); /** @defgroup TIM_Private_Functions TIM Private Functions * @{ */ -void TIM_Base_SetConfig(TIM_TypeDef *TIMx, TIM_Base_InitTypeDef *Structure); +void TIM_Base_SetConfig(TIM_TypeDef *TIMx, const TIM_Base_InitTypeDef *Structure); void TIM_TI1_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, uint32_t TIM_ICFilter); -void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config); +void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); void TIM_ETR_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ExtTRGPrescaler, uint32_t TIM_ExtTRGPolarity, uint32_t ExtTRGFilter); @@ -2125,5 +2152,3 @@ void TIM_ResetCallback(TIM_HandleTypeDef *htim); #endif #endif /* STM32F1xx_HAL_TIM_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h index 1979d73..3edc9d3 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -111,7 +110,7 @@ typedef struct * @{ */ /* Timer Hall Sensor functions **********************************************/ -HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, TIM_HallSensor_InitTypeDef *sConfig); +HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, const TIM_HallSensor_InitTypeDef *sConfig); HAL_StatusTypeDef HAL_TIMEx_HallSensor_DeInit(TIM_HandleTypeDef *htim); void HAL_TIMEx_HallSensor_MspInit(TIM_HandleTypeDef *htim); @@ -144,7 +143,8 @@ HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Chann HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); /* Non-Blocking mode: DMA */ -HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length); +HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, + uint16_t Length); HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); /** * @} @@ -163,7 +163,8 @@ HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); /* Non-Blocking mode: DMA */ -HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length); +HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, + uint16_t Length); HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); /** * @} @@ -197,9 +198,9 @@ HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_IT(TIM_HandleTypeDef *htim, uint32 HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_DMA(TIM_HandleTypeDef *htim, uint32_t InputTrigger, uint32_t CommutationSource); HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, - TIM_MasterConfigTypeDef *sMasterConfig); + const TIM_MasterConfigTypeDef *sMasterConfig); HAL_StatusTypeDef HAL_TIMEx_ConfigBreakDeadTime(TIM_HandleTypeDef *htim, - TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTimeConfig); + const TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTimeConfig); HAL_StatusTypeDef HAL_TIMEx_RemapConfig(TIM_HandleTypeDef *htim, uint32_t Remap); /** * @} @@ -222,8 +223,8 @@ void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim); * @{ */ /* Extended Peripheral State functions ***************************************/ -HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(TIM_HandleTypeDef *htim); -HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(TIM_HandleTypeDef *htim, uint32_t ChannelN); +HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(const TIM_HandleTypeDef *htim); +HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(const TIM_HandleTypeDef *htim, uint32_t ChannelN); /** * @} */ @@ -234,7 +235,7 @@ HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(TIM_HandleTypeDef *htim, /* End of exported functions -------------------------------------------------*/ /* Private functions----------------------------------------------------------*/ -/** @addtogroup TIMEx_Private_Functions TIMEx Private Functions +/** @addtogroup TIMEx_Private_Functions TIM Extended Private Functions * @{ */ void TIMEx_DMACommutationCplt(DMA_HandleTypeDef *hdma); @@ -258,5 +259,3 @@ void TIMEx_DMACommutationHalfCplt(DMA_HandleTypeDef *hdma); #endif /* STM32F1xx_HAL_TIM_EX_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h index f7d5c3f..7fe76e3 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -71,7 +70,7 @@ typedef struct This parameter can be a value of @ref UART_Hardware_Flow_Control */ uint32_t OverSampling; /*!< Specifies whether the Over sampling 8 is enabled or disabled, to achieve higher speed (up to fPCLK/8). - This parameter can be a value of @ref UART_Over_Sampling. This feature is only available + This parameter can be a value of @ref UART_Over_Sampling. This feature is only available on STM32F100xx family, so OverSampling parameter should always be set to 16. */ } UART_InitTypeDef; @@ -138,12 +137,23 @@ typedef enum /** * @brief HAL UART Reception type definition * @note HAL UART Reception type value aims to identify which type of Reception is ongoing. - * It is expected to admit following values : + * This parameter can be a value of @ref UART_Reception_Type_Values : * HAL_UART_RECEPTION_STANDARD = 0x00U, * HAL_UART_RECEPTION_TOIDLE = 0x01U, */ typedef uint32_t HAL_UART_RxTypeTypeDef; +/** + * @brief HAL UART Rx Event type definition + * @note HAL UART Rx Event type value aims to identify which type of Event has occurred + * leading to call of the RxEvent callback. + * This parameter can be a value of @ref UART_RxEvent_Type_Values : + * HAL_UART_RXEVENT_TC = 0x00U, + * HAL_UART_RXEVENT_HT = 0x01U, + * HAL_UART_RXEVENT_IDLE = 0x02U, + */ +typedef uint32_t HAL_UART_RxEventTypeTypeDef; + /** * @brief UART handle Structure definition */ @@ -153,7 +163,7 @@ typedef struct __UART_HandleTypeDef UART_InitTypeDef Init; /*!< UART communication parameters */ - uint8_t *pTxBuffPtr; /*!< Pointer to UART Tx transfer Buffer */ + const uint8_t *pTxBuffPtr; /*!< Pointer to UART Tx transfer Buffer */ uint16_t TxXferSize; /*!< UART Tx Transfer size */ @@ -167,6 +177,8 @@ typedef struct __UART_HandleTypeDef __IO HAL_UART_RxTypeTypeDef ReceptionType; /*!< Type of ongoing reception */ + __IO HAL_UART_RxEventTypeTypeDef RxEventType; /*!< Type of Rx Event */ + DMA_HandleTypeDef *hdmatx; /*!< UART Tx DMA Handle parameters */ DMA_HandleTypeDef *hdmarx; /*!< UART Rx DMA Handle parameters */ @@ -384,7 +396,7 @@ typedef void (*pUART_RxEventCallbackTypeDef)(struct __UART_HandleTypeDef *huart * @} */ -/** @defgroup UART_RECEPTION_TYPE_Values UART Reception type values +/** @defgroup UART_Reception_Type_Values UART Reception type values * @{ */ #define HAL_UART_RECEPTION_STANDARD (0x00000000U) /*!< Standard reception */ @@ -393,6 +405,16 @@ typedef void (*pUART_RxEventCallbackTypeDef)(struct __UART_HandleTypeDef *huart * @} */ +/** @defgroup UART_RxEvent_Type_Values UART RxEvent type values + * @{ + */ +#define HAL_UART_RXEVENT_TC (0x00000000U) /*!< RxEvent linked to Transfer Complete event */ +#define HAL_UART_RXEVENT_HT (0x00000001U) /*!< RxEvent linked to Half Transfer event */ +#define HAL_UART_RXEVENT_IDLE (0x00000002U) +/** + * @} + */ + /** * @} */ @@ -575,7 +597,7 @@ typedef void (*pUART_RxEventCallbackTypeDef)(struct __UART_HandleTypeDef *huart * @retval The new state of __IT__ (TRUE or FALSE). */ #define __HAL_UART_GET_IT_SOURCE(__HANDLE__, __IT__) (((((__IT__) >> 28U) == UART_CR1_REG_INDEX)? (__HANDLE__)->Instance->CR1:(((((uint32_t)(__IT__)) >> 28U) == UART_CR2_REG_INDEX)? \ - (__HANDLE__)->Instance->CR2 : (__HANDLE__)->Instance->CR3)) & (((uint32_t)(__IT__)) & UART_IT_MASK)) + (__HANDLE__)->Instance->CR2 : (__HANDLE__)->Instance->CR3)) & (((uint32_t)(__IT__)) & UART_IT_MASK)) /** @brief Enable CTS flow control * @note This macro allows to enable CTS hardware flow control for a given UART instance, @@ -593,7 +615,7 @@ typedef void (*pUART_RxEventCallbackTypeDef)(struct __UART_HandleTypeDef *huart */ #define __HAL_UART_HWCONTROL_CTS_ENABLE(__HANDLE__) \ do{ \ - SET_BIT((__HANDLE__)->Instance->CR3, USART_CR3_CTSE); \ + ATOMIC_SET_BIT((__HANDLE__)->Instance->CR3, USART_CR3_CTSE); \ (__HANDLE__)->Init.HwFlowCtl |= USART_CR3_CTSE; \ } while(0U) @@ -613,7 +635,7 @@ typedef void (*pUART_RxEventCallbackTypeDef)(struct __UART_HandleTypeDef *huart */ #define __HAL_UART_HWCONTROL_CTS_DISABLE(__HANDLE__) \ do{ \ - CLEAR_BIT((__HANDLE__)->Instance->CR3, USART_CR3_CTSE); \ + ATOMIC_CLEAR_BIT((__HANDLE__)->Instance->CR3, USART_CR3_CTSE); \ (__HANDLE__)->Init.HwFlowCtl &= ~(USART_CR3_CTSE); \ } while(0U) @@ -633,7 +655,7 @@ typedef void (*pUART_RxEventCallbackTypeDef)(struct __UART_HandleTypeDef *huart */ #define __HAL_UART_HWCONTROL_RTS_ENABLE(__HANDLE__) \ do{ \ - SET_BIT((__HANDLE__)->Instance->CR3, USART_CR3_RTSE); \ + ATOMIC_SET_BIT((__HANDLE__)->Instance->CR3, USART_CR3_RTSE); \ (__HANDLE__)->Init.HwFlowCtl |= USART_CR3_RTSE; \ } while(0U) @@ -653,7 +675,7 @@ typedef void (*pUART_RxEventCallbackTypeDef)(struct __UART_HandleTypeDef *huart */ #define __HAL_UART_HWCONTROL_RTS_DISABLE(__HANDLE__) \ do{ \ - CLEAR_BIT((__HANDLE__)->Instance->CR3, USART_CR3_RTSE);\ + ATOMIC_CLEAR_BIT((__HANDLE__)->Instance->CR3, USART_CR3_RTSE);\ (__HANDLE__)->Init.HwFlowCtl &= ~(USART_CR3_RTSE); \ } while(0U) #if defined(USART_CR3_ONEBIT) @@ -668,7 +690,8 @@ typedef void (*pUART_RxEventCallbackTypeDef)(struct __UART_HandleTypeDef *huart * @param __HANDLE__ specifies the UART Handle. * @retval None */ -#define __HAL_UART_ONE_BIT_SAMPLE_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3 &= (uint16_t)~((uint16_t)USART_CR3_ONEBIT)) +#define __HAL_UART_ONE_BIT_SAMPLE_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3\ + &= (uint16_t)~((uint16_t)USART_CR3_ONEBIT)) #endif /* UART_ONE_BIT_SAMPLE_Feature */ /** @brief Enable UART @@ -706,7 +729,8 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart); /* Callbacks Register/UnRegister functions ***********************************/ #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) -HAL_StatusTypeDef HAL_UART_RegisterCallback(UART_HandleTypeDef *huart, HAL_UART_CallbackIDTypeDef CallbackID, pUART_CallbackTypeDef pCallback); +HAL_StatusTypeDef HAL_UART_RegisterCallback(UART_HandleTypeDef *huart, HAL_UART_CallbackIDTypeDef CallbackID, + pUART_CallbackTypeDef pCallback); HAL_StatusTypeDef HAL_UART_UnRegisterCallback(UART_HandleTypeDef *huart, HAL_UART_CallbackIDTypeDef CallbackID); HAL_StatusTypeDef HAL_UART_RegisterRxEventCallback(UART_HandleTypeDef *huart, pUART_RxEventCallbackTypeDef pCallback); @@ -722,20 +746,23 @@ HAL_StatusTypeDef HAL_UART_UnRegisterRxEventCallback(UART_HandleTypeDef *huart); */ /* IO operation functions *******************************************************/ -HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); +HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, const uint8_t *pData, uint16_t Size, uint32_t Timeout); HAL_StatusTypeDef HAL_UART_Receive(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); -HAL_StatusTypeDef HAL_UART_Transmit_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_UART_Transmit_IT(UART_HandleTypeDef *huart, const uint8_t *pData, uint16_t Size); HAL_StatusTypeDef HAL_UART_Receive_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); -HAL_StatusTypeDef HAL_UART_Transmit_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); +HAL_StatusTypeDef HAL_UART_Transmit_DMA(UART_HandleTypeDef *huart, const uint8_t *pData, uint16_t Size); HAL_StatusTypeDef HAL_UART_Receive_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); HAL_StatusTypeDef HAL_UART_DMAPause(UART_HandleTypeDef *huart); HAL_StatusTypeDef HAL_UART_DMAResume(UART_HandleTypeDef *huart); HAL_StatusTypeDef HAL_UART_DMAStop(UART_HandleTypeDef *huart); -HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint16_t *RxLen, uint32_t Timeout); +HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint16_t *RxLen, + uint32_t Timeout); HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); +HAL_UART_RxEventTypeTypeDef HAL_UARTEx_GetRxEventType(UART_HandleTypeDef *huart); + /* Transfer Abort functions */ HAL_StatusTypeDef HAL_UART_Abort(UART_HandleTypeDef *huart); HAL_StatusTypeDef HAL_UART_AbortTransmit(UART_HandleTypeDef *huart); @@ -777,8 +804,8 @@ HAL_StatusTypeDef HAL_HalfDuplex_EnableReceiver(UART_HandleTypeDef *huart); * @{ */ /* Peripheral State functions **************************************************/ -HAL_UART_StateTypeDef HAL_UART_GetState(UART_HandleTypeDef *huart); -uint32_t HAL_UART_GetError(UART_HandleTypeDef *huart); +HAL_UART_StateTypeDef HAL_UART_GetState(const UART_HandleTypeDef *huart); +uint32_t HAL_UART_GetError(const UART_HandleTypeDef *huart); /** * @} */ @@ -838,20 +865,22 @@ uint32_t HAL_UART_GetError(UART_HandleTypeDef *huart); #define UART_DIV_SAMPLING16(_PCLK_, _BAUD_) (((_PCLK_)*25U)/(4U*(_BAUD_))) #define UART_DIVMANT_SAMPLING16(_PCLK_, _BAUD_) (UART_DIV_SAMPLING16((_PCLK_), (_BAUD_))/100U) -#define UART_DIVFRAQ_SAMPLING16(_PCLK_, _BAUD_) ((((UART_DIV_SAMPLING16((_PCLK_), (_BAUD_)) - (UART_DIVMANT_SAMPLING16((_PCLK_), (_BAUD_)) * 100U)) * 16U) + 50U) / 100U) +#define UART_DIVFRAQ_SAMPLING16(_PCLK_, _BAUD_) ((((UART_DIV_SAMPLING16((_PCLK_), (_BAUD_)) - (UART_DIVMANT_SAMPLING16((_PCLK_), (_BAUD_)) * 100U)) * 16U)\ + + 50U) / 100U) /* UART BRR = mantissa + overflow + fraction = (UART DIVMANT << 4) + (UART DIVFRAQ & 0xF0) + (UART DIVFRAQ & 0x0FU) */ #define UART_BRR_SAMPLING16(_PCLK_, _BAUD_) (((UART_DIVMANT_SAMPLING16((_PCLK_), (_BAUD_)) << 4U) + \ - (UART_DIVFRAQ_SAMPLING16((_PCLK_), (_BAUD_)) & 0xF0U)) + \ + (UART_DIVFRAQ_SAMPLING16((_PCLK_), (_BAUD_)) & 0xF0U)) + \ (UART_DIVFRAQ_SAMPLING16((_PCLK_), (_BAUD_)) & 0x0FU)) #define UART_DIV_SAMPLING8(_PCLK_, _BAUD_) (((_PCLK_)*25U)/(2U*(_BAUD_))) #define UART_DIVMANT_SAMPLING8(_PCLK_, _BAUD_) (UART_DIV_SAMPLING8((_PCLK_), (_BAUD_))/100U) -#define UART_DIVFRAQ_SAMPLING8(_PCLK_, _BAUD_) ((((UART_DIV_SAMPLING8((_PCLK_), (_BAUD_)) - (UART_DIVMANT_SAMPLING8((_PCLK_), (_BAUD_)) * 100U)) * 8U) + 50U) / 100U) +#define UART_DIVFRAQ_SAMPLING8(_PCLK_, _BAUD_) ((((UART_DIV_SAMPLING8((_PCLK_), (_BAUD_)) - (UART_DIVMANT_SAMPLING8((_PCLK_), (_BAUD_)) * 100U)) * 8U)\ + + 50U) / 100U) /* UART BRR = mantissa + overflow + fraction = (UART DIVMANT << 4) + ((UART DIVFRAQ & 0xF8) << 1) + (UART DIVFRAQ & 0x07U) */ #define UART_BRR_SAMPLING8(_PCLK_, _BAUD_) (((UART_DIVMANT_SAMPLING8((_PCLK_), (_BAUD_)) << 4U) + \ - ((UART_DIVFRAQ_SAMPLING8((_PCLK_), (_BAUD_)) & 0xF8U) << 1U)) + \ + ((UART_DIVFRAQ_SAMPLING8((_PCLK_), (_BAUD_)) & 0xF8U) << 1U)) + \ (UART_DIVFRAQ_SAMPLING8((_PCLK_), (_BAUD_)) & 0x07U)) /** @@ -884,4 +913,3 @@ HAL_StatusTypeDef UART_Start_Receive_DMA(UART_HandleTypeDef *huart, uint8_t *pDa #endif /* __STM32F1xx_HAL_UART_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_usart.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_usart.h index cb8ecb4..7952f3b 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_usart.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_usart.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -102,7 +101,7 @@ typedef struct __USART_HandleTypeDef USART_InitTypeDef Init; /*!< Usart communication parameters */ - uint8_t *pTxBuffPtr; /*!< Pointer to Usart Tx transfer Buffer */ + const uint8_t *pTxBuffPtr; /*!< Pointer to Usart Tx transfer Buffer */ uint16_t TxXferSize; /*!< Usart Tx Transfer size */ @@ -430,10 +429,10 @@ typedef void (*pUSART_CallbackTypeDef)(USART_HandleTypeDef *husart); /*!< poin */ #define __HAL_USART_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((((__INTERRUPT__) >> 28U) == USART_CR1_REG_INDEX)? ((__HANDLE__)->Instance->CR1 |= ((__INTERRUPT__) & USART_IT_MASK)): \ (((__INTERRUPT__) >> 28U) == USART_CR2_REG_INDEX)? ((__HANDLE__)->Instance->CR2 |= ((__INTERRUPT__) & USART_IT_MASK)): \ - ((__HANDLE__)->Instance->CR3 |= ((__INTERRUPT__) & USART_IT_MASK))) + ((__HANDLE__)->Instance->CR3 |= ((__INTERRUPT__) & USART_IT_MASK))) #define __HAL_USART_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((((__INTERRUPT__) >> 28U) == USART_CR1_REG_INDEX)? ((__HANDLE__)->Instance->CR1 &= ~((__INTERRUPT__) & USART_IT_MASK)): \ (((__INTERRUPT__) >> 28U) == USART_CR2_REG_INDEX)? ((__HANDLE__)->Instance->CR2 &= ~((__INTERRUPT__) & USART_IT_MASK)): \ - ((__HANDLE__)->Instance->CR3 &= ~ ((__INTERRUPT__) & USART_IT_MASK))) + ((__HANDLE__)->Instance->CR3 &= ~ ((__INTERRUPT__) & USART_IT_MASK))) /** @brief Checks whether the specified USART interrupt has occurred or not. * @param __HANDLE__ specifies the USART Handle. @@ -449,7 +448,7 @@ typedef void (*pUSART_CallbackTypeDef)(USART_HandleTypeDef *husart); /*!< poin * @retval The new state of __IT__ (TRUE or FALSE). */ #define __HAL_USART_GET_IT_SOURCE(__HANDLE__, __IT__) (((((__IT__) >> 28U) == USART_CR1_REG_INDEX)? (__HANDLE__)->Instance->CR1:(((((uint32_t)(__IT__)) >> 28U) == USART_CR2_REG_INDEX)? \ - (__HANDLE__)->Instance->CR2 : (__HANDLE__)->Instance->CR3)) & (((uint32_t)(__IT__)) & USART_IT_MASK)) + (__HANDLE__)->Instance->CR2 : (__HANDLE__)->Instance->CR3)) & (((uint32_t)(__IT__)) & USART_IT_MASK)) /** @brief Macro to enable the USART's one bit sample method * @param __HANDLE__ specifies the USART Handle. @@ -461,7 +460,8 @@ typedef void (*pUSART_CallbackTypeDef)(USART_HandleTypeDef *husart); /*!< poin * @param __HANDLE__ specifies the USART Handle. * @retval None */ -#define __HAL_USART_ONE_BIT_SAMPLE_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3 &= (uint16_t)~((uint16_t)USART_CR3_ONEBIT)) +#define __HAL_USART_ONE_BIT_SAMPLE_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR3\ + &= (uint16_t)~((uint16_t)USART_CR3_ONEBIT)) /** @brief Enable USART * @param __HANDLE__ specifies the USART Handle. @@ -496,7 +496,8 @@ void HAL_USART_MspDeInit(USART_HandleTypeDef *husart); /* Callbacks Register/UnRegister functions ***********************************/ #if (USE_HAL_USART_REGISTER_CALLBACKS == 1) -HAL_StatusTypeDef HAL_USART_RegisterCallback(USART_HandleTypeDef *husart, HAL_USART_CallbackIDTypeDef CallbackID, pUSART_CallbackTypeDef pCallback); +HAL_StatusTypeDef HAL_USART_RegisterCallback(USART_HandleTypeDef *husart, HAL_USART_CallbackIDTypeDef CallbackID, + pUSART_CallbackTypeDef pCallback); HAL_StatusTypeDef HAL_USART_UnRegisterCallback(USART_HandleTypeDef *husart, HAL_USART_CallbackIDTypeDef CallbackID); #endif /* USE_HAL_USART_REGISTER_CALLBACKS */ @@ -508,15 +509,18 @@ HAL_StatusTypeDef HAL_USART_UnRegisterCallback(USART_HandleTypeDef *husart, HAL_ * @{ */ /* IO operation functions *******************************************************/ -HAL_StatusTypeDef HAL_USART_Transmit(USART_HandleTypeDef *husart, uint8_t *pTxData, uint16_t Size, uint32_t Timeout); +HAL_StatusTypeDef HAL_USART_Transmit(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint16_t Size, uint32_t Timeout); HAL_StatusTypeDef HAL_USART_Receive(USART_HandleTypeDef *husart, uint8_t *pRxData, uint16_t Size, uint32_t Timeout); -HAL_StatusTypeDef HAL_USART_TransmitReceive(USART_HandleTypeDef *husart, uint8_t *pTxData, uint8_t *pRxData, uint16_t Size, uint32_t Timeout); -HAL_StatusTypeDef HAL_USART_Transmit_IT(USART_HandleTypeDef *husart, uint8_t *pTxData, uint16_t Size); +HAL_StatusTypeDef HAL_USART_TransmitReceive(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint8_t *pRxData, + uint16_t Size, uint32_t Timeout); +HAL_StatusTypeDef HAL_USART_Transmit_IT(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint16_t Size); HAL_StatusTypeDef HAL_USART_Receive_IT(USART_HandleTypeDef *husart, uint8_t *pRxData, uint16_t Size); -HAL_StatusTypeDef HAL_USART_TransmitReceive_IT(USART_HandleTypeDef *husart, uint8_t *pTxData, uint8_t *pRxData, uint16_t Size); -HAL_StatusTypeDef HAL_USART_Transmit_DMA(USART_HandleTypeDef *husart, uint8_t *pTxData, uint16_t Size); +HAL_StatusTypeDef HAL_USART_TransmitReceive_IT(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint8_t *pRxData, + uint16_t Size); +HAL_StatusTypeDef HAL_USART_Transmit_DMA(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint16_t Size); HAL_StatusTypeDef HAL_USART_Receive_DMA(USART_HandleTypeDef *husart, uint8_t *pRxData, uint16_t Size); -HAL_StatusTypeDef HAL_USART_TransmitReceive_DMA(USART_HandleTypeDef *husart, uint8_t *pTxData, uint8_t *pRxData, uint16_t Size); +HAL_StatusTypeDef HAL_USART_TransmitReceive_DMA(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint8_t *pRxData, + uint16_t Size); HAL_StatusTypeDef HAL_USART_DMAPause(USART_HandleTypeDef *husart); HAL_StatusTypeDef HAL_USART_DMAResume(USART_HandleTypeDef *husart); HAL_StatusTypeDef HAL_USART_DMAStop(USART_HandleTypeDef *husart); @@ -540,8 +544,8 @@ void HAL_USART_AbortCpltCallback(USART_HandleTypeDef *husart); * @{ */ /* Peripheral State functions ************************************************/ -HAL_USART_StateTypeDef HAL_USART_GetState(USART_HandleTypeDef *husart); -uint32_t HAL_USART_GetError(USART_HandleTypeDef *husart); +HAL_USART_StateTypeDef HAL_USART_GetState(const USART_HandleTypeDef *husart); +uint32_t HAL_USART_GetError(const USART_HandleTypeDef *husart); /** * @} */ @@ -559,7 +563,7 @@ uint32_t HAL_USART_GetError(USART_HandleTypeDef *husart); * */ #define USART_IT_MASK ((uint32_t) USART_CR1_PEIE | USART_CR1_TXEIE | USART_CR1_TCIE | USART_CR1_RXNEIE | \ - USART_CR1_IDLEIE | USART_CR2_LBDIE | USART_CR3_CTSIE | USART_CR3_EIE ) + USART_CR1_IDLEIE | USART_CR2_LBDIE | USART_CR3_CTSIE | USART_CR3_EIE ) #define USART_CR1_REG_INDEX 1U #define USART_CR2_REG_INDEX 2U @@ -613,8 +617,8 @@ uint32_t HAL_USART_GetError(USART_HandleTypeDef *husart); = (UART DIVMANT << 4) + ((UART DIVFRAQ & 0xF0) << 1) + (UART DIVFRAQ & 0x0FU) */ #define USART_BRR(_PCLK_, _BAUD_) (((USART_DIVMANT((_PCLK_), (_BAUD_)) << 4U) + \ - ((USART_DIVFRAQ((_PCLK_), (_BAUD_)) & 0xF0U) << 1U)) + \ - (USART_DIVFRAQ((_PCLK_), (_BAUD_)) & 0x0FU)) + ((USART_DIVFRAQ((_PCLK_), (_BAUD_)) & 0xF0U) << 1U)) + \ + (USART_DIVFRAQ((_PCLK_), (_BAUD_)) & 0x0FU)) /** * @} */ @@ -642,4 +646,3 @@ uint32_t HAL_USART_GetError(USART_HandleTypeDef *husart); #endif /* __STM32F1xx_HAL_USART_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_wwdg.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_wwdg.h index d9916cf..6179e20 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_wwdg.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_wwdg.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -184,7 +183,7 @@ typedef void (*pWWDG_CallbackTypeDef)(WWDG_HandleTypeDef *hppp); /*!< pointer t /** * @brief Enable the WWDG early wakeup interrupt. - * @param __HANDLE__: WWDG handle + * @param __HANDLE__ WWDG handle * @param __INTERRUPT__ specifies the interrupt to enable. * This parameter can be one of the following values: * @arg WWDG_IT_EWI: Early wakeup interrupt @@ -297,5 +296,3 @@ void HAL_WWDG_EarlyWakeupCallback(WWDG_HandleTypeDef *hwwdg); #endif #endif /* STM32F1xx_HAL_WWDG_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h index 7336471..d6c28b8 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_adc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -313,8 +312,8 @@ typedef struct { uint32_t TriggerSource; /*!< Set ADC group regular conversion trigger source: internal (SW start) or from external IP (timer event, external interrupt line). This parameter can be a value of @ref ADC_LL_EC_REG_TRIGGER_SOURCE - @note On this STM32 serie, external trigger is set with trigger polarity: rising edge - (only trigger polarity available on this STM32 serie). + @note On this STM32 series, external trigger is set with trigger polarity: rising edge + (only trigger polarity available on this STM32 series). This feature can be modified afterwards using unitary function @ref LL_ADC_REG_SetTriggerSource(). */ @@ -367,8 +366,8 @@ typedef struct { uint32_t TriggerSource; /*!< Set ADC group injected conversion trigger source: internal (SW start) or from external IP (timer event, external interrupt line). This parameter can be a value of @ref ADC_LL_EC_INJ_TRIGGER_SOURCE - @note On this STM32 serie, external trigger is set with trigger polarity: rising edge - (only trigger polarity available on this STM32 serie). + @note On this STM32 series, external trigger is set with trigger polarity: rising edge + (only trigger polarity available on this STM32 series). This feature can be modified afterwards using unitary function @ref LL_ADC_INJ_SetTriggerSource(). */ @@ -408,15 +407,15 @@ typedef struct * @{ */ #define LL_ADC_FLAG_STRT ADC_SR_STRT /*!< ADC flag ADC group regular conversion start */ -#define LL_ADC_FLAG_EOS ADC_SR_EOC /*!< ADC flag ADC group regular end of sequence conversions (Note: on this STM32 serie, there is no flag ADC group regular end of unitary conversion. Flag noted as "EOC" is corresponding to flag "EOS" in other STM32 families) */ +#define LL_ADC_FLAG_EOS ADC_SR_EOC /*!< ADC flag ADC group regular end of sequence conversions (Note: on this STM32 series, there is no flag ADC group regular end of unitary conversion. Flag noted as "EOC" is corresponding to flag "EOS" in other STM32 families) */ #define LL_ADC_FLAG_JSTRT ADC_SR_JSTRT /*!< ADC flag ADC group injected conversion start */ -#define LL_ADC_FLAG_JEOS ADC_SR_JEOC /*!< ADC flag ADC group injected end of sequence conversions (Note: on this STM32 serie, there is no flag ADC group injected end of unitary conversion. Flag noted as "JEOC" is corresponding to flag "JEOS" in other STM32 families) */ +#define LL_ADC_FLAG_JEOS ADC_SR_JEOC /*!< ADC flag ADC group injected end of sequence conversions (Note: on this STM32 series, there is no flag ADC group injected end of unitary conversion. Flag noted as "JEOC" is corresponding to flag "JEOS" in other STM32 families) */ #define LL_ADC_FLAG_AWD1 ADC_SR_AWD /*!< ADC flag ADC analog watchdog 1 */ #if defined(ADC_MULTIMODE_SUPPORT) -#define LL_ADC_FLAG_EOS_MST ADC_SR_EOC /*!< ADC flag ADC multimode master group regular end of sequence conversions (Note: on this STM32 serie, there is no flag ADC group regular end of unitary conversion. Flag noted as "EOC" is corresponding to flag "EOS" in other STM32 families) */ -#define LL_ADC_FLAG_EOS_SLV ADC_SR_EOC /*!< ADC flag ADC multimode slave group regular end of sequence conversions (Note: on this STM32 serie, there is no flag ADC group regular end of unitary conversion. Flag noted as "EOC" is corresponding to flag "EOS" in other STM32 families) (on STM32F1, this flag must be read from ADC instance slave: ADC2) */ -#define LL_ADC_FLAG_JEOS_MST ADC_SR_JEOC /*!< ADC flag ADC multimode master group injected end of sequence conversions (Note: on this STM32 serie, there is no flag ADC group injected end of unitary conversion. Flag noted as "JEOC" is corresponding to flag "JEOS" in other STM32 families) */ -#define LL_ADC_FLAG_JEOS_SLV ADC_SR_JEOC /*!< ADC flag ADC multimode slave group injected end of sequence conversions (Note: on this STM32 serie, there is no flag ADC group injected end of unitary conversion. Flag noted as "JEOC" is corresponding to flag "JEOS" in other STM32 families) (on STM32F1, this flag must be read from ADC instance slave: ADC2) */ +#define LL_ADC_FLAG_EOS_MST ADC_SR_EOC /*!< ADC flag ADC multimode master group regular end of sequence conversions (Note: on this STM32 series, there is no flag ADC group regular end of unitary conversion. Flag noted as "EOC" is corresponding to flag "EOS" in other STM32 families) */ +#define LL_ADC_FLAG_EOS_SLV ADC_SR_EOC /*!< ADC flag ADC multimode slave group regular end of sequence conversions (Note: on this STM32 series, there is no flag ADC group regular end of unitary conversion. Flag noted as "EOC" is corresponding to flag "EOS" in other STM32 families) (on STM32F1, this flag must be read from ADC instance slave: ADC2) */ +#define LL_ADC_FLAG_JEOS_MST ADC_SR_JEOC /*!< ADC flag ADC multimode master group injected end of sequence conversions (Note: on this STM32 series, there is no flag ADC group injected end of unitary conversion. Flag noted as "JEOC" is corresponding to flag "JEOS" in other STM32 families) */ +#define LL_ADC_FLAG_JEOS_SLV ADC_SR_JEOC /*!< ADC flag ADC multimode slave group injected end of sequence conversions (Note: on this STM32 series, there is no flag ADC group injected end of unitary conversion. Flag noted as "JEOC" is corresponding to flag "JEOS" in other STM32 families) (on STM32F1, this flag must be read from ADC instance slave: ADC2) */ #define LL_ADC_FLAG_AWD1_MST ADC_SR_AWD /*!< ADC flag ADC multimode master analog watchdog 1 of the ADC master */ #define LL_ADC_FLAG_AWD1_SLV ADC_SR_AWD /*!< ADC flag ADC multimode slave analog watchdog 1 of the ADC slave (on STM32F1, this flag must be read from ADC instance slave: ADC2) */ #endif @@ -428,8 +427,8 @@ typedef struct * @brief IT defines which can be used with LL_ADC_ReadReg and LL_ADC_WriteReg functions * @{ */ -#define LL_ADC_IT_EOS ADC_CR1_EOCIE /*!< ADC interruption ADC group regular end of sequence conversions (Note: on this STM32 serie, there is no flag ADC group regular end of unitary conversion. Flag noted as "EOC" is corresponding to flag "EOS" in other STM32 families) */ -#define LL_ADC_IT_JEOS ADC_CR1_JEOCIE /*!< ADC interruption ADC group injected end of sequence conversions (Note: on this STM32 serie, there is no flag ADC group injected end of unitary conversion. Flag noted as "JEOC" is corresponding to flag "JEOS" in other STM32 families) */ +#define LL_ADC_IT_EOS ADC_CR1_EOCIE /*!< ADC interruption ADC group regular end of sequence conversions (Note: on this STM32 series, there is no flag ADC group regular end of unitary conversion. Flag noted as "EOC" is corresponding to flag "EOS" in other STM32 families) */ +#define LL_ADC_IT_JEOS ADC_CR1_JEOCIE /*!< ADC interruption ADC group injected end of sequence conversions (Note: on this STM32 series, there is no flag ADC group injected end of unitary conversion. Flag noted as "JEOC" is corresponding to flag "JEOS" in other STM32 families) */ #define LL_ADC_IT_AWD1 ADC_CR1_AWDIE /*!< ADC interruption ADC analog watchdog 1 */ /** * @} @@ -457,7 +456,7 @@ typedef struct /* If they are not listed below, they do not require any specific */ /* path enable. In this case, Access to measurement path is done */ /* only by selecting the corresponding ADC internal channel. */ -#define LL_ADC_PATH_INTERNAL_NONE 0x00000000U /*!< ADC measurement pathes all disabled */ +#define LL_ADC_PATH_INTERNAL_NONE 0x00000000U /*!< ADC measurement paths all disabled */ #define LL_ADC_PATH_INTERNAL_VREFINT (ADC_CR2_TSVREFE) /*!< ADC measurement path to internal channel VrefInt */ #define LL_ADC_PATH_INTERNAL_TEMPSENSOR (ADC_CR2_TSVREFE) /*!< ADC measurement path to internal channel temperature sensor */ /** @@ -476,7 +475,7 @@ typedef struct * @{ */ #define LL_ADC_DATA_ALIGN_RIGHT 0x00000000U /*!< ADC conversion data alignment: right aligned (alignment on data register LSB bit 0)*/ -#define LL_ADC_DATA_ALIGN_LEFT (ADC_CR2_ALIGN) /*!< ADC conversion data alignment: left aligned (aligment on data register MSB bit 15)*/ +#define LL_ADC_DATA_ALIGN_LEFT (ADC_CR2_ALIGN) /*!< ADC conversion data alignment: left aligned (alignment on data register MSB bit 15)*/ /** * @} */ @@ -889,7 +888,7 @@ typedef struct /* configuration (system clock versus ADC clock), */ /* and therefore must be defined in user application. */ /* Indications for estimation of ADC timeout delays, for this */ -/* STM32 serie: */ +/* STM32 series: */ /* - ADC enable time: maximum delay is 1us */ /* (refer to device datasheet, parameter "tSTAB") */ /* - ADC conversion time: duration depending on ADC clock and ADC */ @@ -903,7 +902,7 @@ typedef struct #define LL_ADC_DELAY_TEMPSENSOR_STAB_US (10U) /*!< Delay for internal voltage reference stabilization time */ /* Delay required between ADC disable and ADC calibration start. */ -/* Note: On this STM32 serie, before starting a calibration, */ +/* Note: On this STM32 series, before starting a calibration, */ /* ADC must be disabled. */ /* A minimum number of ADC clock cycles are required */ /* between ADC disable state and calibration start. */ @@ -915,7 +914,7 @@ typedef struct #define LL_ADC_DELAY_DISABLE_CALIB_ADC_CYCLES (2U) /*!< Delay required between ADC disable and ADC calibration start */ /* Delay required between end of ADC Enable and the start of ADC calibration. */ -/* Note: On this STM32 serie, a minimum number of ADC clock cycles */ +/* Note: On this STM32 series, a minimum number of ADC clock cycles */ /* are required between the end of ADC enable and the start of ADC */ /* calibration. */ /* Wait time can be computed in user application by waiting for the */ @@ -1320,7 +1319,7 @@ typedef struct * @param __AWD_THRESHOLD__ Value between Min_Data=0x000 and Max_Data=0xFFF * @retval Value between Min_Data=0x000 and Max_Data=0xFFF */ -/* Note: On this STM32 serie, ADC is fixed to resolution 12 bits. */ +/* Note: On this STM32 series, ADC is fixed to resolution 12 bits. */ /* This macro has been kept anyway for compatibility with other */ /* STM32 families featuring different ADC resolutions. */ #define __LL_ADC_ANALOGWD_SET_THRESHOLD_RESOLUTION(__ADC_RESOLUTION__, __AWD_THRESHOLD__) \ @@ -1342,7 +1341,7 @@ typedef struct * @param __AWD_THRESHOLD_12_BITS__ Value between Min_Data=0x000 and Max_Data=0xFFF * @retval Value between Min_Data=0x000 and Max_Data=0xFFF */ -/* Note: On this STM32 serie, ADC is fixed to resolution 12 bits. */ +/* Note: On this STM32 series, ADC is fixed to resolution 12 bits. */ /* This macro has been kept anyway for compatibility with other */ /* STM32 families featuring different ADC resolutions. */ #define __LL_ADC_ANALOGWD_GET_THRESHOLD_RESOLUTION(__ADC_RESOLUTION__, __AWD_THRESHOLD_12_BITS__) \ @@ -1782,8 +1781,8 @@ __STATIC_INLINE uint32_t LL_ADC_GetSequencersScanMode(ADC_TypeDef *ADCx) * @brief Set ADC group regular conversion trigger source: * internal (SW start) or from external IP (timer event, * external interrupt line). - * @note On this STM32 serie, external trigger is set with trigger polarity: - * rising edge (only trigger polarity available on this STM32 serie). + * @note On this STM32 series, external trigger is set with trigger polarity: + * rising edge (only trigger polarity available on this STM32 series). * @note Availability of parameters of trigger sources from timer * depends on timers availability on the selected device. * @rmtoll CR2 EXTSEL LL_ADC_REG_SetTriggerSource @@ -1814,7 +1813,7 @@ __STATIC_INLINE uint32_t LL_ADC_GetSequencersScanMode(ADC_TypeDef *ADCx) */ __STATIC_INLINE void LL_ADC_REG_SetTriggerSource(ADC_TypeDef *ADCx, uint32_t TriggerSource) { -/* Note: On this STM32 serie, ADC group regular external trigger edge */ +/* Note: On this STM32 series, ADC group regular external trigger edge */ /* is used to perform a ADC conversion start. */ /* This function does not set external trigger edge. */ /* This feature is set using function */ @@ -1908,7 +1907,7 @@ __STATIC_INLINE uint32_t LL_ADC_REG_IsTriggerSourceSWStart(ADC_TypeDef *ADCx) * highest channel number). * Sequencer ranks are selected using * function "LL_ADC_REG_SetSequencerChannels()". - * @note On this STM32 serie, group regular sequencer configuration + * @note On this STM32 series, group regular sequencer configuration * is conditioned to ADC instance sequencer mode. * If ADC instance sequencer mode is disabled, sequencers of * all groups (group regular, group injected) can be configured @@ -1969,7 +1968,7 @@ __STATIC_INLINE void LL_ADC_REG_SetSequencerLength(ADC_TypeDef *ADCx, uint32_t S * highest channel number). * Sequencer ranks are selected using * function "LL_ADC_REG_SetSequencerChannels()". - * @note On this STM32 serie, group regular sequencer configuration + * @note On this STM32 series, group regular sequencer configuration * is conditioned to ADC instance sequencer mode. * If ADC instance sequencer mode is disabled, sequencers of * all groups (group regular, group injected) can be configured @@ -2059,13 +2058,13 @@ __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerDiscont(ADC_TypeDef *ADCx) * @note This function performs configuration of: * - Channels ordering into each rank of scan sequence: * whatever channel can be placed into whatever rank. - * @note On this STM32 serie, ADC group regular sequencer is + * @note On this STM32 series, ADC group regular sequencer is * fully configurable: sequencer length and each rank * affectation to a channel are configurable. * Refer to description of function @ref LL_ADC_REG_SetSequencerLength(). * @note Depending on devices and packages, some channels may not be available. * Refer to device datasheet for channels availability. - * @note On this STM32 serie, to measure internal channels (VrefInt, + * @note On this STM32 series, to measure internal channels (VrefInt, * TempSensor, ...), measurement paths to internal channels must be * enabled separately. * This can be done using function @ref LL_ADC_SetCommonPathInternalCh(). @@ -2144,7 +2143,7 @@ __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Ra /** * @brief Get ADC group regular sequence: channel on the selected * scan sequence rank. - * @note On this STM32 serie, ADC group regular sequencer is + * @note On this STM32 series, ADC group regular sequencer is * fully configurable: sequencer length and each rank * affectation to a channel are configurable. * Refer to description of function @ref LL_ADC_REG_SetSequencerLength(). @@ -2344,8 +2343,8 @@ __STATIC_INLINE uint32_t LL_ADC_REG_GetDMATransfer(ADC_TypeDef *ADCx) * @brief Set ADC group injected conversion trigger source: * internal (SW start) or from external IP (timer event, * external interrupt line). - * @note On this STM32 serie, external trigger is set with trigger polarity: - * rising edge (only trigger polarity available on this STM32 serie). + * @note On this STM32 series, external trigger is set with trigger polarity: + * rising edge (only trigger polarity available on this STM32 series). * @note Availability of parameters of trigger sources from timer * depends on timers availability on the selected device. * @rmtoll CR2 JEXTSEL LL_ADC_INJ_SetTriggerSource @@ -2375,7 +2374,7 @@ __STATIC_INLINE uint32_t LL_ADC_REG_GetDMATransfer(ADC_TypeDef *ADCx) */ __STATIC_INLINE void LL_ADC_INJ_SetTriggerSource(ADC_TypeDef *ADCx, uint32_t TriggerSource) { -/* Note: On this STM32 serie, ADC group injected external trigger edge */ +/* Note: On this STM32 series, ADC group injected external trigger edge */ /* is used to perform a ADC conversion start. */ /* This function does not set external trigger edge. */ /* This feature is set using function */ @@ -2446,7 +2445,7 @@ __STATIC_INLINE uint32_t LL_ADC_INJ_IsTriggerSourceSWStart(ADC_TypeDef *ADCx) * - Sequence length: Number of ranks in the scan sequence. * - Sequence direction: Unless specified in parameters, sequencer * scan direction is forward (from rank 1 to rank n). - * @note On this STM32 serie, group injected sequencer configuration + * @note On this STM32 series, group injected sequencer configuration * is conditioned to ADC instance sequencer mode. * If ADC instance sequencer mode is disabled, sequencers of * all groups (group regular, group injected) can be configured @@ -2474,7 +2473,7 @@ __STATIC_INLINE void LL_ADC_INJ_SetSequencerLength(ADC_TypeDef *ADCx, uint32_t S * - Sequence length: Number of ranks in the scan sequence. * - Sequence direction: Unless specified in parameters, sequencer * scan direction is forward (from rank 1 to rank n). - * @note On this STM32 serie, group injected sequencer configuration + * @note On this STM32 series, group injected sequencer configuration * is conditioned to ADC instance sequencer mode. * If ADC instance sequencer mode is disabled, sequencers of * all groups (group regular, group injected) can be configured @@ -2533,7 +2532,7 @@ __STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerDiscont(ADC_TypeDef *ADCx) * sequence rank. * @note Depending on devices and packages, some channels may not be available. * Refer to device datasheet for channels availability. - * @note On this STM32 serie, to measure internal channels (VrefInt, + * @note On this STM32 series, to measure internal channels (VrefInt, * TempSensor, ...), measurement paths to internal channels must be * enabled separately. * This can be done using function @ref LL_ADC_SetCommonPathInternalCh(). @@ -2776,7 +2775,7 @@ __STATIC_INLINE uint32_t LL_ADC_INJ_GetOffset(ADC_TypeDef *ADCx, uint32_t Rank) * TS_temp, ...). * @note Conversion time is the addition of sampling time and processing time. * Refer to reference manual for ADC processing time of - * this STM32 serie. + * this STM32 series. * @note In case of ADC conversion of internal channel (VrefInt, * temperature sensor, ...), a sampling time minimum value * is required. @@ -2854,7 +2853,7 @@ __STATIC_INLINE void LL_ADC_SetChannelSamplingTime(ADC_TypeDef *ADCx, uint32_t C * of channel mapped on ADC group regular or injected. * @note Conversion time is the addition of sampling time and processing time. * Refer to reference manual for ADC processing time of - * this STM32 serie. + * this STM32 series. * @rmtoll SMPR1 SMP17 LL_ADC_GetChannelSamplingTime\n * SMPR1 SMP16 LL_ADC_GetChannelSamplingTime\n * SMPR1 SMP15 LL_ADC_GetChannelSamplingTime\n @@ -2934,7 +2933,7 @@ __STATIC_INLINE uint32_t LL_ADC_GetChannelSamplingTime(ADC_TypeDef *ADCx, uint32 * @note In case of need to define a single channel to monitor * with analog watchdog from sequencer channel definition, * use helper macro @ref __LL_ADC_ANALOGWD_CHANNEL_GROUP(). - * @note On this STM32 serie, there is only 1 kind of analog watchdog + * @note On this STM32 series, there is only 1 kind of analog watchdog * instance: * - AWD standard (instance AWD1): * - channels monitored: can monitor 1 channel or all channels. @@ -3036,7 +3035,7 @@ __STATIC_INLINE void LL_ADC_SetAnalogWDMonitChannels(ADC_TypeDef *ADCx, uint32_t * @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB(). * Applicable only when the analog watchdog is set to monitor * one channel. - * @note On this STM32 serie, there is only 1 kind of analog watchdog + * @note On this STM32 series, there is only 1 kind of analog watchdog * instance: * - AWD standard (instance AWD1): * - channels monitored: can monitor 1 channel or all channels. @@ -3115,7 +3114,7 @@ __STATIC_INLINE uint32_t LL_ADC_GetAnalogWDMonitChannels(ADC_TypeDef *ADCx) /** * @brief Set ADC analog watchdog threshold value of threshold * high or low. - * @note On this STM32 serie, there is only 1 kind of analog watchdog + * @note On this STM32 series, there is only 1 kind of analog watchdog * instance: * - AWD standard (instance AWD1): * - channels monitored: can monitor 1 channel or all channels. @@ -3234,7 +3233,7 @@ __STATIC_INLINE uint32_t LL_ADC_GetMultimode(ADC_Common_TypeDef *ADCxy_COMMON) /** * @brief Enable the selected ADC instance. - * @note On this STM32 serie, after ADC enable, a delay for + * @note On this STM32 series, after ADC enable, a delay for * ADC internal analog stabilization is required before performing a * ADC conversion start. * Refer to device datasheet, parameter tSTAB. @@ -3272,12 +3271,12 @@ __STATIC_INLINE uint32_t LL_ADC_IsEnabled(ADC_TypeDef *ADCx) /** * @brief Start ADC calibration in the mode single-ended * or differential (for devices with differential mode available). - * @note On this STM32 serie, before starting a calibration, + * @note On this STM32 series, before starting a calibration, * ADC must be disabled. * A minimum number of ADC clock cycles are required * between ADC disable state and calibration start. * Refer to literal @ref LL_ADC_DELAY_DISABLE_CALIB_ADC_CYCLES. - * @note On this STM32 serie, hardware prerequisite before starting a calibration: + * @note On this STM32 series, hardware prerequisite before starting a calibration: the ADC must have been in power-on state for at least two ADC clock cycles. * @rmtoll CR2 CAL LL_ADC_StartCalibration @@ -3310,7 +3309,7 @@ __STATIC_INLINE uint32_t LL_ADC_IsCalibrationOnGoing(ADC_TypeDef *ADCx) /** * @brief Start ADC group regular conversion. - * @note On this STM32 serie, this function is relevant only for + * @note On this STM32 series, this function is relevant only for * internal trigger (SW start), not for external trigger: * - If ADC trigger has been set to software start, ADC conversion * starts immediately. @@ -3333,7 +3332,7 @@ __STATIC_INLINE void LL_ADC_REG_StartConversionSWStart(ADC_TypeDef *ADCx) * @brief Start ADC group regular conversion from external trigger. * @note ADC conversion will start at next trigger event (on the selected * trigger edge) following the ADC start conversion command. - * @note On this STM32 serie, this function is relevant for + * @note On this STM32 series, this function is relevant for * ADC conversion start from external trigger. * If internal trigger (SW start) is needed, perform ADC conversion * start using function @ref LL_ADC_REG_StartConversionSWStart(). @@ -3353,7 +3352,7 @@ __STATIC_INLINE void LL_ADC_REG_StartConversionExtTrig(ADC_TypeDef *ADCx, uint32 * @note No more ADC conversion will start at next trigger event * following the ADC stop conversion command. * If a conversion is on-going, it will be completed. - * @note On this STM32 serie, there is no specific command + * @note On this STM32 series, there is no specific command * to stop a conversion on-going or to stop ADC converting * in continuous mode. These actions can be performed * using function @ref LL_ADC_Disable(). @@ -3436,7 +3435,7 @@ __STATIC_INLINE uint32_t LL_ADC_REG_ReadMultiConversionData32(ADC_TypeDef *ADCx, /** * @brief Start ADC group injected conversion. - * @note On this STM32 serie, this function is relevant only for + * @note On this STM32 series, this function is relevant only for * internal trigger (SW start), not for external trigger: * - If ADC trigger has been set to software start, ADC conversion * starts immediately. @@ -3459,7 +3458,7 @@ __STATIC_INLINE void LL_ADC_INJ_StartConversionSWStart(ADC_TypeDef *ADCx) * @brief Start ADC group injected conversion from external trigger. * @note ADC conversion will start at next trigger event (on the selected * trigger edge) following the ADC start conversion command. - * @note On this STM32 serie, this function is relevant for + * @note On this STM32 series, this function is relevant for * ADC conversion start from external trigger. * If internal trigger (SW start) is needed, perform ADC conversion * start using function @ref LL_ADC_INJ_StartConversionSWStart(). @@ -3479,7 +3478,7 @@ __STATIC_INLINE void LL_ADC_INJ_StartConversionExtTrig(ADC_TypeDef *ADCx, uint32 * @note No more ADC conversion will start at next trigger event * following the ADC stop conversion command. * If a conversion is on-going, it will be completed. - * @note On this STM32 serie, there is no specific command + * @note On this STM32 series, there is no specific command * to stop a conversion on-going or to stop ADC converting * in continuous mode. These actions can be performed * using function @ref LL_ADC_Disable(). @@ -3561,7 +3560,7 @@ __STATIC_INLINE uint16_t LL_ADC_INJ_ReadConversionData12(ADC_TypeDef *ADCx, uint */ __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_EOS(ADC_TypeDef *ADCx) { - /* Note: on this STM32 serie, there is no flag ADC group regular */ + /* Note: on this STM32 series, there is no flag ADC group regular */ /* end of unitary conversion. */ /* Flag noted as "EOC" is corresponding to flag "EOS" */ /* in other STM32 families). */ @@ -3577,7 +3576,7 @@ __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_EOS(ADC_TypeDef *ADCx) */ __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_JEOS(ADC_TypeDef *ADCx) { - /* Note: on this STM32 serie, there is no flag ADC group injected */ + /* Note: on this STM32 series, there is no flag ADC group injected */ /* end of unitary conversion. */ /* Flag noted as "JEOC" is corresponding to flag "JEOS" */ /* in other STM32 families). */ @@ -3603,7 +3602,7 @@ __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_AWD1(ADC_TypeDef *ADCx) */ __STATIC_INLINE void LL_ADC_ClearFlag_EOS(ADC_TypeDef *ADCx) { - /* Note: on this STM32 serie, there is no flag ADC group regular */ + /* Note: on this STM32 series, there is no flag ADC group regular */ /* end of unitary conversion. */ /* Flag noted as "EOC" is corresponding to flag "EOS" */ /* in other STM32 families). */ @@ -3619,7 +3618,7 @@ __STATIC_INLINE void LL_ADC_ClearFlag_EOS(ADC_TypeDef *ADCx) */ __STATIC_INLINE void LL_ADC_ClearFlag_JEOS(ADC_TypeDef *ADCx) { - /* Note: on this STM32 serie, there is no flag ADC group injected */ + /* Note: on this STM32 series, there is no flag ADC group injected */ /* end of unitary conversion. */ /* Flag noted as "JEOC" is corresponding to flag "JEOS" */ /* in other STM32 families). */ @@ -3647,7 +3646,7 @@ __STATIC_INLINE void LL_ADC_ClearFlag_AWD1(ADC_TypeDef *ADCx) */ __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_MST_EOS(ADC_Common_TypeDef *ADCxy_COMMON) { - /* Note: on this STM32 serie, there is no flag ADC group regular */ + /* Note: on this STM32 series, there is no flag ADC group regular */ /* end of unitary conversion. */ /* Flag noted as "EOC" is corresponding to flag "EOS" */ /* in other STM32 families). */ @@ -3663,7 +3662,7 @@ __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_MST_EOS(ADC_Common_TypeDef *ADCxy_C */ __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_SLV_EOS(ADC_Common_TypeDef *ADCxy_COMMON) { - /* Note: on this STM32 serie, there is no flag ADC group regular */ + /* Note: on this STM32 series, there is no flag ADC group regular */ /* end of unitary conversion. */ /* Flag noted as "EOC" is corresponding to flag "EOS" */ /* in other STM32 families). */ @@ -3683,7 +3682,7 @@ __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_SLV_EOS(ADC_Common_TypeDef *ADCxy_C */ __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_MST_JEOS(ADC_Common_TypeDef *ADCxy_COMMON) { - /* Note: on this STM32 serie, there is no flag ADC group injected */ + /* Note: on this STM32 series, there is no flag ADC group injected */ /* end of unitary conversion. */ /* Flag noted as "JEOC" is corresponding to flag "JEOS" */ /* in other STM32 families). */ @@ -3699,7 +3698,7 @@ __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_MST_JEOS(ADC_Common_TypeDef *ADCxy_ */ __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_SLV_JEOS(ADC_Common_TypeDef *ADCxy_COMMON) { - /* Note: on this STM32 serie, there is no flag ADC group injected */ + /* Note: on this STM32 series, there is no flag ADC group injected */ /* end of unitary conversion. */ /* Flag noted as "JEOC" is corresponding to flag "JEOS" */ /* in other STM32 families). */ @@ -3753,7 +3752,7 @@ __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_SLV_AWD1(ADC_Common_TypeDef *ADCxy_ */ __STATIC_INLINE void LL_ADC_EnableIT_EOS(ADC_TypeDef *ADCx) { - /* Note: on this STM32 serie, there is no flag ADC group regular */ + /* Note: on this STM32 series, there is no flag ADC group regular */ /* end of unitary conversion. */ /* Flag noted as "EOC" is corresponding to flag "EOS" */ /* in other STM32 families). */ @@ -3769,7 +3768,7 @@ __STATIC_INLINE void LL_ADC_EnableIT_EOS(ADC_TypeDef *ADCx) */ __STATIC_INLINE void LL_ADC_EnableIT_JEOS(ADC_TypeDef *ADCx) { - /* Note: on this STM32 serie, there is no flag ADC group injected */ + /* Note: on this STM32 series, there is no flag ADC group injected */ /* end of unitary conversion. */ /* Flag noted as "JEOC" is corresponding to flag "JEOS" */ /* in other STM32 families). */ @@ -3795,7 +3794,7 @@ __STATIC_INLINE void LL_ADC_EnableIT_AWD1(ADC_TypeDef *ADCx) */ __STATIC_INLINE void LL_ADC_DisableIT_EOS(ADC_TypeDef *ADCx) { - /* Note: on this STM32 serie, there is no flag ADC group regular */ + /* Note: on this STM32 series, there is no flag ADC group regular */ /* end of unitary conversion. */ /* Flag noted as "EOC" is corresponding to flag "EOS" */ /* in other STM32 families). */ @@ -3811,7 +3810,7 @@ __STATIC_INLINE void LL_ADC_DisableIT_EOS(ADC_TypeDef *ADCx) */ __STATIC_INLINE void LL_ADC_DisableIT_JEOS(ADC_TypeDef *ADCx) { - /* Note: on this STM32 serie, there is no flag ADC group injected */ + /* Note: on this STM32 series, there is no flag ADC group injected */ /* end of unitary conversion. */ /* Flag noted as "JEOC" is corresponding to flag "JEOS" */ /* in other STM32 families). */ @@ -3838,7 +3837,7 @@ __STATIC_INLINE void LL_ADC_DisableIT_AWD1(ADC_TypeDef *ADCx) */ __STATIC_INLINE uint32_t LL_ADC_IsEnabledIT_EOS(ADC_TypeDef *ADCx) { - /* Note: on this STM32 serie, there is no flag ADC group regular */ + /* Note: on this STM32 series, there is no flag ADC group regular */ /* end of unitary conversion. */ /* Flag noted as "EOC" is corresponding to flag "EOS" */ /* in other STM32 families). */ @@ -3855,7 +3854,7 @@ __STATIC_INLINE uint32_t LL_ADC_IsEnabledIT_EOS(ADC_TypeDef *ADCx) */ __STATIC_INLINE uint32_t LL_ADC_IsEnabledIT_JEOS(ADC_TypeDef *ADCx) { - /* Note: on this STM32 serie, there is no flag ADC group injected */ + /* Note: on this STM32 series, there is no flag ADC group injected */ /* end of unitary conversion. */ /* Flag noted as "JEOC" is corresponding to flag "JEOS" */ /* in other STM32 families). */ @@ -3928,5 +3927,3 @@ void LL_ADC_INJ_StructInit(LL_ADC_INJ_InitTypeDef *ADC_INJ_InitStruct); #endif #endif /* __STM32F1xx_LL_ADC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h index 8857920..146fd88 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h @@ -23,14 +23,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. ****************************************************************************** */ @@ -1012,4 +1010,3 @@ __STATIC_INLINE void LL_APB2_GRP1_ReleaseReset(uint32_t Periphs) #endif /* __STM32F1xx_LL_BUS_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_cortex.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_cortex.h index a1444a8..c8b503c 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_cortex.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_cortex.h @@ -10,7 +10,7 @@ [..] The LL CORTEX driver contains a set of generic APIs that can be used by user: - (+) SYSTICK configuration used by @ref LL_mDelay and @ref LL_Init1msTick + (+) SYSTICK configuration used by LL_mDelay and LL_Init1msTick functions (+) Low power mode configuration (SCB register of Cortex-MCU) (+) MPU API to configure and enable regions @@ -22,13 +22,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -637,4 +636,3 @@ __STATIC_INLINE void LL_MPU_DisableRegion(uint32_t Region) #endif /* __STM32F1xx_LL_CORTEX_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_crc.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_crc.h index c29119e..534ba11 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_crc.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_crc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -136,7 +135,7 @@ __STATIC_INLINE void LL_CRC_FeedData32(CRC_TypeDef *CRCx, uint32_t InData) * @param CRCx CRC Instance * @retval Current CRC calculation result as stored in CRC_DR register (32 bits). */ -__STATIC_INLINE uint32_t LL_CRC_ReadData32(CRC_TypeDef *CRCx) +__STATIC_INLINE uint32_t LL_CRC_ReadData32(const CRC_TypeDef *CRCx) { return (uint32_t)(READ_REG(CRCx->DR)); } @@ -200,5 +199,3 @@ ErrorStatus LL_CRC_DeInit(CRC_TypeDef *CRCx); #endif #endif /* STM32F1xx_LL_CRC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_dac.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_dac.h index 6aee1b3..3e17bbf 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_dac.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_dac.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -474,12 +473,10 @@ typedef struct * @arg @ref LL_DAC_RESOLUTION_8B * @retval DAC conversion data (unit: digital value) */ -#define __LL_DAC_CALC_VOLTAGE_TO_DATA(__VREFANALOG_VOLTAGE__,\ - __DAC_VOLTAGE__,\ - __DAC_RESOLUTION__) \ -((__DAC_VOLTAGE__) * __LL_DAC_DIGITAL_SCALE(__DAC_RESOLUTION__) \ - / (__VREFANALOG_VOLTAGE__) \ -) +#define __LL_DAC_CALC_VOLTAGE_TO_DATA(__VREFANALOG_VOLTAGE__, __DAC_VOLTAGE__, __DAC_RESOLUTION__) \ + ((__DAC_VOLTAGE__) * __LL_DAC_DIGITAL_SCALE(__DAC_RESOLUTION__) \ + / (__VREFANALOG_VOLTAGE__) \ + ) /** * @} @@ -494,6 +491,7 @@ typedef struct /** @defgroup DAC_LL_Exported_Functions DAC Exported Functions * @{ */ + /** * @brief Set the conversion trigger source for the selected DAC channel. * @note For conversion trigger source to be effective, DAC trigger @@ -513,7 +511,7 @@ typedef struct * @arg @ref LL_DAC_TRIG_EXT_TIM2_TRGO * @arg @ref LL_DAC_TRIG_EXT_TIM3_TRGO * @arg @ref LL_DAC_TRIG_EXT_TIM4_TRGO - * @arg @ref LL_DAC_TRIG_EXT_TIM5_TRGO + * @arg @ref LL_DAC_TRIG_EXT_TIM5_TRGO * @arg @ref LL_DAC_TRIG_EXT_TIM6_TRGO * @arg @ref LL_DAC_TRIG_EXT_TIM7_TRGO * @arg @ref LL_DAC_TRIG_EXT_TIM15_TRGO @@ -544,13 +542,13 @@ __STATIC_INLINE void LL_DAC_SetTriggerSource(DAC_TypeDef *DACx, uint32_t DAC_Cha * @arg @ref LL_DAC_TRIG_EXT_TIM2_TRGO * @arg @ref LL_DAC_TRIG_EXT_TIM3_TRGO * @arg @ref LL_DAC_TRIG_EXT_TIM4_TRGO - * @arg @ref LL_DAC_TRIG_EXT_TIM5_TRGO + * @arg @ref LL_DAC_TRIG_EXT_TIM5_TRGO * @arg @ref LL_DAC_TRIG_EXT_TIM6_TRGO * @arg @ref LL_DAC_TRIG_EXT_TIM7_TRGO * @arg @ref LL_DAC_TRIG_EXT_TIM15_TRGO * @arg @ref LL_DAC_TRIG_EXT_EXTI_LINE9 */ -__STATIC_INLINE uint32_t LL_DAC_GetTriggerSource(DAC_TypeDef *DACx, uint32_t DAC_Channel) +__STATIC_INLINE uint32_t LL_DAC_GetTriggerSource(const DAC_TypeDef *DACx, uint32_t DAC_Channel) { return (uint32_t)(READ_BIT(DACx->CR, DAC_CR_TSEL1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)) >> (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) @@ -593,7 +591,7 @@ __STATIC_INLINE void LL_DAC_SetWaveAutoGeneration(DAC_TypeDef *DACx, uint32_t DA * @arg @ref LL_DAC_WAVE_AUTO_GENERATION_NOISE * @arg @ref LL_DAC_WAVE_AUTO_GENERATION_TRIANGLE */ -__STATIC_INLINE uint32_t LL_DAC_GetWaveAutoGeneration(DAC_TypeDef *DACx, uint32_t DAC_Channel) +__STATIC_INLINE uint32_t LL_DAC_GetWaveAutoGeneration(const DAC_TypeDef *DACx, uint32_t DAC_Channel) { return (uint32_t)(READ_BIT(DACx->CR, DAC_CR_WAVE1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)) >> (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) @@ -659,7 +657,7 @@ __STATIC_INLINE void LL_DAC_SetWaveNoiseLFSR(DAC_TypeDef *DACx, uint32_t DAC_Cha * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS10_0 * @arg @ref LL_DAC_NOISE_LFSR_UNMASK_BITS11_0 */ -__STATIC_INLINE uint32_t LL_DAC_GetWaveNoiseLFSR(DAC_TypeDef *DACx, uint32_t DAC_Channel) +__STATIC_INLINE uint32_t LL_DAC_GetWaveNoiseLFSR(const DAC_TypeDef *DACx, uint32_t DAC_Channel) { return (uint32_t)(READ_BIT(DACx->CR, DAC_CR_MAMP1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)) >> (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) @@ -726,7 +724,7 @@ __STATIC_INLINE void LL_DAC_SetWaveTriangleAmplitude(DAC_TypeDef *DACx, uint32_t * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_2047 * @arg @ref LL_DAC_TRIANGLE_AMPLITUDE_4095 */ -__STATIC_INLINE uint32_t LL_DAC_GetWaveTriangleAmplitude(DAC_TypeDef *DACx, uint32_t DAC_Channel) +__STATIC_INLINE uint32_t LL_DAC_GetWaveTriangleAmplitude(const DAC_TypeDef *DACx, uint32_t DAC_Channel) { return (uint32_t)(READ_BIT(DACx->CR, DAC_CR_MAMP1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)) >> (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) @@ -765,7 +763,7 @@ __STATIC_INLINE void LL_DAC_SetOutputBuffer(DAC_TypeDef *DACx, uint32_t DAC_Chan * @arg @ref LL_DAC_OUTPUT_BUFFER_ENABLE * @arg @ref LL_DAC_OUTPUT_BUFFER_DISABLE */ -__STATIC_INLINE uint32_t LL_DAC_GetOutputBuffer(DAC_TypeDef *DACx, uint32_t DAC_Channel) +__STATIC_INLINE uint32_t LL_DAC_GetOutputBuffer(const DAC_TypeDef *DACx, uint32_t DAC_Channel) { return (uint32_t)(READ_BIT(DACx->CR, DAC_CR_BOFF1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)) >> (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK) @@ -827,7 +825,7 @@ __STATIC_INLINE void LL_DAC_DisableDMAReq(DAC_TypeDef *DACx, uint32_t DAC_Channe * @arg @ref LL_DAC_CHANNEL_2 * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_DAC_IsDMAReqEnabled(DAC_TypeDef *DACx, uint32_t DAC_Channel) +__STATIC_INLINE uint32_t LL_DAC_IsDMAReqEnabled(const DAC_TypeDef *DACx, uint32_t DAC_Channel) { return ((READ_BIT(DACx->CR, DAC_CR_DMAEN1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)) @@ -866,7 +864,7 @@ __STATIC_INLINE uint32_t LL_DAC_IsDMAReqEnabled(DAC_TypeDef *DACx, uint32_t DAC_ * @arg @ref LL_DAC_DMA_REG_DATA_8BITS_RIGHT_ALIGNED * @retval DAC register address */ -__STATIC_INLINE uint32_t LL_DAC_DMA_GetRegAddr(DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t Register) +__STATIC_INLINE uint32_t LL_DAC_DMA_GetRegAddr(const DAC_TypeDef *DACx, uint32_t DAC_Channel, uint32_t Register) { /* Retrieve address of register DHR12Rx, DHR12Lx or DHR8Rx depending on */ /* DAC channel selected. */ @@ -927,7 +925,7 @@ __STATIC_INLINE void LL_DAC_Disable(DAC_TypeDef *DACx, uint32_t DAC_Channel) * @arg @ref LL_DAC_CHANNEL_2 * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_DAC_IsEnabled(DAC_TypeDef *DACx, uint32_t DAC_Channel) +__STATIC_INLINE uint32_t LL_DAC_IsEnabled(const DAC_TypeDef *DACx, uint32_t DAC_Channel) { return ((READ_BIT(DACx->CR, DAC_CR_EN1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)) @@ -985,7 +983,7 @@ __STATIC_INLINE void LL_DAC_DisableTrigger(DAC_TypeDef *DACx, uint32_t DAC_Chann * @arg @ref LL_DAC_CHANNEL_2 * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_DAC_IsTriggerEnabled(DAC_TypeDef *DACx, uint32_t DAC_Channel) +__STATIC_INLINE uint32_t LL_DAC_IsTriggerEnabled(const DAC_TypeDef *DACx, uint32_t DAC_Channel) { return ((READ_BIT(DACx->CR, DAC_CR_TEN1 << (DAC_Channel & DAC_CR_CHX_BITOFFSET_MASK)) @@ -1158,7 +1156,7 @@ __STATIC_INLINE void LL_DAC_ConvertDualData8RightAligned(DAC_TypeDef *DACx, uint * @arg @ref LL_DAC_CHANNEL_2 * @retval Value between Min_Data=0x000 and Max_Data=0xFFF */ -__STATIC_INLINE uint32_t LL_DAC_RetrieveOutputData(DAC_TypeDef *DACx, uint32_t DAC_Channel) +__STATIC_INLINE uint32_t LL_DAC_RetrieveOutputData(const DAC_TypeDef *DACx, uint32_t DAC_Channel) { __IO uint32_t const *preg = __DAC_PTR_REG_OFFSET(DACx->DOR1, (DAC_Channel >> DAC_REG_DORX_REGOFFSET_BITOFFSET_POS) & DAC_REG_DORX_REGOFFSET_MASK_POSBIT0); @@ -1181,7 +1179,7 @@ __STATIC_INLINE uint32_t LL_DAC_RetrieveOutputData(DAC_TypeDef *DACx, uint32_t D * @param DACx DAC instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_DAC_IsActiveFlag_DMAUDR1(DAC_TypeDef *DACx) +__STATIC_INLINE uint32_t LL_DAC_IsActiveFlag_DMAUDR1(const DAC_TypeDef *DACx) { return ((READ_BIT(DACx->SR, LL_DAC_FLAG_DMAUDR1) == (LL_DAC_FLAG_DMAUDR1)) ? 1UL : 0UL); } @@ -1194,7 +1192,7 @@ __STATIC_INLINE uint32_t LL_DAC_IsActiveFlag_DMAUDR1(DAC_TypeDef *DACx) * @param DACx DAC instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_DAC_IsActiveFlag_DMAUDR2(DAC_TypeDef *DACx) +__STATIC_INLINE uint32_t LL_DAC_IsActiveFlag_DMAUDR2(const DAC_TypeDef *DACx) { return ((READ_BIT(DACx->SR, LL_DAC_FLAG_DMAUDR2) == (LL_DAC_FLAG_DMAUDR2)) ? 1UL : 0UL); } @@ -1293,7 +1291,7 @@ __STATIC_INLINE void LL_DAC_DisableIT_DMAUDR2(DAC_TypeDef *DACx) * @param DACx DAC instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_DAC_IsEnabledIT_DMAUDR1(DAC_TypeDef *DACx) +__STATIC_INLINE uint32_t LL_DAC_IsEnabledIT_DMAUDR1(const DAC_TypeDef *DACx) { return ((READ_BIT(DACx->CR, LL_DAC_IT_DMAUDRIE1) == (LL_DAC_IT_DMAUDRIE1)) ? 1UL : 0UL); } @@ -1306,7 +1304,7 @@ __STATIC_INLINE uint32_t LL_DAC_IsEnabledIT_DMAUDR1(DAC_TypeDef *DACx) * @param DACx DAC instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_DAC_IsEnabledIT_DMAUDR2(DAC_TypeDef *DACx) +__STATIC_INLINE uint32_t LL_DAC_IsEnabledIT_DMAUDR2(const DAC_TypeDef *DACx) { return ((READ_BIT(DACx->CR, LL_DAC_IT_DMAUDRIE2) == (LL_DAC_IT_DMAUDRIE2)) ? 1UL : 0UL); } @@ -1321,8 +1319,8 @@ __STATIC_INLINE uint32_t LL_DAC_IsEnabledIT_DMAUDR2(DAC_TypeDef *DACx) * @{ */ -ErrorStatus LL_DAC_DeInit(DAC_TypeDef *DACx); -ErrorStatus LL_DAC_Init(DAC_TypeDef *DACx, uint32_t DAC_Channel, LL_DAC_InitTypeDef *DAC_InitStruct); +ErrorStatus LL_DAC_DeInit(const DAC_TypeDef *DACx); +ErrorStatus LL_DAC_Init(DAC_TypeDef *DACx, uint32_t DAC_Channel, const LL_DAC_InitTypeDef *DAC_InitStruct); void LL_DAC_StructInit(LL_DAC_InitTypeDef *DAC_InitStruct); /** @@ -1349,5 +1347,3 @@ void LL_DAC_StructInit(LL_DAC_InitTypeDef *DAC_InitStruct); #endif #endif /* STM32F1xx_LL_DAC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_dma.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_dma.h index e205066..9c526e8 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_dma.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_dma.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -908,7 +907,7 @@ __STATIC_INLINE uint32_t LL_DMA_GetDataLength(DMA_TypeDef *DMAx, uint32_t Channe /** * @brief Configure the Source and Destination addresses. * @note This API must not be called when the DMA channel is enabled. - * @note Each IP using DMA provides an API to get directly the register adress (LL_PPP_DMA_GetRegAddr). + * @note Each IP using DMA provides an API to get directly the register address (LL_PPP_DMA_GetRegAddr). * @rmtoll CPAR PA LL_DMA_ConfigAddresses\n * CMAR MA LL_DMA_ConfigAddresses * @param DMAx DMAx Instance @@ -1957,4 +1956,3 @@ void LL_DMA_StructInit(LL_DMA_InitTypeDef *DMA_InitStruct); #endif /* __STM32F1xx_LL_DMA_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_exti.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_exti.h index f0be0ad..48a42f0 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_exti.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_exti.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -885,4 +884,3 @@ void LL_EXTI_StructInit(LL_EXTI_InitTypeDef *EXTI_InitStruct); #endif /* STM32F1xx_LL_EXTI_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h index 64968f4..abd4788 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -93,7 +92,7 @@ extern "C" { #define IS_FSMC_NORSRAM_EXTENDED_DEVICE(__INSTANCE__) ((__INSTANCE__) == FSMC_NORSRAM_EXTENDED_DEVICE) #endif /* FSMC_BANK1 */ -#if defined(FSMC_BANK3) +#if defined(FSMC_BANK3) #define IS_FSMC_NAND_BANK(__BANK__) ((__BANK__) == FSMC_NAND_BANK3) #define IS_FSMC_WAIT_FEATURE(__FEATURE__) (((__FEATURE__) == FSMC_NAND_PCC_WAIT_FEATURE_DISABLE) || \ @@ -288,7 +287,7 @@ typedef struct delay between ALE low and RE low. This parameter can be a number between Min_Data = 0 and Max_Data = 255 */ } FSMC_NAND_InitTypeDef; -#endif +#endif /* FSMC_BANK3 */ #if defined(FSMC_BANK3) || defined(FSMC_BANK4) /** @@ -340,7 +339,7 @@ typedef struct delay between ALE low and RE low. This parameter can be a number between Min_Data = 0 and Max_Data = 255 */ }FSMC_PCCARD_InitTypeDef; -#endif +#endif /* FSMC_BANK4 */ /** * @} @@ -551,7 +550,7 @@ typedef struct */ #if defined(FSMC_BANK4) #define FSMC_PCR_MEMORY_TYPE_PCCARD (0x00000000U) -#endif +#endif /* FSMC_BANK4 */ #define FSMC_PCR_MEMORY_TYPE_NAND (0x00000008U) /** * @} @@ -591,7 +590,7 @@ typedef struct /** * @} */ -#endif /* FSMC_BANK3 */ +#endif /* FSMC_BANK3 || FSMC_Bank4 */ /** @defgroup FSMC_LL_Interrupt_definition FSMC Low Layer Interrupt definition @@ -601,7 +600,7 @@ typedef struct #define FSMC_IT_RISING_EDGE (0x00000008U) #define FSMC_IT_LEVEL (0x00000010U) #define FSMC_IT_FALLING_EDGE (0x00000020U) -#endif /* FSMC_BANK3 */ +#endif /* FSMC_BANK3 || FSMC_Bank4 */ /** * @} */ @@ -614,7 +613,7 @@ typedef struct #define FSMC_FLAG_LEVEL (0x00000002U) #define FSMC_FLAG_FALLING_EDGE (0x00000004U) #define FSMC_FLAG_FEMPT (0x00000040U) -#endif /* FSMC_BANK3 */ +#endif /* FSMC_BANK3 || FSMC_Bank4 */ /** * @} */ @@ -687,7 +686,7 @@ typedef struct /** * @} */ -#endif +#endif /* FSMC_BANK3 */ #if defined(FSMC_BANK4) /** @defgroup FSMC_LL_PCCARD_Macros FMC PCCARD Macros @@ -961,5 +960,3 @@ HAL_StatusTypeDef FSMC_PCCARD_DeInit(FSMC_PCCARD_TypeDef *Device); #endif #endif /* STM32F1xx_LL_FSMC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h index c6f41d5..7058686 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -898,7 +897,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_SPI1(void) } /** - * @brief Check if SPI1 has been remaped or not + * @brief Check if SPI1 has been remapped or not * @rmtoll MAPR SPI1_REMAP LL_GPIO_AF_IsEnabledRemap_SPI1 * @retval State of bit (1 or 0). */ @@ -930,7 +929,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_I2C1(void) } /** - * @brief Check if I2C1 has been remaped or not + * @brief Check if I2C1 has been remapped or not * @rmtoll MAPR I2C1_REMAP LL_GPIO_AF_IsEnabledRemap_I2C1 * @retval State of bit (1 or 0). */ @@ -962,7 +961,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_USART1(void) } /** - * @brief Check if USART1 has been remaped or not + * @brief Check if USART1 has been remapped or not * @rmtoll MAPR USART1_REMAP LL_GPIO_AF_IsEnabledRemap_USART1 * @retval State of bit (1 or 0). */ @@ -994,7 +993,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_USART2(void) } /** - * @brief Check if USART2 has been remaped or not + * @brief Check if USART2 has been remapped or not * @rmtoll MAPR USART2_REMAP LL_GPIO_AF_IsEnabledRemap_USART2 * @retval State of bit (1 or 0). */ @@ -1176,7 +1175,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_TIM4(void) } /** - * @brief Check if TIM4 has been remaped or not + * @brief Check if TIM4 has been remapped or not * @rmtoll MAPR TIM4_REMAP LL_GPIO_AF_IsEnabledRemap_TIM4 * @retval State of bit (1 or 0). */ @@ -1251,7 +1250,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_PD01(void) } /** - * @brief Check if PD01 has been remaped or not + * @brief Check if PD01 has been remapped or not * @rmtoll MAPR PD01_REMAP LL_GPIO_AF_IsEnabledRemap_PD01 * @retval State of bit (1 or 0). */ @@ -1286,7 +1285,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_TIM5CH4(void) } /** - * @brief Check if TIM5CH4 has been remaped or not + * @brief Check if TIM5CH4 has been remapped or not * @rmtoll MAPR TIM5CH4_IREMAP LL_GPIO_AF_IsEnabledRemap_TIM5CH4 * @retval State of bit (1 or 0). */ @@ -1322,7 +1321,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_ETH(void) } /** - * @brief Check if ETH has been remaped or not + * @brief Check if ETH has been remapped or not * @rmtoll MAPR ETH_REMAP LL_GPIO_AF_IsEnabledRemap_ETH * @retval State of bit (1 or 0). */ @@ -1358,7 +1357,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_CAN2(void) } /** - * @brief Check if CAN2 has been remaped or not + * @brief Check if CAN2 has been remapped or not * @rmtoll MAPR CAN2_REMAP LL_GPIO_AF_IsEnabledRemap_CAN2 * @retval State of bit (1 or 0). */ @@ -1418,7 +1417,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_ADC1_ETRGINJ(void) } /** - * @brief Check if ADC1_ETRGINJ has been remaped or not + * @brief Check if ADC1_ETRGINJ has been remapped or not * @rmtoll MAPR ADC1_ETRGINJ_REMAP LL_GPIO_AF_IsEnabledRemap_ADC1_ETRGINJ * @retval State of bit (1 or 0). */ @@ -1452,7 +1451,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_ADC1_ETRGREG(void) } /** - * @brief Check if ADC1_ETRGREG has been remaped or not + * @brief Check if ADC1_ETRGREG has been remapped or not * @rmtoll MAPR ADC1_ETRGREG_REMAP LL_GPIO_AF_IsEnabledRemap_ADC1_ETRGREG * @retval State of bit (1 or 0). */ @@ -1487,7 +1486,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_ADC2_ETRGINJ(void) } /** - * @brief Check if ADC2_ETRGINJ has been remaped or not + * @brief Check if ADC2_ETRGINJ has been remapped or not * @rmtoll MAPR ADC2_ETRGINJ_REMAP LL_GPIO_AF_IsEnabledRemap_ADC2_ETRGINJ * @retval State of bit (1 or 0). */ @@ -1522,7 +1521,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_ADC2_ETRGREG(void) } /** - * @brief Check if ADC2_ETRGREG has been remaped or not + * @brief Check if ADC2_ETRGREG has been remapped or not * @rmtoll MAPR ADC2_ETRGREG_REMAP LL_GPIO_AF_IsEnabledRemap_ADC2_ETRGREG * @retval State of bit (1 or 0). */ @@ -1540,8 +1539,7 @@ __STATIC_INLINE uint32_t LL_GPIO_AF_IsEnabledRemap_ADC2_ETRGREG(void) */ __STATIC_INLINE void LL_GPIO_AF_EnableRemap_SWJ(void) { - CLEAR_BIT(AFIO->MAPR,AFIO_MAPR_SWJ_CFG); - SET_BIT(AFIO->MAPR, AFIO_MAPR_SWJ_CFG_RESET); + MODIFY_REG(AFIO->MAPR, AFIO_MAPR_SWJ_CFG, AFIO_MAPR_SWJ_CFG_RESET); } /** @@ -1552,8 +1550,7 @@ __STATIC_INLINE void LL_GPIO_AF_EnableRemap_SWJ(void) */ __STATIC_INLINE void LL_GPIO_AF_Remap_SWJ_NONJTRST(void) { - CLEAR_BIT(AFIO->MAPR,AFIO_MAPR_SWJ_CFG); - SET_BIT(AFIO->MAPR, AFIO_MAPR_SWJ_CFG_NOJNTRST); + MODIFY_REG(AFIO->MAPR, AFIO_MAPR_SWJ_CFG, AFIO_MAPR_SWJ_CFG_NOJNTRST); } /** @@ -1564,8 +1561,7 @@ __STATIC_INLINE void LL_GPIO_AF_Remap_SWJ_NONJTRST(void) */ __STATIC_INLINE void LL_GPIO_AF_Remap_SWJ_NOJTAG(void) { - CLEAR_BIT(AFIO->MAPR,AFIO_MAPR_SWJ_CFG); - SET_BIT(AFIO->MAPR, AFIO_MAPR_SWJ_CFG_JTAGDISABLE); + MODIFY_REG(AFIO->MAPR, AFIO_MAPR_SWJ_CFG, AFIO_MAPR_SWJ_CFG_JTAGDISABLE); } /** @@ -1576,8 +1572,7 @@ __STATIC_INLINE void LL_GPIO_AF_Remap_SWJ_NOJTAG(void) */ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_SWJ(void) { - CLEAR_BIT(AFIO->MAPR,AFIO_MAPR_SWJ_CFG); - SET_BIT(AFIO->MAPR, AFIO_MAPR_SWJ_CFG_DISABLE); + MODIFY_REG(AFIO->MAPR, AFIO_MAPR_SWJ_CFG, AFIO_MAPR_SWJ_CFG_DISABLE); } #if defined(AFIO_MAPR_SPI3_REMAP) @@ -1607,7 +1602,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_SPI3(void) } /** - * @brief Check if SPI3 has been remaped or not + * @brief Check if SPI3 has been remapped or not * @rmtoll MAPR SPI3_REMAP LL_GPIO_AF_IsEnabledRemap_SPI3_REMAP * @retval State of bit (1 or 0). */ @@ -1696,7 +1691,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_TIM9(void) } /** - * @brief Check if TIM9_CH1 and TIM9_CH2 have been remaped or not + * @brief Check if TIM9_CH1 and TIM9_CH2 have been remapped or not * @rmtoll MAPR2 TIM9_REMAP LL_GPIO_AF_IsEnabledRemap_TIM9 * @retval State of bit (1 or 0). */ @@ -1731,7 +1726,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_TIM10(void) } /** - * @brief Check if TIM10_CH1 has been remaped or not + * @brief Check if TIM10_CH1 has been remapped or not * @rmtoll MAPR2 TIM10_REMAP LL_GPIO_AF_IsEnabledRemap_TIM10 * @retval State of bit (1 or 0). */ @@ -1765,7 +1760,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_TIM11(void) } /** - * @brief Check if TIM11_CH1 has been remaped or not + * @brief Check if TIM11_CH1 has been remapped or not * @rmtoll MAPR2 TIM11_REMAP LL_GPIO_AF_IsEnabledRemap_TIM11 * @retval State of bit (1 or 0). */ @@ -1800,7 +1795,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_TIM13(void) } /** - * @brief Check if TIM13_CH1 has been remaped or not + * @brief Check if TIM13_CH1 has been remapped or not * @rmtoll MAPR2 TIM13_REMAP LL_GPIO_AF_IsEnabledRemap_TIM13 * @retval State of bit (1 or 0). */ @@ -1835,7 +1830,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_TIM14(void) } /** - * @brief Check if TIM14_CH1 has been remaped or not + * @brief Check if TIM14_CH1 has been remapped or not * @rmtoll MAPR2 TIM14_REMAP LL_GPIO_AF_IsEnabledRemap_TIM14 * @retval State of bit (1 or 0). */ @@ -1894,7 +1889,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_TIM15(void) } /** - * @brief Check if TIM15_CH1 has been remaped or not + * @brief Check if TIM15_CH1 has been remapped or not * @rmtoll MAPR2 TIM15_REMAP LL_GPIO_AF_IsEnabledRemap_TIM15 * @retval State of bit (1 or 0). */ @@ -1929,7 +1924,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_TIM16(void) } /** - * @brief Check if TIM16_CH1 has been remaped or not + * @brief Check if TIM16_CH1 has been remapped or not * @rmtoll MAPR2 TIM16_REMAP LL_GPIO_AF_IsEnabledRemap_TIM16 * @retval State of bit (1 or 0). */ @@ -1964,7 +1959,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_TIM17(void) } /** - * @brief Check if TIM17_CH1 has been remaped or not + * @brief Check if TIM17_CH1 has been remapped or not * @rmtoll MAPR2 TIM17_REMAP LL_GPIO_AF_IsEnabledRemap_TIM17 * @retval State of bit (1 or 0). */ @@ -1999,7 +1994,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_CEC(void) } /** - * @brief Check if CEC has been remaped or not + * @brief Check if CEC has been remapped or not * @rmtoll MAPR2 CEC_REMAP LL_GPIO_AF_IsEnabledRemap_CEC * @retval State of bit (1 or 0). */ @@ -2034,7 +2029,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_TIM1DMA(void) } /** - * @brief Check if TIM1DMA has been remaped or not + * @brief Check if TIM1DMA has been remapped or not * @rmtoll MAPR2 TIM1_DMA_REMAP LL_GPIO_AF_IsEnabledRemap_TIM1DMA * @retval State of bit (1 or 0). */ @@ -2069,7 +2064,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_TIM67DACDMA(void) } /** - * @brief Check if TIM67DACDMA has been remaped or not + * @brief Check if TIM67DACDMA has been remapped or not * @rmtoll MAPR2 TIM76_DAC_DMA_REMAP LL_GPIO_AF_IsEnabledRemap_TIM67DACDMA * @retval State of bit (1 or 0). */ @@ -2106,7 +2101,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_TIM12(void) } /** - * @brief Check if TIM12_CH1 has been remaped or not + * @brief Check if TIM12_CH1 has been remapped or not * @rmtoll MAPR2 TIM12_REMAP LL_GPIO_AF_IsEnabledRemap_TIM12 * @retval State of bit (1 or 0). */ @@ -2151,7 +2146,7 @@ __STATIC_INLINE void LL_GPIO_AF_DisableRemap_MISC(void) } /** - * @brief Check if MISC has been remaped or not + * @brief Check if MISC has been remapped or not * @rmtoll MAPR2 MISC_REMAP LL_GPIO_AF_IsEnabledRemap_MISC * @retval State of bit (1 or 0). */ @@ -2344,4 +2339,3 @@ void LL_GPIO_StructInit(LL_GPIO_InitTypeDef *GPIO_InitStruct); #endif /* STM32F1xx_LL_GPIO_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_i2c.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_i2c.h index e865505..e00e918 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_i2c.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_i2c.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -241,7 +240,7 @@ typedef struct * @} */ -/** @defgroup I2C_LL_EM_Exported_Macros_Helper Exported_Macros_Helper +/** @defgroup I2C_LL_EM_Exported_Macros_Helper Exported Macros Helper * @{ */ @@ -762,7 +761,7 @@ __STATIC_INLINE void LL_I2C_ConfigSpeed(I2C_TypeDef *I2Cx, uint32_t PeriphClock, /** * @brief Configure peripheral mode. - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @rmtoll CR1 SMBUS LL_I2C_SetMode\n * CR1 SMBTYPE LL_I2C_SetMode\n @@ -782,7 +781,7 @@ __STATIC_INLINE void LL_I2C_SetMode(I2C_TypeDef *I2Cx, uint32_t PeripheralMode) /** * @brief Get peripheral mode. - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @rmtoll CR1 SMBUS LL_I2C_GetMode\n * CR1 SMBTYPE LL_I2C_GetMode\n @@ -801,7 +800,7 @@ __STATIC_INLINE uint32_t LL_I2C_GetMode(I2C_TypeDef *I2Cx) /** * @brief Enable SMBus alert (Host or Device mode) - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @note SMBus Device mode: * - SMBus Alert pin is drived low and @@ -819,7 +818,7 @@ __STATIC_INLINE void LL_I2C_EnableSMBusAlert(I2C_TypeDef *I2Cx) /** * @brief Disable SMBus alert (Host or Device mode) - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @note SMBus Device mode: * - SMBus Alert pin is not drived (can be used as a standard GPIO) and @@ -837,7 +836,7 @@ __STATIC_INLINE void LL_I2C_DisableSMBusAlert(I2C_TypeDef *I2Cx) /** * @brief Check if SMBus alert (Host or Device mode) is enabled or disabled. - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @rmtoll CR1 ALERT LL_I2C_IsEnabledSMBusAlert * @param I2Cx I2C Instance. @@ -850,7 +849,7 @@ __STATIC_INLINE uint32_t LL_I2C_IsEnabledSMBusAlert(I2C_TypeDef *I2Cx) /** * @brief Enable SMBus Packet Error Calculation (PEC). - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @rmtoll CR1 ENPEC LL_I2C_EnableSMBusPEC * @param I2Cx I2C Instance. @@ -863,7 +862,7 @@ __STATIC_INLINE void LL_I2C_EnableSMBusPEC(I2C_TypeDef *I2Cx) /** * @brief Disable SMBus Packet Error Calculation (PEC). - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @rmtoll CR1 ENPEC LL_I2C_DisableSMBusPEC * @param I2Cx I2C Instance. @@ -876,7 +875,7 @@ __STATIC_INLINE void LL_I2C_DisableSMBusPEC(I2C_TypeDef *I2Cx) /** * @brief Check if SMBus Packet Error Calculation (PEC) is enabled or disabled. - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @rmtoll CR1 ENPEC LL_I2C_IsEnabledSMBusPEC * @param I2Cx I2C Instance. @@ -1059,7 +1058,7 @@ __STATIC_INLINE uint32_t LL_I2C_IsEnabledIT_BUF(I2C_TypeDef *I2Cx) /** * @brief Enable Error interrupts. - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @note Any of these errors will generate interrupt : * Bus Error detection (BERR) @@ -1080,7 +1079,7 @@ __STATIC_INLINE void LL_I2C_EnableIT_ERR(I2C_TypeDef *I2Cx) /** * @brief Disable Error interrupts. - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @note Any of these errors will generate interrupt : * Bus Error detection (BERR) @@ -1263,7 +1262,7 @@ __STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_OVR(I2C_TypeDef *I2Cx) /** * @brief Indicate the status of SMBus PEC error flag in reception. - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @rmtoll SR1 PECERR LL_I2C_IsActiveSMBusFlag_PECERR * @param I2Cx I2C Instance. @@ -1276,7 +1275,7 @@ __STATIC_INLINE uint32_t LL_I2C_IsActiveSMBusFlag_PECERR(I2C_TypeDef *I2Cx) /** * @brief Indicate the status of SMBus Timeout detection flag. - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @rmtoll SR1 TIMEOUT LL_I2C_IsActiveSMBusFlag_TIMEOUT * @param I2Cx I2C Instance. @@ -1289,7 +1288,7 @@ __STATIC_INLINE uint32_t LL_I2C_IsActiveSMBusFlag_TIMEOUT(I2C_TypeDef *I2Cx) /** * @brief Indicate the status of SMBus alert flag. - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @rmtoll SR1 SMBALERT LL_I2C_IsActiveSMBusFlag_ALERT * @param I2Cx I2C Instance. @@ -1328,7 +1327,7 @@ __STATIC_INLINE uint32_t LL_I2C_IsActiveFlag_DUAL(I2C_TypeDef *I2Cx) /** * @brief Indicate the status of SMBus Host address reception (Slave mode). - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @note RESET: No SMBus Host address * SET: SMBus Host address received. @@ -1344,7 +1343,7 @@ __STATIC_INLINE uint32_t LL_I2C_IsActiveSMBusFlag_SMBHOST(I2C_TypeDef *I2Cx) /** * @brief Indicate the status of SMBus Device default address reception (Slave mode). - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @note RESET: No SMBus Device default address * SET: SMBus Device default address received. @@ -1476,7 +1475,7 @@ __STATIC_INLINE void LL_I2C_ClearSMBusFlag_PECERR(I2C_TypeDef *I2Cx) /** * @brief Clear SMBus Timeout detection flag. - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @rmtoll SR1 TIMEOUT LL_I2C_ClearSMBusFlag_TIMEOUT * @param I2Cx I2C Instance. @@ -1489,7 +1488,7 @@ __STATIC_INLINE void LL_I2C_ClearSMBusFlag_TIMEOUT(I2C_TypeDef *I2Cx) /** * @brief Clear SMBus Alert flag. - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @rmtoll SR1 SMBALERT LL_I2C_ClearSMBusFlag_ALERT * @param I2Cx I2C Instance. @@ -1667,7 +1666,7 @@ __STATIC_INLINE uint32_t LL_I2C_IsEnabledLastDMA(I2C_TypeDef *I2Cx) /** * @brief Enable transfer or internal comparison of the SMBus Packet Error byte (transmission or reception mode). - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @note This feature is cleared by hardware when the PEC byte is transferred or compared, * or by a START or STOP condition, it is also cleared by software. @@ -1682,7 +1681,7 @@ __STATIC_INLINE void LL_I2C_EnableSMBusPECCompare(I2C_TypeDef *I2Cx) /** * @brief Disable transfer or internal comparison of the SMBus Packet Error byte (transmission or reception mode). - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @rmtoll CR1 PEC LL_I2C_DisableSMBusPECCompare * @param I2Cx I2C Instance. @@ -1695,7 +1694,7 @@ __STATIC_INLINE void LL_I2C_DisableSMBusPECCompare(I2C_TypeDef *I2Cx) /** * @brief Check if the SMBus Packet Error byte transfer or internal comparison is requested or not. - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @rmtoll CR1 PEC LL_I2C_IsEnabledSMBusPECCompare * @param I2Cx I2C Instance. @@ -1708,7 +1707,7 @@ __STATIC_INLINE uint32_t LL_I2C_IsEnabledSMBusPECCompare(I2C_TypeDef *I2Cx) /** * @brief Get the SMBus Packet Error byte calculated. - * @note Macro @ref IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not + * @note Macro IS_SMBUS_ALL_INSTANCE(I2Cx) can be used to check whether or not * SMBus feature is supported by the I2Cx Instance. * @rmtoll SR2 PEC LL_I2C_GetSMBusPEC * @param I2Cx I2C Instance. @@ -1781,4 +1780,3 @@ void LL_I2C_StructInit(LL_I2C_InitTypeDef *I2C_InitStruct); #endif /* __STM32F1xx_LL_I2C_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_iwdg.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_iwdg.h index 25a79e7..ea718ec 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_iwdg.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_iwdg.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -301,5 +300,3 @@ __STATIC_INLINE uint32_t LL_IWDG_IsReady(IWDG_TypeDef *IWDGx) #endif #endif /* STM32F1xx_LL_IWDG_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_pwr.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_pwr.h index caad8b3..f912a16 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_pwr.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_pwr.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -436,5 +435,3 @@ ErrorStatus LL_PWR_DeInit(void); #endif #endif /* __STM32F1xx_LL_PWR_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h index 804c75f..97a6390 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rcc.h @@ -6,14 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. ****************************************************************************** */ @@ -2309,4 +2307,3 @@ uint32_t LL_RCC_GetADCClockFreq(uint32_t ADCxSource); #endif /* __STM32F1xx_LL_RCC_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rtc.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rtc.h index df36987..d943686 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rtc.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_rtc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -999,5 +998,3 @@ ErrorStatus LL_RTC_ALARM_SetCounter(RTC_TypeDef *RTCx, uint32_t AlarmCounter); #endif #endif /* __STM32F1xx_LL_RTC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_sdmmc.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_sdmmc.h index b394e1b..1e0ad5e 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_sdmmc.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_sdmmc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2018 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1059,8 +1058,14 @@ uint32_t SDIO_GetFIFOCount(SDIO_TypeDef *SDIOx); /* SDMMC Cards mode management functions */ HAL_StatusTypeDef SDIO_SetSDMMCReadWaitMode(SDIO_TypeDef *SDIOx, uint32_t SDIO_ReadWaitMode); +/** + * @} + */ /* SDMMC Commands management functions */ +/** @addtogroup HAL_SDMMC_LL_Group4 + * @{ + */ uint32_t SDMMC_CmdBlockLength(SDIO_TypeDef *SDIOx, uint32_t BlockSize); uint32_t SDMMC_CmdReadSingleBlock(SDIO_TypeDef *SDIOx, uint32_t ReadAdd); uint32_t SDMMC_CmdReadMultiBlock(SDIO_TypeDef *SDIOx, uint32_t ReadAdd); @@ -1081,13 +1086,26 @@ uint32_t SDMMC_CmdBusWidth(SDIO_TypeDef *SDIOx, uint32_t BusWidth); uint32_t SDMMC_CmdSendSCR(SDIO_TypeDef *SDIOx); uint32_t SDMMC_CmdSendCID(SDIO_TypeDef *SDIOx); uint32_t SDMMC_CmdSendCSD(SDIO_TypeDef *SDIOx, uint32_t Argument); -uint32_t SDMMC_CmdSendEXTCSD(SDIO_TypeDef *SDIOx, uint32_t Argument); uint32_t SDMMC_CmdSetRelAdd(SDIO_TypeDef *SDIOx, uint16_t *pRCA); +uint32_t SDMMC_CmdSetRelAddMmc(SDIO_TypeDef *SDIOx, uint16_t RCA); uint32_t SDMMC_CmdSendStatus(SDIO_TypeDef *SDIOx, uint32_t Argument); uint32_t SDMMC_CmdStatusRegister(SDIO_TypeDef *SDIOx); uint32_t SDMMC_CmdOpCondition(SDIO_TypeDef *SDIOx, uint32_t Argument); uint32_t SDMMC_CmdSwitch(SDIO_TypeDef *SDIOx, uint32_t Argument); +uint32_t SDMMC_CmdSendEXTCSD(SDIO_TypeDef *SDIOx, uint32_t Argument); +/** + * @} + */ +/* SDMMC Responses management functions *****************************************/ +/** @addtogroup HAL_SDMMC_LL_Group5 + * @{ + */ +uint32_t SDMMC_GetCmdResp1(SDIO_TypeDef *SDIOx, uint8_t SD_CMD, uint32_t Timeout); +uint32_t SDMMC_GetCmdResp2(SDIO_TypeDef *SDIOx); +uint32_t SDMMC_GetCmdResp3(SDIO_TypeDef *SDIOx); +uint32_t SDMMC_GetCmdResp6(SDIO_TypeDef *SDIOx, uint8_t SD_CMD, uint16_t *pRCA); +uint32_t SDMMC_GetCmdResp7(SDIO_TypeDef *SDIOx); /** * @} */ @@ -1111,5 +1129,3 @@ uint32_t SDMMC_CmdSwitch(SDIO_TypeDef *SDIOx, uint32_t Argument); #endif #endif /* STM32F1xx_LL_SDMMC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_spi.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_spi.h index 5b654d5..37e00b1 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_spi.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_spi.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1935,4 +1934,3 @@ void LL_I2S_ConfigPrescaler(SPI_TypeDef *SPIx, uint32_t PrescalerLinear, #endif /* STM32F1xx_LL_SPI_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_system.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_system.h index f62c1d2..0aba37b 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_system.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_system.h @@ -3,6 +3,18 @@ * @file stm32f1xx_ll_system.h * @author MCD Application Team * @brief Header file of SYSTEM LL module. + * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -16,17 +28,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Define to prevent recursive inclusion -------------------------------------*/ @@ -571,4 +572,4 @@ __STATIC_INLINE uint32_t LL_FLASH_IsHalfCycleAccessEnabled(void) #endif /* __STM32F1xx_LL_SYSTEM_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h index 8f8346d..f1bceb7 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_tim.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -914,6 +913,7 @@ typedef struct */ + /** * @} */ @@ -946,10 +946,6 @@ typedef struct * @} */ -/** @defgroup TIM_LL_EM_Exported_Macros Exported_Macros - * @{ - */ - /** * @brief HELPER macro calculating DTG[0:7] in the TIMx_BDTR register to achieve the requested dead time duration. * @note ex: @ref __LL_TIM_CALC_DEADTIME (80000000, @ref LL_TIM_GetClockDivision (), 120); @@ -983,7 +979,7 @@ typedef struct * @retval Prescaler value (between Min_Data=0 and Max_Data=65535) */ #define __LL_TIM_CALC_PSC(__TIMCLK__, __CNTCLK__) \ - (((__TIMCLK__) >= (__CNTCLK__)) ? (uint32_t)(((__TIMCLK__)/(__CNTCLK__)) - 1U) : 0U) + (((__TIMCLK__) >= (__CNTCLK__)) ? (uint32_t)((((__TIMCLK__) + (__CNTCLK__)/2U)/(__CNTCLK__)) - 1U) : 0U) /** * @brief HELPER macro calculating the auto-reload value to achieve the required output signal frequency. @@ -1037,11 +1033,6 @@ typedef struct ((uint32_t)(0x01U << (((__ICPSC__) >> 16U) >> TIM_CCMR1_IC1PSC_Pos))) -/** - * @} - */ - - /** * @} */ @@ -1082,7 +1073,7 @@ __STATIC_INLINE void LL_TIM_DisableCounter(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledCounter(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledCounter(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->CR1, TIM_CR1_CEN) == (TIM_CR1_CEN)) ? 1UL : 0UL); } @@ -1115,7 +1106,7 @@ __STATIC_INLINE void LL_TIM_DisableUpdateEvent(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval Inverted state of bit (0 or 1). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledUpdateEvent(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledUpdateEvent(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->CR1, TIM_CR1_UDIS) == (uint32_t)RESET) ? 1UL : 0UL); } @@ -1149,7 +1140,7 @@ __STATIC_INLINE void LL_TIM_SetUpdateSource(TIM_TypeDef *TIMx, uint32_t UpdateSo * @arg @ref LL_TIM_UPDATESOURCE_REGULAR * @arg @ref LL_TIM_UPDATESOURCE_COUNTER */ -__STATIC_INLINE uint32_t LL_TIM_GetUpdateSource(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_GetUpdateSource(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_URS)); } @@ -1176,7 +1167,7 @@ __STATIC_INLINE void LL_TIM_SetOnePulseMode(TIM_TypeDef *TIMx, uint32_t OnePulse * @arg @ref LL_TIM_ONEPULSEMODE_SINGLE * @arg @ref LL_TIM_ONEPULSEMODE_REPETITIVE */ -__STATIC_INLINE uint32_t LL_TIM_GetOnePulseMode(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_GetOnePulseMode(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_OPM)); } @@ -1220,7 +1211,7 @@ __STATIC_INLINE void LL_TIM_SetCounterMode(TIM_TypeDef *TIMx, uint32_t CounterMo * @arg @ref LL_TIM_COUNTERMODE_CENTER_DOWN * @arg @ref LL_TIM_COUNTERMODE_CENTER_UP_DOWN */ -__STATIC_INLINE uint32_t LL_TIM_GetCounterMode(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_GetCounterMode(const TIM_TypeDef *TIMx) { uint32_t counter_mode; @@ -1262,7 +1253,7 @@ __STATIC_INLINE void LL_TIM_DisableARRPreload(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledARRPreload(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledARRPreload(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->CR1, TIM_CR1_ARPE) == (TIM_CR1_ARPE)) ? 1UL : 0UL); } @@ -1299,7 +1290,7 @@ __STATIC_INLINE void LL_TIM_SetClockDivision(TIM_TypeDef *TIMx, uint32_t ClockDi * @arg @ref LL_TIM_CLOCKDIVISION_DIV2 * @arg @ref LL_TIM_CLOCKDIVISION_DIV4 */ -__STATIC_INLINE uint32_t LL_TIM_GetClockDivision(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_GetClockDivision(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_CKD)); } @@ -1322,7 +1313,7 @@ __STATIC_INLINE void LL_TIM_SetCounter(TIM_TypeDef *TIMx, uint32_t Counter) * @param TIMx Timer instance * @retval Counter value (between Min_Data=0 and Max_Data=0xFFFF) */ -__STATIC_INLINE uint32_t LL_TIM_GetCounter(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_GetCounter(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_REG(TIMx->CNT)); } @@ -1335,7 +1326,7 @@ __STATIC_INLINE uint32_t LL_TIM_GetCounter(TIM_TypeDef *TIMx) * @arg @ref LL_TIM_COUNTERDIRECTION_UP * @arg @ref LL_TIM_COUNTERDIRECTION_DOWN */ -__STATIC_INLINE uint32_t LL_TIM_GetDirection(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_GetDirection(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_BIT(TIMx->CR1, TIM_CR1_DIR)); } @@ -1362,7 +1353,7 @@ __STATIC_INLINE void LL_TIM_SetPrescaler(TIM_TypeDef *TIMx, uint32_t Prescaler) * @param TIMx Timer instance * @retval Prescaler value between Min_Data=0 and Max_Data=65535 */ -__STATIC_INLINE uint32_t LL_TIM_GetPrescaler(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_GetPrescaler(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_REG(TIMx->PSC)); } @@ -1387,7 +1378,7 @@ __STATIC_INLINE void LL_TIM_SetAutoReload(TIM_TypeDef *TIMx, uint32_t AutoReload * @param TIMx Timer instance * @retval Auto-reload value */ -__STATIC_INLINE uint32_t LL_TIM_GetAutoReload(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_GetAutoReload(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_REG(TIMx->ARR)); } @@ -1414,7 +1405,7 @@ __STATIC_INLINE void LL_TIM_SetRepetitionCounter(TIM_TypeDef *TIMx, uint32_t Rep * @param TIMx Timer instance * @retval Repetition counter value */ -__STATIC_INLINE uint32_t LL_TIM_GetRepetitionCounter(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_GetRepetitionCounter(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_REG(TIMx->RCR)); } @@ -1493,7 +1484,7 @@ __STATIC_INLINE void LL_TIM_CC_SetDMAReqTrigger(TIM_TypeDef *TIMx, uint32_t DMAR * @arg @ref LL_TIM_CCDMAREQUEST_CC * @arg @ref LL_TIM_CCDMAREQUEST_UPDATE */ -__STATIC_INLINE uint32_t LL_TIM_CC_GetDMAReqTrigger(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_CC_GetDMAReqTrigger(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_BIT(TIMx->CR2, TIM_CR2_CCDS)); } @@ -1587,7 +1578,7 @@ __STATIC_INLINE void LL_TIM_CC_DisableChannel(TIM_TypeDef *TIMx, uint32_t Channe * @arg @ref LL_TIM_CHANNEL_CH4 * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_CC_IsEnabledChannel(TIM_TypeDef *TIMx, uint32_t Channels) +__STATIC_INLINE uint32_t LL_TIM_CC_IsEnabledChannel(const TIM_TypeDef *TIMx, uint32_t Channels) { return ((READ_BIT(TIMx->CCER, Channels) == (Channels)) ? 1UL : 0UL); } @@ -1688,7 +1679,7 @@ __STATIC_INLINE void LL_TIM_OC_SetMode(TIM_TypeDef *TIMx, uint32_t Channel, uint * @arg @ref LL_TIM_OCMODE_PWM1 * @arg @ref LL_TIM_OCMODE_PWM2 */ -__STATIC_INLINE uint32_t LL_TIM_OC_GetMode(TIM_TypeDef *TIMx, uint32_t Channel) +__STATIC_INLINE uint32_t LL_TIM_OC_GetMode(const TIM_TypeDef *TIMx, uint32_t Channel) { uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); const __IO uint32_t *pReg = (__IO uint32_t *)((uint32_t)((uint32_t)(&TIMx->CCMR1) + OFFSET_TAB_CCMRx[iChannel])); @@ -1746,7 +1737,7 @@ __STATIC_INLINE void LL_TIM_OC_SetPolarity(TIM_TypeDef *TIMx, uint32_t Channel, * @arg @ref LL_TIM_OCPOLARITY_HIGH * @arg @ref LL_TIM_OCPOLARITY_LOW */ -__STATIC_INLINE uint32_t LL_TIM_OC_GetPolarity(TIM_TypeDef *TIMx, uint32_t Channel) +__STATIC_INLINE uint32_t LL_TIM_OC_GetPolarity(const TIM_TypeDef *TIMx, uint32_t Channel) { uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); return (READ_BIT(TIMx->CCER, (TIM_CCER_CC1P << SHIFT_TAB_CCxP[iChannel])) >> SHIFT_TAB_CCxP[iChannel]); @@ -1807,7 +1798,7 @@ __STATIC_INLINE void LL_TIM_OC_SetIdleState(TIM_TypeDef *TIMx, uint32_t Channel, * @arg @ref LL_TIM_OCIDLESTATE_LOW * @arg @ref LL_TIM_OCIDLESTATE_HIGH */ -__STATIC_INLINE uint32_t LL_TIM_OC_GetIdleState(TIM_TypeDef *TIMx, uint32_t Channel) +__STATIC_INLINE uint32_t LL_TIM_OC_GetIdleState(const TIM_TypeDef *TIMx, uint32_t Channel) { uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); return (READ_BIT(TIMx->CR2, (TIM_CR2_OIS1 << SHIFT_TAB_OISx[iChannel])) >> SHIFT_TAB_OISx[iChannel]); @@ -1872,7 +1863,7 @@ __STATIC_INLINE void LL_TIM_OC_DisableFast(TIM_TypeDef *TIMx, uint32_t Channel) * @arg @ref LL_TIM_CHANNEL_CH4 * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_OC_IsEnabledFast(TIM_TypeDef *TIMx, uint32_t Channel) +__STATIC_INLINE uint32_t LL_TIM_OC_IsEnabledFast(const TIM_TypeDef *TIMx, uint32_t Channel) { uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); const __IO uint32_t *pReg = (__IO uint32_t *)((uint32_t)((uint32_t)(&TIMx->CCMR1) + OFFSET_TAB_CCMRx[iChannel])); @@ -1936,7 +1927,7 @@ __STATIC_INLINE void LL_TIM_OC_DisablePreload(TIM_TypeDef *TIMx, uint32_t Channe * @arg @ref LL_TIM_CHANNEL_CH4 * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_OC_IsEnabledPreload(TIM_TypeDef *TIMx, uint32_t Channel) +__STATIC_INLINE uint32_t LL_TIM_OC_IsEnabledPreload(const TIM_TypeDef *TIMx, uint32_t Channel) { uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); const __IO uint32_t *pReg = (__IO uint32_t *)((uint32_t)((uint32_t)(&TIMx->CCMR1) + OFFSET_TAB_CCMRx[iChannel])); @@ -2009,7 +2000,7 @@ __STATIC_INLINE void LL_TIM_OC_DisableClear(TIM_TypeDef *TIMx, uint32_t Channel) * @arg @ref LL_TIM_CHANNEL_CH4 * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_OC_IsEnabledClear(TIM_TypeDef *TIMx, uint32_t Channel) +__STATIC_INLINE uint32_t LL_TIM_OC_IsEnabledClear(const TIM_TypeDef *TIMx, uint32_t Channel) { uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); const __IO uint32_t *pReg = (__IO uint32_t *)((uint32_t)((uint32_t)(&TIMx->CCMR1) + OFFSET_TAB_CCMRx[iChannel])); @@ -2097,7 +2088,7 @@ __STATIC_INLINE void LL_TIM_OC_SetCompareCH4(TIM_TypeDef *TIMx, uint32_t Compare * @param TIMx Timer instance * @retval CompareValue (between Min_Data=0 and Max_Data=65535) */ -__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH1(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH1(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_REG(TIMx->CCR1)); } @@ -2110,7 +2101,7 @@ __STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH1(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval CompareValue (between Min_Data=0 and Max_Data=65535) */ -__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH2(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH2(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_REG(TIMx->CCR2)); } @@ -2123,7 +2114,7 @@ __STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH2(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval CompareValue (between Min_Data=0 and Max_Data=65535) */ -__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH3(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH3(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_REG(TIMx->CCR3)); } @@ -2136,7 +2127,7 @@ __STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH3(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval CompareValue (between Min_Data=0 and Max_Data=65535) */ -__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH4(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_OC_GetCompareCH4(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_REG(TIMx->CCR4)); } @@ -2235,7 +2226,7 @@ __STATIC_INLINE void LL_TIM_IC_SetActiveInput(TIM_TypeDef *TIMx, uint32_t Channe * @arg @ref LL_TIM_ACTIVEINPUT_INDIRECTTI * @arg @ref LL_TIM_ACTIVEINPUT_TRC */ -__STATIC_INLINE uint32_t LL_TIM_IC_GetActiveInput(TIM_TypeDef *TIMx, uint32_t Channel) +__STATIC_INLINE uint32_t LL_TIM_IC_GetActiveInput(const TIM_TypeDef *TIMx, uint32_t Channel) { uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); const __IO uint32_t *pReg = (__IO uint32_t *)((uint32_t)((uint32_t)(&TIMx->CCMR1) + OFFSET_TAB_CCMRx[iChannel])); @@ -2286,7 +2277,7 @@ __STATIC_INLINE void LL_TIM_IC_SetPrescaler(TIM_TypeDef *TIMx, uint32_t Channel, * @arg @ref LL_TIM_ICPSC_DIV4 * @arg @ref LL_TIM_ICPSC_DIV8 */ -__STATIC_INLINE uint32_t LL_TIM_IC_GetPrescaler(TIM_TypeDef *TIMx, uint32_t Channel) +__STATIC_INLINE uint32_t LL_TIM_IC_GetPrescaler(const TIM_TypeDef *TIMx, uint32_t Channel) { uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); const __IO uint32_t *pReg = (__IO uint32_t *)((uint32_t)((uint32_t)(&TIMx->CCMR1) + OFFSET_TAB_CCMRx[iChannel])); @@ -2361,7 +2352,7 @@ __STATIC_INLINE void LL_TIM_IC_SetFilter(TIM_TypeDef *TIMx, uint32_t Channel, ui * @arg @ref LL_TIM_IC_FILTER_FDIV32_N6 * @arg @ref LL_TIM_IC_FILTER_FDIV32_N8 */ -__STATIC_INLINE uint32_t LL_TIM_IC_GetFilter(TIM_TypeDef *TIMx, uint32_t Channel) +__STATIC_INLINE uint32_t LL_TIM_IC_GetFilter(const TIM_TypeDef *TIMx, uint32_t Channel) { uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); const __IO uint32_t *pReg = (__IO uint32_t *)((uint32_t)((uint32_t)(&TIMx->CCMR1) + OFFSET_TAB_CCMRx[iChannel])); @@ -2414,7 +2405,7 @@ __STATIC_INLINE void LL_TIM_IC_SetPolarity(TIM_TypeDef *TIMx, uint32_t Channel, * @arg @ref LL_TIM_IC_POLARITY_RISING * @arg @ref LL_TIM_IC_POLARITY_FALLING */ -__STATIC_INLINE uint32_t LL_TIM_IC_GetPolarity(TIM_TypeDef *TIMx, uint32_t Channel) +__STATIC_INLINE uint32_t LL_TIM_IC_GetPolarity(const TIM_TypeDef *TIMx, uint32_t Channel) { uint8_t iChannel = TIM_GET_CHANNEL_INDEX(Channel); return (READ_BIT(TIMx->CCER, ((TIM_CCER_CC1NP | TIM_CCER_CC1P) << SHIFT_TAB_CCxP[iChannel])) >> @@ -2455,7 +2446,7 @@ __STATIC_INLINE void LL_TIM_IC_DisableXORCombination(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IC_IsEnabledXORCombination(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IC_IsEnabledXORCombination(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->CR2, TIM_CR2_TI1S) == (TIM_CR2_TI1S)) ? 1UL : 0UL); } @@ -2468,7 +2459,7 @@ __STATIC_INLINE uint32_t LL_TIM_IC_IsEnabledXORCombination(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval CapturedValue (between Min_Data=0 and Max_Data=65535) */ -__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH1(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH1(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_REG(TIMx->CCR1)); } @@ -2481,7 +2472,7 @@ __STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH1(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval CapturedValue (between Min_Data=0 and Max_Data=65535) */ -__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH2(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH2(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_REG(TIMx->CCR2)); } @@ -2494,7 +2485,7 @@ __STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH2(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval CapturedValue (between Min_Data=0 and Max_Data=65535) */ -__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH3(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH3(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_REG(TIMx->CCR3)); } @@ -2507,7 +2498,7 @@ __STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH3(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval CapturedValue (between Min_Data=0 and Max_Data=65535) */ -__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH4(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IC_GetCaptureCH4(const TIM_TypeDef *TIMx) { return (uint32_t)(READ_REG(TIMx->CCR4)); } @@ -2554,7 +2545,7 @@ __STATIC_INLINE void LL_TIM_DisableExternalClock(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledExternalClock(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledExternalClock(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->SMCR, TIM_SMCR_ECE) == (TIM_SMCR_ECE)) ? 1UL : 0UL); } @@ -2703,7 +2694,7 @@ __STATIC_INLINE void LL_TIM_DisableMasterSlaveMode(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledMasterSlaveMode(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledMasterSlaveMode(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->SMCR, TIM_SMCR_MSM) == (TIM_SMCR_MSM)) ? 1UL : 0UL); } @@ -2864,7 +2855,7 @@ __STATIC_INLINE void LL_TIM_DisableAutomaticOutput(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledAutomaticOutput(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledAutomaticOutput(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->BDTR, TIM_BDTR_AOE) == (TIM_BDTR_AOE)) ? 1UL : 0UL); } @@ -2907,7 +2898,7 @@ __STATIC_INLINE void LL_TIM_DisableAllOutputs(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledAllOutputs(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledAllOutputs(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->BDTR, TIM_BDTR_MOE) == (TIM_BDTR_MOE)) ? 1UL : 0UL); } @@ -2976,10 +2967,6 @@ __STATIC_INLINE void LL_TIM_ConfigDMABurst(TIM_TypeDef *TIMx, uint32_t DMABurstB */ -/** - * @} - */ - /** @defgroup TIM_LL_EF_FLAG_Management FLAG-Management * @{ */ @@ -3000,7 +2987,7 @@ __STATIC_INLINE void LL_TIM_ClearFlag_UPDATE(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_UPDATE(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_UPDATE(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->SR, TIM_SR_UIF) == (TIM_SR_UIF)) ? 1UL : 0UL); } @@ -3022,7 +3009,7 @@ __STATIC_INLINE void LL_TIM_ClearFlag_CC1(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC1(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC1(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->SR, TIM_SR_CC1IF) == (TIM_SR_CC1IF)) ? 1UL : 0UL); } @@ -3044,7 +3031,7 @@ __STATIC_INLINE void LL_TIM_ClearFlag_CC2(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC2(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC2(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->SR, TIM_SR_CC2IF) == (TIM_SR_CC2IF)) ? 1UL : 0UL); } @@ -3066,7 +3053,7 @@ __STATIC_INLINE void LL_TIM_ClearFlag_CC3(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC3(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC3(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->SR, TIM_SR_CC3IF) == (TIM_SR_CC3IF)) ? 1UL : 0UL); } @@ -3088,7 +3075,7 @@ __STATIC_INLINE void LL_TIM_ClearFlag_CC4(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC4(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC4(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->SR, TIM_SR_CC4IF) == (TIM_SR_CC4IF)) ? 1UL : 0UL); } @@ -3110,7 +3097,7 @@ __STATIC_INLINE void LL_TIM_ClearFlag_COM(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_COM(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_COM(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->SR, TIM_SR_COMIF) == (TIM_SR_COMIF)) ? 1UL : 0UL); } @@ -3132,7 +3119,7 @@ __STATIC_INLINE void LL_TIM_ClearFlag_TRIG(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_TRIG(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_TRIG(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->SR, TIM_SR_TIF) == (TIM_SR_TIF)) ? 1UL : 0UL); } @@ -3154,7 +3141,7 @@ __STATIC_INLINE void LL_TIM_ClearFlag_BRK(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_BRK(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_BRK(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->SR, TIM_SR_BIF) == (TIM_SR_BIF)) ? 1UL : 0UL); } @@ -3177,7 +3164,7 @@ __STATIC_INLINE void LL_TIM_ClearFlag_CC1OVR(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC1OVR(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC1OVR(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->SR, TIM_SR_CC1OF) == (TIM_SR_CC1OF)) ? 1UL : 0UL); } @@ -3200,7 +3187,7 @@ __STATIC_INLINE void LL_TIM_ClearFlag_CC2OVR(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC2OVR(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC2OVR(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->SR, TIM_SR_CC2OF) == (TIM_SR_CC2OF)) ? 1UL : 0UL); } @@ -3223,7 +3210,7 @@ __STATIC_INLINE void LL_TIM_ClearFlag_CC3OVR(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC3OVR(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC3OVR(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->SR, TIM_SR_CC3OF) == (TIM_SR_CC3OF)) ? 1UL : 0UL); } @@ -3246,7 +3233,7 @@ __STATIC_INLINE void LL_TIM_ClearFlag_CC4OVR(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC4OVR(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsActiveFlag_CC4OVR(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->SR, TIM_SR_CC4OF) == (TIM_SR_CC4OF)) ? 1UL : 0UL); } @@ -3286,7 +3273,7 @@ __STATIC_INLINE void LL_TIM_DisableIT_UPDATE(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_UPDATE(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_UPDATE(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->DIER, TIM_DIER_UIE) == (TIM_DIER_UIE)) ? 1UL : 0UL); } @@ -3319,7 +3306,7 @@ __STATIC_INLINE void LL_TIM_DisableIT_CC1(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC1(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC1(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->DIER, TIM_DIER_CC1IE) == (TIM_DIER_CC1IE)) ? 1UL : 0UL); } @@ -3352,7 +3339,7 @@ __STATIC_INLINE void LL_TIM_DisableIT_CC2(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC2(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC2(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->DIER, TIM_DIER_CC2IE) == (TIM_DIER_CC2IE)) ? 1UL : 0UL); } @@ -3385,7 +3372,7 @@ __STATIC_INLINE void LL_TIM_DisableIT_CC3(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC3(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC3(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->DIER, TIM_DIER_CC3IE) == (TIM_DIER_CC3IE)) ? 1UL : 0UL); } @@ -3418,7 +3405,7 @@ __STATIC_INLINE void LL_TIM_DisableIT_CC4(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC4(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_CC4(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->DIER, TIM_DIER_CC4IE) == (TIM_DIER_CC4IE)) ? 1UL : 0UL); } @@ -3451,7 +3438,7 @@ __STATIC_INLINE void LL_TIM_DisableIT_COM(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_COM(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_COM(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->DIER, TIM_DIER_COMIE) == (TIM_DIER_COMIE)) ? 1UL : 0UL); } @@ -3484,7 +3471,7 @@ __STATIC_INLINE void LL_TIM_DisableIT_TRIG(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_TRIG(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_TRIG(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->DIER, TIM_DIER_TIE) == (TIM_DIER_TIE)) ? 1UL : 0UL); } @@ -3517,7 +3504,7 @@ __STATIC_INLINE void LL_TIM_DisableIT_BRK(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_BRK(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_BRK(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->DIER, TIM_DIER_BIE) == (TIM_DIER_BIE)) ? 1UL : 0UL); } @@ -3526,7 +3513,7 @@ __STATIC_INLINE uint32_t LL_TIM_IsEnabledIT_BRK(TIM_TypeDef *TIMx) * @} */ -/** @defgroup TIM_LL_EF_DMA_Management DMA-Management +/** @defgroup TIM_LL_EF_DMA_Management DMA Management * @{ */ /** @@ -3557,7 +3544,7 @@ __STATIC_INLINE void LL_TIM_DisableDMAReq_UPDATE(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_UPDATE(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_UPDATE(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->DIER, TIM_DIER_UDE) == (TIM_DIER_UDE)) ? 1UL : 0UL); } @@ -3590,7 +3577,7 @@ __STATIC_INLINE void LL_TIM_DisableDMAReq_CC1(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC1(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC1(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->DIER, TIM_DIER_CC1DE) == (TIM_DIER_CC1DE)) ? 1UL : 0UL); } @@ -3623,7 +3610,7 @@ __STATIC_INLINE void LL_TIM_DisableDMAReq_CC2(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC2(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC2(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->DIER, TIM_DIER_CC2DE) == (TIM_DIER_CC2DE)) ? 1UL : 0UL); } @@ -3656,7 +3643,7 @@ __STATIC_INLINE void LL_TIM_DisableDMAReq_CC3(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC3(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC3(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->DIER, TIM_DIER_CC3DE) == (TIM_DIER_CC3DE)) ? 1UL : 0UL); } @@ -3689,7 +3676,7 @@ __STATIC_INLINE void LL_TIM_DisableDMAReq_CC4(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC4(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_CC4(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->DIER, TIM_DIER_CC4DE) == (TIM_DIER_CC4DE)) ? 1UL : 0UL); } @@ -3722,7 +3709,7 @@ __STATIC_INLINE void LL_TIM_DisableDMAReq_COM(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_COM(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_COM(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->DIER, TIM_DIER_COMDE) == (TIM_DIER_COMDE)) ? 1UL : 0UL); } @@ -3755,7 +3742,7 @@ __STATIC_INLINE void LL_TIM_DisableDMAReq_TRIG(TIM_TypeDef *TIMx) * @param TIMx Timer instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_TRIG(TIM_TypeDef *TIMx) +__STATIC_INLINE uint32_t LL_TIM_IsEnabledDMAReq_TRIG(const TIM_TypeDef *TIMx) { return ((READ_BIT(TIMx->DIER, TIM_DIER_TDE) == (TIM_DIER_TDE)) ? 1UL : 0UL); } @@ -3864,19 +3851,19 @@ __STATIC_INLINE void LL_TIM_GenerateEvent_BRK(TIM_TypeDef *TIMx) * @{ */ -ErrorStatus LL_TIM_DeInit(TIM_TypeDef *TIMx); +ErrorStatus LL_TIM_DeInit(const TIM_TypeDef *TIMx); void LL_TIM_StructInit(LL_TIM_InitTypeDef *TIM_InitStruct); -ErrorStatus LL_TIM_Init(TIM_TypeDef *TIMx, LL_TIM_InitTypeDef *TIM_InitStruct); +ErrorStatus LL_TIM_Init(TIM_TypeDef *TIMx, const LL_TIM_InitTypeDef *TIM_InitStruct); void LL_TIM_OC_StructInit(LL_TIM_OC_InitTypeDef *TIM_OC_InitStruct); -ErrorStatus LL_TIM_OC_Init(TIM_TypeDef *TIMx, uint32_t Channel, LL_TIM_OC_InitTypeDef *TIM_OC_InitStruct); +ErrorStatus LL_TIM_OC_Init(TIM_TypeDef *TIMx, uint32_t Channel, const LL_TIM_OC_InitTypeDef *TIM_OC_InitStruct); void LL_TIM_IC_StructInit(LL_TIM_IC_InitTypeDef *TIM_ICInitStruct); -ErrorStatus LL_TIM_IC_Init(TIM_TypeDef *TIMx, uint32_t Channel, LL_TIM_IC_InitTypeDef *TIM_IC_InitStruct); +ErrorStatus LL_TIM_IC_Init(TIM_TypeDef *TIMx, uint32_t Channel, const LL_TIM_IC_InitTypeDef *TIM_IC_InitStruct); void LL_TIM_ENCODER_StructInit(LL_TIM_ENCODER_InitTypeDef *TIM_EncoderInitStruct); -ErrorStatus LL_TIM_ENCODER_Init(TIM_TypeDef *TIMx, LL_TIM_ENCODER_InitTypeDef *TIM_EncoderInitStruct); +ErrorStatus LL_TIM_ENCODER_Init(TIM_TypeDef *TIMx, const LL_TIM_ENCODER_InitTypeDef *TIM_EncoderInitStruct); void LL_TIM_HALLSENSOR_StructInit(LL_TIM_HALLSENSOR_InitTypeDef *TIM_HallSensorInitStruct); -ErrorStatus LL_TIM_HALLSENSOR_Init(TIM_TypeDef *TIMx, LL_TIM_HALLSENSOR_InitTypeDef *TIM_HallSensorInitStruct); +ErrorStatus LL_TIM_HALLSENSOR_Init(TIM_TypeDef *TIMx, const LL_TIM_HALLSENSOR_InitTypeDef *TIM_HallSensorInitStruct); void LL_TIM_BDTR_StructInit(LL_TIM_BDTR_InitTypeDef *TIM_BDTRInitStruct); -ErrorStatus LL_TIM_BDTR_Init(TIM_TypeDef *TIMx, LL_TIM_BDTR_InitTypeDef *TIM_BDTRInitStruct); +ErrorStatus LL_TIM_BDTR_Init(TIM_TypeDef *TIMx, const LL_TIM_BDTR_InitTypeDef *TIM_BDTRInitStruct); /** * @} */ @@ -3901,4 +3888,3 @@ ErrorStatus LL_TIM_BDTR_Init(TIM_TypeDef *TIMx, LL_TIM_BDTR_InitTypeDef *TIM_BDT #endif #endif /* __STM32F1xx_LL_TIM_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usart.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usart.h index 9993b17..ffe4192 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usart.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usart.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -361,11 +360,12 @@ typedef struct */ #define __LL_USART_DIV_SAMPLING8_100(__PERIPHCLK__, __BAUDRATE__) (((__PERIPHCLK__)*25)/(2*(__BAUDRATE__))) #define __LL_USART_DIVMANT_SAMPLING8(__PERIPHCLK__, __BAUDRATE__) (__LL_USART_DIV_SAMPLING8_100((__PERIPHCLK__), (__BAUDRATE__))/100) -#define __LL_USART_DIVFRAQ_SAMPLING8(__PERIPHCLK__, __BAUDRATE__) (((__LL_USART_DIV_SAMPLING8_100((__PERIPHCLK__), (__BAUDRATE__)) - (__LL_USART_DIVMANT_SAMPLING8((__PERIPHCLK__), (__BAUDRATE__)) * 100)) * 8 + 50) / 100) +#define __LL_USART_DIVFRAQ_SAMPLING8(__PERIPHCLK__, __BAUDRATE__) (((__LL_USART_DIV_SAMPLING8_100((__PERIPHCLK__), (__BAUDRATE__)) - (__LL_USART_DIVMANT_SAMPLING8((__PERIPHCLK__), (__BAUDRATE__)) * 100)) * 8\ + + 50) / 100) /* UART BRR = mantissa + overflow + fraction = (UART DIVMANT << 4) + ((UART DIVFRAQ & 0xF8) << 1) + (UART DIVFRAQ & 0x07) */ #define __LL_USART_DIV_SAMPLING8(__PERIPHCLK__, __BAUDRATE__) (((__LL_USART_DIVMANT_SAMPLING8((__PERIPHCLK__), (__BAUDRATE__)) << 4) + \ - ((__LL_USART_DIVFRAQ_SAMPLING8((__PERIPHCLK__), (__BAUDRATE__)) & 0xF8) << 1)) + \ + ((__LL_USART_DIVFRAQ_SAMPLING8((__PERIPHCLK__), (__BAUDRATE__)) & 0xF8) << 1)) + \ (__LL_USART_DIVFRAQ_SAMPLING8((__PERIPHCLK__), (__BAUDRATE__)) & 0x07)) /** @@ -377,11 +377,12 @@ typedef struct */ #define __LL_USART_DIV_SAMPLING16_100(__PERIPHCLK__, __BAUDRATE__) (((__PERIPHCLK__)*25)/(4*(__BAUDRATE__))) #define __LL_USART_DIVMANT_SAMPLING16(__PERIPHCLK__, __BAUDRATE__) (__LL_USART_DIV_SAMPLING16_100((__PERIPHCLK__), (__BAUDRATE__))/100) -#define __LL_USART_DIVFRAQ_SAMPLING16(__PERIPHCLK__, __BAUDRATE__) ((((__LL_USART_DIV_SAMPLING16_100((__PERIPHCLK__), (__BAUDRATE__)) - (__LL_USART_DIVMANT_SAMPLING16((__PERIPHCLK__), (__BAUDRATE__)) * 100)) * 16) + 50) / 100) +#define __LL_USART_DIVFRAQ_SAMPLING16(__PERIPHCLK__, __BAUDRATE__) ((((__LL_USART_DIV_SAMPLING16_100((__PERIPHCLK__), (__BAUDRATE__)) - (__LL_USART_DIVMANT_SAMPLING16((__PERIPHCLK__), (__BAUDRATE__)) * 100)) * 16)\ + + 50) / 100) /* USART BRR = mantissa + overflow + fraction = (USART DIVMANT << 4) + (USART DIVFRAQ & 0xF0) + (USART DIVFRAQ & 0x0F) */ #define __LL_USART_DIV_SAMPLING16(__PERIPHCLK__, __BAUDRATE__) (((__LL_USART_DIVMANT_SAMPLING16((__PERIPHCLK__), (__BAUDRATE__)) << 4) + \ - (__LL_USART_DIVFRAQ_SAMPLING16((__PERIPHCLK__), (__BAUDRATE__)) & 0xF0)) + \ + (__LL_USART_DIVFRAQ_SAMPLING16((__PERIPHCLK__), (__BAUDRATE__)) & 0xF0)) + \ (__LL_USART_DIVFRAQ_SAMPLING16((__PERIPHCLK__), (__BAUDRATE__)) & 0x0F)) /** @@ -433,7 +434,7 @@ __STATIC_INLINE void LL_USART_Disable(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabled(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabled(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR1, USART_CR1_UE) == (USART_CR1_UE)); } @@ -446,7 +447,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabled(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_EnableDirectionRx(USART_TypeDef *USARTx) { - SET_BIT(USARTx->CR1, USART_CR1_RE); + ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RE); } /** @@ -457,7 +458,7 @@ __STATIC_INLINE void LL_USART_EnableDirectionRx(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_DisableDirectionRx(USART_TypeDef *USARTx) { - CLEAR_BIT(USARTx->CR1, USART_CR1_RE); + ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RE); } /** @@ -468,7 +469,7 @@ __STATIC_INLINE void LL_USART_DisableDirectionRx(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_EnableDirectionTx(USART_TypeDef *USARTx) { - SET_BIT(USARTx->CR1, USART_CR1_TE); + ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TE); } /** @@ -479,7 +480,7 @@ __STATIC_INLINE void LL_USART_EnableDirectionTx(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_DisableDirectionTx(USART_TypeDef *USARTx) { - CLEAR_BIT(USARTx->CR1, USART_CR1_TE); + ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TE); } /** @@ -497,7 +498,7 @@ __STATIC_INLINE void LL_USART_DisableDirectionTx(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_SetTransferDirection(USART_TypeDef *USARTx, uint32_t TransferDirection) { - MODIFY_REG(USARTx->CR1, USART_CR1_RE | USART_CR1_TE, TransferDirection); + ATOMIC_MODIFY_REG(USARTx->CR1, USART_CR1_RE | USART_CR1_TE, TransferDirection); } /** @@ -511,7 +512,7 @@ __STATIC_INLINE void LL_USART_SetTransferDirection(USART_TypeDef *USARTx, uint32 * @arg @ref LL_USART_DIRECTION_TX * @arg @ref LL_USART_DIRECTION_TX_RX */ -__STATIC_INLINE uint32_t LL_USART_GetTransferDirection(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_GetTransferDirection(const USART_TypeDef *USARTx) { return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_RE | USART_CR1_TE)); } @@ -545,7 +546,7 @@ __STATIC_INLINE void LL_USART_SetParity(USART_TypeDef *USARTx, uint32_t Parity) * @arg @ref LL_USART_PARITY_EVEN * @arg @ref LL_USART_PARITY_ODD */ -__STATIC_INLINE uint32_t LL_USART_GetParity(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_GetParity(const USART_TypeDef *USARTx) { return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_PS | USART_CR1_PCE)); } @@ -572,7 +573,7 @@ __STATIC_INLINE void LL_USART_SetWakeUpMethod(USART_TypeDef *USARTx, uint32_t Me * @arg @ref LL_USART_WAKEUP_IDLELINE * @arg @ref LL_USART_WAKEUP_ADDRESSMARK */ -__STATIC_INLINE uint32_t LL_USART_GetWakeUpMethod(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_GetWakeUpMethod(const USART_TypeDef *USARTx) { return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_WAKE)); } @@ -599,7 +600,7 @@ __STATIC_INLINE void LL_USART_SetDataWidth(USART_TypeDef *USARTx, uint32_t DataW * @arg @ref LL_USART_DATAWIDTH_8B * @arg @ref LL_USART_DATAWIDTH_9B */ -__STATIC_INLINE uint32_t LL_USART_GetDataWidth(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_GetDataWidth(const USART_TypeDef *USARTx) { return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_M)); } @@ -627,7 +628,7 @@ __STATIC_INLINE void LL_USART_SetOverSampling(USART_TypeDef *USARTx, uint32_t Ov * @arg @ref LL_USART_OVERSAMPLING_16 * @arg @ref LL_USART_OVERSAMPLING_8 */ -__STATIC_INLINE uint32_t LL_USART_GetOverSampling(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_GetOverSampling(const USART_TypeDef *USARTx) { return (uint32_t)(READ_BIT(USARTx->CR1, USART_CR1_OVER8)); } @@ -660,7 +661,7 @@ __STATIC_INLINE void LL_USART_SetLastClkPulseOutput(USART_TypeDef *USARTx, uint3 * @arg @ref LL_USART_LASTCLKPULSE_NO_OUTPUT * @arg @ref LL_USART_LASTCLKPULSE_OUTPUT */ -__STATIC_INLINE uint32_t LL_USART_GetLastClkPulseOutput(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_GetLastClkPulseOutput(const USART_TypeDef *USARTx) { return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_LBCL)); } @@ -691,7 +692,7 @@ __STATIC_INLINE void LL_USART_SetClockPhase(USART_TypeDef *USARTx, uint32_t Cloc * @arg @ref LL_USART_PHASE_1EDGE * @arg @ref LL_USART_PHASE_2EDGE */ -__STATIC_INLINE uint32_t LL_USART_GetClockPhase(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_GetClockPhase(const USART_TypeDef *USARTx) { return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_CPHA)); } @@ -722,7 +723,7 @@ __STATIC_INLINE void LL_USART_SetClockPolarity(USART_TypeDef *USARTx, uint32_t C * @arg @ref LL_USART_POLARITY_LOW * @arg @ref LL_USART_POLARITY_HIGH */ -__STATIC_INLINE uint32_t LL_USART_GetClockPolarity(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_GetClockPolarity(const USART_TypeDef *USARTx) { return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_CPOL)); } @@ -789,7 +790,7 @@ __STATIC_INLINE void LL_USART_DisableSCLKOutput(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledSCLKOutput(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledSCLKOutput(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR2, USART_CR2_CLKEN) == (USART_CR2_CLKEN)); } @@ -820,7 +821,7 @@ __STATIC_INLINE void LL_USART_SetStopBitsLength(USART_TypeDef *USARTx, uint32_t * @arg @ref LL_USART_STOPBITS_1_5 * @arg @ref LL_USART_STOPBITS_2 */ -__STATIC_INLINE uint32_t LL_USART_GetStopBitsLength(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_GetStopBitsLength(const USART_TypeDef *USARTx) { return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_STOP)); } @@ -878,7 +879,7 @@ __STATIC_INLINE void LL_USART_SetNodeAddress(USART_TypeDef *USARTx, uint32_t Nod * @param USARTx USART Instance * @retval Address of the USART node (Value between Min_Data=0 and Max_Data=255) */ -__STATIC_INLINE uint32_t LL_USART_GetNodeAddress(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_GetNodeAddress(const USART_TypeDef *USARTx) { return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_ADD)); } @@ -967,7 +968,7 @@ __STATIC_INLINE void LL_USART_SetHWFlowCtrl(USART_TypeDef *USARTx, uint32_t Hard * @arg @ref LL_USART_HWCONTROL_CTS * @arg @ref LL_USART_HWCONTROL_RTS_CTS */ -__STATIC_INLINE uint32_t LL_USART_GetHWFlowCtrl(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_GetHWFlowCtrl(const USART_TypeDef *USARTx) { return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_RTSE | USART_CR3_CTSE)); } @@ -1001,7 +1002,7 @@ __STATIC_INLINE void LL_USART_DisableOneBitSamp(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledOneBitSamp(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledOneBitSamp(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR3, USART_CR3_ONEBIT) == (USART_CR3_ONEBIT)); } @@ -1048,7 +1049,7 @@ __STATIC_INLINE void LL_USART_SetBaudRate(USART_TypeDef *USARTx, uint32_t Periph * @arg @ref LL_USART_OVERSAMPLING_8 * @retval Baud Rate */ -__STATIC_INLINE uint32_t LL_USART_GetBaudRate(USART_TypeDef *USARTx, uint32_t PeriphClk, uint32_t OverSampling) +__STATIC_INLINE uint32_t LL_USART_GetBaudRate(const USART_TypeDef *USARTx, uint32_t PeriphClk, uint32_t OverSampling) { uint32_t usartdiv = 0x0U; uint32_t brrresult = 0x0U; @@ -1099,7 +1100,7 @@ __STATIC_INLINE void LL_USART_SetBaudRate(USART_TypeDef *USARTx, uint32_t Periph * @param PeriphClk Peripheral Clock * @retval Baud Rate */ -__STATIC_INLINE uint32_t LL_USART_GetBaudRate(USART_TypeDef *USARTx, uint32_t PeriphClk) +__STATIC_INLINE uint32_t LL_USART_GetBaudRate(const USART_TypeDef *USARTx, uint32_t PeriphClk) { uint32_t usartdiv = 0x0U; uint32_t brrresult = 0x0U; @@ -1156,7 +1157,7 @@ __STATIC_INLINE void LL_USART_DisableIrda(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledIrda(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledIrda(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR3, USART_CR3_IREN) == (USART_CR3_IREN)); } @@ -1187,7 +1188,7 @@ __STATIC_INLINE void LL_USART_SetIrdaPowerMode(USART_TypeDef *USARTx, uint32_t P * @arg @ref LL_USART_IRDA_POWER_NORMAL * @arg @ref LL_USART_PHASE_2EDGE */ -__STATIC_INLINE uint32_t LL_USART_GetIrdaPowerMode(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_GetIrdaPowerMode(const USART_TypeDef *USARTx) { return (uint32_t)(READ_BIT(USARTx->CR3, USART_CR3_IRLP)); } @@ -1216,7 +1217,7 @@ __STATIC_INLINE void LL_USART_SetIrdaPrescaler(USART_TypeDef *USARTx, uint32_t P * @param USARTx USART Instance * @retval Irda prescaler value (Value between Min_Data=0x00 and Max_Data=0xFF) */ -__STATIC_INLINE uint32_t LL_USART_GetIrdaPrescaler(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_GetIrdaPrescaler(const USART_TypeDef *USARTx) { return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_PSC)); } @@ -1263,7 +1264,7 @@ __STATIC_INLINE void LL_USART_DisableSmartcardNACK(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcardNACK(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcardNACK(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR3, USART_CR3_NACK) == (USART_CR3_NACK)); } @@ -1302,7 +1303,7 @@ __STATIC_INLINE void LL_USART_DisableSmartcard(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcard(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledSmartcard(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR3, USART_CR3_SCEN) == (USART_CR3_SCEN)); } @@ -1331,7 +1332,7 @@ __STATIC_INLINE void LL_USART_SetSmartcardPrescaler(USART_TypeDef *USARTx, uint3 * @param USARTx USART Instance * @retval Smartcard prescaler value (Value between Min_Data=0 and Max_Data=31) */ -__STATIC_INLINE uint32_t LL_USART_GetSmartcardPrescaler(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_GetSmartcardPrescaler(const USART_TypeDef *USARTx) { return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_PSC)); } @@ -1360,7 +1361,7 @@ __STATIC_INLINE void LL_USART_SetSmartcardGuardTime(USART_TypeDef *USARTx, uint3 * @param USARTx USART Instance * @retval Smartcard Guard time value (Value between Min_Data=0x00 and Max_Data=0xFF) */ -__STATIC_INLINE uint32_t LL_USART_GetSmartcardGuardTime(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_GetSmartcardGuardTime(const USART_TypeDef *USARTx) { return (uint32_t)(READ_BIT(USARTx->GTPR, USART_GTPR_GT) >> USART_POSITION_GTPR_GT); } @@ -1407,7 +1408,7 @@ __STATIC_INLINE void LL_USART_DisableHalfDuplex(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledHalfDuplex(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledHalfDuplex(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR3, USART_CR3_HDSEL) == (USART_CR3_HDSEL)); } @@ -1446,7 +1447,7 @@ __STATIC_INLINE void LL_USART_SetLINBrkDetectionLen(USART_TypeDef *USARTx, uint3 * @arg @ref LL_USART_LINBREAK_DETECT_10B * @arg @ref LL_USART_LINBREAK_DETECT_11B */ -__STATIC_INLINE uint32_t LL_USART_GetLINBrkDetectionLen(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_GetLINBrkDetectionLen(const USART_TypeDef *USARTx) { return (uint32_t)(READ_BIT(USARTx->CR2, USART_CR2_LBDL)); } @@ -1485,7 +1486,7 @@ __STATIC_INLINE void LL_USART_DisableLIN(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledLIN(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledLIN(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR2, USART_CR2_LINEN) == (USART_CR2_LINEN)); } @@ -1781,7 +1782,7 @@ __STATIC_INLINE void LL_USART_ConfigMultiProcessMode(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_PE(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_PE(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->SR, USART_SR_PE) == (USART_SR_PE)); } @@ -1792,7 +1793,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_PE(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_FE(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_FE(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->SR, USART_SR_FE) == (USART_SR_FE)); } @@ -1803,7 +1804,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_FE(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_NE(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_NE(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->SR, USART_SR_NE) == (USART_SR_NE)); } @@ -1814,7 +1815,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_NE(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ORE(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ORE(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->SR, USART_SR_ORE) == (USART_SR_ORE)); } @@ -1825,7 +1826,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_ORE(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_IDLE(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_IDLE(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->SR, USART_SR_IDLE) == (USART_SR_IDLE)); } @@ -1836,7 +1837,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_IDLE(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXNE(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXNE(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->SR, USART_SR_RXNE) == (USART_SR_RXNE)); } @@ -1847,7 +1848,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RXNE(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TC(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TC(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->SR, USART_SR_TC) == (USART_SR_TC)); } @@ -1858,7 +1859,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TC(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXE(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXE(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->SR, USART_SR_TXE) == (USART_SR_TXE)); } @@ -1871,7 +1872,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_TXE(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_LBD(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_LBD(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->SR, USART_SR_LBD) == (USART_SR_LBD)); } @@ -1884,7 +1885,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_LBD(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_nCTS(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_nCTS(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->SR, USART_SR_CTS) == (USART_SR_CTS)); } @@ -1895,7 +1896,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_nCTS(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_SBK(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_SBK(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR1, USART_CR1_SBK) == (USART_CR1_SBK)); } @@ -1906,7 +1907,7 @@ __STATIC_INLINE uint32_t LL_USART_IsActiveFlag_SBK(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RWU(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsActiveFlag_RWU(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR1, USART_CR1_RWU) == (USART_CR1_RWU)); } @@ -2070,7 +2071,7 @@ __STATIC_INLINE void LL_USART_ClearFlag_nCTS(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_EnableIT_IDLE(USART_TypeDef *USARTx) { - SET_BIT(USARTx->CR1, USART_CR1_IDLEIE); + ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_IDLEIE); } /** @@ -2081,7 +2082,7 @@ __STATIC_INLINE void LL_USART_EnableIT_IDLE(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_EnableIT_RXNE(USART_TypeDef *USARTx) { - SET_BIT(USARTx->CR1, USART_CR1_RXNEIE); + ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_RXNEIE); } /** @@ -2092,7 +2093,7 @@ __STATIC_INLINE void LL_USART_EnableIT_RXNE(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_EnableIT_TC(USART_TypeDef *USARTx) { - SET_BIT(USARTx->CR1, USART_CR1_TCIE); + ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TCIE); } /** @@ -2103,7 +2104,7 @@ __STATIC_INLINE void LL_USART_EnableIT_TC(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_EnableIT_TXE(USART_TypeDef *USARTx) { - SET_BIT(USARTx->CR1, USART_CR1_TXEIE); + ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_TXEIE); } /** @@ -2114,7 +2115,7 @@ __STATIC_INLINE void LL_USART_EnableIT_TXE(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_EnableIT_PE(USART_TypeDef *USARTx) { - SET_BIT(USARTx->CR1, USART_CR1_PEIE); + ATOMIC_SET_BIT(USARTx->CR1, USART_CR1_PEIE); } /** @@ -2142,7 +2143,7 @@ __STATIC_INLINE void LL_USART_EnableIT_LBD(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_EnableIT_ERROR(USART_TypeDef *USARTx) { - SET_BIT(USARTx->CR3, USART_CR3_EIE); + ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_EIE); } /** @@ -2155,7 +2156,7 @@ __STATIC_INLINE void LL_USART_EnableIT_ERROR(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_EnableIT_CTS(USART_TypeDef *USARTx) { - SET_BIT(USARTx->CR3, USART_CR3_CTSIE); + ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_CTSIE); } /** @@ -2166,7 +2167,7 @@ __STATIC_INLINE void LL_USART_EnableIT_CTS(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_DisableIT_IDLE(USART_TypeDef *USARTx) { - CLEAR_BIT(USARTx->CR1, USART_CR1_IDLEIE); + ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_IDLEIE); } /** @@ -2177,7 +2178,7 @@ __STATIC_INLINE void LL_USART_DisableIT_IDLE(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_DisableIT_RXNE(USART_TypeDef *USARTx) { - CLEAR_BIT(USARTx->CR1, USART_CR1_RXNEIE); + ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_RXNEIE); } /** @@ -2188,7 +2189,7 @@ __STATIC_INLINE void LL_USART_DisableIT_RXNE(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_DisableIT_TC(USART_TypeDef *USARTx) { - CLEAR_BIT(USARTx->CR1, USART_CR1_TCIE); + ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TCIE); } /** @@ -2199,7 +2200,7 @@ __STATIC_INLINE void LL_USART_DisableIT_TC(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_DisableIT_TXE(USART_TypeDef *USARTx) { - CLEAR_BIT(USARTx->CR1, USART_CR1_TXEIE); + ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_TXEIE); } /** @@ -2210,7 +2211,7 @@ __STATIC_INLINE void LL_USART_DisableIT_TXE(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_DisableIT_PE(USART_TypeDef *USARTx) { - CLEAR_BIT(USARTx->CR1, USART_CR1_PEIE); + ATOMIC_CLEAR_BIT(USARTx->CR1, USART_CR1_PEIE); } /** @@ -2238,7 +2239,7 @@ __STATIC_INLINE void LL_USART_DisableIT_LBD(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_DisableIT_ERROR(USART_TypeDef *USARTx) { - CLEAR_BIT(USARTx->CR3, USART_CR3_EIE); + ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_EIE); } /** @@ -2251,7 +2252,7 @@ __STATIC_INLINE void LL_USART_DisableIT_ERROR(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_DisableIT_CTS(USART_TypeDef *USARTx) { - CLEAR_BIT(USARTx->CR3, USART_CR3_CTSIE); + ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_CTSIE); } /** @@ -2260,7 +2261,7 @@ __STATIC_INLINE void LL_USART_DisableIT_CTS(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_IDLE(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_IDLE(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR1, USART_CR1_IDLEIE) == (USART_CR1_IDLEIE)); } @@ -2271,7 +2272,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_IDLE(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXNE(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXNE(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR1, USART_CR1_RXNEIE) == (USART_CR1_RXNEIE)); } @@ -2282,7 +2283,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_RXNE(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TC(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TC(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR1, USART_CR1_TCIE) == (USART_CR1_TCIE)); } @@ -2293,7 +2294,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TC(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXE(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXE(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR1, USART_CR1_TXEIE) == (USART_CR1_TXEIE)); } @@ -2304,7 +2305,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_TXE(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_PE(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_PE(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR1, USART_CR1_PEIE) == (USART_CR1_PEIE)); } @@ -2317,7 +2318,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_PE(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_LBD(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_LBD(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR2, USART_CR2_LBDIE) == (USART_CR2_LBDIE)); } @@ -2328,7 +2329,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_LBD(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_ERROR(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_ERROR(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR3, USART_CR3_EIE) == (USART_CR3_EIE)); } @@ -2341,7 +2342,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_ERROR(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CTS(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CTS(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR3, USART_CR3_CTSIE) == (USART_CR3_CTSIE)); } @@ -2362,7 +2363,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledIT_CTS(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_EnableDMAReq_RX(USART_TypeDef *USARTx) { - SET_BIT(USARTx->CR3, USART_CR3_DMAR); + ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_DMAR); } /** @@ -2373,7 +2374,7 @@ __STATIC_INLINE void LL_USART_EnableDMAReq_RX(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_DisableDMAReq_RX(USART_TypeDef *USARTx) { - CLEAR_BIT(USARTx->CR3, USART_CR3_DMAR); + ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_DMAR); } /** @@ -2382,7 +2383,7 @@ __STATIC_INLINE void LL_USART_DisableDMAReq_RX(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_RX(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_RX(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR3, USART_CR3_DMAR) == (USART_CR3_DMAR)); } @@ -2395,7 +2396,7 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_RX(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_EnableDMAReq_TX(USART_TypeDef *USARTx) { - SET_BIT(USARTx->CR3, USART_CR3_DMAT); + ATOMIC_SET_BIT(USARTx->CR3, USART_CR3_DMAT); } /** @@ -2406,7 +2407,7 @@ __STATIC_INLINE void LL_USART_EnableDMAReq_TX(USART_TypeDef *USARTx) */ __STATIC_INLINE void LL_USART_DisableDMAReq_TX(USART_TypeDef *USARTx) { - CLEAR_BIT(USARTx->CR3, USART_CR3_DMAT); + ATOMIC_CLEAR_BIT(USARTx->CR3, USART_CR3_DMAT); } /** @@ -2415,7 +2416,7 @@ __STATIC_INLINE void LL_USART_DisableDMAReq_TX(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval State of bit (1 or 0). */ -__STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_TX(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_TX(const USART_TypeDef *USARTx) { return (READ_BIT(USARTx->CR3, USART_CR3_DMAT) == (USART_CR3_DMAT)); } @@ -2427,10 +2428,10 @@ __STATIC_INLINE uint32_t LL_USART_IsEnabledDMAReq_TX(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval Address of data register */ -__STATIC_INLINE uint32_t LL_USART_DMA_GetRegAddr(USART_TypeDef *USARTx) +__STATIC_INLINE uint32_t LL_USART_DMA_GetRegAddr(const USART_TypeDef *USARTx) { /* return address of DR register */ - return ((uint32_t) & (USARTx->DR)); + return ((uint32_t) &(USARTx->DR)); } /** @@ -2447,7 +2448,7 @@ __STATIC_INLINE uint32_t LL_USART_DMA_GetRegAddr(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval Value between Min_Data=0x00 and Max_Data=0xFF */ -__STATIC_INLINE uint8_t LL_USART_ReceiveData8(USART_TypeDef *USARTx) +__STATIC_INLINE uint8_t LL_USART_ReceiveData8(const USART_TypeDef *USARTx) { return (uint8_t)(READ_BIT(USARTx->DR, USART_DR_DR)); } @@ -2458,7 +2459,7 @@ __STATIC_INLINE uint8_t LL_USART_ReceiveData8(USART_TypeDef *USARTx) * @param USARTx USART Instance * @retval Value between Min_Data=0x00 and Max_Data=0x1FF */ -__STATIC_INLINE uint16_t LL_USART_ReceiveData9(USART_TypeDef *USARTx) +__STATIC_INLINE uint16_t LL_USART_ReceiveData9(const USART_TypeDef *USARTx) { return (uint16_t)(READ_BIT(USARTx->DR, USART_DR_DR)); } @@ -2536,10 +2537,10 @@ __STATIC_INLINE void LL_USART_RequestExitMuteMode(USART_TypeDef *USARTx) /** @defgroup USART_LL_EF_Init Initialization and de-initialization functions * @{ */ -ErrorStatus LL_USART_DeInit(USART_TypeDef *USARTx); -ErrorStatus LL_USART_Init(USART_TypeDef *USARTx, LL_USART_InitTypeDef *USART_InitStruct); +ErrorStatus LL_USART_DeInit(const USART_TypeDef *USARTx); +ErrorStatus LL_USART_Init(USART_TypeDef *USARTx, const LL_USART_InitTypeDef *USART_InitStruct); void LL_USART_StructInit(LL_USART_InitTypeDef *USART_InitStruct); -ErrorStatus LL_USART_ClockInit(USART_TypeDef *USARTx, LL_USART_ClockInitTypeDef *USART_ClockInitStruct); +ErrorStatus LL_USART_ClockInit(USART_TypeDef *USARTx, const LL_USART_ClockInitTypeDef *USART_ClockInitStruct); void LL_USART_ClockStructInit(LL_USART_ClockInitTypeDef *USART_ClockInitStruct); /** * @} @@ -2566,4 +2567,3 @@ void LL_USART_ClockStructInit(LL_USART_ClockInitTypeDef *USART_ClockInitS #endif /* __STM32F1xx_LL_USART_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h index 0f991cc..c3a548e 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_usb.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -23,7 +22,7 @@ #ifdef __cplusplus extern "C" { -#endif +#endif /* __cplusplus */ /* Includes ------------------------------------------------------------------*/ #include "stm32f1xx_hal_def.h" @@ -42,13 +41,12 @@ extern "C" { /** * @brief USB Mode definition */ -#if defined (USB_OTG_FS) typedef enum { - USB_DEVICE_MODE = 0, - USB_HOST_MODE = 1, - USB_DRD_MODE = 2 + USB_DEVICE_MODE = 0, + USB_HOST_MODE = 1, + USB_DRD_MODE = 2 } USB_ModeTypeDef; /** @@ -62,7 +60,7 @@ typedef enum URB_NYET, URB_ERROR, URB_STALL -} USB_OTG_URBStateTypeDef; +} USB_URBStateTypeDef; /** * @brief Host channel States definition @@ -72,13 +70,15 @@ typedef enum HC_IDLE = 0, HC_XFRC, HC_HALTED, + HC_ACK, HC_NAK, HC_NYET, HC_STALL, HC_XACTERR, HC_BBLERR, HC_DATATGLERR -} USB_OTG_HCStateTypeDef; +} USB_HCStateTypeDef; + /** * @brief USB Instance Initialization Structure definition @@ -89,16 +89,19 @@ typedef struct This parameter depends on the used USB core. This parameter must be a number between Min_Data = 1 and Max_Data = 15 */ +#if defined (USB_OTG_FS) uint32_t Host_channels; /*!< Host Channels number. This parameter Depends on the used USB core. This parameter must be a number between Min_Data = 1 and Max_Data = 15 */ + uint32_t dma_enable; /*!< USB DMA state. + If DMA is not supported this parameter shall be set by default to zero */ +#endif /* defined (USB_OTG_FS) */ + uint32_t speed; /*!< USB Core speed. This parameter can be any value of @ref PCD_Speed/HCD_Speed (HCD_SPEED_xxx, HCD_SPEED_xxx) */ - uint32_t dma_enable; /*!< Enable or disable of the USB embedded DMA used only for OTG HS. */ - uint32_t ep0_mps; /*!< Set the Endpoint 0 Max Packet size. */ uint32_t phy_itface; /*!< Select the used PHY interface. @@ -106,19 +109,20 @@ typedef struct uint32_t Sof_enable; /*!< Enable or disable the output of the SOF signal. */ - uint32_t low_power_enable; /*!< Enable or disable the low power mode. */ + uint32_t low_power_enable; /*!< Enable or disable the low Power Mode. */ uint32_t lpm_enable; /*!< Enable or disable Link Power Management. */ uint32_t battery_charging_enable; /*!< Enable or disable Battery charging. */ +#if defined (USB_OTG_FS) uint32_t vbus_sensing_enable; /*!< Enable or disable the VBUS Sensing feature. */ uint32_t use_dedicated_ep1; /*!< Enable or disable the use of the dedicated EP1 interrupt. */ uint32_t use_external_vbus; /*!< Enable or disable the use of the external VBUS. */ - -} USB_OTG_CfgTypeDef; +#endif /* defined (USB_OTG_FS) */ +} USB_CfgTypeDef; typedef struct { @@ -131,29 +135,58 @@ typedef struct uint8_t is_stall; /*!< Endpoint stall condition This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ +#if defined (USB_OTG_FS) + uint8_t is_iso_incomplete; /*!< Endpoint isoc condition + This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ +#endif /* defined (USB_OTG_FS) */ + uint8_t type; /*!< Endpoint type This parameter can be any value of @ref USB_LL_EP_Type */ uint8_t data_pid_start; /*!< Initial data PID This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ - uint8_t even_odd_frame; /*!< IFrame parity - This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ +#if defined (USB) + uint16_t pmaadress; /*!< PMA Address + This parameter can be any value between Min_addr = 0 and Max_addr = 1K */ - uint16_t tx_fifo_num; /*!< Transmission FIFO number - This parameter must be a number between Min_Data = 1 and Max_Data = 15 */ + uint16_t pmaaddr0; /*!< PMA Address0 + This parameter can be any value between Min_addr = 0 and Max_addr = 1K */ + + uint16_t pmaaddr1; /*!< PMA Address1 + This parameter can be any value between Min_addr = 0 and Max_addr = 1K */ + + uint8_t doublebuffer; /*!< Double buffer enable + This parameter can be 0 or 1 */ +#endif /* defined (USB) */ uint32_t maxpacket; /*!< Endpoint Max packet size This parameter must be a number between Min_Data = 0 and Max_Data = 64KB */ uint8_t *xfer_buff; /*!< Pointer to transfer buffer */ - uint32_t dma_addr; /*!< 32 bits aligned transfer buffer address */ - uint32_t xfer_len; /*!< Current transfer length */ uint32_t xfer_count; /*!< Partial transfer length in case of multi packet transfer */ -} USB_OTG_EPTypeDef; + +#if defined (USB_OTG_FS) + uint8_t even_odd_frame; /*!< IFrame parity + This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ + + uint16_t tx_fifo_num; /*!< Transmission FIFO number + This parameter must be a number between Min_Data = 1 and Max_Data = 15 */ + + uint32_t dma_addr; /*!< 32 bits aligned transfer buffer address */ + + uint32_t xfer_size; /*!< requested transfer size */ +#endif /* defined (USB_OTG_FS) */ + +#if defined (USB) + uint32_t xfer_len_db; /*!< double buffer transfer length used with bulk double buffer in */ + + uint8_t xfer_fill_db; /*!< double buffer Need to Fill new buffer used with bulk_in */ +#endif /* defined (USB) */ +} USB_EPTypeDef; typedef struct { @@ -175,7 +208,8 @@ typedef struct uint8_t do_ping; /*!< Enable or disable the use of the PING protocol for HS mode. */ - uint8_t process_ping; /*!< Execute the PING protocol for HS mode. */ + uint8_t hub_port_nbr; /*!< USB HUB port number */ + uint8_t hub_addr; /*!< USB HUB address */ uint8_t ep_type; /*!< Endpoint Type. This parameter can be any value of @ref USB_LL_EP_Type */ @@ -188,7 +222,7 @@ typedef struct uint8_t *xfer_buff; /*!< Pointer to transfer buffer. */ - uint32_t XferSize; /*!< OTG Channel transfer size. */ + uint32_t XferSize; /*!< OTG Channel transfer size. */ uint32_t xfer_len; /*!< Current transfer length. */ @@ -204,97 +238,22 @@ typedef struct uint32_t ErrCnt; /*!< Host channel error count. */ - USB_OTG_URBStateTypeDef urb_state; /*!< URB state. - This parameter can be any value of @ref USB_OTG_URBStateTypeDef */ + USB_URBStateTypeDef urb_state; /*!< URB state. + This parameter can be any value of @ref USB_URBStateTypeDef */ - USB_OTG_HCStateTypeDef state; /*!< Host Channel state. - This parameter can be any value of @ref USB_OTG_HCStateTypeDef */ -} USB_OTG_HCTypeDef; + USB_HCStateTypeDef state; /*!< Host Channel state. + This parameter can be any value of @ref USB_HCStateTypeDef */ +} USB_HCTypeDef; + +#if defined (USB_OTG_FS) +typedef USB_ModeTypeDef USB_OTG_ModeTypeDef; +typedef USB_CfgTypeDef USB_OTG_CfgTypeDef; +typedef USB_EPTypeDef USB_OTG_EPTypeDef; +typedef USB_URBStateTypeDef USB_OTG_URBStateTypeDef; +typedef USB_HCStateTypeDef USB_OTG_HCStateTypeDef; +typedef USB_HCTypeDef USB_OTG_HCTypeDef; #endif /* defined (USB_OTG_FS) */ -#if defined (USB) - -typedef enum -{ - USB_DEVICE_MODE = 0 -} USB_ModeTypeDef; - -/** - * @brief USB Initialization Structure definition - */ -typedef struct -{ - uint32_t dev_endpoints; /*!< Device Endpoints number. - This parameter depends on the used USB core. - This parameter must be a number between Min_Data = 1 and Max_Data = 15 */ - - uint32_t speed; /*!< USB Core speed. - This parameter can be any value of @ref PCD_Speed/HCD_Speed - (HCD_SPEED_xxx, HCD_SPEED_xxx) */ - - uint32_t ep0_mps; /*!< Set the Endpoint 0 Max Packet size. */ - - uint32_t phy_itface; /*!< Select the used PHY interface. - This parameter can be any value of @ref PCD_PHY_Module/HCD_PHY_Module */ - - uint32_t Sof_enable; /*!< Enable or disable the output of the SOF signal. */ - - uint32_t low_power_enable; /*!< Enable or disable Low Power mode */ - - uint32_t lpm_enable; /*!< Enable or disable Battery charging. */ - - uint32_t battery_charging_enable; /*!< Enable or disable Battery charging. */ -} USB_CfgTypeDef; - -typedef struct -{ - uint8_t num; /*!< Endpoint number - This parameter must be a number between Min_Data = 1 and Max_Data = 15 */ - - uint8_t is_in; /*!< Endpoint direction - This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ - - uint8_t is_stall; /*!< Endpoint stall condition - This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ - - uint8_t type; /*!< Endpoint type - This parameter can be any value of @ref USB_EP_Type */ - - uint8_t data_pid_start; /*!< Initial data PID - This parameter must be a number between Min_Data = 0 and Max_Data = 1 */ - - uint16_t pmaadress; /*!< PMA Address - This parameter can be any value between Min_addr = 0 and Max_addr = 1K */ - - uint16_t pmaaddr0; /*!< PMA Address0 - This parameter can be any value between Min_addr = 0 and Max_addr = 1K */ - - uint16_t pmaaddr1; /*!< PMA Address1 - This parameter can be any value between Min_addr = 0 and Max_addr = 1K */ - - uint8_t doublebuffer; /*!< Double buffer enable - This parameter can be 0 or 1 */ - - uint16_t tx_fifo_num; /*!< This parameter is not required by USB Device FS peripheral, it is used - only by USB OTG FS peripheral - This parameter is added to ensure compatibility across USB peripherals */ - - uint32_t maxpacket; /*!< Endpoint Max packet size - This parameter must be a number between Min_Data = 0 and Max_Data = 64KB */ - - uint8_t *xfer_buff; /*!< Pointer to transfer buffer */ - - uint32_t xfer_len; /*!< Current transfer length */ - - uint32_t xfer_count; /*!< Partial transfer length in case of multi packet transfer */ - - uint32_t xfer_len_db; /*!< double buffer transfer length used with bulk double buffer in */ - - uint8_t xfer_fill_db; /*!< double buffer Need to Fill new buffer used with bulk_in */ - -} USB_EPTypeDef; -#endif /* defined (USB) */ - /* Exported constants --------------------------------------------------------*/ /** @defgroup PCD_Exported_Constants PCD Exported Constants @@ -321,15 +280,6 @@ typedef struct * @} */ -/** @defgroup USB_LL Device Speed - * @{ - */ -#define USBD_FS_SPEED 2U -#define USBH_FSLS_SPEED 1U -/** - * @} - */ - /** @defgroup USB_LL_Core_Speed USB Low Layer Core Speed * @{ */ @@ -341,7 +291,6 @@ typedef struct /** @defgroup USB_LL_Core_PHY USB Low Layer Core PHY * @{ */ -#define USB_OTG_ULPI_PHY 1U #define USB_OTG_EMBEDDED_PHY 2U /** * @} @@ -387,107 +336,7 @@ typedef struct /** * @} */ - -/** @defgroup USB_LL_EP0_MPS USB Low Layer EP0 MPS - * @{ - */ -#define EP_MPS_64 0U -#define EP_MPS_32 1U -#define EP_MPS_16 2U -#define EP_MPS_8 3U -/** - * @} - */ - -/** @defgroup USB_LL_EP_Speed USB Low Layer EP Speed - * @{ - */ -#define EP_SPEED_LOW 0U -#define EP_SPEED_FULL 1U -#define EP_SPEED_HIGH 2U -/** - * @} - */ - -/** @defgroup USB_LL_EP_Type USB Low Layer EP Type - * @{ - */ -#define EP_TYPE_CTRL 0U -#define EP_TYPE_ISOC 1U -#define EP_TYPE_BULK 2U -#define EP_TYPE_INTR 3U -#define EP_TYPE_MSK 3U -/** - * @} - */ - -/** @defgroup USB_LL_STS_Defines USB Low Layer STS Defines - * @{ - */ -#define STS_GOUT_NAK 1U -#define STS_DATA_UPDT 2U -#define STS_XFER_COMP 3U -#define STS_SETUP_COMP 4U -#define STS_SETUP_UPDT 6U -/** - * @} - */ - -/** @defgroup USB_LL_HCFG_SPEED_Defines USB Low Layer HCFG Speed Defines - * @{ - */ -#define HCFG_30_60_MHZ 0U -#define HCFG_48_MHZ 1U -#define HCFG_6_MHZ 2U -/** - * @} - */ - -/** @defgroup USB_LL_HPRT0_PRTSPD_SPEED_Defines USB Low Layer HPRT0 PRTSPD Speed Defines - * @{ - */ -#define HPRT0_PRTSPD_HIGH_SPEED 0U -#define HPRT0_PRTSPD_FULL_SPEED 1U -#define HPRT0_PRTSPD_LOW_SPEED 2U -/** - * @} - */ - -#define HCCHAR_CTRL 0U -#define HCCHAR_ISOC 1U -#define HCCHAR_BULK 2U -#define HCCHAR_INTR 3U - -#define HC_PID_DATA0 0U -#define HC_PID_DATA2 1U -#define HC_PID_DATA1 2U -#define HC_PID_SETUP 3U - -#define GRXSTS_PKTSTS_IN 2U -#define GRXSTS_PKTSTS_IN_XFER_COMP 3U -#define GRXSTS_PKTSTS_DATA_TOGGLE_ERR 5U -#define GRXSTS_PKTSTS_CH_HALTED 7U - -#define USBx_PCGCCTL *(__IO uint32_t *)((uint32_t)USBx_BASE + USB_OTG_PCGCCTL_BASE) -#define USBx_HPRT0 *(__IO uint32_t *)((uint32_t)USBx_BASE + USB_OTG_HOST_PORT_BASE) - -#define USBx_DEVICE ((USB_OTG_DeviceTypeDef *)(USBx_BASE + USB_OTG_DEVICE_BASE)) -#define USBx_INEP(i) ((USB_OTG_INEndpointTypeDef *)(USBx_BASE\ - + USB_OTG_IN_ENDPOINT_BASE + ((i) * USB_OTG_EP_REG_SIZE))) - -#define USBx_OUTEP(i) ((USB_OTG_OUTEndpointTypeDef *)(USBx_BASE\ - + USB_OTG_OUT_ENDPOINT_BASE + ((i) * USB_OTG_EP_REG_SIZE))) - -#define USBx_DFIFO(i) *(__IO uint32_t *)(USBx_BASE + USB_OTG_FIFO_BASE + ((i) * USB_OTG_FIFO_SIZE)) - -#define USBx_HOST ((USB_OTG_HostTypeDef *)(USBx_BASE + USB_OTG_HOST_BASE)) -#define USBx_HC(i) ((USB_OTG_HostChannelTypeDef *)(USBx_BASE\ - + USB_OTG_HOST_CHANNEL_BASE\ - + ((i) * USB_OTG_HOST_CHANNEL_SIZE))) - #endif /* defined (USB_OTG_FS) */ - -#if defined (USB) /** @defgroup USB_LL_EP0_MPS USB Low Layer EP0 MPS * @{ */ @@ -511,23 +360,129 @@ typedef struct * @} */ -/** @defgroup USB_LL Device Speed +/** @defgroup USB_LL_EP_Speed USB Low Layer EP Speed * @{ */ -#define USBD_FS_SPEED 2U +#define EP_SPEED_LOW 0U +#define EP_SPEED_FULL 1U +#define EP_SPEED_HIGH 2U +/** + * @} + */ + +/** @defgroup USB_LL_CH_PID_Type USB Low Layer Channel PID Type + * @{ + */ +#define HC_PID_DATA0 0U +#define HC_PID_DATA2 1U +#define HC_PID_DATA1 2U +#define HC_PID_SETUP 3U +/** + * @} + */ + +/** @defgroup USB_LL Device Speed + * @{ + */ +#define USBD_FS_SPEED 2U +#define USBH_FSLS_SPEED 1U /** * @} */ -#define BTABLE_ADDRESS 0x000U -#define PMA_ACCESS 2U -#endif /* defined (USB) */ #if defined (USB_OTG_FS) +/** @defgroup USB_LL_STS_Defines USB Low Layer STS Defines + * @{ + */ +#define STS_GOUT_NAK 1U +#define STS_DATA_UPDT 2U +#define STS_XFER_COMP 3U +#define STS_SETUP_COMP 4U +#define STS_SETUP_UPDT 6U +/** + * @} + */ + +/** @defgroup USB_LL_HCFG_SPEED_Defines USB Low Layer HCFG Speed Defines + * @{ + */ +#define HCFG_30_60_MHZ 0U +#define HCFG_48_MHZ 1U +#define HCFG_6_MHZ 2U +/** + * @} + */ + +/** @defgroup USB_LL_HFIR_Defines USB Low Layer frame interval Defines + * @{ + */ +#define HFIR_6_MHZ 6000U +#define HFIR_60_MHZ 60000U +#define HFIR_48_MHZ 48000U +/** + * @} + */ + +/** @defgroup USB_LL_HPRT0_PRTSPD_SPEED_Defines USB Low Layer HPRT0 PRTSPD Speed Defines + * @{ + */ +#define HPRT0_PRTSPD_HIGH_SPEED 0U +#define HPRT0_PRTSPD_FULL_SPEED 1U +#define HPRT0_PRTSPD_LOW_SPEED 2U +/** + * @} + */ + +#define HCCHAR_CTRL 0U +#define HCCHAR_ISOC 1U +#define HCCHAR_BULK 2U +#define HCCHAR_INTR 3U + +#define GRXSTS_PKTSTS_IN 2U +#define GRXSTS_PKTSTS_IN_XFER_COMP 3U +#define GRXSTS_PKTSTS_DATA_TOGGLE_ERR 5U +#define GRXSTS_PKTSTS_CH_HALTED 7U + +#define CLEAR_INTERRUPT_MASK 0xFFFFFFFFU + +#define HC_MAX_PKT_CNT 256U + +#define USBx_PCGCCTL *(__IO uint32_t *)((uint32_t)USBx_BASE + USB_OTG_PCGCCTL_BASE) +#define USBx_HPRT0 *(__IO uint32_t *)((uint32_t)USBx_BASE + USB_OTG_HOST_PORT_BASE) + +#define USBx_DEVICE ((USB_OTG_DeviceTypeDef *)(USBx_BASE + USB_OTG_DEVICE_BASE)) +#define USBx_INEP(i) ((USB_OTG_INEndpointTypeDef *)(USBx_BASE\ + + USB_OTG_IN_ENDPOINT_BASE + ((i) * USB_OTG_EP_REG_SIZE))) + +#define USBx_OUTEP(i) ((USB_OTG_OUTEndpointTypeDef *)(USBx_BASE\ + + USB_OTG_OUT_ENDPOINT_BASE + ((i) * USB_OTG_EP_REG_SIZE))) + +#define USBx_DFIFO(i) *(__IO uint32_t *)(USBx_BASE + USB_OTG_FIFO_BASE + ((i) * USB_OTG_FIFO_SIZE)) + +#define USBx_HOST ((USB_OTG_HostTypeDef *)(USBx_BASE + USB_OTG_HOST_BASE)) +#define USBx_HC(i) ((USB_OTG_HostChannelTypeDef *)(USBx_BASE\ + + USB_OTG_HOST_CHANNEL_BASE\ + + ((i) * USB_OTG_HOST_CHANNEL_SIZE))) + + #define EP_ADDR_MSK 0xFU #endif /* defined (USB_OTG_FS) */ + #if defined (USB) +#define BTABLE_ADDRESS 0x000U +#define PMA_ACCESS 2U + +#ifndef USB_EP_RX_STRX +#define USB_EP_RX_STRX (0x3U << 12) +#endif /* USB_EP_RX_STRX */ + #define EP_ADDR_MSK 0x7U + +#ifndef USE_USB_DOUBLE_BUFFER +#define USE_USB_DOUBLE_BUFFER 1U +#endif /* USE_USB_DOUBLE_BUFFER */ #endif /* defined (USB) */ + /** * @} */ @@ -566,13 +521,13 @@ HAL_StatusTypeDef USB_DeactivateEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EP HAL_StatusTypeDef USB_ActivateDedicatedEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep); HAL_StatusTypeDef USB_DeactivateDedicatedEndpoint(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep); HAL_StatusTypeDef USB_EPStartXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep); -HAL_StatusTypeDef USB_EP0StartXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep); HAL_StatusTypeDef USB_WritePacket(USB_OTG_GlobalTypeDef *USBx, uint8_t *src, uint8_t ch_ep_num, uint16_t len); void *USB_ReadPacket(USB_OTG_GlobalTypeDef *USBx, uint8_t *dest, uint16_t len); HAL_StatusTypeDef USB_EPSetStall(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep); HAL_StatusTypeDef USB_EPClearStall(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep); +HAL_StatusTypeDef USB_EPStopXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep); HAL_StatusTypeDef USB_SetDevAddress(USB_OTG_GlobalTypeDef *USBx, uint8_t address); HAL_StatusTypeDef USB_DevConnect(USB_OTG_GlobalTypeDef *USBx); HAL_StatusTypeDef USB_DevDisconnect(USB_OTG_GlobalTypeDef *USBx); @@ -581,7 +536,8 @@ HAL_StatusTypeDef USB_ActivateSetup(USB_OTG_GlobalTypeDef *USBx); HAL_StatusTypeDef USB_EP0_OutStart(USB_OTG_GlobalTypeDef *USBx, uint8_t *psetup); uint8_t USB_GetDevSpeed(USB_OTG_GlobalTypeDef *USBx); uint32_t USB_GetMode(USB_OTG_GlobalTypeDef *USBx); -uint32_t USB_ReadInterrupts(USB_OTG_GlobalTypeDef *USBx); +uint32_t USB_ReadInterrupts(USB_OTG_GlobalTypeDef const *USBx); +uint32_t USB_ReadChInterrupts(USB_OTG_GlobalTypeDef *USBx, uint8_t chnum); uint32_t USB_ReadDevAllOutEpInterrupt(USB_OTG_GlobalTypeDef *USBx); uint32_t USB_ReadDevOutEPInterrupt(USB_OTG_GlobalTypeDef *USBx, uint8_t epnum); uint32_t USB_ReadDevAllInEpInterrupt(USB_OTG_GlobalTypeDef *USBx); @@ -592,8 +548,8 @@ HAL_StatusTypeDef USB_HostInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef c HAL_StatusTypeDef USB_InitFSLSPClkSel(USB_OTG_GlobalTypeDef *USBx, uint8_t freq); HAL_StatusTypeDef USB_ResetPort(USB_OTG_GlobalTypeDef *USBx); HAL_StatusTypeDef USB_DriveVbus(USB_OTG_GlobalTypeDef *USBx, uint8_t state); -uint32_t USB_GetHostSpeed(USB_OTG_GlobalTypeDef *USBx); -uint32_t USB_GetCurrentFrame(USB_OTG_GlobalTypeDef *USBx); +uint32_t USB_GetHostSpeed(USB_OTG_GlobalTypeDef const *USBx); +uint32_t USB_GetCurrentFrame(USB_OTG_GlobalTypeDef const *USBx); HAL_StatusTypeDef USB_HC_Init(USB_OTG_GlobalTypeDef *USBx, uint8_t ch_num, uint8_t epnum, uint8_t dev_address, uint8_t speed, uint8_t ep_type, uint16_t mps); @@ -615,8 +571,9 @@ HAL_StatusTypeDef USB_EnableGlobalInt(USB_TypeDef *USBx); HAL_StatusTypeDef USB_DisableGlobalInt(USB_TypeDef *USBx); HAL_StatusTypeDef USB_SetCurrentMode(USB_TypeDef *USBx, USB_ModeTypeDef mode); HAL_StatusTypeDef USB_SetDevSpeed(USB_TypeDef *USBx, uint8_t speed); -HAL_StatusTypeDef USB_FlushRxFifo(USB_TypeDef *USBx); -HAL_StatusTypeDef USB_FlushTxFifo(USB_TypeDef *USBx, uint32_t num); + +HAL_StatusTypeDef USB_FlushRxFifo(USB_TypeDef const *USBx); +HAL_StatusTypeDef USB_FlushTxFifo(USB_TypeDef const *USBx, uint32_t num); #if defined (HAL_PCD_MODULE_ENABLED) HAL_StatusTypeDef USB_ActivateEndpoint(USB_TypeDef *USBx, USB_EPTypeDef *ep); @@ -624,7 +581,8 @@ HAL_StatusTypeDef USB_DeactivateEndpoint(USB_TypeDef *USBx, USB_EPTypeDef *ep); HAL_StatusTypeDef USB_EPStartXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep); HAL_StatusTypeDef USB_EPSetStall(USB_TypeDef *USBx, USB_EPTypeDef *ep); HAL_StatusTypeDef USB_EPClearStall(USB_TypeDef *USBx, USB_EPTypeDef *ep); -#endif +HAL_StatusTypeDef USB_EPStopXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep); +#endif /* defined (HAL_PCD_MODULE_ENABLED) */ HAL_StatusTypeDef USB_SetDevAddress(USB_TypeDef *USBx, uint8_t address); HAL_StatusTypeDef USB_DevConnect(USB_TypeDef *USBx); @@ -636,7 +594,7 @@ HAL_StatusTypeDef USB_WritePacket(USB_TypeDef *USBx, uint8_t *src, void *USB_ReadPacket(USB_TypeDef *USBx, uint8_t *dest, uint16_t len); -uint32_t USB_ReadInterrupts(USB_TypeDef *USBx); +uint32_t USB_ReadInterrupts(USB_TypeDef const *USBx); uint32_t USB_ReadDevAllOutEpInterrupt(USB_TypeDef *USBx); uint32_t USB_ReadDevOutEPInterrupt(USB_TypeDef *USBx, uint8_t epnum); uint32_t USB_ReadDevAllInEpInterrupt(USB_TypeDef *USBx); @@ -645,10 +603,10 @@ void USB_ClearInterrupts(USB_TypeDef *USBx, uint32_t interrupt); HAL_StatusTypeDef USB_ActivateRemoteWakeup(USB_TypeDef *USBx); HAL_StatusTypeDef USB_DeActivateRemoteWakeup(USB_TypeDef *USBx); -void USB_WritePMA(USB_TypeDef *USBx, uint8_t *pbUsrBuf, +void USB_WritePMA(USB_TypeDef const *USBx, uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uint16_t wNBytes); -void USB_ReadPMA(USB_TypeDef *USBx, uint8_t *pbUsrBuf, +void USB_ReadPMA(USB_TypeDef const *USBx, uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uint16_t wNBytes); #endif /* defined (USB) */ /** @@ -670,9 +628,7 @@ void USB_ReadPMA(USB_TypeDef *USBx, uint8_t *pbUsrBuf, #ifdef __cplusplus } -#endif +#endif /* __cplusplus */ #endif /* STM32F1xx_LL_USB_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_utils.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_utils.h index 681ef89..d938fa3 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_utils.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_utils.h @@ -3,6 +3,17 @@ * @file stm32f1xx_ll_utils.h * @author MCD Application Team * @brief Header file of UTILS LL module. + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -16,17 +27,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Define to prevent recursive inclusion -------------------------------------*/ @@ -268,5 +268,3 @@ ErrorStatus LL_PLL_ConfigSystemClock_PLL2(uint32_t HSEFrequency, uint32_t HSEByp #endif #endif /* __STM32F1xx_LL_UTILS_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_wwdg.h b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_wwdg.h index c4ddbd4..6f9e1b7 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_wwdg.h +++ b/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_wwdg.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                  © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                  + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -315,5 +314,3 @@ __STATIC_INLINE uint32_t LL_WWDG_IsEnabledIT_EWKUP(WWDG_TypeDef *WWDGx) #endif #endif /* STM32F1xx_LL_WWDG_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/License.md b/Drivers/STM32F1xx_HAL_Driver/License.md index ff4e630..fa1b6f2 100644 --- a/Drivers/STM32F1xx_HAL_Driver/License.md +++ b/Drivers/STM32F1xx_HAL_Driver/License.md @@ -1,4 +1,4 @@ -Copyright 2016(-2021) STMicroelectronics. +Copyright 2016 STMicroelectronics. All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Drivers/STM32F1xx_HAL_Driver/README.md b/Drivers/STM32F1xx_HAL_Driver/README.md index af99343..def15ba 100644 --- a/Drivers/STM32F1xx_HAL_Driver/README.md +++ b/Drivers/STM32F1xx_HAL_Driver/README.md @@ -21,30 +21,13 @@ Two models of publication are proposed for the STM32Cube embedded software: This **stm32f1xx_hal_driver** MCU component repo is one element of the STM32CubeF1 MCU embedded software package, providing the **HAL-LL Drivers** part. -## License - -Copyright (c) 2016 STMicroelectronics. - -This software component is licensed by STMicroelectronics under BSD 3-Clause license. You may not use this file except in compliance with the License. -You may obtain a copy of the License [here](https://opensource.org/licenses/BSD-3-Clause). - ## Release note Details about the content of this release are available in the release note [here](https://htmlpreview.github.io/?https://github.com/STMicroelectronics/stm32f1xx_hal_driver/blob/master/Release_Notes.html). ## Compatibility information -In this table, you can find the successive versions of this HAL-LL Driver component, in line with the corresponding versions of the full MCU package: - -It is **crucial** that you use a consistent set of versions for the CMSIS Core - CMSIS Device - HAL, as mentioned in this table. - -HAL Driver F1 | CMSIS Device F1 | CMSIS Core | Was delivered in the full MCU package -------------- | --------------- | ---------- | ------------------------------------- -Tag v1.1.4 | Tag v4.3.1 | Tag v5.4.0_cm3 | Tag v1.8.0 (and following, if any, till next HAL tag) -Tag v1.1.5 | Tag v4.3.1 | Tag v5.4.0_cm3 | Tag v1.8.1 (and following, if any, till next HAL tag) -Tag v1.1.6 | Tag v4.3.2 | Tag v5.4.0_cm3 | Tag v1.8.2 (and following, if any, till next HAL tag) -Tag v1.1.8 | Tag v4.3.2 | Tag v5.4.0_cm3 | Tag v1.8.3 (and following, if any, till next HAL tag) -Tag v1.1.8 | Tag v4.3.3 | Tag v5.4.0_cm3 | Tag v1.8.4 (and following, if any, till next HAL tag) +It is **crucial** that you use a consistent set of versions for the CMSIS Core - CMSIS Device - HAL, as mentioned in [this](https://htmlpreview.github.io/?https://github.com/STMicroelectronics/STM32CubeF1/blob/master/Release_Notes.html) release note. The full **STM32CubeF1** MCU package is available [here](https://github.com/STMicroelectronics/STM32CubeF1). diff --git a/Drivers/STM32F1xx_HAL_Driver/Release_Notes.html b/Drivers/STM32F1xx_HAL_Driver/Release_Notes.html index f325593..a2e9e16 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Release_Notes.html +++ b/Drivers/STM32F1xx_HAL_Driver/Release_Notes.html @@ -11,44 +11,183 @@ span.underline{text-decoration: underline;} div.column{display: inline-block; vertical-align: top; width: 50%;} - + +
                                  -
                                  -
                                  -

                                  Release Notes for STM32F1xx HAL Drivers

                                  +

                                  Release Notes forSTM32F1xx HAL Drivers

                                  Copyright © 2016 STMicroelectronics

                                  - -
                                  -
                                  -
                                  -

                                  License

                                  -This software component is licensed by ST under BSD 3-Clause license, the “Licenseâ€; You may not use this component except in compliance with the License. You may obtain a copy of the License at: -
                                  -https://opensource.org/licenses/BSD-3-Clause +
                                  +

                                  Purpose

                                  +

                                  The STM32Cube HAL and LL, an STM32 abstraction layer embedded software, ensure maximized portability across STM32 portfolio.

                                  +

                                  The portable APIs layer provides a generic, multi instanced and simple set of APIs to interact with the upper layer (application, libraries and stacks). It is composed of native and extended APIs set. It is directly built around a generic architecture and allows the build-upon layers, like the middleware layer, to implement its functions without knowing in-depth the used STM32 device. This improves the library code reusability and guarantees an easy portability on other devices and STM32 families.

                                  +

                                  The Low Layer (LL) drivers are part of the STM32Cube firmware HAL that provides a basic set of optimized and one shot services. The Low layer drivers, contrary to the HAL ones are not fully portable across the STM32 families; the availability of some functions depends on the physical availability of the relative features on the product. The Low Layer (LL) drivers are designed to offer the following features:

                                  +
                                    +
                                  • New set of inline functions for direct and atomic register access
                                  • +
                                  • One-shot operations that can be used by the HAL drivers or from application level
                                  • +
                                  • Full independence from HAL and standalone usage (without HAL drivers)
                                  • +
                                  • Full features coverage of all the supported peripherals
                                  • +
                                  -

                                  Update History

                                  +

                                  Update History

                                  - +

                                  Main Changes

                                    -
                                  • General updates to fix known defects.
                                  • +
                                  • General updates to fix known defects and enhancements implementation.
                                  • +
                                  • HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers.
                                  • +
                                  • All source files: update disclaimer to add reference to the new license agreement.

                                  Contents

                                    +
                                  • HAL Generic driver +
                                      +
                                    • Allow redefinition of macro UNUSED(x).
                                    • +
                                  • +
                                  • HAL EXTI driver +
                                      +
                                    • Fix computation of pExtiConfig->GPIOSel in HAL_EXTI_GetConfigLine().
                                    • +
                                  • +
                                  • HAL GPIO driver +
                                      +
                                    • Reorder EXTI configuration sequence in order to avoid unexpected level detection.
                                    • +
                                  • +
                                  • HAL RCC driver +
                                      +
                                    • Add ‘static’ storage-class specifier to ‘const’ arrays.
                                    • +
                                    • update macro __HAL_RCC_APB1_FORCE_RESET definition.
                                    • +
                                  • +
                                  • HAL DMA driver +
                                      +
                                    • Add volatile qualifier to member ‘State’ of DMA_HandleTypeDef structure to prevent any issue when optimization is enabled.
                                    • +
                                  • +
                                  • HAL CEC driver +
                                      +
                                    • Better performance by removing multiple volatile reads or writes in interrupt handler.
                                    • +
                                  • +
                                  • HAL ADC driver +
                                      +
                                    • Remove multiple volatile reads or writes in interrupt handler for better performance.
                                    • +
                                    • Fix HAL_ADCEx_Calibration_Start() in power-on state (ADON bit = ‘1’) for at least two ADC clock cycles.
                                    • +
                                  • +
                                  • HAL DAC driver +
                                      +
                                    • Fix incorrect word ‘surcharged’ in functions headers.
                                    • +
                                  • +
                                  • HAL/LL TIM driver +
                                      +
                                    • Manage configuration of the Capture/compare DMA request source: +
                                        +
                                      • Add related new exported constants (TIM_CCDMAREQUEST_CC, TIM_CCDMAREQUEST_UPDATE).
                                      • +
                                      • Create a new macro __HAL_TIM_SELECT_CCDMAREQUEST() allowing to program the TIMx_CR2.CCDS bitfield.
                                      • +
                                    • +
                                    • Update __LL_TIM_CALC_PSC() macro to round up the evaluated value when the fractional part of the division is greater than 0.5.
                                    • +
                                    • Improved driver robustness against wrong period values.
                                    • +
                                    • Improved driver robustness against wrong DMA related parameters.
                                    • +
                                    • Improved period configuration parameter check.
                                    • +
                                    • Removed lock management from callback management functions.
                                    • +
                                  • +
                                  • HAL RTC driver +
                                      +
                                    • In HAL_RTC_Init(), use WRITE_REG() instead of MODIFY_REG() to handle PRLL and PRLH write-only registers.
                                    • +
                                  • +
                                  • HAL SPI driver +
                                      +
                                    • Fix driver to don’t update state in case of error. (HAL_SPI_STATE_READY will be set only in case of HAL_TIMEOUT).
                                    • +
                                  • +
                                  • HAL I2C driver +
                                      +
                                    • Update HAL_I2C_Mem_Write_DMA() and HAL_I2C_Mem_Read_DMA() APIs to add initialization of Devaddress, Memaddress and EventCount parameters.
                                    • +
                                    • Update I2C_MasterReceive_RXNE() process to safely manage data N=2 and N=3, Disable BUF interrupt if nothing to do.
                                    • +
                                    • Update HAL_I2C_Master_Transmit_IT to return HAL_BUSY instead of HAL_ERROR when timeout occur and I2C_FLAG_BUSY is SET.
                                    • +
                                    • Duplicate the test condition after timeout detection to avoid false timeout detection.
                                    • +
                                  • +
                                  • HAL/LL USART driver +
                                      +
                                    • Handling of UART concurrent register access in case of race condition between Tx and Rx transfers.
                                    • +
                                    • Improve header description of USART_WaitOnFlagUntilTimeout() function.
                                    • +
                                    • Add a check on the USART parity before enabling the parity error interrupt.
                                    • +
                                    • Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().
                                    • +
                                  • +
                                  • HAL UART driver +
                                      +
                                    • Handling of UART concurrent register access in case of race condition between Tx and Rx transfers.
                                    • +
                                    • Improve header description of UART_WaitOnFlagUntilTimeout() function.
                                    • +
                                    • Add a check on the UART parity before enabling the parity error interruption.
                                    • +
                                    • Fix typo in UART_IT_TXE bit description.
                                    • +
                                    • Add a new API HAL_UARTEx_GetRxEventType that could be used to retrieve the type of event that has led the RxEventCallback execution.
                                    • +
                                    • Removal of HAL_LOCK/HAL_UNLOCK calls in HAL UART Tx and Rx APIs.
                                    • +
                                    • Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().
                                    • +
                                  • +
                                  • HAL SMARTCARD driver +
                                      +
                                    • Improve header description of SMARTCARD_WaitOnFlagUntilTimeout() function.
                                    • +
                                    • Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().
                                    • +
                                  • +
                                  • HAL IRDA driver +
                                      +
                                    • Improve header description of IRDA_WaitOnFlagUntilTimeout() function.
                                    • +
                                    • Add a check on the IRDA parity before enabling the parity error interrupt.
                                    • +
                                    • Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().
                                    • +
                                  • +
                                  • HAL SDMMC driver +
                                      +
                                    • Take in account the voltage range in the CMD1 command.
                                    • +
                                    • Add new LL function to have correct response for MMC driver.
                                    • +
                                    • Update the driver to have all fields correctly initialized.
                                    • +
                                    • Add a internal to manage the power class and call it before to update speed of bus width.
                                    • +
                                    • Add new API to get the value of the Extended CSD register and populate the ExtCSD field of the MMC handle.
                                    • +
                                  • +
                                  • HAL CAN driver +
                                      +
                                    • Removal of never reached code.
                                    • +
                                    • Improve protection against bad inputs.
                                    • +
                                  • +
                                  • HAL NOR driver +
                                      +
                                    • Enable write operations before effective write to NOR memory in HAL_NOR_Init() function to avoid HardFault.
                                    • +
                                    • FMC_WRITE_OPERATION_DISABLE for NOR cause Hardfault for Read operations.
                                    • +
                                  • +
                                  • HAL/LL USB driver +
                                      +
                                    • PCD: add handling of USB OUT Endpoint disable interrupt.
                                    • +
                                    • PCD: fix device IN endpoint isoc incomplete transfer interrupt handling.
                                    • +
                                    • PCD: fix USB device Isoc OUT Endpoint incomplete transfer interrupt handling.
                                    • +
                                    • Fix handling of ODDFRM bit in OTG_HCCHARx for isochronous IN transactions.
                                    • +
                                    • Fix received data length counting when DMA is enabled.
                                    • +
                                    • Fix added to USB_ClearInterrupts() and USB_HC_Halt() APIs.
                                    • +
                                    • Remove useless software setting to setup the frame interval at 80%.
                                    • +
                                    • PCD: add supporting multi packets transfer on Interrupt endpoint.
                                    • +
                                    • PCD: software correction added to avoid unexpected STALL condition during EP0 multi packet OUT transfer.
                                    • +
                                    • PCD: add a mask for USB RX bytes count.
                                    • +
                                    • Add new HAL_PCD_EP_Abort() API to abort current USB endpoint transfer.
                                    • +
                                  • +
                                  +
                                  +
                                  +
                                  + +
                                  +

                                  Main Changes

                                  +
                                    +
                                  • General updates to fix known defects.
                                  • +
                                  +

                                  Contents

                                  +
                                  • HAL/LL ADC driver
                                    • Update LL_ADC_DeInit() API to clear missing SQR3 register.
                                    • +
                                    • Update HAL ADC driver to add include of the LL ADC driver.
                                    • Update timeout mechanism to avoid false timeout detection in case of preemption.
                                  • HAL EXTI driver @@ -89,7 +228,6 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                                  • Update I2C_MemoryTransmit_TXE_BTF() API to increment EventCount.
                                • Update to use the right macro to clear I2C ADDR flag inside I2C_Slave_ADDR() API as it’s indicated in the reference manual.
                                • -
                                • Update HAL_I2C_EV_IRQHandler() and I2C_MasterTransmit_BTF() APIs to fix an issue where the transfer of the first few bytes to an I2C memory fails.
                              • HAL NAND driver
                                  @@ -165,11 +303,11 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                                  -

                                  Main Changes

                                  +

                                  Main Changes

                                  • General updates to fix known defects.
                                  -

                                  Contents

                                  +

                                  Contents

                                  • HAL/LL I2C driver
                                      @@ -188,11 +326,11 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                                      -

                                      Main Changes

                                      +

                                      Main Changes

                                      • General updates to fix known defects and enhancements implementation
                                      -

                                      Contents

                                      +

                                      Contents

                                      • HAL/LL ADC driver
                                          @@ -371,11 +509,11 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                                          -

                                          Main Changes

                                          +

                                          Main Changes

                                          • General updates to fix known defects and enhancements implementation
                                          -

                                          Contents

                                          +

                                          Contents

                                          • HAL driver
                                              @@ -428,7 +566,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                                              -

                                              Main Changes

                                              +

                                              Main Changes

                                              • General updates to fix known defects and enhancements implementation
                                              • Add support of HAL callback registration feature
                                              • @@ -635,7 +773,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                                                -

                                                Main Changes

                                                +

                                                Main Changes

                                                • Maintenance release to fix known defects and enhancements implementation
                                                • Generic drivers changes
                                                • @@ -678,7 +816,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                                                  -

                                                  Main Changes

                                                  +

                                                  Main Changes

                                                  • General updates to fix known defects and enhancements implementation
                                                  • Remove Date and version from header files
                                                  • @@ -756,7 +894,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                                                    -

                                                    Main Changes

                                                    +

                                                    Main Changes

                                                    • General updates to fix known defects and enhancements implementation
                                                    • HAL Generic update @@ -782,7 +920,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                                                      -

                                                      Main Changes

                                                      +

                                                      Main Changes

                                                      • Add Low Layer drivers allowing performance and footprint optimization
                                                          @@ -1064,7 +1202,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                                                          -

                                                          Main Changes

                                                          +

                                                          Main Changes

                                                          • General updates to fix mainly known I2C defects and enhancements implementation
                                                          • The following changes done on the HAL drivers require an update on the application code based on HAL V1.0.4 @@ -1160,7 +1298,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                                                            -

                                                            Main Changes

                                                            +

                                                            Main Changes

                                                            • General updates to fix known defects and enhancements implementation.
                                                            • HAL RCC @@ -1200,7 +1338,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                                                              -

                                                              Main Changes

                                                              +

                                                              Main Changes

                                                              • Remove the #if defined(USE_HAL_LEGACY) condition to include Legacy/stm32_hal_legacy.h by default, in stm32f1xx_hal_def.h.
                                                              @@ -1209,7 +1347,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                                                              -

                                                              Main Changes

                                                              +

                                                              Main Changes

                                                              • General updates to fix known defects and enhancements implementation.
                                                              • HAL generic @@ -1295,7 +1433,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                                                                -

                                                                Main Changes

                                                                +

                                                                Main Changes

                                                                • General updates to fix known defects and enhancements implementation.
                                                                • HAL generic @@ -1397,7 +1535,7 @@ This software component is licensed by ST under BSD 3-Clause license, the “Lic
                                                                  -

                                                                  Main Changes

                                                                  +

                                                                  Main Changes

                                                                  • First Official release of STM32F1xx HAL Drivers for all STM32F1 devices.
                                                                  • This release is in line with STM32Cube Firmware specification Rev1.0 document
                                                                  • diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/Legacy/stm32f1xx_hal_can.c b/Drivers/STM32F1xx_HAL_Driver/Src/Legacy/stm32f1xx_hal_can.c index 4202b3f..fc90cf0 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/Legacy/stm32f1xx_hal_can.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/Legacy/stm32f1xx_hal_can.c @@ -9,6 +9,17 @@ * + Peripheral Control functions * + Peripheral State and Error functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### User NOTE ##### @@ -78,33 +89,6 @@ @endverbatim - ****************************************************************************** - * @attention - * - *

                                                                    © COPYRIGHT(c) 2017 STMicroelectronics

                                                                    - * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * 1. Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * 3. Neither the name of STMicroelectronics nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER - * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * ****************************************************************************** */ @@ -1709,5 +1693,3 @@ static HAL_StatusTypeDef CAN_Receive_IT(CAN_HandleTypeDef* hcan, uint8_t FIFONum /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c index 3c9544b..e66fc22 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c @@ -5,6 +5,17 @@ * @brief HAL module driver. * This is the common part of the HAL initialization * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -19,17 +30,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -53,11 +53,11 @@ * @{ */ /** - * @brief STM32F1xx HAL Driver version number V1.1.8 + * @brief STM32F1xx HAL Driver version number */ #define __STM32F1xx_HAL_VERSION_MAIN (0x01U) /*!< [31:24] main version */ #define __STM32F1xx_HAL_VERSION_SUB1 (0x01U) /*!< [23:16] sub1 version */ -#define __STM32F1xx_HAL_VERSION_SUB2 (0x08U) /*!< [15:8] sub2 version */ +#define __STM32F1xx_HAL_VERSION_SUB2 (0x09U) /*!< [15:8] sub2 version */ #define __STM32F1xx_HAL_VERSION_RC (0x00U) /*!< [7:0] release candidate */ #define __STM32F1xx_HAL_VERSION ((__STM32F1xx_HAL_VERSION_MAIN << 24)\ |(__STM32F1xx_HAL_VERSION_SUB1 << 16)\ @@ -349,7 +349,8 @@ HAL_StatusTypeDef HAL_SetTickFreq(HAL_TickFreqTypeDef Freq) /** * @brief Return tick frequency. - * @retval tick period in Hz + * @retval Tick frequency. + * Value of @ref HAL_TickFreqTypeDef. */ HAL_TickFreqTypeDef HAL_GetTickFreq(void) { @@ -603,4 +604,4 @@ void HAL_DBGMCU_DisableDBGStandbyMode(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c index 62cc847..29d7466 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c @@ -6,20 +6,22 @@ * functionalities of the Analog to Digital Convertor (ADC) * peripheral: * + Initialization and de-initialization functions - * ++ Initialization and Configuration of ADC - * + Operation functions - * ++ Start, stop, get result of conversions of regular - * group, using 3 possible modes: polling, interruption or DMA. - * + Control functions - * ++ Channels configuration on regular group - * ++ Channels configuration on injected group - * ++ Analog Watchdog configuration - * + State functions - * ++ ADC state machine management - * ++ Interrupts and flags management + * + Peripheral Control functions + * + Peripheral State functions * Other functions (extended functions) are available in file * "stm32f1xx_hal_adc_ex.c". * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### ADC peripheral features ##### @@ -247,11 +249,11 @@ The compilation flag USE_HAL_ADC_REGISTER_CALLBACKS, when set to 1, allows the user to configure dynamically the driver callbacks. - Use Functions @ref HAL_ADC_RegisterCallback() + Use Functions HAL_ADC_RegisterCallback() to register an interrupt callback. [..] - Function @ref HAL_ADC_RegisterCallback() allows to register following callbacks: + Function HAL_ADC_RegisterCallback() allows to register following callbacks: (+) ConvCpltCallback : ADC conversion complete callback (+) ConvHalfCpltCallback : ADC conversion DMA half-transfer callback (+) LevelOutOfWindowCallback : ADC analog watchdog 1 callback @@ -263,11 +265,11 @@ and a pointer to the user callback function. [..] - Use function @ref HAL_ADC_UnRegisterCallback to reset a callback to the default + Use function HAL_ADC_UnRegisterCallback to reset a callback to the default weak function. [..] - @ref HAL_ADC_UnRegisterCallback takes as parameters the HAL peripheral handle, + HAL_ADC_UnRegisterCallback takes as parameters the HAL peripheral handle, and the Callback ID. This function allows to reset following callbacks: (+) ConvCpltCallback : ADC conversion complete callback @@ -279,27 +281,27 @@ (+) MspDeInitCallback : ADC Msp DeInit callback [..] - By default, after the @ref HAL_ADC_Init() and when the state is @ref HAL_ADC_STATE_RESET + By default, after the HAL_ADC_Init() and when the state is HAL_ADC_STATE_RESET all callbacks are set to the corresponding weak functions: - examples @ref HAL_ADC_ConvCpltCallback(), @ref HAL_ADC_ErrorCallback(). + examples HAL_ADC_ConvCpltCallback(), HAL_ADC_ErrorCallback(). Exception done for MspInit and MspDeInit functions that are - reset to the legacy weak functions in the @ref HAL_ADC_Init()/ @ref HAL_ADC_DeInit() only when + reset to the legacy weak functions in the HAL_ADC_Init()/ HAL_ADC_DeInit() only when these callbacks are null (not registered beforehand). [..] - If MspInit or MspDeInit are not null, the @ref HAL_ADC_Init()/ @ref HAL_ADC_DeInit() + If MspInit or MspDeInit are not null, the HAL_ADC_Init()/ HAL_ADC_DeInit() keep and use the user MspInit/MspDeInit callbacks (registered beforehand) whatever the state. [..] - Callbacks can be registered/unregistered in @ref HAL_ADC_STATE_READY state only. + Callbacks can be registered/unregistered in HAL_ADC_STATE_READY state only. Exception done MspInit/MspDeInit functions that can be registered/unregistered - in @ref HAL_ADC_STATE_READY or @ref HAL_ADC_STATE_RESET state, + in HAL_ADC_STATE_READY or HAL_ADC_STATE_RESET state, thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit. [..] Then, the user first registers the MspInit/MspDeInit user callbacks - using @ref HAL_ADC_RegisterCallback() before calling @ref HAL_ADC_DeInit() - or @ref HAL_ADC_Init() function. + using HAL_ADC_RegisterCallback() before calling HAL_ADC_DeInit() + or HAL_ADC_Init() function. [..] When the compilation flag USE_HAL_ADC_REGISTER_CALLBACKS is set to 0 or @@ -307,18 +309,6 @@ are set to the corresponding weak functions. @endverbatim - ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -1788,6 +1778,9 @@ uint32_t HAL_ADC_GetValue(ADC_HandleTypeDef* hadc) */ void HAL_ADC_IRQHandler(ADC_HandleTypeDef* hadc) { + uint32_t tmp_sr = hadc->Instance->SR; + uint32_t tmp_cr1 = hadc->Instance->CR1; + /* Check the parameters */ assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance)); assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ContinuousConvMode)); @@ -1795,9 +1788,9 @@ void HAL_ADC_IRQHandler(ADC_HandleTypeDef* hadc) /* ========== Check End of Conversion flag for regular group ========== */ - if(__HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_EOC)) + if((tmp_cr1 & ADC_IT_EOC) == ADC_IT_EOC) { - if(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_EOC) ) + if((tmp_sr & ADC_FLAG_EOC) == ADC_FLAG_EOC) { /* Update state machine on conversion status if not in error state */ if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL)) @@ -1839,9 +1832,9 @@ void HAL_ADC_IRQHandler(ADC_HandleTypeDef* hadc) } /* ========== Check End of Conversion flag for injected group ========== */ - if(__HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_JEOC)) + if((tmp_cr1 & ADC_IT_JEOC) == ADC_IT_JEOC) { - if(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_JEOC)) + if((tmp_sr & ADC_FLAG_JEOC) == ADC_FLAG_JEOC) { /* Update state machine on conversion status if not in error state */ if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL)) @@ -1887,9 +1880,9 @@ void HAL_ADC_IRQHandler(ADC_HandleTypeDef* hadc) } /* ========== Check Analog watchdog flags ========== */ - if(__HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_AWD)) + if((tmp_cr1 & ADC_IT_AWD) == ADC_IT_AWD) { - if(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_AWD)) + if((tmp_sr & ADC_FLAG_AWD) == ADC_FLAG_AWD) { /* Set ADC state */ SET_BIT(hadc->State, HAL_ADC_STATE_AWD1); @@ -1995,7 +1988,7 @@ __weak void HAL_ADC_ErrorCallback(ADC_HandleTypeDef *hadc) * @note Possibility to update parameters on the fly: * This function initializes channel into regular group, following * calls to this function can be used to reconfigure some parameters - * of structure "ADC_ChannelConfTypeDef" on the fly, without reseting + * of structure "ADC_ChannelConfTypeDef" on the fly, without resetting * the ADC. * The setting of these parameters is conditioned to ADC state. * For parameters constraints, see comments of structure @@ -2433,5 +2426,3 @@ void ADC_DMAError(DMA_HandleTypeDef *hdma) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c index dc7408a..af85089 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c @@ -5,34 +5,27 @@ * @brief This file provides firmware functions to manage the following * functionalities of the Analog to Digital Convertor (ADC) * peripheral: - * + Operation functions - * ++ Start, stop, get result of conversions of injected - * group, using 2 possible modes: polling, interruption. - * ++ Multimode feature (available on devices with 2 ADCs or more) - * ++ Calibration (ADC automatic self-calibration) - * + Control functions - * ++ Channels configuration on injected group + * + Peripheral Control functions * Other functions (generic functions) are available in file * "stm32f1xx_hal_adc.c". * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim [..] (@) Sections "ADC peripheral features" and "How to use this driver" are available in file of generic functions "stm32f1xx_hal_adc.c". [..] @endverbatim - ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -135,20 +128,20 @@ HAL_StatusTypeDef HAL_ADCEx_Calibration_Start(ADC_HandleTypeDef* hadc) /* Process locked */ __HAL_LOCK(hadc); - /* 1. Calibration prerequisite: */ - /* - ADC must be disabled for at least two ADC clock cycles in disable */ - /* mode before ADC enable */ - /* Stop potential conversion on going, on regular and injected groups */ - /* Disable ADC peripheral */ - tmp_hal_status = ADC_ConversionStop_Disable(hadc); + /* 1. Disable ADC peripheral */ + tmp_hal_status = ADC_ConversionStop_Disable(hadc); - /* Check if ADC is effectively disabled */ - if (tmp_hal_status == HAL_OK) - { - /* Set ADC state */ - ADC_STATE_CLR_SET(hadc->State, - HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY, - HAL_ADC_STATE_BUSY_INTERNAL); + /* 2. Calibration prerequisite delay before starting the calibration. */ + /* - ADC must be enabled for at least two ADC clock cycles */ + tmp_hal_status = ADC_Enable(hadc); + + /* Check if ADC is effectively enabled */ + if (tmp_hal_status == HAL_OK) + { + /* Set ADC state */ + ADC_STATE_CLR_SET(hadc->State, + HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY, + HAL_ADC_STATE_BUSY_INTERNAL); /* Hardware prerequisite: delay before starting the calibration. */ /* - Computation of CPU clock cycles corresponding to ADC clock cycles. */ @@ -161,10 +154,7 @@ HAL_StatusTypeDef HAL_ADCEx_Calibration_Start(ADC_HandleTypeDef* hadc) { wait_loop_index--; } - - /* 2. Enable the ADC peripheral */ - ADC_Enable(hadc); - + /* 3. Resets ADC calibration registers */ SET_BIT(hadc->Instance->CR2, ADC_CR2_RSTCAL); @@ -999,7 +989,7 @@ __weak void HAL_ADCEx_InjectedConvCpltCallback(ADC_HandleTypeDef* hadc) * @note Possibility to update parameters on the fly: * This function initializes injected group, following calls to this * function can be used to reconfigure some parameters of structure - * "ADC_InjectionConfTypeDef" on the fly, without reseting the ADC. + * "ADC_InjectionConfTypeDef" on the fly, without resetting the ADC. * The setting of these parameters is conditioned to ADC state: * this function must be called when ADC is not under conversion. * @param hadc: ADC handle @@ -1257,7 +1247,7 @@ HAL_StatusTypeDef HAL_ADCEx_InjectedConfigChannel(ADC_HandleTypeDef* hadc, ADC_I * @note Possibility to update parameters on the fly: * This function initializes multimode parameters, following * calls to this function can be used to reconfigure some parameters - * of structure "ADC_MultiModeTypeDef" on the fly, without reseting + * of structure "ADC_MultiModeTypeDef" on the fly, without resetting * the ADCs (both ADCs of the common group). * The setting of these parameters is conditioned to ADC state. * For parameters constraints, see comments of structure @@ -1333,5 +1323,3 @@ HAL_StatusTypeDef HAL_ADCEx_MultiModeConfigChannel(ADC_HandleTypeDef* hadc, ADC_ /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_can.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_can.c index 331405e..b143ac8 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_can.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_can.c @@ -12,6 +12,17 @@ * + Callbacks functions * + Peripheral State and Error functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -131,9 +142,9 @@ The compilation define USE_HAL_CAN_REGISTER_CALLBACKS when set to 1 allows the user to configure dynamically the driver callbacks. - Use Function @ref HAL_CAN_RegisterCallback() to register an interrupt callback. + Use Function HAL_CAN_RegisterCallback() to register an interrupt callback. - Function @ref HAL_CAN_RegisterCallback() allows to register following callbacks: + Function HAL_CAN_RegisterCallback() allows to register following callbacks: (+) TxMailbox0CompleteCallback : Tx Mailbox 0 Complete Callback. (+) TxMailbox1CompleteCallback : Tx Mailbox 1 Complete Callback. (+) TxMailbox2CompleteCallback : Tx Mailbox 2 Complete Callback. @@ -152,9 +163,9 @@ This function takes as parameters the HAL peripheral handle, the Callback ID and a pointer to the user callback function. - Use function @ref HAL_CAN_UnRegisterCallback() to reset a callback to the default + Use function HAL_CAN_UnRegisterCallback() to reset a callback to the default weak function. - @ref HAL_CAN_UnRegisterCallback takes as parameters the HAL peripheral handle, + HAL_CAN_UnRegisterCallback takes as parameters the HAL peripheral handle, and the Callback ID. This function allows to reset following callbacks: (+) TxMailbox0CompleteCallback : Tx Mailbox 0 Complete Callback. @@ -173,13 +184,13 @@ (+) MspInitCallback : CAN MspInit. (+) MspDeInitCallback : CAN MspDeInit. - By default, after the @ref HAL_CAN_Init() and when the state is HAL_CAN_STATE_RESET, + By default, after the HAL_CAN_Init() and when the state is HAL_CAN_STATE_RESET, all callbacks are set to the corresponding weak functions: - example @ref HAL_CAN_ErrorCallback(). + example HAL_CAN_ErrorCallback(). Exception done for MspInit and MspDeInit functions that are - reset to the legacy weak function in the @ref HAL_CAN_Init()/ @ref HAL_CAN_DeInit() only when + reset to the legacy weak function in the HAL_CAN_Init()/ HAL_CAN_DeInit() only when these callbacks are null (not registered beforehand). - if not, MspInit or MspDeInit are not null, the @ref HAL_CAN_Init()/ @ref HAL_CAN_DeInit() + if not, MspInit or MspDeInit are not null, the HAL_CAN_Init()/ HAL_CAN_DeInit() keep and use the user MspInit/MspDeInit callbacks (registered beforehand) Callbacks can be registered/unregistered in HAL_CAN_STATE_READY state only. @@ -187,8 +198,8 @@ in HAL_CAN_STATE_READY or HAL_CAN_STATE_RESET state, thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit. In that case first register the MspInit/MspDeInit user callbacks - using @ref HAL_CAN_RegisterCallback() before calling @ref HAL_CAN_DeInit() - or @ref HAL_CAN_Init() function. + using HAL_CAN_RegisterCallback() before calling HAL_CAN_DeInit() + or HAL_CAN_Init() function. When The compilation define USE_HAL_CAN_REGISTER_CALLBACKS is set to 0 or not defined, the callback registration feature is not available and all callbacks @@ -196,17 +207,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -226,8 +226,8 @@ #ifdef HAL_CAN_MODULE_ENABLED #ifdef HAL_CAN_LEGACY_MODULE_ENABLED - #error "The CAN driver cannot be used with its legacy, Please enable only one CAN module at once" -#endif +#error "The CAN driver cannot be used with its legacy, Please enable only one CAN module at once" +#endif /* HAL_CAN_LEGACY_MODULE_ENABLED */ /* Private typedef -----------------------------------------------------------*/ /* Private define ------------------------------------------------------------*/ @@ -555,7 +555,8 @@ __weak void HAL_CAN_MspDeInit(CAN_HandleTypeDef *hcan) * @param pCallback pointer to the Callback function * @retval HAL status */ -HAL_StatusTypeDef HAL_CAN_RegisterCallback(CAN_HandleTypeDef *hcan, HAL_CAN_CallbackIDTypeDef CallbackID, void (* pCallback)(CAN_HandleTypeDef *_hcan)) +HAL_StatusTypeDef HAL_CAN_RegisterCallback(CAN_HandleTypeDef *hcan, HAL_CAN_CallbackIDTypeDef CallbackID, + void (* pCallback)(CAN_HandleTypeDef *_hcan)) { HAL_StatusTypeDef status = HAL_OK; @@ -675,7 +676,7 @@ HAL_StatusTypeDef HAL_CAN_RegisterCallback(CAN_HandleTypeDef *hcan, HAL_CAN_Call /** * @brief Unregister a CAN CallBack. - * CAN callabck is redirected to the weak predefined callback + * CAN callback is redirected to the weak predefined callback * @param hcan pointer to a CAN_HandleTypeDef structure that contains * the configuration information for CAN module * @param CallbackID ID of the callback to be unregistered @@ -835,7 +836,7 @@ HAL_StatusTypeDef HAL_CAN_UnRegisterCallback(CAN_HandleTypeDef *hcan, HAL_CAN_Ca * contains the filter configuration information. * @retval None */ -HAL_StatusTypeDef HAL_CAN_ConfigFilter(CAN_HandleTypeDef *hcan, CAN_FilterTypeDef *sFilterConfig) +HAL_StatusTypeDef HAL_CAN_ConfigFilter(CAN_HandleTypeDef *hcan, const CAN_FilterTypeDef *sFilterConfig) { uint32_t filternbrbitpos; CAN_TypeDef *can_ip = hcan->Instance; @@ -1188,7 +1189,7 @@ HAL_StatusTypeDef HAL_CAN_WakeUp(CAN_HandleTypeDef *hcan) * - 0 : Sleep mode is not active. * - 1 : Sleep mode is active. */ -uint32_t HAL_CAN_IsSleepActive(CAN_HandleTypeDef *hcan) +uint32_t HAL_CAN_IsSleepActive(const CAN_HandleTypeDef *hcan) { uint32_t status = 0U; HAL_CAN_StateTypeDef state = hcan->State; @@ -1219,7 +1220,8 @@ uint32_t HAL_CAN_IsSleepActive(CAN_HandleTypeDef *hcan) * This parameter can be a value of @arg CAN_Tx_Mailboxes. * @retval HAL status */ -HAL_StatusTypeDef HAL_CAN_AddTxMessage(CAN_HandleTypeDef *hcan, CAN_TxHeaderTypeDef *pHeader, uint8_t aData[], uint32_t *pTxMailbox) +HAL_StatusTypeDef HAL_CAN_AddTxMessage(CAN_HandleTypeDef *hcan, const CAN_TxHeaderTypeDef *pHeader, + const uint8_t aData[], uint32_t *pTxMailbox) { uint32_t transmitmailbox; HAL_CAN_StateTypeDef state = hcan->State; @@ -1250,15 +1252,6 @@ HAL_StatusTypeDef HAL_CAN_AddTxMessage(CAN_HandleTypeDef *hcan, CAN_TxHeaderType /* Select an empty transmit mailbox */ transmitmailbox = (tsr & CAN_TSR_CODE) >> CAN_TSR_CODE_Pos; - /* Check transmit mailbox value */ - if (transmitmailbox > 2U) - { - /* Update error code */ - hcan->ErrorCode |= HAL_CAN_ERROR_INTERNAL; - - return HAL_ERROR; - } - /* Store the Tx mailbox */ *pTxMailbox = (uint32_t)1 << transmitmailbox; @@ -1376,7 +1369,7 @@ HAL_StatusTypeDef HAL_CAN_AbortTxRequest(CAN_HandleTypeDef *hcan, uint32_t TxMai * the configuration information for the specified CAN. * @retval Number of free Tx Mailboxes. */ -uint32_t HAL_CAN_GetTxMailboxesFreeLevel(CAN_HandleTypeDef *hcan) +uint32_t HAL_CAN_GetTxMailboxesFreeLevel(const CAN_HandleTypeDef *hcan) { uint32_t freelevel = 0U; HAL_CAN_StateTypeDef state = hcan->State; @@ -1419,7 +1412,7 @@ uint32_t HAL_CAN_GetTxMailboxesFreeLevel(CAN_HandleTypeDef *hcan) * - 1 : Pending transmission request on at least one of the selected * Tx Mailbox. */ -uint32_t HAL_CAN_IsTxMessagePending(CAN_HandleTypeDef *hcan, uint32_t TxMailboxes) +uint32_t HAL_CAN_IsTxMessagePending(const CAN_HandleTypeDef *hcan, uint32_t TxMailboxes) { uint32_t status = 0U; HAL_CAN_StateTypeDef state = hcan->State; @@ -1451,7 +1444,7 @@ uint32_t HAL_CAN_IsTxMessagePending(CAN_HandleTypeDef *hcan, uint32_t TxMailboxe * This parameter can be one value of @arg CAN_Tx_Mailboxes. * @retval Timestamp of message sent from Tx Mailbox. */ -uint32_t HAL_CAN_GetTxTimestamp(CAN_HandleTypeDef *hcan, uint32_t TxMailbox) +uint32_t HAL_CAN_GetTxTimestamp(const CAN_HandleTypeDef *hcan, uint32_t TxMailbox) { uint32_t timestamp = 0U; uint32_t transmitmailbox; @@ -1485,7 +1478,8 @@ uint32_t HAL_CAN_GetTxTimestamp(CAN_HandleTypeDef *hcan, uint32_t TxMailbox) * @param aData array where the payload of the Rx frame will be stored. * @retval HAL status */ -HAL_StatusTypeDef HAL_CAN_GetRxMessage(CAN_HandleTypeDef *hcan, uint32_t RxFifo, CAN_RxHeaderTypeDef *pHeader, uint8_t aData[]) +HAL_StatusTypeDef HAL_CAN_GetRxMessage(CAN_HandleTypeDef *hcan, uint32_t RxFifo, + CAN_RxHeaderTypeDef *pHeader, uint8_t aData[]) { HAL_CAN_StateTypeDef state = hcan->State; @@ -1526,10 +1520,19 @@ HAL_StatusTypeDef HAL_CAN_GetRxMessage(CAN_HandleTypeDef *hcan, uint32_t RxFifo, } else { - pHeader->ExtId = ((CAN_RI0R_EXID | CAN_RI0R_STID) & hcan->Instance->sFIFOMailBox[RxFifo].RIR) >> CAN_RI0R_EXID_Pos; + pHeader->ExtId = ((CAN_RI0R_EXID | CAN_RI0R_STID) & + hcan->Instance->sFIFOMailBox[RxFifo].RIR) >> CAN_RI0R_EXID_Pos; } pHeader->RTR = (CAN_RI0R_RTR & hcan->Instance->sFIFOMailBox[RxFifo].RIR); - pHeader->DLC = (CAN_RDT0R_DLC & hcan->Instance->sFIFOMailBox[RxFifo].RDTR) >> CAN_RDT0R_DLC_Pos; + if (((CAN_RDT0R_DLC & hcan->Instance->sFIFOMailBox[RxFifo].RDTR) >> CAN_RDT0R_DLC_Pos) >= 8U) + { + /* Truncate DLC to 8 if received field is over range */ + pHeader->DLC = 8U; + } + else + { + pHeader->DLC = (CAN_RDT0R_DLC & hcan->Instance->sFIFOMailBox[RxFifo].RDTR) >> CAN_RDT0R_DLC_Pos; + } pHeader->FilterMatchIndex = (CAN_RDT0R_FMI & hcan->Instance->sFIFOMailBox[RxFifo].RDTR) >> CAN_RDT0R_FMI_Pos; pHeader->Timestamp = (CAN_RDT0R_TIME & hcan->Instance->sFIFOMailBox[RxFifo].RDTR) >> CAN_RDT0R_TIME_Pos; @@ -1575,7 +1578,7 @@ HAL_StatusTypeDef HAL_CAN_GetRxMessage(CAN_HandleTypeDef *hcan, uint32_t RxFifo, * This parameter can be a value of @arg CAN_receive_FIFO_number. * @retval Number of messages available in Rx FIFO. */ -uint32_t HAL_CAN_GetRxFifoFillLevel(CAN_HandleTypeDef *hcan, uint32_t RxFifo) +uint32_t HAL_CAN_GetRxFifoFillLevel(const CAN_HandleTypeDef *hcan, uint32_t RxFifo) { uint32_t filllevel = 0U; HAL_CAN_StateTypeDef state = hcan->State; @@ -2343,7 +2346,7 @@ __weak void HAL_CAN_ErrorCallback(CAN_HandleTypeDef *hcan) * the configuration information for the specified CAN. * @retval HAL state */ -HAL_CAN_StateTypeDef HAL_CAN_GetState(CAN_HandleTypeDef *hcan) +HAL_CAN_StateTypeDef HAL_CAN_GetState(const CAN_HandleTypeDef *hcan) { HAL_CAN_StateTypeDef state = hcan->State; @@ -2378,7 +2381,7 @@ HAL_CAN_StateTypeDef HAL_CAN_GetState(CAN_HandleTypeDef *hcan) * the configuration information for the specified CAN. * @retval CAN Error Code */ -uint32_t HAL_CAN_GetError(CAN_HandleTypeDef *hcan) +uint32_t HAL_CAN_GetError(const CAN_HandleTypeDef *hcan) { /* Return CAN error code */ return hcan->ErrorCode; @@ -2432,5 +2435,3 @@ HAL_StatusTypeDef HAL_CAN_ResetError(CAN_HandleTypeDef *hcan) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cec.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cec.c index 9bf4815..c0a173d 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cec.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cec.c @@ -3,21 +3,32 @@ * @file stm32f1xx_hal_cec.c * @author MCD Application Team * @brief CEC HAL module driver. - * This file provides firmware functions to manage the following - * functionalities of the High Definition Multimedia Interface + * This file provides firmware functions to manage the following + * functionalities of the High Definition Multimedia Interface * Consumer Electronics Control Peripheral (CEC). * + Initialization and de-initialization function * + IO operation function * + Peripheral Control function * - * - @verbatim + * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** + @verbatim =============================================================================== ##### How to use this driver ##### =============================================================================== [..] The CEC HAL driver can be used as follow: - + (#) Declare a CEC_HandleTypeDef handle structure. (#) Initialize the CEC low level resources by implementing the HAL_CEC_MspInit ()API: (##) Enable the CEC interface clock. @@ -28,26 +39,27 @@ and HAL_CEC_Receive_IT() APIs): (+++) Configure the CEC interrupt priority. (+++) Enable the NVIC CEC IRQ handle. - (+++) The specific CEC interrupts (Transmission complete interrupt, + (+++) The specific CEC interrupts (Transmission complete interrupt, RXNE interrupt and Error Interrupts) will be managed using the macros - __HAL_CEC_ENABLE_IT() and __HAL_CEC_DISABLE_IT() inside the transmit + __HAL_CEC_ENABLE_IT() and __HAL_CEC_DISABLE_IT() inside the transmit and receive process. (#) Program the Bit Timing Error Mode and the Bit Period Error Mode in the hcec Init structure. (#) Initialize the CEC registers by calling the HAL_CEC_Init() API. - [..] + [..] (@) This API (HAL_CEC_Init()) configures also the low level Hardware (GPIO, CLOCK, CORTEX...etc) by calling the customed HAL_CEC_MspInit() API. *** Callback registration *** ============================================= + The compilation define USE_HAL_CEC_REGISTER_CALLBACKS when set to 1 allows the user to configure dynamically the driver callbacks. - Use Functions @ref HAL_CEC_RegisterCallback() or HAL_CEC_RegisterXXXCallback() + Use Functions HAL_CEC_RegisterCallback() or HAL_CEC_RegisterXXXCallback() to register an interrupt callback. - Function @ref HAL_CEC_RegisterCallback() allows to register following callbacks: + Function HAL_CEC_RegisterCallback() allows to register following callbacks: (+) TxCpltCallback : Tx Transfer completed callback. (+) ErrorCallback : callback for error detection. (+) MspInitCallback : CEC MspInit. @@ -55,12 +67,12 @@ This function takes as parameters the HAL peripheral handle, the Callback ID and a pointer to the user callback function. - For specific callback HAL_CEC_RxCpltCallback use dedicated register callbacks - @ref HAL_CEC_RegisterRxCpltCallback(). + For specific callback HAL_CEC_RxCpltCallback use dedicated register callbacks + HAL_CEC_RegisterRxCpltCallback(). - Use function @ref HAL_CEC_UnRegisterCallback() to reset a callback to the default + Use function HAL_CEC_UnRegisterCallback() to reset a callback to the default weak function. - @ref HAL_CEC_UnRegisterCallback() takes as parameters the HAL peripheral handle, + HAL_CEC_UnRegisterCallback() takes as parameters the HAL peripheral handle, and the Callback ID. This function allows to reset following callbacks: (+) TxCpltCallback : Tx Transfer completed callback. @@ -68,16 +80,16 @@ (+) MspInitCallback : CEC MspInit. (+) MspDeInitCallback : CEC MspDeInit. - For callback HAL_CEC_RxCpltCallback use dedicated unregister callback : - @ref HAL_CEC_UnRegisterRxCpltCallback(). + For callback HAL_CEC_RxCpltCallback use dedicated unregister callback : + HAL_CEC_UnRegisterRxCpltCallback(). - By default, after the @ref HAL_CEC_Init() and when the state is HAL_CEC_STATE_RESET + By default, after the HAL_CEC_Init() and when the state is HAL_CEC_STATE_RESET all callbacks are set to the corresponding weak functions : - examples @ref HAL_CEC_TxCpltCallback() , @ref HAL_CEC_RxCpltCallback(). + examples HAL_CEC_TxCpltCallback() , HAL_CEC_RxCpltCallback(). Exception done for MspInit and MspDeInit functions that are - reset to the legacy weak function in the @ref HAL_CEC_Init()/ @ref HAL_CEC_DeInit() only when + reset to the legacy weak function in the HAL_CEC_Init()/ HAL_CEC_DeInit() only when these callbacks are null (not registered beforehand). - if not, MspInit or MspDeInit are not null, the @ref HAL_CEC_Init() / @ref HAL_CEC_DeInit() + if not, MspInit or MspDeInit are not null, the HAL_CEC_Init() / HAL_CEC_DeInit() keep and use the user MspInit/MspDeInit functions (registered beforehand) Callbacks can be registered/unregistered in HAL_CEC_STATE_READY state only. @@ -85,25 +97,14 @@ in HAL_CEC_STATE_READY or HAL_CEC_STATE_RESET state, thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit. In that case first register the MspInit/MspDeInit user callbacks - using @ref HAL_CEC_RegisterCallback() before calling @ref HAL_CEC_DeInit() - or @ref HAL_CEC_Init() function. + using HAL_CEC_RegisterCallback() before calling HAL_CEC_DeInit() + or HAL_CEC_Init() function. When the compilation define USE_HAL_CEC_REGISTER_CALLBACKS is set to 0 or not defined, the callback registration feature is not available and all callbacks are set to the corresponding weak functions. @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -135,7 +136,7 @@ /** * @} */ - + /* Private macro -------------------------------------------------------------*/ /* Private variables ---------------------------------------------------------*/ /* Private function prototypes -----------------------------------------------*/ @@ -147,7 +148,7 @@ static HAL_StatusTypeDef CEC_Receive_IT(CEC_HandleTypeDef *hcec); /** * @} */ - + /* Exported functions ---------------------------------------------------------*/ /** @defgroup CEC_Exported_Functions CEC Exported Functions @@ -155,17 +156,17 @@ static HAL_StatusTypeDef CEC_Receive_IT(CEC_HandleTypeDef *hcec); */ /** @defgroup CEC_Exported_Functions_Group1 Initialization and de-initialization functions - * @brief Initialization and Configuration functions + * @brief Initialization and Configuration functions * -@verbatim +@verbatim =============================================================================== ##### Initialization and Configuration functions ##### - =============================================================================== + =============================================================================== [..] This subsection provides a set of functions allowing to initialize the CEC - (+) The following parameters need to be configured: + (+) The following parameters need to be configured: (++) TimingErrorFree - (++) PeriodErrorFree + (++) PeriodErrorFree (++) InitiatorAddress @endverbatim @@ -175,24 +176,24 @@ static HAL_StatusTypeDef CEC_Receive_IT(CEC_HandleTypeDef *hcec); /** * @brief Initializes the CEC mode according to the specified * parameters in the CEC_InitTypeDef and creates the associated handle . - * @param hcec: CEC handle + * @param hcec CEC handle * @retval HAL status */ HAL_StatusTypeDef HAL_CEC_Init(CEC_HandleTypeDef *hcec) { /* Check the CEC handle allocation */ - if((hcec == NULL) ||(hcec->Init.RxBuffer == NULL)) + if ((hcec == NULL) || (hcec->Init.RxBuffer == NULL)) { return HAL_ERROR; } - /* Check the parameters */ + /* Check the parameters */ assert_param(IS_CEC_ALL_INSTANCE(hcec->Instance)); assert_param(IS_CEC_BIT_TIMING_ERROR_MODE(hcec->Init.TimingErrorFree)); assert_param(IS_CEC_BIT_PERIOD_ERROR_MODE(hcec->Init.PeriodErrorFree)); assert_param(IS_CEC_ADDRESS(hcec->Init.OwnAddress)); #if (USE_HAL_CEC_REGISTER_CALLBACKS == 1) - if(hcec->gState == HAL_CEC_STATE_RESET) + if (hcec->gState == HAL_CEC_STATE_RESET) { /* Allocate lock resource and initialize it */ hcec->Lock = HAL_UNLOCKED; @@ -201,7 +202,7 @@ HAL_StatusTypeDef HAL_CEC_Init(CEC_HandleTypeDef *hcec) hcec->RxCpltCallback = HAL_CEC_RxCpltCallback; /* Legacy weak RxCpltCallback */ hcec->ErrorCallback = HAL_CEC_ErrorCallback; /* Legacy weak ErrorCallback */ - if(hcec->MspInitCallback == NULL) + if (hcec->MspInitCallback == NULL) { hcec->MspInitCallback = HAL_CEC_MspInit; /* Legacy weak MspInit */ } @@ -210,7 +211,7 @@ HAL_StatusTypeDef HAL_CEC_Init(CEC_HandleTypeDef *hcec) hcec->MspInitCallback(hcec); } #else - if(hcec->gState == HAL_CEC_STATE_RESET) + if (hcec->gState == HAL_CEC_STATE_RESET) { /* Allocate lock resource and initialize it */ hcec->Lock = HAL_UNLOCKED; @@ -220,41 +221,41 @@ HAL_StatusTypeDef HAL_CEC_Init(CEC_HandleTypeDef *hcec) #endif /* USE_HAL_CEC_REGISTER_CALLBACKS */ hcec->gState = HAL_CEC_STATE_BUSY; - + /* Disable the Peripheral */ __HAL_CEC_DISABLE(hcec); - + /* Write to CEC Control Register */ MODIFY_REG(hcec->Instance->CFGR, CEC_CFGR_FIELDS, hcec->Init.TimingErrorFree | hcec->Init.PeriodErrorFree); - + /* Write to CEC Own Address Register */ MODIFY_REG(hcec->Instance->OAR, CEC_OAR_OA, hcec->Init.OwnAddress); - + /* Configure the prescaler to generate the required 50 microseconds time base.*/ - MODIFY_REG(hcec->Instance->PRES, CEC_PRES_PRES, 50U * (HAL_RCC_GetPCLK1Freq()/1000000U) - 1U); - + MODIFY_REG(hcec->Instance->PRES, CEC_PRES_PRES, 50U * (HAL_RCC_GetPCLK1Freq() / 1000000U) - 1U); + /* Enable the following CEC Interrupt */ __HAL_CEC_ENABLE_IT(hcec, CEC_IT_IE); /* Enable the CEC Peripheral */ __HAL_CEC_ENABLE(hcec); - + hcec->ErrorCode = HAL_CEC_ERROR_NONE; hcec->gState = HAL_CEC_STATE_READY; hcec->RxState = HAL_CEC_STATE_READY; - + return HAL_OK; } /** - * @brief DeInitializes the CEC peripheral - * @param hcec: CEC handle + * @brief DeInitializes the CEC peripheral + * @param hcec CEC handle * @retval HAL status */ HAL_StatusTypeDef HAL_CEC_DeInit(CEC_HandleTypeDef *hcec) { /* Check the CEC handle allocation */ - if(hcec == NULL) + if (hcec == NULL) { return HAL_ERROR; } @@ -265,7 +266,7 @@ HAL_StatusTypeDef HAL_CEC_DeInit(CEC_HandleTypeDef *hcec) hcec->gState = HAL_CEC_STATE_BUSY; #if (USE_HAL_CEC_REGISTER_CALLBACKS == 1) - if(hcec->MspDeInitCallback == NULL) + if (hcec->MspDeInitCallback == NULL) { hcec->MspDeInitCallback = HAL_CEC_MspDeInit; /* Legacy weak MspDeInit */ } @@ -280,21 +281,21 @@ HAL_StatusTypeDef HAL_CEC_DeInit(CEC_HandleTypeDef *hcec) __HAL_RCC_CEC_FORCE_RESET(); __HAL_RCC_CEC_RELEASE_RESET(); - + hcec->ErrorCode = HAL_CEC_ERROR_NONE; hcec->gState = HAL_CEC_STATE_RESET; hcec->RxState = HAL_CEC_STATE_RESET; - + /* Process Unlock */ __HAL_UNLOCK(hcec); - + return HAL_OK; } /** * @brief Initializes the Own Address of the CEC device - * @param hcec: CEC handle - * @param CEC_OwnAddress: The CEC own address. + * @param hcec CEC handle + * @param CEC_OwnAddress The CEC own address. * @retval HAL status */ HAL_StatusTypeDef HAL_CEC_SetDeviceAddress(CEC_HandleTypeDef *hcec, uint16_t CEC_OwnAddress) @@ -303,34 +304,34 @@ HAL_StatusTypeDef HAL_CEC_SetDeviceAddress(CEC_HandleTypeDef *hcec, uint16_t CEC assert_param(IS_CEC_OWN_ADDRESS(CEC_OwnAddress)); if ((hcec->gState == HAL_CEC_STATE_READY) && (hcec->RxState == HAL_CEC_STATE_READY)) - { + { /* Process Locked */ - __HAL_LOCK(hcec); - + __HAL_LOCK(hcec); + hcec->gState = HAL_CEC_STATE_BUSY; - + /* Disable the Peripheral */ __HAL_CEC_DISABLE(hcec); - - if(CEC_OwnAddress != CEC_OWN_ADDRESS_NONE) + + if (CEC_OwnAddress != CEC_OWN_ADDRESS_NONE) { - MODIFY_REG(hcec->Instance->OAR, CEC_OAR_OA, hcec->Init.OwnAddress); + MODIFY_REG(hcec->Instance->OAR, CEC_OAR_OA, hcec->Init.OwnAddress); } else { - CLEAR_BIT(hcec->Instance->OAR, CEC_OAR_OA); + CLEAR_BIT(hcec->Instance->OAR, CEC_OAR_OA); } - + hcec->gState = HAL_CEC_STATE_READY; hcec->ErrorCode = HAL_CEC_ERROR_NONE; - + /* Process Unlocked */ - __HAL_UNLOCK(hcec); - + __HAL_UNLOCK(hcec); + /* Enable the Peripheral */ __HAL_CEC_ENABLE(hcec); - - return HAL_OK; + + return HAL_OK; } else { @@ -340,32 +341,31 @@ HAL_StatusTypeDef HAL_CEC_SetDeviceAddress(CEC_HandleTypeDef *hcec, uint16_t CEC /** * @brief CEC MSP Init - * @param hcec: CEC handle + * @param hcec CEC handle * @retval None */ - __weak void HAL_CEC_MspInit(CEC_HandleTypeDef *hcec) +__weak void HAL_CEC_MspInit(CEC_HandleTypeDef *hcec) { /* Prevent unused argument(s) compilation warning */ UNUSED(hcec); /* NOTE : This function should not be modified, when the callback is needed, the HAL_CEC_MspInit can be implemented in the user file - */ + */ } /** * @brief CEC MSP DeInit - * @param hcec: CEC handle + * @param hcec CEC handle * @retval None */ - __weak void HAL_CEC_MspDeInit(CEC_HandleTypeDef *hcec) +__weak void HAL_CEC_MspDeInit(CEC_HandleTypeDef *hcec) { /* Prevent unused argument(s) compilation warning */ UNUSED(hcec); /* NOTE : This function should not be modified, when the callback is needed, the HAL_CEC_MspDeInit can be implemented in the user file - */ + */ } - #if (USE_HAL_CEC_REGISTER_CALLBACKS == 1) /** * @brief Register a User CEC Callback @@ -380,65 +380,66 @@ HAL_StatusTypeDef HAL_CEC_SetDeviceAddress(CEC_HandleTypeDef *hcec, uint16_t CEC * @param pCallback pointer to the Callback function * @retval HAL status */ -HAL_StatusTypeDef HAL_CEC_RegisterCallback(CEC_HandleTypeDef *hcec, HAL_CEC_CallbackIDTypeDef CallbackID, pCEC_CallbackTypeDef pCallback) +HAL_StatusTypeDef HAL_CEC_RegisterCallback(CEC_HandleTypeDef *hcec, HAL_CEC_CallbackIDTypeDef CallbackID, + pCEC_CallbackTypeDef pCallback) { HAL_StatusTypeDef status = HAL_OK; - if(pCallback == NULL) + if (pCallback == NULL) { /* Update the error code */ hcec->ErrorCode |= HAL_CEC_ERROR_INVALID_CALLBACK; return HAL_ERROR; } - /* Process locked */ + /* Process locked */ __HAL_LOCK(hcec); - if(hcec->gState == HAL_CEC_STATE_READY) + if (hcec->gState == HAL_CEC_STATE_READY) { switch (CallbackID) { - case HAL_CEC_TX_CPLT_CB_ID : - hcec->TxCpltCallback = pCallback; - break; + case HAL_CEC_TX_CPLT_CB_ID : + hcec->TxCpltCallback = pCallback; + break; - case HAL_CEC_ERROR_CB_ID : - hcec->ErrorCallback = pCallback; - break; + case HAL_CEC_ERROR_CB_ID : + hcec->ErrorCallback = pCallback; + break; - case HAL_CEC_MSPINIT_CB_ID : - hcec->MspInitCallback = pCallback; - break; + case HAL_CEC_MSPINIT_CB_ID : + hcec->MspInitCallback = pCallback; + break; - case HAL_CEC_MSPDEINIT_CB_ID : - hcec->MspDeInitCallback = pCallback; - break; + case HAL_CEC_MSPDEINIT_CB_ID : + hcec->MspDeInitCallback = pCallback; + break; - default : - /* Update the error code */ - hcec->ErrorCode |= HAL_CEC_ERROR_INVALID_CALLBACK; - /* Return error status */ - status = HAL_ERROR; - break; + default : + /* Update the error code */ + hcec->ErrorCode |= HAL_CEC_ERROR_INVALID_CALLBACK; + /* Return error status */ + status = HAL_ERROR; + break; } } - else if(hcec->gState == HAL_CEC_STATE_RESET) + else if (hcec->gState == HAL_CEC_STATE_RESET) { switch (CallbackID) { - case HAL_CEC_MSPINIT_CB_ID : - hcec->MspInitCallback = pCallback; - break; + case HAL_CEC_MSPINIT_CB_ID : + hcec->MspInitCallback = pCallback; + break; - case HAL_CEC_MSPDEINIT_CB_ID : - hcec->MspDeInitCallback = pCallback; - break; + case HAL_CEC_MSPDEINIT_CB_ID : + hcec->MspDeInitCallback = pCallback; + break; - default : - /* Update the error code */ - hcec->ErrorCode |= HAL_CEC_ERROR_INVALID_CALLBACK; - /* Return error status */ - status = HAL_ERROR; - break; + default : + /* Update the error code */ + hcec->ErrorCode |= HAL_CEC_ERROR_INVALID_CALLBACK; + /* Return error status */ + status = HAL_ERROR; + break; } } else @@ -457,11 +458,11 @@ HAL_StatusTypeDef HAL_CEC_RegisterCallback(CEC_HandleTypeDef *hcec, HAL_CEC_Call /** * @brief Unregister an CEC Callback - * CEC callabck is redirected to the weak predefined callback + * CEC callback is redirected to the weak predefined callback * @param hcec uart handle * @param CallbackID ID of the callback to be unregistered * This parameter can be one of the following values: - * @arg @ref HAL_CEC_TX_CPLT_CB_ID Tx Complete callback IDD + * @arg @ref HAL_CEC_TX_CPLT_CB_ID Tx Complete callback ID * @arg @ref HAL_CEC_ERROR_CB_ID Error callback ID * @arg @ref HAL_CEC_MSPINIT_CB_ID MspInit callback ID * @arg @ref HAL_CEC_MSPDEINIT_CB_ID MspDeInit callback ID @@ -474,52 +475,52 @@ HAL_StatusTypeDef HAL_CEC_UnRegisterCallback(CEC_HandleTypeDef *hcec, HAL_CEC_Ca /* Process locked */ __HAL_LOCK(hcec); - if(hcec->gState == HAL_CEC_STATE_READY) + if (hcec->gState == HAL_CEC_STATE_READY) { switch (CallbackID) { - case HAL_CEC_TX_CPLT_CB_ID : - hcec->TxCpltCallback = HAL_CEC_TxCpltCallback; /* Legacy weak TxCpltCallback */ - break; + case HAL_CEC_TX_CPLT_CB_ID : + hcec->TxCpltCallback = HAL_CEC_TxCpltCallback; /* Legacy weak TxCpltCallback */ + break; - case HAL_CEC_ERROR_CB_ID : - hcec->ErrorCallback = HAL_CEC_ErrorCallback; /* Legacy weak ErrorCallback */ - break; + case HAL_CEC_ERROR_CB_ID : + hcec->ErrorCallback = HAL_CEC_ErrorCallback; /* Legacy weak ErrorCallback */ + break; - case HAL_CEC_MSPINIT_CB_ID : - hcec->MspInitCallback = HAL_CEC_MspInit; - break; + case HAL_CEC_MSPINIT_CB_ID : + hcec->MspInitCallback = HAL_CEC_MspInit; + break; - case HAL_CEC_MSPDEINIT_CB_ID : - hcec->MspDeInitCallback = HAL_CEC_MspDeInit; - break; + case HAL_CEC_MSPDEINIT_CB_ID : + hcec->MspDeInitCallback = HAL_CEC_MspDeInit; + break; - default : - /* Update the error code */ - hcec->ErrorCode |= HAL_CEC_ERROR_INVALID_CALLBACK; - /* Return error status */ - status = HAL_ERROR; - break; + default : + /* Update the error code */ + hcec->ErrorCode |= HAL_CEC_ERROR_INVALID_CALLBACK; + /* Return error status */ + status = HAL_ERROR; + break; } } - else if(hcec->gState == HAL_CEC_STATE_RESET) + else if (hcec->gState == HAL_CEC_STATE_RESET) { switch (CallbackID) { - case HAL_CEC_MSPINIT_CB_ID : - hcec->MspInitCallback = HAL_CEC_MspInit; - break; + case HAL_CEC_MSPINIT_CB_ID : + hcec->MspInitCallback = HAL_CEC_MspInit; + break; - case HAL_CEC_MSPDEINIT_CB_ID : - hcec->MspDeInitCallback = HAL_CEC_MspDeInit; - break; + case HAL_CEC_MSPDEINIT_CB_ID : + hcec->MspDeInitCallback = HAL_CEC_MspDeInit; + break; - default : - /* Update the error code */ - hcec->ErrorCode |= HAL_CEC_ERROR_INVALID_CALLBACK; - /* Return error status */ - status = HAL_ERROR; - break; + default : + /* Update the error code */ + hcec->ErrorCode |= HAL_CEC_ERROR_INVALID_CALLBACK; + /* Return error status */ + status = HAL_ERROR; + break; } } else @@ -547,7 +548,7 @@ HAL_StatusTypeDef HAL_CEC_RegisterRxCpltCallback(CEC_HandleTypeDef *hcec, pCEC_R { HAL_StatusTypeDef status = HAL_OK; - if(pCallback == NULL) + if (pCallback == NULL) { /* Update the error code */ hcec->ErrorCode |= HAL_CEC_ERROR_INVALID_CALLBACK; @@ -556,7 +557,7 @@ HAL_StatusTypeDef HAL_CEC_RegisterRxCpltCallback(CEC_HandleTypeDef *hcec, pCEC_R /* Process locked */ __HAL_LOCK(hcec); - if(HAL_CEC_STATE_READY == hcec->RxState) + if (HAL_CEC_STATE_READY == hcec->RxState) { hcec->RxCpltCallback = pCallback; } @@ -586,7 +587,7 @@ HAL_StatusTypeDef HAL_CEC_UnRegisterRxCpltCallback(CEC_HandleTypeDef *hcec) /* Process locked */ __HAL_LOCK(hcec); - if(HAL_CEC_STATE_READY == hcec->RxState) + if (HAL_CEC_STATE_READY == hcec->RxState) { hcec->RxCpltCallback = HAL_CEC_RxCpltCallback; /* Legacy weak CEC RxCpltCallback */ } @@ -608,28 +609,27 @@ HAL_StatusTypeDef HAL_CEC_UnRegisterRxCpltCallback(CEC_HandleTypeDef *hcec) * @} */ -/** @defgroup CEC_Exported_Functions_Group2 Input and Output operation functions - * @brief CEC Transmit/Receive functions +/** @defgroup CEC_Exported_Functions_Group2 Input and Output operation functions + * @brief CEC Transmit/Receive functions * -@verbatim +@verbatim + =============================================================================== + ##### IO operation functions ##### =============================================================================== - ##### IO operation functions ##### - =============================================================================== - [..] This subsection provides a set of functions allowing to manage the CEC data transfers. - + (#) The CEC handle must contain the initiator (TX side) and the destination (RX side) logical addresses (4-bit long addresses, 0xF for broadcast messages destination) - - (#) The communication is performed using Interrupts. + + (#) The communication is performed using Interrupts. These API's return the HAL status. - The end of the data processing will be indicated through the + The end of the data processing will be indicated through the dedicated CEC IRQ when using Interrupt mode. - The HAL_CEC_TxCpltCallback(), HAL_CEC_RxCpltCallback() user callbacks + The HAL_CEC_TxCpltCallback(), HAL_CEC_RxCpltCallback() user callbacks will be executed respectively at the end of the transmit or Receive process - The HAL_CEC_ErrorCallback() user callback will be executed when a communication + The HAL_CEC_ErrorCallback() user callback will be executed when a communication error is detected - + (#) API's with Interrupt are : (+) HAL_CEC_Transmit_IT() (+) HAL_CEC_IRQHandler() @@ -638,37 +638,38 @@ HAL_StatusTypeDef HAL_CEC_UnRegisterRxCpltCallback(CEC_HandleTypeDef *hcec) (+) HAL_CEC_TxCpltCallback() (+) HAL_CEC_RxCpltCallback() (+) HAL_CEC_ErrorCallback() - + @endverbatim * @{ */ /** - * @brief Send data in interrupt mode - * @param hcec: CEC handle - * @param InitiatorAddress: Initiator address - * @param DestinationAddress: destination logical address - * @param pData: pointer to input byte data buffer - * @param Size: amount of data to be sent in bytes (without counting the header). + * @brief Send data in interrupt mode + * @param hcec CEC handle + * @param InitiatorAddress Initiator address + * @param DestinationAddress destination logical address + * @param pData pointer to input byte data buffer + * @param Size amount of data to be sent in bytes (without counting the header). * 0 means only the header is sent (ping operation). - * Maximum TX size is 15 bytes (1 opcode and up to 14 operands). + * Maximum TX size is 15 bytes (1 opcode and up to 14 operands). * @retval HAL status */ -HAL_StatusTypeDef HAL_CEC_Transmit_IT(CEC_HandleTypeDef *hcec, uint8_t InitiatorAddress,uint8_t DestinationAddress, uint8_t *pData, uint32_t Size) +HAL_StatusTypeDef HAL_CEC_Transmit_IT(CEC_HandleTypeDef *hcec, uint8_t InitiatorAddress, uint8_t DestinationAddress, + const uint8_t *pData, uint32_t Size) { - /* if the IP isn't already busy and if there is no previous transmission + /* if the peripheral isn't already busy and if there is no previous transmission already pending due to arbitration lost */ - if(hcec->gState == HAL_CEC_STATE_READY) - { - if((pData == NULL ) && (Size > 0U)) + if (hcec->gState == HAL_CEC_STATE_READY) + { + if ((pData == NULL) && (Size > 0U)) { return HAL_ERROR; } assert_param(IS_CEC_ADDRESS(DestinationAddress)); - assert_param(IS_CEC_ADDRESS(InitiatorAddress)); + assert_param(IS_CEC_ADDRESS(InitiatorAddress)); assert_param(IS_CEC_MSGSIZE(Size)); - + /* Process Locked */ __HAL_LOCK(hcec); hcec->pTxBuffPtr = pData; @@ -681,128 +682,132 @@ HAL_StatusTypeDef HAL_CEC_Transmit_IT(CEC_HandleTypeDef *hcec, uint8_t Initiator /* send header block */ hcec->Instance->TXD = (uint8_t)((uint32_t)InitiatorAddress << CEC_INITIATOR_LSB_POS) | DestinationAddress; - + /* Process Unlocked */ - __HAL_UNLOCK(hcec); + __HAL_UNLOCK(hcec); /* case no data to be sent, sender is only pinging the system */ if (Size != 0) - { + { /* Set TX Start of Message (TXSOM) bit */ MODIFY_REG(hcec->Instance->CSR, CEC_FLAG_TRANSMIT_MASK, CEC_FLAG_TSOM); } else { /* Send a ping command */ - MODIFY_REG(hcec->Instance->CSR, CEC_FLAG_TRANSMIT_MASK, CEC_FLAG_TEOM|CEC_FLAG_TSOM); + MODIFY_REG(hcec->Instance->CSR, CEC_FLAG_TRANSMIT_MASK, CEC_FLAG_TEOM | CEC_FLAG_TSOM); } return HAL_OK; } else { - return HAL_BUSY; + return HAL_BUSY; } } /** * @brief Get size of the received frame. - * @param hcec: CEC handle + * @param hcec CEC handle * @retval Frame size */ -uint32_t HAL_CEC_GetLastReceivedFrameSize(CEC_HandleTypeDef *hcec) +uint32_t HAL_CEC_GetLastReceivedFrameSize(const CEC_HandleTypeDef *hcec) { return hcec->RxXferSize; } /** * @brief Change Rx Buffer. - * @param hcec: CEC handle - * @param Rxbuffer: Rx Buffer - * @note This function can be called only inside the HAL_CEC_RxCpltCallback() + * @param hcec CEC handle + * @param Rxbuffer Rx Buffer + * @note This function can be called only inside the HAL_CEC_RxCpltCallback() * @retval Frame size */ -void HAL_CEC_ChangeRxBuffer(CEC_HandleTypeDef *hcec, uint8_t* Rxbuffer) +void HAL_CEC_ChangeRxBuffer(CEC_HandleTypeDef *hcec, uint8_t *Rxbuffer) { - hcec->Init.RxBuffer = Rxbuffer; + hcec->Init.RxBuffer = Rxbuffer; } - + /** * @brief This function handles CEC interrupt requests. - * @param hcec: CEC handle + * @param hcec CEC handle * @retval None */ void HAL_CEC_IRQHandler(CEC_HandleTypeDef *hcec) { + + /* save interrupts register for further error or interrupts handling purposes */ + uint32_t itflag; + itflag = hcec->Instance->CSR; + /* Save error status register for further error handling purposes */ hcec->ErrorCode = READ_BIT(hcec->Instance->ESR, CEC_ESR_ALL_ERROR); /* Transmit error */ - if(__HAL_CEC_GET_FLAG(hcec, CEC_FLAG_TERR) != RESET) + if (HAL_IS_BIT_SET(itflag, CEC_FLAG_TERR)) { /* Acknowledgement of the error */ __HAL_CEC_CLEAR_FLAG(hcec, CEC_FLAG_TERR); - + hcec->gState = HAL_CEC_STATE_READY; } - + /* Receive error */ - if(__HAL_CEC_GET_FLAG(hcec, CEC_FLAG_RERR) != RESET) + if (HAL_IS_BIT_SET(itflag, CEC_FLAG_RERR)) { /* Acknowledgement of the error */ __HAL_CEC_CLEAR_FLAG(hcec, CEC_FLAG_RERR); - hcec->Init.RxBuffer-=hcec->RxXferSize; - hcec->RxXferSize = 0U; + hcec->Init.RxBuffer -= hcec->RxXferSize; + hcec->RxXferSize = 0U; hcec->RxState = HAL_CEC_STATE_READY; } - - if((hcec->ErrorCode & CEC_ESR_ALL_ERROR) != 0U) + + if ((hcec->ErrorCode & CEC_ESR_ALL_ERROR) != 0U) { /* Error Call Back */ #if (USE_HAL_CEC_REGISTER_CALLBACKS == 1) hcec->ErrorCallback(hcec); -#else +#else HAL_CEC_ErrorCallback(hcec); #endif /* USE_HAL_CEC_REGISTER_CALLBACKS */ } - + /* Transmit byte request or block transfer finished */ - if(__HAL_CEC_GET_FLAG(hcec, CEC_FLAG_TBTRF) != RESET) + if (HAL_IS_BIT_SET(itflag, CEC_FLAG_TBTRF)) { CEC_Transmit_IT(hcec); } /* Receive byte or block transfer finished */ - if(__HAL_CEC_GET_FLAG(hcec, CEC_FLAG_RBTF) != RESET) + if (HAL_IS_BIT_SET(itflag, CEC_FLAG_RBTF)) { - if(hcec->RxXferSize == 0U) + if (hcec->RxXferSize == 0U) { - /* reception is starting */ + /* reception is starting */ hcec->RxState = HAL_CEC_STATE_BUSY_RX; } CEC_Receive_IT(hcec); } } - /** * @brief Tx Transfer completed callback - * @param hcec: CEC handle + * @param hcec CEC handle * @retval None */ - __weak void HAL_CEC_TxCpltCallback(CEC_HandleTypeDef *hcec) +__weak void HAL_CEC_TxCpltCallback(CEC_HandleTypeDef *hcec) { /* Prevent unused argument(s) compilation warning */ UNUSED(hcec); /* NOTE : This function should not be modified, when the callback is needed, the HAL_CEC_TxCpltCallback can be implemented in the user file - */ + */ } /** * @brief Rx Transfer completed callback - * @param hcec: CEC handle - * @param RxFrameSize: Size of frame + * @param hcec CEC handle + * @param RxFrameSize Size of frame * @retval None */ __weak void HAL_CEC_RxCpltCallback(CEC_HandleTypeDef *hcec, uint32_t RxFrameSize) @@ -817,57 +822,58 @@ __weak void HAL_CEC_RxCpltCallback(CEC_HandleTypeDef *hcec, uint32_t RxFrameSize /** * @brief CEC error callbacks - * @param hcec: CEC handle + * @param hcec CEC handle * @retval None */ - __weak void HAL_CEC_ErrorCallback(CEC_HandleTypeDef *hcec) +__weak void HAL_CEC_ErrorCallback(CEC_HandleTypeDef *hcec) { /* Prevent unused argument(s) compilation warning */ UNUSED(hcec); /* NOTE : This function should not be modified, when the callback is needed, the HAL_CEC_ErrorCallback can be implemented in the user file - */ + */ } /** * @} */ -/** @defgroup CEC_Exported_Functions_Group3 Peripheral Control functions - * @brief CEC control functions +/** @defgroup CEC_Exported_Functions_Group3 Peripheral Control functions + * @brief CEC control functions * -@verbatim +@verbatim =============================================================================== ##### Peripheral Control function ##### - =============================================================================== + =============================================================================== [..] This subsection provides a set of functions allowing to control the CEC. - (+) HAL_CEC_GetState() API can be helpful to check in run-time the state of the CEC peripheral. - (+) HAL_CEC_GetError() API can be helpful to check in run-time the error of the CEC peripheral. + (+) HAL_CEC_GetState() API can be helpful to check in run-time the state of the CEC peripheral. + (+) HAL_CEC_GetError() API can be helpful to check in run-time the error of the CEC peripheral. @endverbatim * @{ */ /** * @brief return the CEC state - * @param hcec: pointer to a CEC_HandleTypeDef structure that contains + * @param hcec pointer to a CEC_HandleTypeDef structure that contains * the configuration information for the specified CEC module. * @retval HAL state */ -HAL_CEC_StateTypeDef HAL_CEC_GetState(CEC_HandleTypeDef *hcec) +HAL_CEC_StateTypeDef HAL_CEC_GetState(const CEC_HandleTypeDef *hcec) { - uint32_t temp1= 0x00U, temp2 = 0x00U; + uint32_t temp1; + uint32_t temp2; temp1 = hcec->gState; temp2 = hcec->RxState; - + return (HAL_CEC_StateTypeDef)(temp1 | temp2); } /** -* @brief Return the CEC error code -* @param hcec : pointer to a CEC_HandleTypeDef structure that contains + * @brief Return the CEC error code + * @param hcec pointer to a CEC_HandleTypeDef structure that contains * the configuration information for the specified CEC. -* @retval CEC Error Code -*/ -uint32_t HAL_CEC_GetError(CEC_HandleTypeDef *hcec) + * @retval CEC Error Code + */ +uint32_t HAL_CEC_GetError(const CEC_HandleTypeDef *hcec) { return hcec->ErrorCode; } @@ -884,44 +890,44 @@ uint32_t HAL_CEC_GetError(CEC_HandleTypeDef *hcec) * @{ */ - /** - * @brief Send data in interrupt mode - * @param hcec: CEC handle. +/** + * @brief Send data in interrupt mode + * @param hcec CEC handle. * Function called under interruption only, once - * interruptions have been enabled by HAL_CEC_Transmit_IT() + * interruptions have been enabled by HAL_CEC_Transmit_IT() * @retval HAL status - */ + */ static HAL_StatusTypeDef CEC_Transmit_IT(CEC_HandleTypeDef *hcec) { - /* if the IP is already busy or if there is a previous transmission + /* if the peripheral is already busy or if there is a previous transmission already pending due to arbitration loss */ - if((hcec->gState == HAL_CEC_STATE_BUSY_TX) || (__HAL_CEC_GET_TRANSMISSION_START_FLAG(hcec) != RESET)) + if ((hcec->gState == HAL_CEC_STATE_BUSY_TX) || (__HAL_CEC_GET_TRANSMISSION_START_FLAG(hcec) != RESET)) { /* if all data have been sent */ - if(hcec->TxXferCount == 0U) + if (hcec->TxXferCount == 0U) { /* Acknowledge successful completion by writing 0x00 */ MODIFY_REG(hcec->Instance->CSR, CEC_FLAG_TRANSMIT_MASK, 0x00U); hcec->gState = HAL_CEC_STATE_READY; #if (USE_HAL_CEC_REGISTER_CALLBACKS == 1) - hcec->TxCpltCallback(hcec); + hcec->TxCpltCallback(hcec); #else - HAL_CEC_TxCpltCallback(hcec); -#endif /* USE_HAL_CEC_REGISTER_CALLBACKS */ - + HAL_CEC_TxCpltCallback(hcec); +#endif /* USE_HAL_CEC_REGISTER_CALLBACKS */ + return HAL_OK; } else { /* Reduce the number of bytes to transfer by one */ hcec->TxXferCount--; - + /* Write data to TX buffer*/ - hcec->Instance->TXD = *hcec->pTxBuffPtr++; - + hcec->Instance->TXD = (uint8_t)*hcec->pTxBuffPtr++; + /* If this is the last byte of the ongoing transmission */ - if(hcec->TxXferCount == 0U) + if (hcec->TxXferCount == 0U) { /* Acknowledge byte request and signal end of message */ MODIFY_REG(hcec->Instance->CSR, CEC_FLAG_TRANSMIT_MASK, CEC_FLAG_TEOM); @@ -930,67 +936,67 @@ static HAL_StatusTypeDef CEC_Transmit_IT(CEC_HandleTypeDef *hcec) { /* Acknowledge byte request by writing 0x00 */ MODIFY_REG(hcec->Instance->CSR, CEC_FLAG_TRANSMIT_MASK, 0x00U); - } - + } + return HAL_OK; } } else { - return HAL_BUSY; + return HAL_BUSY; } } /** - * @brief Receive data in interrupt mode. - * @param hcec: CEC handle. + * @brief Receive data in interrupt mode. + * @param hcec CEC handle. * Function called under interruption only, once - * interruptions have been enabled by HAL_CEC_Receive_IT() + * interruptions have been enabled by HAL_CEC_Receive_IT() * @retval HAL status - */ + */ static HAL_StatusTypeDef CEC_Receive_IT(CEC_HandleTypeDef *hcec) { static uint32_t temp; - - if(hcec->RxState == HAL_CEC_STATE_BUSY_RX) + + if (hcec->RxState == HAL_CEC_STATE_BUSY_RX) { temp = hcec->Instance->CSR; - + /* Store received data */ hcec->RxXferSize++; *hcec->Init.RxBuffer++ = hcec->Instance->RXD; - + /* Acknowledge received byte by writing 0x00 */ MODIFY_REG(hcec->Instance->CSR, CEC_FLAG_RECEIVE_MASK, 0x00U); - + /* If the End Of Message is reached */ - if(HAL_IS_BIT_SET(temp, CEC_FLAG_REOM)) + if (HAL_IS_BIT_SET(temp, CEC_FLAG_REOM)) { /* Interrupts are not disabled due to transmission still ongoing */ hcec->RxState = HAL_CEC_STATE_READY; #if (USE_HAL_CEC_REGISTER_CALLBACKS == 1) - hcec->RxCpltCallback(hcec, hcec->RxXferSize); + hcec->RxCpltCallback(hcec, hcec->RxXferSize); #else - HAL_CEC_RxCpltCallback(hcec, hcec->RxXferSize); -#endif /* USE_HAL_CEC_REGISTER_CALLBACKS */ - + HAL_CEC_RxCpltCallback(hcec, hcec->RxXferSize); +#endif /* USE_HAL_CEC_REGISTER_CALLBACKS */ + return HAL_OK; } else { - return HAL_BUSY; + return HAL_BUSY; } } else { - return HAL_BUSY; + return HAL_BUSY; } } /** - * @} - */ - + * @} + */ + /** * @} */ @@ -1001,5 +1007,3 @@ static HAL_StatusTypeDef CEC_Receive_IT(CEC_HandleTypeDef *hcec) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c index e66ccee..c6c87c6 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c @@ -68,13 +68,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -502,4 +501,3 @@ __weak void HAL_SYSTICK_Callback(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_crc.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_crc.c index 2fa6775..810ba9b 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_crc.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_crc.c @@ -9,6 +9,17 @@ * + Peripheral Control functions * + Peripheral State functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim =============================================================================== ##### How to use this driver ##### @@ -29,17 +40,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -147,7 +147,7 @@ HAL_StatusTypeDef HAL_CRC_DeInit(CRC_HandleTypeDef *hcrc) __HAL_CRC_DR_RESET(hcrc); /* Reset IDR register content */ - CLEAR_BIT(hcrc->Instance->IDR, CRC_IDR_IDR); + __HAL_CRC_SET_IDR(hcrc, 0); /* DeInit the low level hardware */ HAL_CRC_MspDeInit(hcrc); @@ -303,7 +303,7 @@ uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t * @param hcrc CRC handle * @retval HAL state */ -HAL_CRC_StateTypeDef HAL_CRC_GetState(CRC_HandleTypeDef *hcrc) +HAL_CRC_StateTypeDef HAL_CRC_GetState(const CRC_HandleTypeDef *hcrc) { /* Return CRC handle state */ return hcrc->State; @@ -326,5 +326,3 @@ HAL_CRC_StateTypeDef HAL_CRC_GetState(CRC_HandleTypeDef *hcrc) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c index 065abb6..c890cad 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c @@ -11,6 +11,17 @@ * + Peripheral State and Errors functions * * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### DAC Peripheral features ##### @@ -161,7 +172,7 @@ The compilation define USE_HAL_DAC_REGISTER_CALLBACKS when set to 1 allows the user to configure dynamically the driver callbacks. - Use Functions @ref HAL_DAC_RegisterCallback() to register a user callback, + Use Functions HAL_DAC_RegisterCallback() to register a user callback, it allows to register following callbacks: (+) ConvCpltCallbackCh1 : callback when a half transfer is completed on Ch1. (+) ConvHalfCpltCallbackCh1 : callback when a transfer is completed on Ch1. @@ -176,8 +187,8 @@ This function takes as parameters the HAL peripheral handle, the Callback ID and a pointer to the user callback function. - Use function @ref HAL_DAC_UnRegisterCallback() to reset a callback to the default - weak (surcharged) function. It allows to reset following callbacks: + Use function HAL_DAC_UnRegisterCallback() to reset a callback to the default + weak (overridden) function. It allows to reset following callbacks: (+) ConvCpltCallbackCh1 : callback when a half transfer is completed on Ch1. (+) ConvHalfCpltCallbackCh1 : callback when a transfer is completed on Ch1. (+) ErrorCallbackCh1 : callback when an error occurs on Ch1. @@ -191,12 +202,12 @@ (+) All Callbacks This function) takes as parameters the HAL peripheral handle and the Callback ID. - By default, after the @ref HAL_DAC_Init and if the state is HAL_DAC_STATE_RESET - all callbacks are reset to the corresponding legacy weak (surcharged) functions. + By default, after the HAL_DAC_Init and if the state is HAL_DAC_STATE_RESET + all callbacks are reset to the corresponding legacy weak (overridden) functions. Exception done for MspInit and MspDeInit callbacks that are respectively - reset to the legacy weak (surcharged) functions in the @ref HAL_DAC_Init - and @ref HAL_DAC_DeInit only when these callbacks are null (not registered beforehand). - If not, MspInit or MspDeInit are not null, the @ref HAL_DAC_Init and @ref HAL_DAC_DeInit + reset to the legacy weak (overridden) functions in the HAL_DAC_Init + and HAL_DAC_DeInit only when these callbacks are null (not registered beforehand). + If not, MspInit or MspDeInit are not null, the HAL_DAC_Init and HAL_DAC_DeInit keep and use the user MspInit/MspDeInit callbacks (registered beforehand) Callbacks can be registered/unregistered in READY state only. @@ -204,12 +215,12 @@ in READY or RESET state, thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit. In that case first register the MspInit/MspDeInit user callbacks - using @ref HAL_DAC_RegisterCallback before calling @ref HAL_DAC_DeInit - or @ref HAL_DAC_Init function. + using HAL_DAC_RegisterCallback before calling HAL_DAC_DeInit + or HAL_DAC_Init function. When The compilation define USE_HAL_DAC_REGISTER_CALLBACKS is set to 0 or not defined, the callback registering feature is not available - and weak (surcharged) callbacks are used. + and weak (overridden) callbacks are used. *** DAC HAL driver macros list *** ============================================= @@ -225,17 +236,6 @@ (@) You can refer to the DAC HAL driver header file for more useful macros @endverbatim - ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * ****************************************************************************** */ @@ -290,7 +290,7 @@ */ HAL_StatusTypeDef HAL_DAC_Init(DAC_HandleTypeDef *hdac) { - /* Check DAC handle */ + /* Check the DAC peripheral handle */ if (hdac == NULL) { return HAL_ERROR; @@ -351,7 +351,7 @@ HAL_StatusTypeDef HAL_DAC_Init(DAC_HandleTypeDef *hdac) */ HAL_StatusTypeDef HAL_DAC_DeInit(DAC_HandleTypeDef *hdac) { - /* Check DAC handle */ + /* Check the DAC peripheral handle */ if (hdac == NULL) { return HAL_ERROR; @@ -454,6 +454,12 @@ __weak void HAL_DAC_MspDeInit(DAC_HandleTypeDef *hdac) */ HAL_StatusTypeDef HAL_DAC_Start(DAC_HandleTypeDef *hdac, uint32_t Channel) { + /* Check the DAC peripheral handle */ + if (hdac == NULL) + { + return HAL_ERROR; + } + /* Check the parameters */ assert_param(IS_DAC_CHANNEL(Channel)); @@ -509,6 +515,12 @@ HAL_StatusTypeDef HAL_DAC_Start(DAC_HandleTypeDef *hdac, uint32_t Channel) */ HAL_StatusTypeDef HAL_DAC_Stop(DAC_HandleTypeDef *hdac, uint32_t Channel) { + /* Check the DAC peripheral handle */ + if (hdac == NULL) + { + return HAL_ERROR; + } + /* Check the parameters */ assert_param(IS_DAC_CHANNEL(Channel)); @@ -539,11 +551,17 @@ HAL_StatusTypeDef HAL_DAC_Stop(DAC_HandleTypeDef *hdac, uint32_t Channel) * @arg DAC_ALIGN_12B_R: 12bit right data alignment selected * @retval HAL status */ -HAL_StatusTypeDef HAL_DAC_Start_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel, uint32_t *pData, uint32_t Length, +HAL_StatusTypeDef HAL_DAC_Start_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel, const uint32_t *pData, uint32_t Length, uint32_t Alignment) { HAL_StatusTypeDef status; - uint32_t tmpreg = 0U; + uint32_t tmpreg; + + /* Check the DAC peripheral handle */ + if (hdac == NULL) + { + return HAL_ERROR; + } /* Check the parameters */ assert_param(IS_DAC_CHANNEL(Channel)); @@ -580,12 +598,10 @@ HAL_StatusTypeDef HAL_DAC_Start_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel, u /* Get DHR12L1 address */ tmpreg = (uint32_t)&hdac->Instance->DHR12L1; break; - case DAC_ALIGN_8B_R: + default: /* case DAC_ALIGN_8B_R */ /* Get DHR8R1 address */ tmpreg = (uint32_t)&hdac->Instance->DHR8R1; break; - default: - break; } } @@ -614,17 +630,13 @@ HAL_StatusTypeDef HAL_DAC_Start_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel, u /* Get DHR12L2 address */ tmpreg = (uint32_t)&hdac->Instance->DHR12L2; break; - case DAC_ALIGN_8B_R: + default: /* case DAC_ALIGN_8B_R */ /* Get DHR8R2 address */ tmpreg = (uint32_t)&hdac->Instance->DHR8R2; break; - default: - break; } } - - /* Enable the DMA Stream */ if (Channel == DAC_CHANNEL_1) { #if defined(DAC_CR_DMAUDRIE1) @@ -677,6 +689,12 @@ HAL_StatusTypeDef HAL_DAC_Start_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel, u */ HAL_StatusTypeDef HAL_DAC_Stop_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel) { + /* Check the DAC peripheral handle */ + if (hdac == NULL) + { + return HAL_ERROR; + } + /* Check the parameters */ assert_param(IS_DAC_CHANNEL(Channel)); @@ -693,6 +711,7 @@ HAL_StatusTypeDef HAL_DAC_Stop_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel) { /* Disable the DMA Stream */ (void)HAL_DMA_Abort(hdac->DMA_Handle1); + #if defined(DAC_CR_DMAUDRIE1) /* Disable the DAC DMA underrun interrupt */ __HAL_DAC_DISABLE_IT(hdac, DAC_IT_DMAUDR1); @@ -703,6 +722,7 @@ HAL_StatusTypeDef HAL_DAC_Stop_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel) { /* Disable the DMA Stream */ (void)HAL_DMA_Abort(hdac->DMA_Handle2); + #if defined(DAC_CR_DMAUDRIE2) /* Disable the DAC DMA underrun interrupt */ __HAL_DAC_DISABLE_IT(hdac, DAC_IT_DMAUDR2); @@ -729,13 +749,16 @@ void HAL_DAC_IRQHandler(DAC_HandleTypeDef *hdac) { #if !defined(DAC_SR_DMAUDR1) && !defined(DAC_SR_DMAUDR2) UNUSED(hdac); -#endif +#else + uint32_t itsource = hdac->Instance->CR; + uint32_t itflag = hdac->Instance->SR; +#endif /* !DAC_SR_DMAUDR1 && !DAC_SR_DMAUDR2 */ #if defined(DAC_SR_DMAUDR1) - if (__HAL_DAC_GET_IT_SOURCE(hdac, DAC_IT_DMAUDR1)) + if ((itsource & DAC_IT_DMAUDR1) == DAC_IT_DMAUDR1) { /* Check underrun flag of DAC channel 1 */ - if (__HAL_DAC_GET_FLAG(hdac, DAC_FLAG_DMAUDR1)) + if ((itflag & DAC_FLAG_DMAUDR1) == DAC_FLAG_DMAUDR1) { /* Change DAC state to error state */ hdac->State = HAL_DAC_STATE_ERROR; @@ -747,7 +770,7 @@ void HAL_DAC_IRQHandler(DAC_HandleTypeDef *hdac) __HAL_DAC_CLEAR_FLAG(hdac, DAC_FLAG_DMAUDR1); /* Disable the selected DAC channel1 DMA request */ - CLEAR_BIT(hdac->Instance->CR, DAC_CR_DMAEN1); + __HAL_DAC_DISABLE_IT(hdac, DAC_CR_DMAEN1); /* Error callback */ #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1) @@ -760,10 +783,10 @@ void HAL_DAC_IRQHandler(DAC_HandleTypeDef *hdac) #endif /* DAC_SR_DMAUDR1 */ #if defined(DAC_SR_DMAUDR2) - if (__HAL_DAC_GET_IT_SOURCE(hdac, DAC_IT_DMAUDR2)) + if ((itsource & DAC_IT_DMAUDR2) == DAC_IT_DMAUDR2) { /* Check underrun flag of DAC channel 2 */ - if (__HAL_DAC_GET_FLAG(hdac, DAC_FLAG_DMAUDR2)) + if ((itflag & DAC_FLAG_DMAUDR2) == DAC_FLAG_DMAUDR2) { /* Change DAC state to error state */ hdac->State = HAL_DAC_STATE_ERROR; @@ -775,7 +798,7 @@ void HAL_DAC_IRQHandler(DAC_HandleTypeDef *hdac) __HAL_DAC_CLEAR_FLAG(hdac, DAC_FLAG_DMAUDR2); /* Disable the selected DAC channel2 DMA request */ - CLEAR_BIT(hdac->Instance->CR, DAC_CR_DMAEN2); + __HAL_DAC_DISABLE_IT(hdac, DAC_CR_DMAEN2); /* Error callback */ #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1) @@ -808,6 +831,12 @@ HAL_StatusTypeDef HAL_DAC_SetValue(DAC_HandleTypeDef *hdac, uint32_t Channel, ui { __IO uint32_t tmp = 0UL; + /* Check the DAC peripheral handle */ + if (hdac == NULL) + { + return HAL_ERROR; + } + /* Check the parameters */ assert_param(IS_DAC_CHANNEL(Channel)); assert_param(IS_DAC_ALIGN(Alignment)); @@ -925,10 +954,16 @@ __weak void HAL_DAC_DMAUnderrunCallbackCh1(DAC_HandleTypeDef *hdac) * @arg DAC_CHANNEL_2: DAC Channel2 selected * @retval The selected DAC channel data output value. */ -uint32_t HAL_DAC_GetValue(DAC_HandleTypeDef *hdac, uint32_t Channel) +uint32_t HAL_DAC_GetValue(const DAC_HandleTypeDef *hdac, uint32_t Channel) { uint32_t result; + /* Check the DAC peripheral handle */ + if (hdac == NULL) + { + return HAL_ERROR; + } + /* Check the parameters */ assert_param(IS_DAC_CHANNEL(Channel)); @@ -957,11 +992,19 @@ uint32_t HAL_DAC_GetValue(DAC_HandleTypeDef *hdac, uint32_t Channel) * @arg DAC_CHANNEL_2: DAC Channel2 selected * @retval HAL status */ -HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef *hdac, DAC_ChannelConfTypeDef *sConfig, uint32_t Channel) +HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef *hdac, + const DAC_ChannelConfTypeDef *sConfig, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; uint32_t tmpreg1; uint32_t tmpreg2; + /* Check the DAC peripheral handle and channel configuration struct */ + if ((hdac == NULL) || (sConfig == NULL)) + { + return HAL_ERROR; + } + /* Check the DAC parameters */ assert_param(IS_DAC_TRIGGER(sConfig->DAC_Trigger)); assert_param(IS_DAC_OUTPUT_BUFFER_STATE(sConfig->DAC_OutputBuffer)); @@ -976,7 +1019,8 @@ HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef *hdac, DAC_ChannelConf /* Get the DAC CR value */ tmpreg1 = hdac->Instance->CR; /* Clear BOFFx, TENx, TSELx, WAVEx and MAMPx bits */ - tmpreg1 &= ~(((uint32_t)(DAC_CR_MAMP1 | DAC_CR_WAVE1 | DAC_CR_TSEL1 | DAC_CR_TEN1 | DAC_CR_BOFF1)) << (Channel & 0x10UL)); + tmpreg1 &= ~(((uint32_t)(DAC_CR_MAMP1 | DAC_CR_WAVE1 | DAC_CR_TSEL1 | DAC_CR_TEN1 | DAC_CR_BOFF1)) + << (Channel & 0x10UL)); /* Configure for the selected DAC channel: buffer output, trigger */ /* Set TSELx and TENx bits according to DAC_Trigger value */ /* Set BOFFx bit according to DAC_OutputBuffer value */ @@ -995,7 +1039,7 @@ HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef *hdac, DAC_ChannelConf __HAL_UNLOCK(hdac); /* Return function status */ - return HAL_OK; + return status; } /** @@ -1024,7 +1068,7 @@ HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef *hdac, DAC_ChannelConf * the configuration information for the specified DAC. * @retval HAL state */ -HAL_DAC_StateTypeDef HAL_DAC_GetState(DAC_HandleTypeDef *hdac) +HAL_DAC_StateTypeDef HAL_DAC_GetState(const DAC_HandleTypeDef *hdac) { /* Return DAC handle state */ return hdac->State; @@ -1037,7 +1081,7 @@ HAL_DAC_StateTypeDef HAL_DAC_GetState(DAC_HandleTypeDef *hdac) * the configuration information for the specified DAC. * @retval DAC Error Code */ -uint32_t HAL_DAC_GetError(DAC_HandleTypeDef *hdac) +uint32_t HAL_DAC_GetError(const DAC_HandleTypeDef *hdac) { return hdac->ErrorCode; } @@ -1060,7 +1104,9 @@ uint32_t HAL_DAC_GetError(DAC_HandleTypeDef *hdac) #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1) /** * @brief Register a User DAC Callback - * To be used instead of the weak (surcharged) predefined callback + * To be used instead of the weak (overridden) predefined callback + * @note The HAL_DAC_RegisterCallback() may be called before HAL_DAC_Init() in HAL_DAC_STATE_RESET to register + * callbacks for HAL_DAC_MSPINIT_CB_ID and HAL_DAC_MSPDEINIT_CB_ID * @param hdac DAC handle * @param CallbackID ID of the callback to be registered * This parameter can be one of the following values: @@ -1084,6 +1130,12 @@ HAL_StatusTypeDef HAL_DAC_RegisterCallback(DAC_HandleTypeDef *hdac, HAL_DAC_Call { HAL_StatusTypeDef status = HAL_OK; + /* Check the DAC peripheral handle */ + if (hdac == NULL) + { + return HAL_ERROR; + } + if (pCallback == NULL) { /* Update the error code */ @@ -1091,9 +1143,6 @@ HAL_StatusTypeDef HAL_DAC_RegisterCallback(DAC_HandleTypeDef *hdac, HAL_DAC_Call return HAL_ERROR; } - /* Process locked */ - __HAL_LOCK(hdac); - if (hdac->State == HAL_DAC_STATE_READY) { switch (CallbackID) @@ -1164,14 +1213,14 @@ HAL_StatusTypeDef HAL_DAC_RegisterCallback(DAC_HandleTypeDef *hdac, HAL_DAC_Call status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(hdac); return status; } /** * @brief Unregister a User DAC Callback - * DAC Callback is redirected to the weak (surcharged) predefined callback + * DAC Callback is redirected to the weak (overridden) predefined callback + * @note The HAL_DAC_UnRegisterCallback() may be called before HAL_DAC_Init() in HAL_DAC_STATE_RESET to un-register + * callbacks for HAL_DAC_MSPINIT_CB_ID and HAL_DAC_MSPDEINIT_CB_ID * @param hdac DAC handle * @param CallbackID ID of the callback to be unregistered * This parameter can be one of the following values: @@ -1192,8 +1241,11 @@ HAL_StatusTypeDef HAL_DAC_UnRegisterCallback(DAC_HandleTypeDef *hdac, HAL_DAC_Ca { HAL_StatusTypeDef status = HAL_OK; - /* Process locked */ - __HAL_LOCK(hdac); + /* Check the DAC peripheral handle */ + if (hdac == NULL) + { + return HAL_ERROR; + } if (hdac->State == HAL_DAC_STATE_READY) { @@ -1279,8 +1331,6 @@ HAL_StatusTypeDef HAL_DAC_UnRegisterCallback(DAC_HandleTypeDef *hdac, HAL_DAC_Ca status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(hdac); return status; } #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */ @@ -1366,9 +1416,6 @@ void DAC_DMAErrorCh1(DMA_HandleTypeDef *hdma) #endif /* DAC */ #endif /* HAL_DAC_MODULE_ENABLED */ - /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c index 96421a7..3c4fbb8 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c @@ -7,20 +7,22 @@ * functionalities of the DAC peripheral. * * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### ============================================================================== [..] - - *** Dual mode IO operation *** - ============================== - [..] - (+) When Dual mode is enabled (i.e. DAC Channel1 and Channel2 are used simultaneously) : - Use HAL_DACEx_DualGetValue() to get digital data to be converted and use - HAL_DACEx_DualSetValue() to set digital value to converted simultaneously in - Channel 1 and Channel 2. - *** Signal generation operation *** =================================== [..] @@ -28,17 +30,6 @@ (+) Use HAL_DACEx_NoiseWaveGenerate() to generate Noise signal. @endverbatim - ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * ****************************************************************************** */ @@ -61,6 +52,7 @@ /* Private typedef -----------------------------------------------------------*/ /* Private define ------------------------------------------------------------*/ + /* Private macro -------------------------------------------------------------*/ /* Private variables ---------------------------------------------------------*/ /* Private function prototypes -----------------------------------------------*/ @@ -100,6 +92,12 @@ HAL_StatusTypeDef HAL_DACEx_DualStart(DAC_HandleTypeDef *hdac) { uint32_t tmp_swtrig = 0UL; + /* Check the DAC peripheral handle */ + if (hdac == NULL) + { + return HAL_ERROR; + } + /* Process locked */ __HAL_LOCK(hdac); @@ -141,6 +139,12 @@ HAL_StatusTypeDef HAL_DACEx_DualStart(DAC_HandleTypeDef *hdac) */ HAL_StatusTypeDef HAL_DACEx_DualStop(DAC_HandleTypeDef *hdac) { + /* Check the DAC peripheral handle */ + if (hdac == NULL) + { + return HAL_ERROR; + } + /* Disable the Peripheral */ __HAL_DAC_DISABLE(hdac, DAC_CHANNEL_1); @@ -180,6 +184,12 @@ HAL_StatusTypeDef HAL_DACEx_DualStop(DAC_HandleTypeDef *hdac) */ HAL_StatusTypeDef HAL_DACEx_TriangleWaveGenerate(DAC_HandleTypeDef *hdac, uint32_t Channel, uint32_t Amplitude) { + /* Check the DAC peripheral handle */ + if (hdac == NULL) + { + return HAL_ERROR; + } + /* Check the parameters */ assert_param(IS_DAC_CHANNEL(Channel)); assert_param(IS_DAC_LFSR_UNMASK_TRIANGLE_AMPLITUDE(Amplitude)); @@ -230,6 +240,12 @@ HAL_StatusTypeDef HAL_DACEx_TriangleWaveGenerate(DAC_HandleTypeDef *hdac, uint32 */ HAL_StatusTypeDef HAL_DACEx_NoiseWaveGenerate(DAC_HandleTypeDef *hdac, uint32_t Channel, uint32_t Amplitude) { + /* Check the DAC peripheral handle */ + if (hdac == NULL) + { + return HAL_ERROR; + } + /* Check the parameters */ assert_param(IS_DAC_CHANNEL(Channel)); assert_param(IS_DAC_LFSR_UNMASK_TRIANGLE_AMPLITUDE(Amplitude)); @@ -275,6 +291,12 @@ HAL_StatusTypeDef HAL_DACEx_DualSetValue(DAC_HandleTypeDef *hdac, uint32_t Align uint32_t data; uint32_t tmp; + /* Check the DAC peripheral handle */ + if (hdac == NULL) + { + return HAL_ERROR; + } + /* Check the parameters */ assert_param(IS_DAC_ALIGN(Alignment)); assert_param(IS_DAC_DATA(Data1)); @@ -391,7 +413,7 @@ __weak void HAL_DACEx_DMAUnderrunCallbackCh2(DAC_HandleTypeDef *hdac) * the configuration information for the specified DAC. * @retval The selected DAC channel data output value. */ -uint32_t HAL_DACEx_DualGetValue(DAC_HandleTypeDef *hdac) +uint32_t HAL_DACEx_DualGetValue(const DAC_HandleTypeDef *hdac) { uint32_t tmp = 0UL; @@ -492,5 +514,3 @@ void DAC_DMAErrorCh2(DMA_HandleTypeDef *hdma) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c index 62a1d28..80b65a4 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c @@ -70,13 +70,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -684,9 +683,9 @@ void HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma) * @brief Register callbacks * @param hdma: pointer to a DMA_HandleTypeDef structure that contains * the configuration information for the specified DMA Channel. - * @param CallbackID: User Callback identifer + * @param CallbackID: User Callback identifier * a HAL_DMA_CallbackIDTypeDef ENUM as parameter. - * @param pCallback: pointer to private callbacsk function which has pointer to + * @param pCallback: pointer to private callback function which has pointer to * a DMA_HandleTypeDef structure as parameter. * @retval HAL status */ @@ -737,7 +736,7 @@ HAL_StatusTypeDef HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_Call * @brief UnRegister callbacks * @param hdma: pointer to a DMA_HandleTypeDef structure that contains * the configuration information for the specified DMA Channel. - * @param CallbackID: User Callback identifer + * @param CallbackID: User Callback identifier * a HAL_DMA_CallbackIDTypeDef ENUM as parameter. * @retval HAL status */ @@ -812,7 +811,7 @@ HAL_StatusTypeDef HAL_DMA_UnRegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_Ca */ /** - * @brief Return the DMA hande state. + * @brief Return the DMA handle state. * @param hdma: pointer to a DMA_HandleTypeDef structure that contains * the configuration information for the specified DMA Channel. * @retval HAL state @@ -896,4 +895,3 @@ static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_eth.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_eth.c index b6d0a9a..198e9e4 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_eth.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_eth.c @@ -10,6 +10,17 @@ * + Peripheral Control functions * + Peripheral State and Errors functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -115,17 +126,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -764,7 +764,7 @@ HAL_StatusTypeDef HAL_ETH_RegisterCallback(ETH_HandleTypeDef *heth, HAL_ETH_Call /** * @brief Unregister an ETH Callback - * ETH callabck is redirected to the weak predefined callback + * ETH callback is redirected to the weak predefined callback * @param heth eth handle * @param CallbackID ID of the callback to be unregistered * This parameter can be one of the following values: @@ -2288,5 +2288,3 @@ static void ETH_InitCallbacksToDefault(ETH_HandleTypeDef *heth) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c index 8af23a2..ef8e005 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c @@ -8,6 +8,17 @@ * + Initialization and de-initialization functions * + IO operation functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2019 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### EXTI Peripheral features ##### @@ -53,7 +64,7 @@ (++) Provide exiting handle as parameter. (++) Provide pointer on EXTI_ConfigTypeDef structure as second parameter. - (#) Clear Exti configuration of a dedicated line using HAL_EXTI_GetConfigLine(). + (#) Clear Exti configuration of a dedicated line using HAL_EXTI_ClearConfigLine(). (++) Provide exiting handle as parameter. (#) Register callback to treat Exti interrupts using HAL_EXTI_RegisterCallback(). @@ -64,23 +75,11 @@ (#) Get interrupt pending bit using HAL_EXTI_GetPending(). - (#) Clear interrupt pending bit using HAL_EXTI_GetPending(). + (#) Clear interrupt pending bit using HAL_EXTI_ClearPending(). (#) Generate software interrupt using HAL_EXTI_GenerateSWI(). @endverbatim - ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2019 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -302,7 +301,7 @@ HAL_StatusTypeDef HAL_EXTI_GetConfigLine(EXTI_HandleTypeDef *hexti, EXTI_ConfigT assert_param(IS_EXTI_GPIO_PIN(linepos)); regval = AFIO->EXTICR[linepos >> 2u]; - pExtiConfig->GPIOSel = ((regval << (AFIO_EXTICR1_EXTI1_Pos * (3uL - (linepos & 0x03u)))) >> 24); + pExtiConfig->GPIOSel = (regval >> (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))) & AFIO_EXTICR1_EXTI0; } } @@ -552,4 +551,3 @@ void HAL_EXTI_GenerateSWI(EXTI_HandleTypeDef *hexti) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c index 2a628e8..6f920ae 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c @@ -70,14 +70,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. ****************************************************************************** */ @@ -964,4 +962,3 @@ static void FLASH_SetErrorCode(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c index 27b07b8..e6200c2 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c @@ -28,14 +28,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. ****************************************************************************** */ @@ -125,15 +123,15 @@ static uint8_t FLASH_OB_GetUser(void); ============================================================================== [..] The FLASH Memory Erasing functions, includes the following functions: - (+) @ref HAL_FLASHEx_Erase: return only when erase has been done - (+) @ref HAL_FLASHEx_Erase_IT: end of erase is done when @ref HAL_FLASH_EndOfOperationCallback + (+) HAL_FLASHEx_Erase: return only when erase has been done + (+) HAL_FLASHEx_Erase_IT: end of erase is done when HAL_FLASH_EndOfOperationCallback is called with parameter 0xFFFFFFFF [..] Any operation of erase should follow these steps: - (#) Call the @ref HAL_FLASH_Unlock() function to enable the flash control register and + (#) Call the HAL_FLASH_Unlock() function to enable the flash control register and program memory access. (#) Call the desired function to erase page. - (#) Call the @ref HAL_FLASH_Lock() to disable the flash program memory access + (#) Call the HAL_FLASH_Lock() to disable the flash program memory access (recommended to protect the FLASH memory against possible unwanted operation). @endverbatim @@ -1124,4 +1122,3 @@ void FLASH_PageErase(uint32_t PageAddress) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c index 6ba68a9..f837c58 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c @@ -8,6 +8,17 @@ * + Initialization and de-initialization functions * + IO operation functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### GPIO Peripheral features ##### @@ -88,17 +99,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -295,26 +295,6 @@ void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init) AFIO->EXTICR[position >> 2u] = temp; - /* Configure the interrupt mask */ - if ((GPIO_Init->Mode & GPIO_MODE_IT) == GPIO_MODE_IT) - { - SET_BIT(EXTI->IMR, iocurrent); - } - else - { - CLEAR_BIT(EXTI->IMR, iocurrent); - } - - /* Configure the event mask */ - if ((GPIO_Init->Mode & GPIO_MODE_EVT) == GPIO_MODE_EVT) - { - SET_BIT(EXTI->EMR, iocurrent); - } - else - { - CLEAR_BIT(EXTI->EMR, iocurrent); - } - /* Enable or disable the rising trigger */ if ((GPIO_Init->Mode & RISING_EDGE) == RISING_EDGE) { @@ -334,6 +314,26 @@ void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init) { CLEAR_BIT(EXTI->FTSR, iocurrent); } + + /* Configure the event mask */ + if ((GPIO_Init->Mode & GPIO_MODE_EVT) == GPIO_MODE_EVT) + { + SET_BIT(EXTI->EMR, iocurrent); + } + else + { + CLEAR_BIT(EXTI->EMR, iocurrent); + } + + /* Configure the interrupt mask */ + if ((GPIO_Init->Mode & GPIO_MODE_IT) == GPIO_MODE_IT) + { + SET_BIT(EXTI->IMR, iocurrent); + } + else + { + CLEAR_BIT(EXTI->IMR, iocurrent); + } } } @@ -375,16 +375,16 @@ void HAL_GPIO_DeInit(GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin) tmp &= 0x0FuL << (4u * (position & 0x03u)); if (tmp == (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u)))) { - tmp = 0x0FuL << (4u * (position & 0x03u)); - CLEAR_BIT(AFIO->EXTICR[position >> 2u], tmp); - /* Clear EXTI line configuration */ CLEAR_BIT(EXTI->IMR, (uint32_t)iocurrent); CLEAR_BIT(EXTI->EMR, (uint32_t)iocurrent); /* Clear Rising Falling edge configuration */ - CLEAR_BIT(EXTI->RTSR, (uint32_t)iocurrent); CLEAR_BIT(EXTI->FTSR, (uint32_t)iocurrent); + CLEAR_BIT(EXTI->RTSR, (uint32_t)iocurrent); + + tmp = 0x0FuL << (4u * (position & 0x03u)); + CLEAR_BIT(AFIO->EXTICR[position >> 2u], tmp); } /*------------------------- GPIO Mode Configuration --------------------*/ /* Check if the current bit belongs to first half or last half of the pin count number @@ -491,7 +491,7 @@ void HAL_GPIO_TogglePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) /* Check the parameters */ assert_param(IS_GPIO_PIN(GPIO_Pin)); - /* get current Ouput Data Register value */ + /* get current Output Data Register value */ odr = GPIOx->ODR; /* Set selected pins that were at low level, and reset ones that were high */ @@ -584,4 +584,3 @@ __weak void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c index e6dea5b..db07359 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c @@ -7,6 +7,17 @@ * functionalities of the General Purpose Input/Output (GPIO) extension peripheral. * + Extended features functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### GPIO Peripheral extension features ##### @@ -23,17 +34,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -124,4 +124,3 @@ void HAL_GPIOEx_DisableEventout(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_hcd.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_hcd.c index 5fdcbfb..67c86af 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_hcd.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_hcd.c @@ -10,6 +10,17 @@ * + Peripheral Control functions * + Peripheral State functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -37,17 +48,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -193,24 +193,21 @@ HAL_StatusTypeDef HAL_HCD_Init(HCD_HandleTypeDef *hhcd) * This parameter can be a value from 0 to32K * @retval HAL status */ -HAL_StatusTypeDef HAL_HCD_HC_Init(HCD_HandleTypeDef *hhcd, - uint8_t ch_num, - uint8_t epnum, - uint8_t dev_address, - uint8_t speed, - uint8_t ep_type, - uint16_t mps) +HAL_StatusTypeDef HAL_HCD_HC_Init(HCD_HandleTypeDef *hhcd, uint8_t ch_num, uint8_t epnum, + uint8_t dev_address, uint8_t speed, uint8_t ep_type, uint16_t mps) { HAL_StatusTypeDef status; + uint32_t HCcharMps = mps; __HAL_LOCK(hhcd); hhcd->hc[ch_num].do_ping = 0U; hhcd->hc[ch_num].dev_addr = dev_address; - hhcd->hc[ch_num].max_packet = mps; hhcd->hc[ch_num].ch_num = ch_num; hhcd->hc[ch_num].ep_type = ep_type; hhcd->hc[ch_num].ep_num = epnum & 0x7FU; + (void)HAL_HCD_HC_ClearHubInfo(hhcd, ch_num); + if ((epnum & 0x80U) == 0x80U) { hhcd->hc[ch_num].ep_is_in = 1U; @@ -221,14 +218,11 @@ HAL_StatusTypeDef HAL_HCD_HC_Init(HCD_HandleTypeDef *hhcd, } hhcd->hc[ch_num].speed = speed; + hhcd->hc[ch_num].max_packet = (uint16_t)HCcharMps; + + status = USB_HC_Init(hhcd->Instance, ch_num, epnum, + dev_address, speed, ep_type, (uint16_t)HCcharMps); - status = USB_HC_Init(hhcd->Instance, - ch_num, - epnum, - dev_address, - speed, - ep_type, - mps); __HAL_UNLOCK(hhcd); return status; @@ -246,7 +240,7 @@ HAL_StatusTypeDef HAL_HCD_HC_Halt(HCD_HandleTypeDef *hhcd, uint8_t ch_num) HAL_StatusTypeDef status = HAL_OK; __HAL_LOCK(hhcd); - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); + (void)USB_HC_Halt(hhcd->Instance, ch_num); __HAL_UNLOCK(hhcd); return status; @@ -385,24 +379,27 @@ HAL_StatusTypeDef HAL_HCD_HC_SubmitRequest(HCD_HandleTypeDef *hhcd, switch (ep_type) { case EP_TYPE_CTRL: - if ((token == 1U) && (direction == 0U)) /*send data */ + if (token == 1U) /* send data */ { - if (length == 0U) + if (direction == 0U) { - /* For Status OUT stage, Length==0, Status Out PID = 1 */ - hhcd->hc[ch_num].toggle_out = 1U; - } + if (length == 0U) + { + /* For Status OUT stage, Length == 0U, Status Out PID = 1 */ + hhcd->hc[ch_num].toggle_out = 1U; + } - /* Set the Data Toggle bit as per the Flag */ - if (hhcd->hc[ch_num].toggle_out == 0U) - { - /* Put the PID 0 */ - hhcd->hc[ch_num].data_pid = HC_PID_DATA0; - } - else - { - /* Put the PID 1 */ - hhcd->hc[ch_num].data_pid = HC_PID_DATA1; + /* Set the Data Toggle bit as per the Flag */ + if (hhcd->hc[ch_num].toggle_out == 0U) + { + /* Put the PID 0 */ + hhcd->hc[ch_num].data_pid = HC_PID_DATA0; + } + else + { + /* Put the PID 1 */ + hhcd->hc[ch_num].data_pid = HC_PID_DATA1; + } } } break; @@ -533,14 +530,22 @@ void HAL_HCD_IRQHandler(HCD_HandleTypeDef *hhcd) if ((USBx_HPRT0 & USB_OTG_HPRT_PCSTS) == 0U) { + /* Flush USB Fifo */ + (void)USB_FlushTxFifo(USBx, 0x10U); + (void)USB_FlushRxFifo(USBx); + + if (hhcd->Init.phy_itface == USB_OTG_EMBEDDED_PHY) + { + /* Restore FS Clock */ + (void)USB_InitFSLSPClkSel(hhcd->Instance, HCFG_48_MHZ); + } + /* Handle Host Port Disconnect Interrupt */ #if (USE_HAL_HCD_REGISTER_CALLBACKS == 1U) hhcd->DisconnectCallback(hhcd); #else HAL_HCD_Disconnect_Callback(hhcd); #endif /* USE_HAL_HCD_REGISTER_CALLBACKS */ - - (void)USB_InitFSLSPClkSel(hhcd->Instance, HCFG_48_MHZ); } } @@ -562,16 +567,6 @@ void HAL_HCD_IRQHandler(HCD_HandleTypeDef *hhcd) __HAL_HCD_CLEAR_FLAG(hhcd, USB_OTG_GINTSTS_SOF); } - /* Handle Rx Queue Level Interrupts */ - if ((__HAL_HCD_GET_FLAG(hhcd, USB_OTG_GINTSTS_RXFLVL)) != 0U) - { - USB_MASK_INTERRUPT(hhcd->Instance, USB_OTG_GINTSTS_RXFLVL); - - HCD_RXQLVL_IRQHandler(hhcd); - - USB_UNMASK_INTERRUPT(hhcd->Instance, USB_OTG_GINTSTS_RXFLVL); - } - /* Handle Host channel Interrupt */ if (__HAL_HCD_GET_FLAG(hhcd, USB_OTG_GINTSTS_HCINT)) { @@ -592,6 +587,16 @@ void HAL_HCD_IRQHandler(HCD_HandleTypeDef *hhcd) } __HAL_HCD_CLEAR_FLAG(hhcd, USB_OTG_GINTSTS_HCINT); } + + /* Handle Rx Queue Level Interrupts */ + if ((__HAL_HCD_GET_FLAG(hhcd, USB_OTG_GINTSTS_RXFLVL)) != 0U) + { + USB_MASK_INTERRUPT(hhcd->Instance, USB_OTG_GINTSTS_RXFLVL); + + HCD_RXQLVL_IRQHandler(hhcd); + + USB_UNMASK_INTERRUPT(hhcd->Instance, USB_OTG_GINTSTS_RXFLVL); + } } } @@ -1075,7 +1080,7 @@ HAL_StatusTypeDef HAL_HCD_ResetPort(HCD_HandleTypeDef *hhcd) * @param hhcd HCD handle * @retval HAL state */ -HCD_StateTypeDef HAL_HCD_GetState(HCD_HandleTypeDef *hhcd) +HCD_StateTypeDef HAL_HCD_GetState(HCD_HandleTypeDef const *hhcd) { return hhcd->State; } @@ -1094,7 +1099,7 @@ HCD_StateTypeDef HAL_HCD_GetState(HCD_HandleTypeDef *hhcd) * URB_ERROR/ * URB_STALL */ -HCD_URBStateTypeDef HAL_HCD_HC_GetURBState(HCD_HandleTypeDef *hhcd, uint8_t chnum) +HCD_URBStateTypeDef HAL_HCD_HC_GetURBState(HCD_HandleTypeDef const *hhcd, uint8_t chnum) { return hhcd->hc[chnum].urb_state; } @@ -1107,7 +1112,7 @@ HCD_URBStateTypeDef HAL_HCD_HC_GetURBState(HCD_HandleTypeDef *hhcd, uint8_t chnu * This parameter can be a value from 1 to 15 * @retval last transfer size in byte */ -uint32_t HAL_HCD_HC_GetXferCount(HCD_HandleTypeDef *hhcd, uint8_t chnum) +uint32_t HAL_HCD_HC_GetXferCount(HCD_HandleTypeDef const *hhcd, uint8_t chnum) { return hhcd->hc[chnum].xfer_count; } @@ -1129,7 +1134,7 @@ uint32_t HAL_HCD_HC_GetXferCount(HCD_HandleTypeDef *hhcd, uint8_t chnum) * HC_BBLERR/ * HC_DATATGLERR */ -HCD_HCStateTypeDef HAL_HCD_HC_GetState(HCD_HandleTypeDef *hhcd, uint8_t chnum) +HCD_HCStateTypeDef HAL_HCD_HC_GetState(HCD_HandleTypeDef const *hhcd, uint8_t chnum) { return hhcd->hc[chnum].state; } @@ -1154,6 +1159,39 @@ uint32_t HAL_HCD_GetCurrentSpeed(HCD_HandleTypeDef *hhcd) return (USB_GetHostSpeed(hhcd->Instance)); } +/** + * @brief Set host channel Hub information. + * @param hhcd HCD handle + * @param ch_num Channel number. + * This parameter can be a value from 1 to 15 + * @param addr Hub address + * @param PortNbr Hub port number + * @retval HAL status + */ +HAL_StatusTypeDef HAL_HCD_HC_SetHubInfo(HCD_HandleTypeDef *hhcd, uint8_t ch_num, + uint8_t addr, uint8_t PortNbr) +{ + hhcd->hc[ch_num].hub_addr = addr; + hhcd->hc[ch_num].hub_port_nbr = PortNbr; + + return HAL_OK; +} + + +/** + * @brief Clear host channel hub information. + * @param hhcd HCD handle + * @param ch_num Channel number. + * This parameter can be a value from 1 to 15 + * @retval HAL status + */ +HAL_StatusTypeDef HAL_HCD_HC_ClearHubInfo(HCD_HandleTypeDef *hhcd, uint8_t ch_num) +{ + hhcd->hc[ch_num].hub_addr = 0U; + hhcd->hc[ch_num].hub_port_nbr = 0U; + + return HAL_OK; +} /** * @} */ @@ -1176,93 +1214,70 @@ static void HCD_HC_IN_IRQHandler(HCD_HandleTypeDef *hhcd, uint8_t chnum) { USB_OTG_GlobalTypeDef *USBx = hhcd->Instance; uint32_t USBx_BASE = (uint32_t)USBx; - uint32_t ch_num = (uint32_t)chnum; - uint32_t tmpreg; - if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_AHBERR) == USB_OTG_HCINT_AHBERR) + if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_AHBERR)) { - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_AHBERR); - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_AHBERR); + hhcd->hc[chnum].state = HC_XACTERR; + (void)USB_HC_Halt(hhcd->Instance, chnum); } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_BBERR) == USB_OTG_HCINT_BBERR) + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_BBERR)) { - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_BBERR); - hhcd->hc[ch_num].state = HC_BBLERR; - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_BBERR); + hhcd->hc[chnum].state = HC_BBLERR; + (void)USB_HC_Halt(hhcd->Instance, chnum); } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_ACK) == USB_OTG_HCINT_ACK) + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_STALL)) { - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_ACK); + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_STALL); + hhcd->hc[chnum].state = HC_STALL; + (void)USB_HC_Halt(hhcd->Instance, chnum); } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_STALL) == USB_OTG_HCINT_STALL) + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_DTERR)) { - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); - hhcd->hc[ch_num].state = HC_STALL; - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_NAK); - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_STALL); - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_DTERR); + hhcd->hc[chnum].state = HC_DATATGLERR; + (void)USB_HC_Halt(hhcd->Instance, chnum); } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_DTERR) == USB_OTG_HCINT_DTERR) + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_TXERR)) { - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); - hhcd->hc[ch_num].state = HC_DATATGLERR; - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_NAK); - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_DTERR); - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); - } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_TXERR) == USB_OTG_HCINT_TXERR) - { - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); - hhcd->hc[ch_num].state = HC_XACTERR; - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_TXERR); + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_TXERR); + hhcd->hc[chnum].state = HC_XACTERR; + (void)USB_HC_Halt(hhcd->Instance, chnum); } else { /* ... */ } - if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_FRMOR) == USB_OTG_HCINT_FRMOR) + if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_FRMOR)) { - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_FRMOR); + (void)USB_HC_Halt(hhcd->Instance, chnum); + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_FRMOR); } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_XFRC) == USB_OTG_HCINT_XFRC) + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_XFRC)) { - hhcd->hc[ch_num].state = HC_XFRC; - hhcd->hc[ch_num].ErrCnt = 0U; - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_XFRC); + hhcd->hc[chnum].state = HC_XFRC; + hhcd->hc[chnum].ErrCnt = 0U; + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_XFRC); - if ((hhcd->hc[ch_num].ep_type == EP_TYPE_CTRL) || - (hhcd->hc[ch_num].ep_type == EP_TYPE_BULK)) + if ((hhcd->hc[chnum].ep_type == EP_TYPE_CTRL) || + (hhcd->hc[chnum].ep_type == EP_TYPE_BULK)) { - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_NAK); + (void)USB_HC_Halt(hhcd->Instance, chnum); + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_NAK); } - else if (hhcd->hc[ch_num].ep_type == EP_TYPE_INTR) + else if ((hhcd->hc[chnum].ep_type == EP_TYPE_INTR) || + (hhcd->hc[chnum].ep_type == EP_TYPE_ISOC)) { - USBx_HC(ch_num)->HCCHAR |= USB_OTG_HCCHAR_ODDFRM; - hhcd->hc[ch_num].urb_state = URB_DONE; + USBx_HC(chnum)->HCCHAR |= USB_OTG_HCCHAR_ODDFRM; + hhcd->hc[chnum].urb_state = URB_DONE; #if (USE_HAL_HCD_REGISTER_CALLBACKS == 1U) - hhcd->HC_NotifyURBChangeCallback(hhcd, (uint8_t)ch_num, hhcd->hc[ch_num].urb_state); + hhcd->HC_NotifyURBChangeCallback(hhcd, chnum, hhcd->hc[chnum].urb_state); #else - HAL_HCD_HC_NotifyURBChange_Callback(hhcd, (uint8_t)ch_num, hhcd->hc[ch_num].urb_state); -#endif /* USE_HAL_HCD_REGISTER_CALLBACKS */ - } - else if (hhcd->hc[ch_num].ep_type == EP_TYPE_ISOC) - { - hhcd->hc[ch_num].urb_state = URB_DONE; - hhcd->hc[ch_num].toggle_in ^= 1U; - -#if (USE_HAL_HCD_REGISTER_CALLBACKS == 1U) - hhcd->HC_NotifyURBChangeCallback(hhcd, (uint8_t)ch_num, hhcd->hc[ch_num].urb_state); -#else - HAL_HCD_HC_NotifyURBChange_Callback(hhcd, (uint8_t)ch_num, hhcd->hc[ch_num].urb_state); + HAL_HCD_HC_NotifyURBChange_Callback(hhcd, chnum, hhcd->hc[chnum].urb_state); #endif /* USE_HAL_HCD_REGISTER_CALLBACKS */ } else @@ -1272,91 +1287,131 @@ static void HCD_HC_IN_IRQHandler(HCD_HandleTypeDef *hhcd, uint8_t chnum) if (hhcd->Init.dma_enable == 1U) { - if (((hhcd->hc[ch_num].XferSize / hhcd->hc[ch_num].max_packet) & 1U) != 0U) + if ((((hhcd->hc[chnum].xfer_count + hhcd->hc[chnum].max_packet - 1U) / hhcd->hc[chnum].max_packet) & 1U) != 0U) { - hhcd->hc[ch_num].toggle_in ^= 1U; + hhcd->hc[chnum].toggle_in ^= 1U; } } else { - hhcd->hc[ch_num].toggle_in ^= 1U; + hhcd->hc[chnum].toggle_in ^= 1U; } } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_CHH) == USB_OTG_HCINT_CHH) + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_ACK)) { - __HAL_HCD_MASK_HALT_HC_INT(ch_num); + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_ACK); + } + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_CHH)) + { + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_CHH); - if (hhcd->hc[ch_num].state == HC_XFRC) + if (hhcd->hc[chnum].state == HC_XFRC) { - hhcd->hc[ch_num].urb_state = URB_DONE; + hhcd->hc[chnum].state = HC_HALTED; + hhcd->hc[chnum].urb_state = URB_DONE; } - else if (hhcd->hc[ch_num].state == HC_STALL) + else if (hhcd->hc[chnum].state == HC_STALL) { - hhcd->hc[ch_num].urb_state = URB_STALL; + hhcd->hc[chnum].state = HC_HALTED; + hhcd->hc[chnum].urb_state = URB_STALL; } - else if ((hhcd->hc[ch_num].state == HC_XACTERR) || - (hhcd->hc[ch_num].state == HC_DATATGLERR)) + else if ((hhcd->hc[chnum].state == HC_XACTERR) || + (hhcd->hc[chnum].state == HC_DATATGLERR)) { - hhcd->hc[ch_num].ErrCnt++; - if (hhcd->hc[ch_num].ErrCnt > 2U) + hhcd->hc[chnum].state = HC_HALTED; + hhcd->hc[chnum].ErrCnt++; + if (hhcd->hc[chnum].ErrCnt > 2U) { - hhcd->hc[ch_num].ErrCnt = 0U; - hhcd->hc[ch_num].urb_state = URB_ERROR; + hhcd->hc[chnum].ErrCnt = 0U; + hhcd->hc[chnum].urb_state = URB_ERROR; } else { - hhcd->hc[ch_num].urb_state = URB_NOTREADY; + hhcd->hc[chnum].urb_state = URB_NOTREADY; - /* re-activate the channel */ - tmpreg = USBx_HC(ch_num)->HCCHAR; - tmpreg &= ~USB_OTG_HCCHAR_CHDIS; - tmpreg |= USB_OTG_HCCHAR_CHENA; - USBx_HC(ch_num)->HCCHAR = tmpreg; + if ((hhcd->hc[chnum].ep_type == EP_TYPE_CTRL) || + (hhcd->hc[chnum].ep_type == EP_TYPE_BULK)) + { + /* re-activate the channel */ + tmpreg = USBx_HC(chnum)->HCCHAR; + tmpreg &= ~USB_OTG_HCCHAR_CHDIS; + tmpreg |= USB_OTG_HCCHAR_CHENA; + USBx_HC(chnum)->HCCHAR = tmpreg; + } } } - else if (hhcd->hc[ch_num].state == HC_NAK) + else if (hhcd->hc[chnum].state == HC_NYET) { - hhcd->hc[ch_num].urb_state = URB_NOTREADY; + hhcd->hc[chnum].state = HC_HALTED; + } + else if (hhcd->hc[chnum].state == HC_ACK) + { + hhcd->hc[chnum].state = HC_HALTED; + } + else if (hhcd->hc[chnum].state == HC_NAK) + { + hhcd->hc[chnum].state = HC_HALTED; + hhcd->hc[chnum].urb_state = URB_NOTREADY; - /* re-activate the channel */ - tmpreg = USBx_HC(ch_num)->HCCHAR; - tmpreg &= ~USB_OTG_HCCHAR_CHDIS; - tmpreg |= USB_OTG_HCCHAR_CHENA; - USBx_HC(ch_num)->HCCHAR = tmpreg; + if ((hhcd->hc[chnum].ep_type == EP_TYPE_CTRL) || + (hhcd->hc[chnum].ep_type == EP_TYPE_BULK)) + { + /* re-activate the channel */ + tmpreg = USBx_HC(chnum)->HCCHAR; + tmpreg &= ~USB_OTG_HCCHAR_CHDIS; + tmpreg |= USB_OTG_HCCHAR_CHENA; + USBx_HC(chnum)->HCCHAR = tmpreg; + } } - else if (hhcd->hc[ch_num].state == HC_BBLERR) + else if (hhcd->hc[chnum].state == HC_BBLERR) { - hhcd->hc[ch_num].ErrCnt++; - hhcd->hc[ch_num].urb_state = URB_ERROR; + hhcd->hc[chnum].state = HC_HALTED; + hhcd->hc[chnum].ErrCnt++; + hhcd->hc[chnum].urb_state = URB_ERROR; } else { - /* ... */ + if (hhcd->hc[chnum].state == HC_HALTED) + { + return; + } } - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_CHH); - HAL_HCD_HC_NotifyURBChange_Callback(hhcd, (uint8_t)ch_num, hhcd->hc[ch_num].urb_state); + +#if (USE_HAL_HCD_REGISTER_CALLBACKS == 1U) + hhcd->HC_NotifyURBChangeCallback(hhcd, chnum, hhcd->hc[chnum].urb_state); +#else + HAL_HCD_HC_NotifyURBChange_Callback(hhcd, chnum, hhcd->hc[chnum].urb_state); +#endif /* USE_HAL_HCD_REGISTER_CALLBACKS */ } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_NAK) == USB_OTG_HCINT_NAK) + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_NYET)) { - if (hhcd->hc[ch_num].ep_type == EP_TYPE_INTR) + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_NYET); + hhcd->hc[chnum].state = HC_NYET; + hhcd->hc[chnum].ErrCnt = 0U; + + (void)USB_HC_Halt(hhcd->Instance, chnum); + } + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_NAK)) + { + if (hhcd->hc[chnum].ep_type == EP_TYPE_INTR) { - hhcd->hc[ch_num].ErrCnt = 0U; - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); + hhcd->hc[chnum].ErrCnt = 0U; + hhcd->hc[chnum].state = HC_NAK; + (void)USB_HC_Halt(hhcd->Instance, chnum); } - else if ((hhcd->hc[ch_num].ep_type == EP_TYPE_CTRL) || - (hhcd->hc[ch_num].ep_type == EP_TYPE_BULK)) + else if ((hhcd->hc[chnum].ep_type == EP_TYPE_CTRL) || + (hhcd->hc[chnum].ep_type == EP_TYPE_BULK)) { - hhcd->hc[ch_num].ErrCnt = 0U; - hhcd->hc[ch_num].state = HC_NAK; - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); + hhcd->hc[chnum].ErrCnt = 0U; + hhcd->hc[chnum].state = HC_NAK; + (void)USB_HC_Halt(hhcd->Instance, chnum); } else { /* ... */ } - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_NAK); + + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_NAK); } else { @@ -1375,157 +1430,135 @@ static void HCD_HC_OUT_IRQHandler(HCD_HandleTypeDef *hhcd, uint8_t chnum) { USB_OTG_GlobalTypeDef *USBx = hhcd->Instance; uint32_t USBx_BASE = (uint32_t)USBx; - uint32_t ch_num = (uint32_t)chnum; uint32_t tmpreg; uint32_t num_packets; - if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_AHBERR) == USB_OTG_HCINT_AHBERR) + if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_AHBERR)) { - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_AHBERR); - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_AHBERR); + hhcd->hc[chnum].state = HC_XACTERR; + (void)USB_HC_Halt(hhcd->Instance, chnum); } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_ACK) == USB_OTG_HCINT_ACK) + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_ACK)) { - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_ACK); + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_ACK); + } + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_FRMOR)) + { + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_FRMOR); + (void)USB_HC_Halt(hhcd->Instance, chnum); + } + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_XFRC)) + { + hhcd->hc[chnum].ErrCnt = 0U; - if (hhcd->hc[ch_num].do_ping == 1U) + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_XFRC); + hhcd->hc[chnum].state = HC_XFRC; + (void)USB_HC_Halt(hhcd->Instance, chnum); + } + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_STALL)) + { + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_STALL); + hhcd->hc[chnum].state = HC_STALL; + (void)USB_HC_Halt(hhcd->Instance, chnum); + } + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_NAK)) + { + hhcd->hc[chnum].ErrCnt = 0U; + hhcd->hc[chnum].state = HC_NAK; + + (void)USB_HC_Halt(hhcd->Instance, chnum); + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_NAK); + } + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_TXERR)) + { + hhcd->hc[chnum].state = HC_XACTERR; + (void)USB_HC_Halt(hhcd->Instance, chnum); + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_TXERR); + } + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_DTERR)) + { + hhcd->hc[chnum].state = HC_DATATGLERR; + (void)USB_HC_Halt(hhcd->Instance, chnum); + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_DTERR); + } + else if (__HAL_HCD_GET_CH_FLAG(hhcd, chnum, USB_OTG_HCINT_CHH)) + { + __HAL_HCD_CLEAR_HC_INT(chnum, USB_OTG_HCINT_CHH); + + if (hhcd->hc[chnum].state == HC_XFRC) { - hhcd->hc[ch_num].do_ping = 0U; - hhcd->hc[ch_num].urb_state = URB_NOTREADY; - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); - } - } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_FRMOR) == USB_OTG_HCINT_FRMOR) - { - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_FRMOR); - } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_XFRC) == USB_OTG_HCINT_XFRC) - { - hhcd->hc[ch_num].ErrCnt = 0U; + hhcd->hc[chnum].state = HC_HALTED; + hhcd->hc[chnum].urb_state = URB_DONE; - /* transaction completed with NYET state, update do ping state */ - if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_NYET) == USB_OTG_HCINT_NYET) - { - hhcd->hc[ch_num].do_ping = 1U; - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_NYET); - } - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_XFRC); - hhcd->hc[ch_num].state = HC_XFRC; - } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_NYET) == USB_OTG_HCINT_NYET) - { - hhcd->hc[ch_num].state = HC_NYET; - hhcd->hc[ch_num].do_ping = 1U; - hhcd->hc[ch_num].ErrCnt = 0U; - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_NYET); - } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_STALL) == USB_OTG_HCINT_STALL) - { - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_STALL); - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); - hhcd->hc[ch_num].state = HC_STALL; - } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_NAK) == USB_OTG_HCINT_NAK) - { - hhcd->hc[ch_num].ErrCnt = 0U; - hhcd->hc[ch_num].state = HC_NAK; - - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_NAK); - } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_TXERR) == USB_OTG_HCINT_TXERR) - { - hhcd->hc[ch_num].state = HC_XACTERR; - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_TXERR); - } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_DTERR) == USB_OTG_HCINT_DTERR) - { - __HAL_HCD_UNMASK_HALT_HC_INT(ch_num); - (void)USB_HC_Halt(hhcd->Instance, (uint8_t)ch_num); - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_NAK); - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_DTERR); - hhcd->hc[ch_num].state = HC_DATATGLERR; - } - else if ((USBx_HC(ch_num)->HCINT & USB_OTG_HCINT_CHH) == USB_OTG_HCINT_CHH) - { - __HAL_HCD_MASK_HALT_HC_INT(ch_num); - - if (hhcd->hc[ch_num].state == HC_XFRC) - { - hhcd->hc[ch_num].urb_state = URB_DONE; - if ((hhcd->hc[ch_num].ep_type == EP_TYPE_BULK) || - (hhcd->hc[ch_num].ep_type == EP_TYPE_INTR)) + if ((hhcd->hc[chnum].ep_type == EP_TYPE_BULK) || + (hhcd->hc[chnum].ep_type == EP_TYPE_INTR)) { if (hhcd->Init.dma_enable == 0U) { - hhcd->hc[ch_num].toggle_out ^= 1U; + hhcd->hc[chnum].toggle_out ^= 1U; } - if ((hhcd->Init.dma_enable == 1U) && (hhcd->hc[ch_num].xfer_len > 0U)) + if ((hhcd->Init.dma_enable == 1U) && (hhcd->hc[chnum].xfer_len > 0U)) { - num_packets = (hhcd->hc[ch_num].xfer_len + hhcd->hc[ch_num].max_packet - 1U) / hhcd->hc[ch_num].max_packet; + num_packets = (hhcd->hc[chnum].xfer_len + hhcd->hc[chnum].max_packet - 1U) / hhcd->hc[chnum].max_packet; if ((num_packets & 1U) != 0U) { - hhcd->hc[ch_num].toggle_out ^= 1U; + hhcd->hc[chnum].toggle_out ^= 1U; } } } } - else if (hhcd->hc[ch_num].state == HC_NAK) + else if (hhcd->hc[chnum].state == HC_ACK) { - hhcd->hc[ch_num].urb_state = URB_NOTREADY; + hhcd->hc[chnum].state = HC_HALTED; } - else if (hhcd->hc[ch_num].state == HC_NYET) + else if (hhcd->hc[chnum].state == HC_NAK) { - hhcd->hc[ch_num].urb_state = URB_NOTREADY; + hhcd->hc[chnum].state = HC_HALTED; + hhcd->hc[chnum].urb_state = URB_NOTREADY; } - else if (hhcd->hc[ch_num].state == HC_STALL) + else if (hhcd->hc[chnum].state == HC_STALL) { - hhcd->hc[ch_num].urb_state = URB_STALL; + hhcd->hc[chnum].state = HC_HALTED; + hhcd->hc[chnum].urb_state = URB_STALL; } - else if ((hhcd->hc[ch_num].state == HC_XACTERR) || - (hhcd->hc[ch_num].state == HC_DATATGLERR)) + else if ((hhcd->hc[chnum].state == HC_XACTERR) || + (hhcd->hc[chnum].state == HC_DATATGLERR)) { - hhcd->hc[ch_num].ErrCnt++; - if (hhcd->hc[ch_num].ErrCnt > 2U) + hhcd->hc[chnum].state = HC_HALTED; + hhcd->hc[chnum].ErrCnt++; + if (hhcd->hc[chnum].ErrCnt > 2U) { - hhcd->hc[ch_num].ErrCnt = 0U; - hhcd->hc[ch_num].urb_state = URB_ERROR; + hhcd->hc[chnum].ErrCnt = 0U; + hhcd->hc[chnum].urb_state = URB_ERROR; } else { - hhcd->hc[ch_num].urb_state = URB_NOTREADY; + hhcd->hc[chnum].urb_state = URB_NOTREADY; /* re-activate the channel */ - tmpreg = USBx_HC(ch_num)->HCCHAR; + tmpreg = USBx_HC(chnum)->HCCHAR; tmpreg &= ~USB_OTG_HCCHAR_CHDIS; tmpreg |= USB_OTG_HCCHAR_CHENA; - USBx_HC(ch_num)->HCCHAR = tmpreg; + USBx_HC(chnum)->HCCHAR = tmpreg; } } else { - /* ... */ + return; } - __HAL_HCD_CLEAR_HC_INT(ch_num, USB_OTG_HCINT_CHH); - HAL_HCD_HC_NotifyURBChange_Callback(hhcd, (uint8_t)ch_num, hhcd->hc[ch_num].urb_state); +#if (USE_HAL_HCD_REGISTER_CALLBACKS == 1U) + hhcd->HC_NotifyURBChangeCallback(hhcd, chnum, hhcd->hc[chnum].urb_state); +#else + HAL_HCD_HC_NotifyURBChange_Callback(hhcd, chnum, hhcd->hc[chnum].urb_state); +#endif /* USE_HAL_HCD_REGISTER_CALLBACKS */ } else { - /* ... */ + return; } } @@ -1543,10 +1576,10 @@ static void HCD_RXQLVL_IRQHandler(HCD_HandleTypeDef *hhcd) uint32_t GrxstspReg; uint32_t xferSizePktCnt; uint32_t tmpreg; - uint32_t ch_num; + uint32_t chnum; GrxstspReg = hhcd->Instance->GRXSTSP; - ch_num = GrxstspReg & USB_OTG_GRXSTSP_EPNUM; + chnum = GrxstspReg & USB_OTG_GRXSTSP_EPNUM; pktsts = (GrxstspReg & USB_OTG_GRXSTSP_PKTSTS) >> 17; pktcnt = (GrxstspReg & USB_OTG_GRXSTSP_BCNT) >> 4; @@ -1554,33 +1587,33 @@ static void HCD_RXQLVL_IRQHandler(HCD_HandleTypeDef *hhcd) { case GRXSTS_PKTSTS_IN: /* Read the data into the host buffer. */ - if ((pktcnt > 0U) && (hhcd->hc[ch_num].xfer_buff != (void *)0)) + if ((pktcnt > 0U) && (hhcd->hc[chnum].xfer_buff != (void *)0)) { - if ((hhcd->hc[ch_num].xfer_count + pktcnt) <= hhcd->hc[ch_num].xfer_len) + if ((hhcd->hc[chnum].xfer_count + pktcnt) <= hhcd->hc[chnum].xfer_len) { (void)USB_ReadPacket(hhcd->Instance, - hhcd->hc[ch_num].xfer_buff, (uint16_t)pktcnt); + hhcd->hc[chnum].xfer_buff, (uint16_t)pktcnt); /* manage multiple Xfer */ - hhcd->hc[ch_num].xfer_buff += pktcnt; - hhcd->hc[ch_num].xfer_count += pktcnt; + hhcd->hc[chnum].xfer_buff += pktcnt; + hhcd->hc[chnum].xfer_count += pktcnt; /* get transfer size packet count */ - xferSizePktCnt = (USBx_HC(ch_num)->HCTSIZ & USB_OTG_HCTSIZ_PKTCNT) >> 19; + xferSizePktCnt = (USBx_HC(chnum)->HCTSIZ & USB_OTG_HCTSIZ_PKTCNT) >> 19; - if ((hhcd->hc[ch_num].max_packet == pktcnt) && (xferSizePktCnt > 0U)) + if ((hhcd->hc[chnum].max_packet == pktcnt) && (xferSizePktCnt > 0U)) { /* re-activate the channel when more packets are expected */ - tmpreg = USBx_HC(ch_num)->HCCHAR; + tmpreg = USBx_HC(chnum)->HCCHAR; tmpreg &= ~USB_OTG_HCCHAR_CHDIS; tmpreg |= USB_OTG_HCCHAR_CHENA; - USBx_HC(ch_num)->HCCHAR = tmpreg; - hhcd->hc[ch_num].toggle_in ^= 1U; + USBx_HC(chnum)->HCCHAR = tmpreg; + hhcd->hc[chnum].toggle_in ^= 1U; } } else { - hhcd->hc[ch_num].urb_state = URB_ERROR; + hhcd->hc[chnum].urb_state = URB_ERROR; } } break; @@ -1635,7 +1668,7 @@ static void HCD_Port_IRQHandler(HCD_HandleTypeDef *hhcd) if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) { - if (hhcd->Init.phy_itface == USB_OTG_EMBEDDED_PHY) + if (hhcd->Init.phy_itface == USB_OTG_EMBEDDED_PHY) { if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) { @@ -1650,7 +1683,7 @@ static void HCD_Port_IRQHandler(HCD_HandleTypeDef *hhcd) { if (hhcd->Init.speed == HCD_SPEED_FULL) { - USBx_HOST->HFIR = 60000U; + USBx_HOST->HFIR = HFIR_60_MHZ; } } #if (USE_HAL_HCD_REGISTER_CALLBACKS == 1U) @@ -1698,5 +1731,3 @@ static void HCD_Port_IRQHandler(HCD_HandleTypeDef *hhcd) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c index 45506a2..0651e86 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c @@ -9,6 +9,17 @@ * + IO operation functions * + Peripheral State, Mode and Error functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -19,7 +30,7 @@ (#) Declare a I2C_HandleTypeDef handle structure, for example: I2C_HandleTypeDef hi2c; - (#)Initialize the I2C low level resources by implementing the @ref HAL_I2C_MspInit() API: + (#)Initialize the I2C low level resources by implementing the HAL_I2C_MspInit() API: (##) Enable the I2Cx interface clock (##) I2C pins configuration (+++) Enable the clock for the I2C GPIOs @@ -39,48 +50,48 @@ (#) Configure the Communication Speed, Duty cycle, Addressing mode, Own Address1, Dual Addressing mode, Own Address2, General call and Nostretch mode in the hi2c Init structure. - (#) Initialize the I2C registers by calling the @ref HAL_I2C_Init(), configures also the low level Hardware - (GPIO, CLOCK, NVIC...etc) by calling the customized @ref HAL_I2C_MspInit() API. + (#) Initialize the I2C registers by calling the HAL_I2C_Init(), configures also the low level Hardware + (GPIO, CLOCK, NVIC...etc) by calling the customized HAL_I2C_MspInit() API. - (#) To check if target device is ready for communication, use the function @ref HAL_I2C_IsDeviceReady() + (#) To check if target device is ready for communication, use the function HAL_I2C_IsDeviceReady() (#) For I2C IO and IO MEM operations, three operation modes are available within this driver : *** Polling mode IO operation *** ================================= [..] - (+) Transmit in master mode an amount of data in blocking mode using @ref HAL_I2C_Master_Transmit() - (+) Receive in master mode an amount of data in blocking mode using @ref HAL_I2C_Master_Receive() - (+) Transmit in slave mode an amount of data in blocking mode using @ref HAL_I2C_Slave_Transmit() - (+) Receive in slave mode an amount of data in blocking mode using @ref HAL_I2C_Slave_Receive() + (+) Transmit in master mode an amount of data in blocking mode using HAL_I2C_Master_Transmit() + (+) Receive in master mode an amount of data in blocking mode using HAL_I2C_Master_Receive() + (+) Transmit in slave mode an amount of data in blocking mode using HAL_I2C_Slave_Transmit() + (+) Receive in slave mode an amount of data in blocking mode using HAL_I2C_Slave_Receive() *** Polling mode IO MEM operation *** ===================================== [..] - (+) Write an amount of data in blocking mode to a specific memory address using @ref HAL_I2C_Mem_Write() - (+) Read an amount of data in blocking mode from a specific memory address using @ref HAL_I2C_Mem_Read() + (+) Write an amount of data in blocking mode to a specific memory address using HAL_I2C_Mem_Write() + (+) Read an amount of data in blocking mode from a specific memory address using HAL_I2C_Mem_Read() *** Interrupt mode IO operation *** =================================== [..] - (+) Transmit in master mode an amount of data in non-blocking mode using @ref HAL_I2C_Master_Transmit_IT() - (+) At transmission end of transfer, @ref HAL_I2C_MasterTxCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_MasterTxCpltCallback() - (+) Receive in master mode an amount of data in non-blocking mode using @ref HAL_I2C_Master_Receive_IT() - (+) At reception end of transfer, @ref HAL_I2C_MasterRxCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_MasterRxCpltCallback() - (+) Transmit in slave mode an amount of data in non-blocking mode using @ref HAL_I2C_Slave_Transmit_IT() - (+) At transmission end of transfer, @ref HAL_I2C_SlaveTxCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_SlaveTxCpltCallback() - (+) Receive in slave mode an amount of data in non-blocking mode using @ref HAL_I2C_Slave_Receive_IT() - (+) At reception end of transfer, @ref HAL_I2C_SlaveRxCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_SlaveRxCpltCallback() - (+) In case of transfer Error, @ref HAL_I2C_ErrorCallback() function is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_ErrorCallback() - (+) Abort a master I2C process communication with Interrupt using @ref HAL_I2C_Master_Abort_IT() - (+) End of abort process, @ref HAL_I2C_AbortCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_AbortCpltCallback() + (+) Transmit in master mode an amount of data in non-blocking mode using HAL_I2C_Master_Transmit_IT() + (+) At transmission end of transfer, HAL_I2C_MasterTxCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_MasterTxCpltCallback() + (+) Receive in master mode an amount of data in non-blocking mode using HAL_I2C_Master_Receive_IT() + (+) At reception end of transfer, HAL_I2C_MasterRxCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_MasterRxCpltCallback() + (+) Transmit in slave mode an amount of data in non-blocking mode using HAL_I2C_Slave_Transmit_IT() + (+) At transmission end of transfer, HAL_I2C_SlaveTxCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_SlaveTxCpltCallback() + (+) Receive in slave mode an amount of data in non-blocking mode using HAL_I2C_Slave_Receive_IT() + (+) At reception end of transfer, HAL_I2C_SlaveRxCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_SlaveRxCpltCallback() + (+) In case of transfer Error, HAL_I2C_ErrorCallback() function is executed and user can + add his own code by customization of function pointer HAL_I2C_ErrorCallback() + (+) Abort a master I2C process communication with Interrupt using HAL_I2C_Master_Abort_IT() + (+) End of abort process, HAL_I2C_AbortCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_AbortCpltCallback() *** Interrupt mode or DMA mode IO sequential operation *** ========================================================== @@ -89,14 +100,14 @@ when a direction change during transfer [..] (+) A specific option field manage the different steps of a sequential transfer - (+) Option field values are defined through @ref I2C_XferOptions_definition and are listed below: + (+) Option field values are defined through I2C_XferOptions_definition and are listed below: (++) I2C_FIRST_AND_LAST_FRAME: No sequential usage, functional is same as associated interfaces in no sequential mode (++) I2C_FIRST_FRAME: Sequential usage, this option allow to manage a sequence with start condition, address and data to transfer without a final stop condition (++) I2C_FIRST_AND_NEXT_FRAME: Sequential usage (Master only), this option allow to manage a sequence with start condition, address and data to transfer without a final stop condition, an then permit a call the same master sequential interface - several times (like @ref HAL_I2C_Master_Seq_Transmit_IT() then @ref HAL_I2C_Master_Seq_Transmit_IT() - or @ref HAL_I2C_Master_Seq_Transmit_DMA() then @ref HAL_I2C_Master_Seq_Transmit_DMA()) + several times (like HAL_I2C_Master_Seq_Transmit_IT() then HAL_I2C_Master_Seq_Transmit_IT() + or HAL_I2C_Master_Seq_Transmit_DMA() then HAL_I2C_Master_Seq_Transmit_DMA()) (++) I2C_NEXT_FRAME: Sequential usage, this option allow to manage a sequence with a restart condition, address and with new data to transfer if the direction change or manage only the new data to transfer if no direction change and without a final stop condition in both cases @@ -120,85 +131,85 @@ Then usage of this option I2C_OTHER_AND_LAST_FRAME at the last frame to help automatic generation of STOP condition. (+) Different sequential I2C interfaces are listed below: - (++) Sequential transmit in master I2C mode an amount of data in non-blocking mode using @ref HAL_I2C_Master_Seq_Transmit_IT() - or using @ref HAL_I2C_Master_Seq_Transmit_DMA() - (+++) At transmission end of current frame transfer, @ref HAL_I2C_MasterTxCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_MasterTxCpltCallback() - (++) Sequential receive in master I2C mode an amount of data in non-blocking mode using @ref HAL_I2C_Master_Seq_Receive_IT() - or using @ref HAL_I2C_Master_Seq_Receive_DMA() - (+++) At reception end of current frame transfer, @ref HAL_I2C_MasterRxCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_MasterRxCpltCallback() - (++) Abort a master IT or DMA I2C process communication with Interrupt using @ref HAL_I2C_Master_Abort_IT() - (+++) End of abort process, @ref HAL_I2C_AbortCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_AbortCpltCallback() - (++) Enable/disable the Address listen mode in slave I2C mode using @ref HAL_I2C_EnableListen_IT() @ref HAL_I2C_DisableListen_IT() - (+++) When address slave I2C match, @ref HAL_I2C_AddrCallback() is executed and user can + (++) Sequential transmit in master I2C mode an amount of data in non-blocking mode using HAL_I2C_Master_Seq_Transmit_IT() + or using HAL_I2C_Master_Seq_Transmit_DMA() + (+++) At transmission end of current frame transfer, HAL_I2C_MasterTxCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_MasterTxCpltCallback() + (++) Sequential receive in master I2C mode an amount of data in non-blocking mode using HAL_I2C_Master_Seq_Receive_IT() + or using HAL_I2C_Master_Seq_Receive_DMA() + (+++) At reception end of current frame transfer, HAL_I2C_MasterRxCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_MasterRxCpltCallback() + (++) Abort a master IT or DMA I2C process communication with Interrupt using HAL_I2C_Master_Abort_IT() + (+++) End of abort process, HAL_I2C_AbortCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_AbortCpltCallback() + (++) Enable/disable the Address listen mode in slave I2C mode using HAL_I2C_EnableListen_IT() HAL_I2C_DisableListen_IT() + (+++) When address slave I2C match, HAL_I2C_AddrCallback() is executed and user can add his own code to check the Address Match Code and the transmission direction request by master (Write/Read). - (+++) At Listen mode end @ref HAL_I2C_ListenCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_ListenCpltCallback() - (++) Sequential transmit in slave I2C mode an amount of data in non-blocking mode using @ref HAL_I2C_Slave_Seq_Transmit_IT() - or using @ref HAL_I2C_Slave_Seq_Transmit_DMA() - (+++) At transmission end of current frame transfer, @ref HAL_I2C_SlaveTxCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_SlaveTxCpltCallback() - (++) Sequential receive in slave I2C mode an amount of data in non-blocking mode using @ref HAL_I2C_Slave_Seq_Receive_IT() - or using @ref HAL_I2C_Slave_Seq_Receive_DMA() - (+++) At reception end of current frame transfer, @ref HAL_I2C_SlaveRxCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_SlaveRxCpltCallback() - (++) In case of transfer Error, @ref HAL_I2C_ErrorCallback() function is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_ErrorCallback() + (+++) At Listen mode end HAL_I2C_ListenCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_ListenCpltCallback() + (++) Sequential transmit in slave I2C mode an amount of data in non-blocking mode using HAL_I2C_Slave_Seq_Transmit_IT() + or using HAL_I2C_Slave_Seq_Transmit_DMA() + (+++) At transmission end of current frame transfer, HAL_I2C_SlaveTxCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_SlaveTxCpltCallback() + (++) Sequential receive in slave I2C mode an amount of data in non-blocking mode using HAL_I2C_Slave_Seq_Receive_IT() + or using HAL_I2C_Slave_Seq_Receive_DMA() + (+++) At reception end of current frame transfer, HAL_I2C_SlaveRxCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_SlaveRxCpltCallback() + (++) In case of transfer Error, HAL_I2C_ErrorCallback() function is executed and user can + add his own code by customization of function pointer HAL_I2C_ErrorCallback() *** Interrupt mode IO MEM operation *** ======================================= [..] (+) Write an amount of data in non-blocking mode with Interrupt to a specific memory address using - @ref HAL_I2C_Mem_Write_IT() - (+) At Memory end of write transfer, @ref HAL_I2C_MemTxCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_MemTxCpltCallback() + HAL_I2C_Mem_Write_IT() + (+) At Memory end of write transfer, HAL_I2C_MemTxCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_MemTxCpltCallback() (+) Read an amount of data in non-blocking mode with Interrupt from a specific memory address using - @ref HAL_I2C_Mem_Read_IT() - (+) At Memory end of read transfer, @ref HAL_I2C_MemRxCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_MemRxCpltCallback() - (+) In case of transfer Error, @ref HAL_I2C_ErrorCallback() function is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_ErrorCallback() + HAL_I2C_Mem_Read_IT() + (+) At Memory end of read transfer, HAL_I2C_MemRxCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_MemRxCpltCallback() + (+) In case of transfer Error, HAL_I2C_ErrorCallback() function is executed and user can + add his own code by customization of function pointer HAL_I2C_ErrorCallback() *** DMA mode IO operation *** ============================== [..] (+) Transmit in master mode an amount of data in non-blocking mode (DMA) using - @ref HAL_I2C_Master_Transmit_DMA() - (+) At transmission end of transfer, @ref HAL_I2C_MasterTxCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_MasterTxCpltCallback() + HAL_I2C_Master_Transmit_DMA() + (+) At transmission end of transfer, HAL_I2C_MasterTxCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_MasterTxCpltCallback() (+) Receive in master mode an amount of data in non-blocking mode (DMA) using - @ref HAL_I2C_Master_Receive_DMA() - (+) At reception end of transfer, @ref HAL_I2C_MasterRxCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_MasterRxCpltCallback() + HAL_I2C_Master_Receive_DMA() + (+) At reception end of transfer, HAL_I2C_MasterRxCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_MasterRxCpltCallback() (+) Transmit in slave mode an amount of data in non-blocking mode (DMA) using - @ref HAL_I2C_Slave_Transmit_DMA() - (+) At transmission end of transfer, @ref HAL_I2C_SlaveTxCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_SlaveTxCpltCallback() + HAL_I2C_Slave_Transmit_DMA() + (+) At transmission end of transfer, HAL_I2C_SlaveTxCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_SlaveTxCpltCallback() (+) Receive in slave mode an amount of data in non-blocking mode (DMA) using - @ref HAL_I2C_Slave_Receive_DMA() - (+) At reception end of transfer, @ref HAL_I2C_SlaveRxCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_SlaveRxCpltCallback() - (+) In case of transfer Error, @ref HAL_I2C_ErrorCallback() function is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_ErrorCallback() - (+) Abort a master I2C process communication with Interrupt using @ref HAL_I2C_Master_Abort_IT() - (+) End of abort process, @ref HAL_I2C_AbortCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_AbortCpltCallback() + HAL_I2C_Slave_Receive_DMA() + (+) At reception end of transfer, HAL_I2C_SlaveRxCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_SlaveRxCpltCallback() + (+) In case of transfer Error, HAL_I2C_ErrorCallback() function is executed and user can + add his own code by customization of function pointer HAL_I2C_ErrorCallback() + (+) Abort a master I2C process communication with Interrupt using HAL_I2C_Master_Abort_IT() + (+) End of abort process, HAL_I2C_AbortCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_AbortCpltCallback() *** DMA mode IO MEM operation *** ================================= [..] (+) Write an amount of data in non-blocking mode with DMA to a specific memory address using - @ref HAL_I2C_Mem_Write_DMA() - (+) At Memory end of write transfer, @ref HAL_I2C_MemTxCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_MemTxCpltCallback() + HAL_I2C_Mem_Write_DMA() + (+) At Memory end of write transfer, HAL_I2C_MemTxCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_MemTxCpltCallback() (+) Read an amount of data in non-blocking mode with DMA from a specific memory address using - @ref HAL_I2C_Mem_Read_DMA() - (+) At Memory end of read transfer, @ref HAL_I2C_MemRxCpltCallback() is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_MemRxCpltCallback() - (+) In case of transfer Error, @ref HAL_I2C_ErrorCallback() function is executed and user can - add his own code by customization of function pointer @ref HAL_I2C_ErrorCallback() + HAL_I2C_Mem_Read_DMA() + (+) At Memory end of read transfer, HAL_I2C_MemRxCpltCallback() is executed and user can + add his own code by customization of function pointer HAL_I2C_MemRxCpltCallback() + (+) In case of transfer Error, HAL_I2C_ErrorCallback() function is executed and user can + add his own code by customization of function pointer HAL_I2C_ErrorCallback() *** I2C HAL driver macros list *** @@ -206,22 +217,22 @@ [..] Below the list of most used macros in I2C HAL driver. - (+) @ref __HAL_I2C_ENABLE: Enable the I2C peripheral - (+) @ref __HAL_I2C_DISABLE: Disable the I2C peripheral - (+) @ref __HAL_I2C_GET_FLAG: Checks whether the specified I2C flag is set or not - (+) @ref __HAL_I2C_CLEAR_FLAG: Clear the specified I2C pending flag - (+) @ref __HAL_I2C_ENABLE_IT: Enable the specified I2C interrupt - (+) @ref __HAL_I2C_DISABLE_IT: Disable the specified I2C interrupt + (+) __HAL_I2C_ENABLE: Enable the I2C peripheral + (+) __HAL_I2C_DISABLE: Disable the I2C peripheral + (+) __HAL_I2C_GET_FLAG: Checks whether the specified I2C flag is set or not + (+) __HAL_I2C_CLEAR_FLAG: Clear the specified I2C pending flag + (+) __HAL_I2C_ENABLE_IT: Enable the specified I2C interrupt + (+) __HAL_I2C_DISABLE_IT: Disable the specified I2C interrupt *** Callback registration *** ============================================= [..] The compilation flag USE_HAL_I2C_REGISTER_CALLBACKS when set to 1 allows the user to configure dynamically the driver callbacks. - Use Functions @ref HAL_I2C_RegisterCallback() or @ref HAL_I2C_RegisterAddrCallback() + Use Functions HAL_I2C_RegisterCallback() or HAL_I2C_RegisterAddrCallback() to register an interrupt callback. [..] - Function @ref HAL_I2C_RegisterCallback() allows to register following callbacks: + Function HAL_I2C_RegisterCallback() allows to register following callbacks: (+) MasterTxCpltCallback : callback for Master transmission end of transfer. (+) MasterRxCpltCallback : callback for Master reception end of transfer. (+) SlaveTxCpltCallback : callback for Slave transmission end of transfer. @@ -236,11 +247,11 @@ This function takes as parameters the HAL peripheral handle, the Callback ID and a pointer to the user callback function. [..] - For specific callback AddrCallback use dedicated register callbacks : @ref HAL_I2C_RegisterAddrCallback(). + For specific callback AddrCallback use dedicated register callbacks : HAL_I2C_RegisterAddrCallback(). [..] - Use function @ref HAL_I2C_UnRegisterCallback to reset a callback to the default + Use function HAL_I2C_UnRegisterCallback to reset a callback to the default weak function. - @ref HAL_I2C_UnRegisterCallback takes as parameters the HAL peripheral handle, + HAL_I2C_UnRegisterCallback takes as parameters the HAL peripheral handle, and the Callback ID. This function allows to reset following callbacks: (+) MasterTxCpltCallback : callback for Master transmission end of transfer. @@ -255,24 +266,24 @@ (+) MspInitCallback : callback for Msp Init. (+) MspDeInitCallback : callback for Msp DeInit. [..] - For callback AddrCallback use dedicated register callbacks : @ref HAL_I2C_UnRegisterAddrCallback(). + For callback AddrCallback use dedicated register callbacks : HAL_I2C_UnRegisterAddrCallback(). [..] - By default, after the @ref HAL_I2C_Init() and when the state is @ref HAL_I2C_STATE_RESET + By default, after the HAL_I2C_Init() and when the state is HAL_I2C_STATE_RESET all callbacks are set to the corresponding weak functions: - examples @ref HAL_I2C_MasterTxCpltCallback(), @ref HAL_I2C_MasterRxCpltCallback(). + examples HAL_I2C_MasterTxCpltCallback(), HAL_I2C_MasterRxCpltCallback(). Exception done for MspInit and MspDeInit functions that are - reset to the legacy weak functions in the @ref HAL_I2C_Init()/ @ref HAL_I2C_DeInit() only when + reset to the legacy weak functions in the HAL_I2C_Init()/ HAL_I2C_DeInit() only when these callbacks are null (not registered beforehand). - If MspInit or MspDeInit are not null, the @ref HAL_I2C_Init()/ @ref HAL_I2C_DeInit() + If MspInit or MspDeInit are not null, the HAL_I2C_Init()/ HAL_I2C_DeInit() keep and use the user MspInit/MspDeInit callbacks (registered beforehand) whatever the state. [..] - Callbacks can be registered/unregistered in @ref HAL_I2C_STATE_READY state only. + Callbacks can be registered/unregistered in HAL_I2C_STATE_READY state only. Exception done MspInit/MspDeInit functions that can be registered/unregistered - in @ref HAL_I2C_STATE_READY or @ref HAL_I2C_STATE_RESET state, + in HAL_I2C_STATE_READY or HAL_I2C_STATE_RESET state, thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit. Then, the user first registers the MspInit/MspDeInit user callbacks - using @ref HAL_I2C_RegisterCallback() before calling @ref HAL_I2C_DeInit() - or @ref HAL_I2C_Init() function. + using HAL_I2C_RegisterCallback() before calling HAL_I2C_DeInit() + or HAL_I2C_Init() function. [..] When the compilation flag USE_HAL_I2C_REGISTER_CALLBACKS is set to 0 or not defined, the callback registration feature is not available and all callbacks @@ -290,30 +301,18 @@ (++) Start cannot be generated after a misplaced Stop (++) Some software events must be managed before the current byte is being transferred: Workaround: Use DMA in general, except when the Master is receiving a single byte. - For Interupt mode, I2C should have the highest priority in the application. + For Interrupt mode, I2C should have the highest priority in the application. (++) Mismatch on the "Setup time for a repeated Start condition" timing parameter: Workaround: Reduce the frequency down to 88 kHz or use the I2C Fast-mode if supported by the slave. (++) Data valid time (tVD;DAT) violated without the OVR flag being set: Workaround: If the slave device allows it, use the clock stretching mechanism - by programming NoStretchMode = I2C_NOSTRETCH_DISABLE in @ref HAL_I2C_Init. + by programming NoStretchMode = I2C_NOSTRETCH_DISABLE in HAL_I2C_Init. [..] (@) You can refer to the I2C HAL driver header file for more useful macros @endverbatim - ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -332,7 +331,7 @@ /* Private typedef -----------------------------------------------------------*/ /* Private define ------------------------------------------------------------*/ -/** @addtogroup I2C_Private_Define +/** @defgroup I2C_Private_Define I2C Private Define * @{ */ #define I2C_TIMEOUT_FLAG 35U /*!< Timeout 35 ms */ @@ -353,6 +352,14 @@ */ /* Private macro -------------------------------------------------------------*/ +/** @addtogroup I2C_Private_Macros + * @{ + */ +/* Macro to get remaining data to transfer on DMA side */ +#define I2C_GET_DMA_REMAIN_DATA(__HANDLE__) __HAL_DMA_GET_COUNTER(__HANDLE__) +/** + * @} + */ /* Private variables ---------------------------------------------------------*/ /* Private function prototypes -----------------------------------------------*/ @@ -402,6 +409,9 @@ static void I2C_MemoryTransmit_TXE_BTF(I2C_HandleTypeDef *hi2c); /* Private function to Convert Specific options */ static void I2C_ConvertOtherXferOptions(I2C_HandleTypeDef *hi2c); + +/* Private function to flush DR register */ +static void I2C_Flush_DR(I2C_HandleTypeDef *hi2c); /** * @} */ @@ -959,6 +969,20 @@ HAL_StatusTypeDef HAL_I2C_UnRegisterAddrCallback(I2C_HandleTypeDef *hi2c) #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */ +/** + * @brief I2C data register flush process. + * @param hi2c I2C handle. + * @retval None + */ +static void I2C_Flush_DR(I2C_HandleTypeDef *hi2c) +{ + /* Write a dummy data in DR to clear TXE flag */ + if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_TXE) != RESET) + { + hi2c->Instance->DR = 0x00U; + } +} + /** * @} */ @@ -1423,6 +1447,13 @@ HAL_StatusTypeDef HAL_I2C_Master_Receive(I2C_HandleTypeDef *hi2c, uint16_t DevAd if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == SET) { + + if (hi2c->XferSize == 3U) + { + /* Disable Acknowledge */ + CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK); + } + /* Read data from DR */ *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR; @@ -1728,10 +1759,7 @@ HAL_StatusTypeDef HAL_I2C_Master_Transmit_IT(I2C_HandleTypeDef *hi2c, uint16_t D hi2c->Mode = HAL_I2C_MODE_NONE; hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); - - return HAL_ERROR; + return HAL_BUSY; } } while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET); @@ -1808,10 +1836,7 @@ HAL_StatusTypeDef HAL_I2C_Master_Receive_IT(I2C_HandleTypeDef *hi2c, uint16_t De hi2c->Mode = HAL_I2C_MODE_NONE; hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); - - return HAL_ERROR; + return HAL_BUSY; } } while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET); @@ -2018,10 +2043,7 @@ HAL_StatusTypeDef HAL_I2C_Master_Transmit_DMA(I2C_HandleTypeDef *hi2c, uint16_t hi2c->Mode = HAL_I2C_MODE_NONE; hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); - - return HAL_ERROR; + return HAL_BUSY; } } while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET); @@ -2174,10 +2196,7 @@ HAL_StatusTypeDef HAL_I2C_Master_Receive_DMA(I2C_HandleTypeDef *hi2c, uint16_t D hi2c->Mode = HAL_I2C_MODE_NONE; hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); - - return HAL_ERROR; + return HAL_BUSY; } } while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET); @@ -2978,10 +2997,7 @@ HAL_StatusTypeDef HAL_I2C_Mem_Write_IT(I2C_HandleTypeDef *hi2c, uint16_t DevAddr hi2c->Mode = HAL_I2C_MODE_NONE; hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); - - return HAL_ERROR; + return HAL_BUSY; } } while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET); @@ -3066,10 +3082,7 @@ HAL_StatusTypeDef HAL_I2C_Mem_Read_IT(I2C_HandleTypeDef *hi2c, uint16_t DevAddre hi2c->Mode = HAL_I2C_MODE_NONE; hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); - - return HAL_ERROR; + return HAL_BUSY; } } while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET); @@ -3164,10 +3177,7 @@ HAL_StatusTypeDef HAL_I2C_Mem_Write_DMA(I2C_HandleTypeDef *hi2c, uint16_t DevAdd hi2c->Mode = HAL_I2C_MODE_NONE; hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); - - return HAL_ERROR; + return HAL_BUSY; } } while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET); @@ -3194,6 +3204,10 @@ HAL_StatusTypeDef HAL_I2C_Mem_Write_DMA(I2C_HandleTypeDef *hi2c, uint16_t DevAdd hi2c->XferCount = Size; hi2c->XferSize = hi2c->XferCount; hi2c->XferOptions = I2C_NO_OPTION_FRAME; + hi2c->Devaddress = DevAddress; + hi2c->Memaddress = MemAddress; + hi2c->MemaddSize = MemAddSize; + hi2c->EventCount = 0U; if (hi2c->XferSize > 0U) { @@ -3342,10 +3356,7 @@ HAL_StatusTypeDef HAL_I2C_Mem_Read_DMA(I2C_HandleTypeDef *hi2c, uint16_t DevAddr hi2c->Mode = HAL_I2C_MODE_NONE; hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); - - return HAL_ERROR; + return HAL_BUSY; } } while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET); @@ -3372,6 +3383,10 @@ HAL_StatusTypeDef HAL_I2C_Mem_Read_DMA(I2C_HandleTypeDef *hi2c, uint16_t DevAddr hi2c->XferCount = Size; hi2c->XferSize = hi2c->XferCount; hi2c->XferOptions = I2C_NO_OPTION_FRAME; + hi2c->Devaddress = DevAddress; + hi2c->Memaddress = MemAddress; + hi2c->MemaddSize = MemAddSize; + hi2c->EventCount = 0U; if (hi2c->XferSize > 0U) { @@ -3515,7 +3530,7 @@ HAL_StatusTypeDef HAL_I2C_IsDeviceReady(I2C_HandleTypeDef *hi2c, uint16_t DevAdd { /* Get tick */ uint32_t tickstart = HAL_GetTick(); - uint32_t I2C_Trials = 1U; + uint32_t I2C_Trials = 0U; FlagStatus tmp1; FlagStatus tmp2; @@ -3672,10 +3687,7 @@ HAL_StatusTypeDef HAL_I2C_Master_Seq_Transmit_IT(I2C_HandleTypeDef *hi2c, uint16 hi2c->Mode = HAL_I2C_MODE_NONE; hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); - - return HAL_ERROR; + return HAL_BUSY; } } while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET); @@ -3771,10 +3783,7 @@ HAL_StatusTypeDef HAL_I2C_Master_Seq_Transmit_DMA(I2C_HandleTypeDef *hi2c, uint1 hi2c->Mode = HAL_I2C_MODE_NONE; hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); - - return HAL_ERROR; + return HAL_BUSY; } } while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET); @@ -3954,10 +3963,7 @@ HAL_StatusTypeDef HAL_I2C_Master_Seq_Receive_IT(I2C_HandleTypeDef *hi2c, uint16_ hi2c->Mode = HAL_I2C_MODE_NONE; hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); - - return HAL_ERROR; + return HAL_BUSY; } } while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET); @@ -4079,10 +4085,7 @@ HAL_StatusTypeDef HAL_I2C_Master_Seq_Receive_DMA(I2C_HandleTypeDef *hi2c, uint16 hi2c->Mode = HAL_I2C_MODE_NONE; hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); - - return HAL_ERROR; + return HAL_BUSY; } } while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET); @@ -5602,7 +5605,8 @@ static void I2C_MemoryTransmit_TXE_BTF(I2C_HandleTypeDef *hi2c) } else { - /* Do nothing */ + /* Clear TXE and BTF flags */ + I2C_Flush_DR(hi2c); } } @@ -5709,7 +5713,9 @@ static void I2C_MasterReceive_RXNE(I2C_HandleTypeDef *hi2c) } else { - /* Do nothing */ + /* Disable BUF interrupt, this help to treat correctly the last 2 bytes + on BTF subroutine if there is a reception delay between N-1 and N byte */ + __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_BUF); } } } @@ -6269,7 +6275,7 @@ static void I2C_Slave_STOPF(I2C_HandleTypeDef *hi2c) { if ((CurrentState == HAL_I2C_STATE_BUSY_RX) || (CurrentState == HAL_I2C_STATE_BUSY_RX_LISTEN)) { - hi2c->XferCount = (uint16_t)(__HAL_DMA_GET_COUNTER(hi2c->hdmarx)); + hi2c->XferCount = (uint16_t)(I2C_GET_DMA_REMAIN_DATA(hi2c->hdmarx)); if (hi2c->XferCount != 0U) { @@ -6297,7 +6303,7 @@ static void I2C_Slave_STOPF(I2C_HandleTypeDef *hi2c) } else { - hi2c->XferCount = (uint16_t)(__HAL_DMA_GET_COUNTER(hi2c->hdmatx)); + hi2c->XferCount = (uint16_t)(I2C_GET_DMA_REMAIN_DATA(hi2c->hdmatx)); if (hi2c->XferCount != 0U) { @@ -6466,6 +6472,9 @@ static void I2C_Slave_AF(I2C_HandleTypeDef *hi2c) /* Disable Acknowledge */ CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK); + /* Clear TXE flag */ + I2C_Flush_DR(hi2c); + #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1) hi2c->SlaveTxCpltCallback(hi2c); #else @@ -7296,15 +7305,18 @@ static HAL_StatusTypeDef I2C_WaitOnFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uin { if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U)) { - hi2c->PreviousState = I2C_STATE_NONE; - hi2c->State = HAL_I2C_STATE_READY; - hi2c->Mode = HAL_I2C_MODE_NONE; - hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; + if ((__HAL_I2C_GET_FLAG(hi2c, Flag) == Status)) + { + hi2c->PreviousState = I2C_STATE_NONE; + hi2c->State = HAL_I2C_STATE_READY; + hi2c->Mode = HAL_I2C_MODE_NONE; + hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); + /* Process Unlocked */ + __HAL_UNLOCK(hi2c); - return HAL_ERROR; + return HAL_ERROR; + } } } } @@ -7348,15 +7360,18 @@ static HAL_StatusTypeDef I2C_WaitOnMasterAddressFlagUntilTimeout(I2C_HandleTypeD { if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U)) { - hi2c->PreviousState = I2C_STATE_NONE; - hi2c->State = HAL_I2C_STATE_READY; - hi2c->Mode = HAL_I2C_MODE_NONE; - hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; + if ((__HAL_I2C_GET_FLAG(hi2c, Flag) == RESET)) + { + hi2c->PreviousState = I2C_STATE_NONE; + hi2c->State = HAL_I2C_STATE_READY; + hi2c->Mode = HAL_I2C_MODE_NONE; + hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); + /* Process Unlocked */ + __HAL_UNLOCK(hi2c); - return HAL_ERROR; + return HAL_ERROR; + } } } } @@ -7386,15 +7401,18 @@ static HAL_StatusTypeDef I2C_WaitOnTXEFlagUntilTimeout(I2C_HandleTypeDef *hi2c, { if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U)) { - hi2c->PreviousState = I2C_STATE_NONE; - hi2c->State = HAL_I2C_STATE_READY; - hi2c->Mode = HAL_I2C_MODE_NONE; - hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; + if ((__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_TXE) == RESET)) + { + hi2c->PreviousState = I2C_STATE_NONE; + hi2c->State = HAL_I2C_STATE_READY; + hi2c->Mode = HAL_I2C_MODE_NONE; + hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); + /* Process Unlocked */ + __HAL_UNLOCK(hi2c); - return HAL_ERROR; + return HAL_ERROR; + } } } } @@ -7424,15 +7442,18 @@ static HAL_StatusTypeDef I2C_WaitOnBTFFlagUntilTimeout(I2C_HandleTypeDef *hi2c, { if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U)) { - hi2c->PreviousState = I2C_STATE_NONE; - hi2c->State = HAL_I2C_STATE_READY; - hi2c->Mode = HAL_I2C_MODE_NONE; - hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; + if ((__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == RESET)) + { + hi2c->PreviousState = I2C_STATE_NONE; + hi2c->State = HAL_I2C_STATE_READY; + hi2c->Mode = HAL_I2C_MODE_NONE; + hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); + /* Process Unlocked */ + __HAL_UNLOCK(hi2c); - return HAL_ERROR; + return HAL_ERROR; + } } } } @@ -7460,15 +7481,18 @@ static HAL_StatusTypeDef I2C_WaitOnSTOPFlagUntilTimeout(I2C_HandleTypeDef *hi2c, /* Check for the Timeout */ if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U)) { - hi2c->PreviousState = I2C_STATE_NONE; - hi2c->State = HAL_I2C_STATE_READY; - hi2c->Mode = HAL_I2C_MODE_NONE; - hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; + if ((__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_STOPF) == RESET)) + { + hi2c->PreviousState = I2C_STATE_NONE; + hi2c->State = HAL_I2C_STATE_READY; + hi2c->Mode = HAL_I2C_MODE_NONE; + hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); + /* Process Unlocked */ + __HAL_UNLOCK(hi2c); - return HAL_ERROR; + return HAL_ERROR; + } } } return HAL_OK; @@ -7534,15 +7558,18 @@ static HAL_StatusTypeDef I2C_WaitOnRXNEFlagUntilTimeout(I2C_HandleTypeDef *hi2c, /* Check for the Timeout */ if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U)) { - hi2c->PreviousState = I2C_STATE_NONE; - hi2c->State = HAL_I2C_STATE_READY; - hi2c->Mode = HAL_I2C_MODE_NONE; - hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; + if ((__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_RXNE) == RESET)) + { + hi2c->PreviousState = I2C_STATE_NONE; + hi2c->State = HAL_I2C_STATE_READY; + hi2c->Mode = HAL_I2C_MODE_NONE; + hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT; - /* Process Unlocked */ - __HAL_UNLOCK(hi2c); + /* Process Unlocked */ + __HAL_UNLOCK(hi2c); - return HAL_ERROR; + return HAL_ERROR; + } } } return HAL_OK; @@ -7615,4 +7642,3 @@ static void I2C_ConvertOtherXferOptions(I2C_HandleTypeDef *hi2c) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2s.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2s.c index 281962e..0ae903e 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2s.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2s.c @@ -8,6 +8,17 @@ * + Initialization and de-initialization functions * + IO operation functions * + Peripheral State and Errors functions + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim =============================================================================== ##### How to use this driver ##### @@ -175,18 +186,7 @@ is in Master and used the PCM long synchronization mode. @endverbatim - ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** + */ /* Includes ------------------------------------------------------------------*/ @@ -1876,4 +1876,3 @@ static HAL_StatusTypeDef I2S_WaitFlagStateUntilTimeout(I2S_HandleTypeDef *hi2s, #endif /* HAL_I2S_MODULE_ENABLED */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_irda.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_irda.c index 6766e5a..1697c1b 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_irda.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_irda.c @@ -9,6 +9,18 @@ * + IO operation functions * + Peripheral Control functions * + Peripheral State and Errors functions + * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -111,8 +123,8 @@ allows the user to configure dynamically the driver callbacks. [..] - Use Function @ref HAL_IRDA_RegisterCallback() to register a user callback. - Function @ref HAL_IRDA_RegisterCallback() allows to register following callbacks: + Use Function HAL_IRDA_RegisterCallback() to register a user callback. + Function HAL_IRDA_RegisterCallback() allows to register following callbacks: (+) TxHalfCpltCallback : Tx Half Complete Callback. (+) TxCpltCallback : Tx Complete Callback. (+) RxHalfCpltCallback : Rx Half Complete Callback. @@ -127,9 +139,9 @@ and a pointer to the user callback function. [..] - Use function @ref HAL_IRDA_UnRegisterCallback() to reset a callback to the default + Use function HAL_IRDA_UnRegisterCallback() to reset a callback to the default weak (surcharged) function. - @ref HAL_IRDA_UnRegisterCallback() takes as parameters the HAL peripheral handle, + HAL_IRDA_UnRegisterCallback() takes as parameters the HAL peripheral handle, and the Callback ID. This function allows to reset following callbacks: (+) TxHalfCpltCallback : Tx Half Complete Callback. @@ -144,13 +156,13 @@ (+) MspDeInitCallback : IRDA MspDeInit. [..] - By default, after the @ref HAL_IRDA_Init() and when the state is HAL_IRDA_STATE_RESET + By default, after the HAL_IRDA_Init() and when the state is HAL_IRDA_STATE_RESET all callbacks are set to the corresponding weak (surcharged) functions: - examples @ref HAL_IRDA_TxCpltCallback(), @ref HAL_IRDA_RxHalfCpltCallback(). + examples HAL_IRDA_TxCpltCallback(), HAL_IRDA_RxHalfCpltCallback(). Exception done for MspInit and MspDeInit functions that are respectively - reset to the legacy weak (surcharged) functions in the @ref HAL_IRDA_Init() - and @ref HAL_IRDA_DeInit() only when these callbacks are null (not registered beforehand). - If not, MspInit or MspDeInit are not null, the @ref HAL_IRDA_Init() and @ref HAL_IRDA_DeInit() + reset to the legacy weak (surcharged) functions in the HAL_IRDA_Init() + and HAL_IRDA_DeInit() only when these callbacks are null (not registered beforehand). + If not, MspInit or MspDeInit are not null, the HAL_IRDA_Init() and HAL_IRDA_DeInit() keep and use the user MspInit/MspDeInit callbacks (registered beforehand). [..] @@ -159,8 +171,8 @@ in HAL_IRDA_STATE_READY or HAL_IRDA_STATE_RESET state, thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit. In that case first register the MspInit/MspDeInit user callbacks - using @ref HAL_IRDA_RegisterCallback() before calling @ref HAL_IRDA_DeInit() - or @ref HAL_IRDA_Init() function. + using HAL_IRDA_RegisterCallback() before calling HAL_IRDA_DeInit() + or HAL_IRDA_Init() function. [..] When The compilation define USE_HAL_IRDA_REGISTER_CALLBACKS is set to 0 or @@ -185,17 +197,6 @@ | 1 | 1 | | SB | 8 bit data | PB | 1 STB | | +-------------------------------------------------------------+ ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -438,6 +439,8 @@ __weak void HAL_IRDA_MspDeInit(IRDA_HandleTypeDef *hirda) /** * @brief Register a User IRDA Callback * To be used instead of the weak predefined callback + * @note The HAL_IRDA_RegisterCallback() may be called before HAL_IRDA_Init() in HAL_IRDA_STATE_RESET + * to register callbacks for HAL_IRDA_MSPINIT_CB_ID and HAL_IRDA_MSPDEINIT_CB_ID * @param hirda irda handle * @param CallbackID ID of the callback to be registered * This parameter can be one of the following values: @@ -465,8 +468,6 @@ HAL_StatusTypeDef HAL_IRDA_RegisterCallback(IRDA_HandleTypeDef *hirda, HAL_IRDA_ return HAL_ERROR; } - /* Process locked */ - __HAL_LOCK(hirda); if (hirda->gState == HAL_IRDA_STATE_READY) { @@ -551,15 +552,14 @@ HAL_StatusTypeDef HAL_IRDA_RegisterCallback(IRDA_HandleTypeDef *hirda, HAL_IRDA_ status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(hirda); - return status; } /** * @brief Unregister an IRDA callback * IRDA callback is redirected to the weak predefined callback + * @note The HAL_IRDA_UnRegisterCallback() may be called before HAL_IRDA_Init() in HAL_IRDA_STATE_RESET + * to un-register callbacks for HAL_IRDA_MSPINIT_CB_ID and HAL_IRDA_MSPDEINIT_CB_ID * @param hirda irda handle * @param CallbackID ID of the callback to be unregistered * This parameter can be one of the following values: @@ -579,9 +579,6 @@ HAL_StatusTypeDef HAL_IRDA_UnRegisterCallback(IRDA_HandleTypeDef *hirda, HAL_IRD { HAL_StatusTypeDef status = HAL_OK; - /* Process locked */ - __HAL_LOCK(hirda); - if (HAL_IRDA_STATE_READY == hirda->gState) { switch (CallbackID) @@ -665,9 +662,6 @@ HAL_StatusTypeDef HAL_IRDA_UnRegisterCallback(IRDA_HandleTypeDef *hirda, HAL_IRD status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(hirda); - return status; } #endif /* USE_HAL_IRDA_REGISTER_CALLBACKS */ @@ -767,9 +761,9 @@ HAL_StatusTypeDef HAL_IRDA_UnRegisterCallback(IRDA_HandleTypeDef *hirda, HAL_IRD * @param Timeout Specify timeout value. * @retval HAL status */ -HAL_StatusTypeDef HAL_IRDA_Transmit(IRDA_HandleTypeDef *hirda, uint8_t *pData, uint16_t Size, uint32_t Timeout) +HAL_StatusTypeDef HAL_IRDA_Transmit(IRDA_HandleTypeDef *hirda, const uint8_t *pData, uint16_t Size, uint32_t Timeout) { - uint16_t *tmp; + const uint16_t *tmp; uint32_t tickstart = 0U; /* Check that a Tx process is not already ongoing */ @@ -800,7 +794,7 @@ HAL_StatusTypeDef HAL_IRDA_Transmit(IRDA_HandleTypeDef *hirda, uint8_t *pData, u { return HAL_TIMEOUT; } - tmp = (uint16_t *) pData; + tmp = (const uint16_t *) pData; hirda->Instance->DR = (*tmp & (uint16_t)0x01FF); if (hirda->Init.Parity == IRDA_PARITY_NONE) { @@ -942,7 +936,7 @@ HAL_StatusTypeDef HAL_IRDA_Receive(IRDA_HandleTypeDef *hirda, uint8_t *pData, ui * @param Size Amount of data elements (u8 or u16) to be sent. * @retval HAL status */ -HAL_StatusTypeDef HAL_IRDA_Transmit_IT(IRDA_HandleTypeDef *hirda, uint8_t *pData, uint16_t Size) +HAL_StatusTypeDef HAL_IRDA_Transmit_IT(IRDA_HandleTypeDef *hirda, const uint8_t *pData, uint16_t Size) { /* Check that a Tx process is not already ongoing */ if (hirda->gState == HAL_IRDA_STATE_READY) @@ -1010,8 +1004,16 @@ HAL_StatusTypeDef HAL_IRDA_Receive_IT(IRDA_HandleTypeDef *hirda, uint8_t *pData, /* Process Unlocked */ __HAL_UNLOCK(hirda); - /* Enable the IRDA Parity Error and Data Register Not Empty Interrupts */ - SET_BIT(hirda->Instance->CR1, USART_CR1_PEIE | USART_CR1_RXNEIE); + if (hirda->Init.Parity != IRDA_PARITY_NONE) + { + /* Enable the IRDA Parity Error and Data Register Not Empty Interrupts */ + SET_BIT(hirda->Instance->CR1, USART_CR1_PEIE | USART_CR1_RXNEIE); + } + else + { + /* Enable the IRDA Data Register Not Empty Interrupts */ + SET_BIT(hirda->Instance->CR1, USART_CR1_RXNEIE); + } /* Enable the IRDA Error Interrupt: (Frame error, Noise error, Overrun error) */ SET_BIT(hirda->Instance->CR3, USART_CR3_EIE); @@ -1035,9 +1037,9 @@ HAL_StatusTypeDef HAL_IRDA_Receive_IT(IRDA_HandleTypeDef *hirda, uint8_t *pData, * @param Size Amount of data elements (u8 or u16) to be sent. * @retval HAL status */ -HAL_StatusTypeDef HAL_IRDA_Transmit_DMA(IRDA_HandleTypeDef *hirda, uint8_t *pData, uint16_t Size) +HAL_StatusTypeDef HAL_IRDA_Transmit_DMA(IRDA_HandleTypeDef *hirda, const uint8_t *pData, uint16_t Size) { - uint32_t *tmp; + const uint32_t *tmp; /* Check that a Tx process is not already ongoing */ if (hirda->gState == HAL_IRDA_STATE_READY) @@ -1070,8 +1072,8 @@ HAL_StatusTypeDef HAL_IRDA_Transmit_DMA(IRDA_HandleTypeDef *hirda, uint8_t *pDat hirda->hdmatx->XferAbortCallback = NULL; /* Enable the IRDA transmit DMA channel */ - tmp = (uint32_t *)&pData; - HAL_DMA_Start_IT(hirda->hdmatx, *(uint32_t *)tmp, (uint32_t)&hirda->Instance->DR, Size); + tmp = (const uint32_t *)&pData; + HAL_DMA_Start_IT(hirda->hdmatx, *(const uint32_t *)tmp, (uint32_t)&hirda->Instance->DR, Size); /* Clear the TC flag in the SR register by writing 0 to it */ __HAL_IRDA_CLEAR_FLAG(hirda, IRDA_FLAG_TC); @@ -1146,8 +1148,11 @@ HAL_StatusTypeDef HAL_IRDA_Receive_DMA(IRDA_HandleTypeDef *hirda, uint8_t *pData /* Process Unlocked */ __HAL_UNLOCK(hirda); - /* Enable the IRDA Parity Error Interrupt */ - SET_BIT(hirda->Instance->CR1, USART_CR1_PEIE); + if (hirda->Init.Parity != IRDA_PARITY_NONE) + { + /* Enable the IRDA Parity Error Interrupt */ + SET_BIT(hirda->Instance->CR1, USART_CR1_PEIE); + } /* Enable the IRDA Error Interrupt: (Frame error, Noise error, Overrun error) */ SET_BIT(hirda->Instance->CR3, USART_CR3_EIE); @@ -1224,7 +1229,10 @@ HAL_StatusTypeDef HAL_IRDA_DMAResume(IRDA_HandleTypeDef *hirda) __HAL_IRDA_CLEAR_OREFLAG(hirda); /* Re-enable PE and ERR (Frame error, noise error, overrun error) interrupts */ - SET_BIT(hirda->Instance->CR1, USART_CR1_PEIE); + if (hirda->Init.Parity != IRDA_PARITY_NONE) + { + SET_BIT(hirda->Instance->CR1, USART_CR1_PEIE); + } SET_BIT(hirda->Instance->CR3, USART_CR3_EIE); /* Enable the IRDA DMA Rx request */ @@ -2015,7 +2023,7 @@ __weak void HAL_IRDA_AbortReceiveCpltCallback(IRDA_HandleTypeDef *hirda) * the configuration information for the specified IRDA. * @retval HAL state */ -HAL_IRDA_StateTypeDef HAL_IRDA_GetState(IRDA_HandleTypeDef *hirda) +HAL_IRDA_StateTypeDef HAL_IRDA_GetState(const IRDA_HandleTypeDef *hirda) { uint32_t temp1 = 0x00U, temp2 = 0x00U; temp1 = hirda->gState; @@ -2030,7 +2038,7 @@ HAL_IRDA_StateTypeDef HAL_IRDA_GetState(IRDA_HandleTypeDef *hirda) * the configuration information for the specified IRDA. * @retval IRDA Error Code */ -uint32_t HAL_IRDA_GetError(IRDA_HandleTypeDef *hirda) +uint32_t HAL_IRDA_GetError(const IRDA_HandleTypeDef *hirda) { return hirda->ErrorCode; } @@ -2215,11 +2223,12 @@ static void IRDA_DMAError(DMA_HandleTypeDef *hdma) } /** - * @brief This function handles IRDA Communication Timeout. + * @brief This function handles IRDA Communication Timeout. It waits + * until a flag is no longer in the specified status. * @param hirda Pointer to a IRDA_HandleTypeDef structure that contains * the configuration information for the specified IRDA. * @param Flag specifies the IRDA flag to check. - * @param Status The new Flag status (SET or RESET). + * @param Status The actual Flag status (SET or RESET). * @param Tickstart Tick start value * @param Timeout Timeout duration * @retval HAL status @@ -2451,14 +2460,14 @@ static void IRDA_DMARxOnlyAbortCallback(DMA_HandleTypeDef *hdma) */ static HAL_StatusTypeDef IRDA_Transmit_IT(IRDA_HandleTypeDef *hirda) { - uint16_t *tmp; + const uint16_t *tmp; /* Check that a Tx process is ongoing */ if (hirda->gState == HAL_IRDA_STATE_BUSY_TX) { if (hirda->Init.WordLength == IRDA_WORDLENGTH_9B) { - tmp = (uint16_t *) hirda->pTxBuffPtr; + tmp = (const uint16_t *) hirda->pTxBuffPtr; hirda->Instance->DR = (uint16_t)(*tmp & (uint16_t)0x01FF); if (hirda->Init.Parity == IRDA_PARITY_NONE) { @@ -2655,4 +2664,3 @@ static void IRDA_SetConfig(IRDA_HandleTypeDef *hirda) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_iwdg.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_iwdg.c index 5a658e9..c65b792 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_iwdg.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_iwdg.c @@ -8,6 +8,17 @@ * + Initialization and Start functions * + IO operation functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### IWDG Generic features ##### @@ -80,18 +91,6 @@ the reload register @endverbatim - ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -119,7 +118,7 @@ the LSI_VALUE constant. The value of this constant can be changed by the user to take into account possible LSI clock period variations. The timeout value is multiplied by 1000 to be converted in milliseconds. - LSI startup time is also considered here by adding LSI_STARTUP_TIMEOUT + LSI startup time is also considered here by adding LSI_STARTUP_TIME converted in milliseconds. */ #define HAL_IWDG_DEFAULT_TIMEOUT (((6UL * 256UL * 1000UL) / LSI_VALUE) + ((LSI_STARTUP_TIME / 1000UL) + 1UL)) #define IWDG_KERNEL_UPDATE_FLAGS (IWDG_SR_RVU | IWDG_SR_PVU) @@ -261,5 +260,3 @@ HAL_StatusTypeDef HAL_IWDG_Refresh(IWDG_HandleTypeDef *hiwdg) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_mmc.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_mmc.c index 46e47df..e394706 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_mmc.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_mmc.c @@ -10,6 +10,17 @@ * + Peripheral Control functions * + MMC card Control functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -63,7 +74,7 @@ SDMMC Peripheral (STM32 side) and the MMC Card, and put it into StandBy State (Ready for data transfer). This function provide the following operations: - (#) Initialize the SDMMC peripheral interface with defaullt configuration. + (#) Initialize the SDMMC peripheral interface with default configuration. The initialization process is done at 400KHz. You can change or adapt this frequency by adjusting the "ClockDiv" field. The MMC Card frequency (SDMMC_CK) is computed as follows: @@ -195,7 +206,7 @@ The compilation define USE_HAL_MMC_REGISTER_CALLBACKS when set to 1 allows the user to configure dynamically the driver callbacks. - Use Functions @ref HAL_MMC_RegisterCallback() to register a user callback, + Use Functions HAL_MMC_RegisterCallback() to register a user callback, it allows to register following callbacks: (+) TxCpltCallback : callback when a transmission transfer is completed. (+) RxCpltCallback : callback when a reception transfer is completed. @@ -206,7 +217,7 @@ This function takes as parameters the HAL peripheral handle, the Callback ID and a pointer to the user callback function. - Use function @ref HAL_MMC_UnRegisterCallback() to reset a callback to the default + Use function HAL_MMC_UnRegisterCallback() to reset a callback to the default weak (surcharged) function. It allows to reset following callbacks: (+) TxCpltCallback : callback when a transmission transfer is completed. (+) RxCpltCallback : callback when a reception transfer is completed. @@ -216,12 +227,12 @@ (+) MspDeInitCallback : MMC MspDeInit. This function) takes as parameters the HAL peripheral handle and the Callback ID. - By default, after the @ref HAL_MMC_Init and if the state is HAL_MMC_STATE_RESET + By default, after the HAL_MMC_Init and if the state is HAL_MMC_STATE_RESET all callbacks are reset to the corresponding legacy weak (surcharged) functions. Exception done for MspInit and MspDeInit callbacks that are respectively - reset to the legacy weak (surcharged) functions in the @ref HAL_MMC_Init - and @ref HAL_MMC_DeInit only when these callbacks are null (not registered beforehand). - If not, MspInit or MspDeInit are not null, the @ref HAL_MMC_Init and @ref HAL_MMC_DeInit + reset to the legacy weak (surcharged) functions in the HAL_MMC_Init + and HAL_MMC_DeInit only when these callbacks are null (not registered beforehand). + If not, MspInit or MspDeInit are not null, the HAL_MMC_Init and HAL_MMC_DeInit keep and use the user MspInit/MspDeInit callbacks (registered beforehand) Callbacks can be registered/unregistered in READY state only. @@ -229,8 +240,8 @@ in READY or RESET state, thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit. In that case first register the MspInit/MspDeInit user callbacks - using @ref HAL_MMC_RegisterCallback before calling @ref HAL_MMC_DeInit - or @ref HAL_MMC_Init function. + using HAL_MMC_RegisterCallback before calling HAL_MMC_DeInit + or HAL_MMC_Init function. When The compilation define USE_HAL_MMC_REGISTER_CALLBACKS is set to 0 or not defined, the callback registering feature is not available @@ -238,17 +249,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2018 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -272,7 +272,30 @@ /** @addtogroup MMC_Private_Defines * @{ */ +#if defined (VDD_VALUE) && (VDD_VALUE <= 1950U) +#define MMC_VOLTAGE_RANGE EMMC_LOW_VOLTAGE_RANGE +#define MMC_EXT_CSD_PWR_CL_26_INDEX 201 +#define MMC_EXT_CSD_PWR_CL_52_INDEX 200 +#define MMC_EXT_CSD_PWR_CL_DDR_52_INDEX 238 + +#define MMC_EXT_CSD_PWR_CL_26_POS 8 +#define MMC_EXT_CSD_PWR_CL_52_POS 0 +#define MMC_EXT_CSD_PWR_CL_DDR_52_POS 16 +#else +#define MMC_VOLTAGE_RANGE EMMC_HIGH_VOLTAGE_RANGE + +#define MMC_EXT_CSD_PWR_CL_26_INDEX 203 +#define MMC_EXT_CSD_PWR_CL_52_INDEX 202 +#define MMC_EXT_CSD_PWR_CL_DDR_52_INDEX 239 + +#define MMC_EXT_CSD_PWR_CL_26_POS 24 +#define MMC_EXT_CSD_PWR_CL_52_POS 16 +#define MMC_EXT_CSD_PWR_CL_DDR_52_POS 24 +#endif + +/* Frequencies used in the driver for clock divider calculation */ +#define MMC_INIT_FREQ 400000U /* Initialization phase : 400 kHz max */ /** * @} */ @@ -296,6 +319,7 @@ static void MMC_DMAReceiveCplt(DMA_HandleTypeDef *hdma); static void MMC_DMAError(DMA_HandleTypeDef *hdma); static void MMC_DMATxAbort(DMA_HandleTypeDef *hdma); static void MMC_DMARxAbort(DMA_HandleTypeDef *hdma); +static uint32_t MMC_PwrClassUpdate(MMC_HandleTypeDef *hmmc, uint32_t Wide); /** * @} */ @@ -375,7 +399,7 @@ HAL_StatusTypeDef HAL_MMC_Init(MMC_HandleTypeDef *hmmc) } /* Initialize the error code */ - hmmc->ErrorCode = HAL_DMA_ERROR_NONE; + hmmc->ErrorCode = HAL_MMC_ERROR_NONE; /* Initialize the MMC operation */ hmmc->Context = MMC_CONTEXT_NONE; @@ -383,6 +407,15 @@ HAL_StatusTypeDef HAL_MMC_Init(MMC_HandleTypeDef *hmmc) /* Initialize the MMC state */ hmmc->State = HAL_MMC_STATE_READY; + /* Configure bus width */ + if (hmmc->Init.BusWide != SDIO_BUS_WIDE_1B) + { + if (HAL_MMC_ConfigWideBusOperation(hmmc, hmmc->Init.BusWide) != HAL_OK) + { + return HAL_ERROR; + } + } + return HAL_OK; } @@ -427,6 +460,9 @@ HAL_StatusTypeDef HAL_MMC_InitCard(MMC_HandleTypeDef *hmmc) /* Enable MMC Clock */ __HAL_MMC_ENABLE(hmmc); + /* Required power up waiting time before starting the MMC initialization sequence */ + HAL_Delay(2); + /* Identify card operating voltage */ errorstate = MMC_PowerON(hmmc); if(errorstate != HAL_MMC_ERROR_NONE) @@ -1135,7 +1171,7 @@ HAL_StatusTypeDef HAL_MMC_ReadBlocks_DMA(MMC_HandleTypeDef *hmmc, uint8_t *pData if(hmmc->State == HAL_MMC_STATE_READY) { - hmmc->ErrorCode = HAL_DMA_ERROR_NONE; + hmmc->ErrorCode = HAL_MMC_ERROR_NONE; if((BlockAdd + NumberOfBlocks) > (hmmc->MmcCard.LogBlockNbr)) { @@ -2079,6 +2115,122 @@ HAL_StatusTypeDef HAL_MMC_GetCardInfo(MMC_HandleTypeDef *hmmc, HAL_MMC_CardInfoT return HAL_OK; } +/** + * @brief Returns information the information of the card which are stored on + * the Extended CSD register. + * @param hmmc Pointer to MMC handle + * @param pExtCSD Pointer to a memory area (512 bytes) that contains all + * Extended CSD register parameters + * @param Timeout Specify timeout value + * @retval HAL status + */ +HAL_StatusTypeDef HAL_MMC_GetCardExtCSD(MMC_HandleTypeDef *hmmc, uint32_t *pExtCSD, uint32_t Timeout) +{ + SDIO_DataInitTypeDef config; + uint32_t errorstate; + uint32_t tickstart = HAL_GetTick(); + uint32_t count; + uint32_t *tmp_buf; + + if(NULL == pExtCSD) + { + hmmc->ErrorCode |= HAL_MMC_ERROR_PARAM; + return HAL_ERROR; + } + + if(hmmc->State == HAL_MMC_STATE_READY) + { + hmmc->ErrorCode = HAL_MMC_ERROR_NONE; + + hmmc->State = HAL_MMC_STATE_BUSY; + + /* Initialize data control register */ + hmmc->Instance->DCTRL = 0; + + /* Initiaize the destination pointer */ + tmp_buf = pExtCSD; + + /* Configure the MMC DPSM (Data Path State Machine) */ + config.DataTimeOut = SDMMC_DATATIMEOUT; + config.DataLength = 512; + config.DataBlockSize = SDIO_DATABLOCK_SIZE_512B; + config.TransferDir = SDIO_TRANSFER_DIR_TO_SDIO; + config.TransferMode = SDIO_TRANSFER_MODE_BLOCK; + config.DPSM = SDIO_DPSM_ENABLE; + (void)SDIO_ConfigData(hmmc->Instance, &config); + + /* Send ExtCSD Read command to Card */ + errorstate = SDMMC_CmdSendEXTCSD(hmmc->Instance, 0); + if(errorstate != HAL_MMC_ERROR_NONE) + { + /* Clear all the static flags */ + __HAL_MMC_CLEAR_FLAG(hmmc, SDIO_STATIC_FLAGS); + hmmc->ErrorCode |= errorstate; + hmmc->State = HAL_MMC_STATE_READY; + return HAL_ERROR; + } + + /* Poll on SDMMC flags */ + while(!__HAL_MMC_GET_FLAG(hmmc, SDIO_FLAG_RXOVERR | SDIO_FLAG_DCRCFAIL | SDIO_FLAG_DTIMEOUT | SDIO_FLAG_DATAEND)) + { + if(__HAL_MMC_GET_FLAG(hmmc, SDIO_FLAG_RXFIFOHF)) + { + /* Read data from SDMMC Rx FIFO */ + for(count = 0U; count < 8U; count++) + { + *tmp_buf = SDIO_ReadFIFO(hmmc->Instance); + tmp_buf++; + } + } + + if(((HAL_GetTick()-tickstart) >= Timeout) || (Timeout == 0U)) + { + /* Clear all the static flags */ + __HAL_MMC_CLEAR_FLAG(hmmc, SDIO_STATIC_FLAGS); + hmmc->ErrorCode |= HAL_MMC_ERROR_TIMEOUT; + hmmc->State= HAL_MMC_STATE_READY; + return HAL_TIMEOUT; + } + } + + /* Get error state */ + if(__HAL_MMC_GET_FLAG(hmmc, SDIO_FLAG_DTIMEOUT)) + { + /* Clear all the static flags */ + __HAL_MMC_CLEAR_FLAG(hmmc, SDIO_STATIC_FLAGS); + hmmc->ErrorCode |= HAL_MMC_ERROR_DATA_TIMEOUT; + hmmc->State = HAL_MMC_STATE_READY; + return HAL_ERROR; + } + else if(__HAL_MMC_GET_FLAG(hmmc, SDIO_FLAG_DCRCFAIL)) + { + /* Clear all the static flags */ + __HAL_MMC_CLEAR_FLAG(hmmc, SDIO_STATIC_FLAGS); + hmmc->ErrorCode |= HAL_MMC_ERROR_DATA_CRC_FAIL; + hmmc->State = HAL_MMC_STATE_READY; + return HAL_ERROR; + } + else if(__HAL_MMC_GET_FLAG(hmmc, SDIO_FLAG_RXOVERR)) + { + /* Clear all the static flags */ + __HAL_MMC_CLEAR_FLAG(hmmc, SDIO_STATIC_FLAGS); + hmmc->ErrorCode |= HAL_MMC_ERROR_RX_OVERRUN; + hmmc->State = HAL_MMC_STATE_READY; + return HAL_ERROR; + } + else + { + /* Nothing to do */ + } + + /* Clear all the static flags */ + __HAL_MMC_CLEAR_FLAG(hmmc, SDIO_STATIC_DATA_FLAGS); + hmmc->State = HAL_MMC_STATE_READY; + } + + return HAL_OK; +} + /** * @brief Enables wide bus operation for the requested card if supported by * card. @@ -2092,10 +2244,10 @@ HAL_StatusTypeDef HAL_MMC_GetCardInfo(MMC_HandleTypeDef *hmmc, HAL_MMC_CardInfoT */ HAL_StatusTypeDef HAL_MMC_ConfigWideBusOperation(MMC_HandleTypeDef *hmmc, uint32_t WideMode) { - __IO uint32_t count = 0U; + uint32_t count; SDIO_InitTypeDef Init; uint32_t errorstate; - uint32_t response = 0U, busy = 0U; + uint32_t response = 0U; /* Check the parameters */ assert_param(IS_SDIO_BUS_WIDE(WideMode)); @@ -2103,116 +2255,84 @@ HAL_StatusTypeDef HAL_MMC_ConfigWideBusOperation(MMC_HandleTypeDef *hmmc, uint32 /* Change State */ hmmc->State = HAL_MMC_STATE_BUSY; - /* Update Clock for Bus mode update */ - Init.ClockEdge = SDIO_CLOCK_EDGE_RISING; - Init.ClockBypass = SDIO_CLOCK_BYPASS_DISABLE; - Init.ClockPowerSave = SDIO_CLOCK_POWER_SAVE_DISABLE; - Init.BusWide = WideMode; - Init.HardwareFlowControl = SDIO_HARDWARE_FLOW_CONTROL_DISABLE; - Init.ClockDiv = SDIO_INIT_CLK_DIV; - /* Initialize SDIO*/ - (void)SDIO_Init(hmmc->Instance, Init); + errorstate = MMC_PwrClassUpdate(hmmc, WideMode); - if(WideMode == SDIO_BUS_WIDE_8B) + if(errorstate == HAL_MMC_ERROR_NONE) { - errorstate = SDMMC_CmdSwitch(hmmc->Instance, 0x03B70200U); - if(errorstate != HAL_MMC_ERROR_NONE) + if(WideMode == SDIO_BUS_WIDE_8B) { - hmmc->ErrorCode |= errorstate; + errorstate = SDMMC_CmdSwitch(hmmc->Instance, 0x03B70200U); } - } - else if(WideMode == SDIO_BUS_WIDE_4B) - { - errorstate = SDMMC_CmdSwitch(hmmc->Instance, 0x03B70100U); - if(errorstate != HAL_MMC_ERROR_NONE) + else if(WideMode == SDIO_BUS_WIDE_4B) { - hmmc->ErrorCode |= errorstate; + errorstate = SDMMC_CmdSwitch(hmmc->Instance, 0x03B70100U); } - } - else if(WideMode == SDIO_BUS_WIDE_1B) - { - errorstate = SDMMC_CmdSwitch(hmmc->Instance, 0x03B70000U); - if(errorstate != HAL_MMC_ERROR_NONE) + else if(WideMode == SDIO_BUS_WIDE_1B) { - hmmc->ErrorCode |= errorstate; + errorstate = SDMMC_CmdSwitch(hmmc->Instance, 0x03B70000U); } - } - else - { - /* WideMode is not a valid argument*/ - hmmc->ErrorCode |= HAL_MMC_ERROR_PARAM; - } - - /* Check for switch error and violation of the trial number of sending CMD 13 */ - while(busy == 0U) - { - if(count == SDMMC_MAX_TRIAL) + else { - hmmc->State = HAL_MMC_STATE_READY; - hmmc->ErrorCode |= HAL_MMC_ERROR_REQUEST_NOT_APPLICABLE; - return HAL_ERROR; - } - count++; - - /* While card is not ready for data and trial number for sending CMD13 is not exceeded */ - errorstate = SDMMC_CmdSendStatus(hmmc->Instance, (uint32_t)(((uint32_t)hmmc->MmcCard.RelCardAdd) << 16U)); - if(errorstate != HAL_MMC_ERROR_NONE) - { - hmmc->ErrorCode |= errorstate; + /* WideMode is not a valid argument*/ + errorstate = HAL_MMC_ERROR_PARAM; } - /* Get command response */ - response = SDIO_GetResponse(hmmc->Instance, SDIO_RESP1); - - /* Get operating voltage*/ - busy = (((response >> 7U) == 1U) ? 0U : 1U); - } - - /* While card is not ready for data and trial number for sending CMD13 is not exceeded */ - count = SDMMC_DATATIMEOUT; - while((response & 0x00000100U) == 0U) - { - if(count == 0U) + /* Check for switch error and violation of the trial number of sending CMD 13 */ + if(errorstate == HAL_MMC_ERROR_NONE) { - hmmc->State = HAL_MMC_STATE_READY; - hmmc->ErrorCode |= HAL_MMC_ERROR_REQUEST_NOT_APPLICABLE; - return HAL_ERROR; + /* While card is not ready for data and trial number for sending CMD13 is not exceeded */ + count = SDMMC_MAX_TRIAL; + do + { + errorstate = SDMMC_CmdSendStatus(hmmc->Instance, (uint32_t)(((uint32_t)hmmc->MmcCard.RelCardAdd) << 16U)); + if(errorstate != HAL_MMC_ERROR_NONE) + { + break; + } + + /* Get command response */ + response = SDIO_GetResponse(hmmc->Instance, SDIO_RESP1); + count--; + }while(((response & 0x100U) == 0U) && (count != 0U)); + + /* Check the status after the switch command execution */ + if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) + { + /* Check the bit SWITCH_ERROR of the device status */ + if ((response & 0x80U) != 0U) + { + errorstate = SDMMC_ERROR_GENERAL_UNKNOWN_ERR; + } + else + { + /* Configure the SDIO peripheral */ + Init = hmmc->Init; + Init.BusWide = WideMode; + (void)SDIO_Init(hmmc->Instance, Init); + } + } + else if (count == 0U) + { + errorstate = SDMMC_ERROR_TIMEOUT; + } + else + { + /* Nothing to do */ + } } - count--; - - /* While card is not ready for data and trial number for sending CMD13 is not exceeded */ - errorstate = SDMMC_CmdSendStatus(hmmc->Instance, (uint32_t)(((uint32_t)hmmc->MmcCard.RelCardAdd) << 16U)); - if(errorstate != HAL_MMC_ERROR_NONE) - { - hmmc->ErrorCode |= errorstate; - } - - /* Get command response */ - response = SDIO_GetResponse(hmmc->Instance, SDIO_RESP1); - } - - if(hmmc->ErrorCode != HAL_MMC_ERROR_NONE) - { - /* Clear all the static flags */ - __HAL_MMC_CLEAR_FLAG(hmmc, SDIO_STATIC_FLAGS); - hmmc->State = HAL_MMC_STATE_READY; - return HAL_ERROR; - } - else - { - /* Configure the SDIO peripheral */ - Init.ClockEdge = hmmc->Init.ClockEdge; - Init.ClockBypass = hmmc->Init.ClockBypass; - Init.ClockPowerSave = hmmc->Init.ClockPowerSave; - Init.BusWide = WideMode; - Init.HardwareFlowControl = hmmc->Init.HardwareFlowControl; - Init.ClockDiv = hmmc->Init.ClockDiv; - (void)SDIO_Init(hmmc->Instance, Init); } /* Change State */ hmmc->State = HAL_MMC_STATE_READY; + if(errorstate != HAL_MMC_ERROR_NONE) + { + /* Clear all the static flags */ + __HAL_MMC_CLEAR_FLAG(hmmc, SDMMC_STATIC_FLAGS); + hmmc->ErrorCode |= errorstate; + return HAL_ERROR; + } + return HAL_OK; } @@ -2569,7 +2689,8 @@ static uint32_t MMC_InitCard(MMC_HandleTypeDef *hmmc) { HAL_MMC_CardCSDTypeDef CSD; uint32_t errorstate; - uint16_t mmc_rca = 1U; + uint16_t mmc_rca = 2U; + MMC_InitTypeDef Init; /* Check the power State */ if(SDIO_GetPowerState(hmmc->Instance) == 0U) @@ -2593,9 +2714,9 @@ static uint32_t MMC_InitCard(MMC_HandleTypeDef *hmmc) hmmc->CID[3U] = SDIO_GetResponse(hmmc->Instance, SDIO_RESP4); } - /* Send CMD3 SET_REL_ADDR with argument 0 */ + /* Send CMD3 SET_REL_ADDR with RCA = 2 (should be greater than 1) */ /* MMC Card publishes its RCA. */ - errorstate = SDMMC_CmdSetRelAdd(hmmc->Instance, &mmc_rca); + errorstate = SDMMC_CmdSetRelAddMmc(hmmc->Instance, mmc_rca); if(errorstate != HAL_MMC_ERROR_NONE) { return errorstate; @@ -2622,12 +2743,6 @@ static uint32_t MMC_InitCard(MMC_HandleTypeDef *hmmc) /* Get the Card Class */ hmmc->MmcCard.Class = (SDIO_GetResponse(hmmc->Instance, SDIO_RESP2) >> 20U); - /* Get CSD parameters */ - if (HAL_MMC_GetCardCSD(hmmc, &CSD) != HAL_OK) - { - return hmmc->ErrorCode; - } - /* Select the Card */ errorstate = SDMMC_CmdSelDesel(hmmc->Instance, (uint32_t)(((uint32_t)hmmc->MmcCard.RelCardAdd) << 16U)); if(errorstate != HAL_MMC_ERROR_NONE) @@ -2635,8 +2750,36 @@ static uint32_t MMC_InitCard(MMC_HandleTypeDef *hmmc) return errorstate; } - /* Configure SDIO peripheral interface */ - (void)SDIO_Init(hmmc->Instance, hmmc->Init); + /* Get CSD parameters */ + if (HAL_MMC_GetCardCSD(hmmc, &CSD) != HAL_OK) + { + return hmmc->ErrorCode; + } + + /* While card is not ready for data and trial number for sending CMD13 is not exceeded */ + errorstate = SDMMC_CmdSendStatus(hmmc->Instance, (uint32_t)(((uint32_t)hmmc->MmcCard.RelCardAdd) << 16U)); + if(errorstate != HAL_MMC_ERROR_NONE) + { + hmmc->ErrorCode |= errorstate; + } + + /* Get Extended CSD parameters */ + if (HAL_MMC_GetCardExtCSD(hmmc, hmmc->Ext_CSD, SDMMC_DATATIMEOUT) != HAL_OK) + { + return hmmc->ErrorCode; + } + + /* While card is not ready for data and trial number for sending CMD13 is not exceeded */ + errorstate = SDMMC_CmdSendStatus(hmmc->Instance, (uint32_t)(((uint32_t)hmmc->MmcCard.RelCardAdd) << 16U)); + if(errorstate != HAL_MMC_ERROR_NONE) + { + hmmc->ErrorCode |= errorstate; + } + + /* Configure the SDIO peripheral */ + Init = hmmc->Init; + Init.BusWide = SDIO_BUS_WIDE_1B; + (void)SDIO_Init(hmmc->Instance, Init); /* All cards are initialized */ return HAL_MMC_ERROR_NONE; @@ -2669,8 +2812,8 @@ static uint32_t MMC_PowerON(MMC_HandleTypeDef *hmmc) return HAL_MMC_ERROR_INVALID_VOLTRANGE; } - /* SEND CMD1 APP_CMD with MMC_HIGH_VOLTAGE_RANGE(0xC0FF8000) as argument */ - errorstate = SDMMC_CmdOpCondition(hmmc->Instance, eMMC_HIGH_VOLTAGE_RANGE); + /* SEND CMD1 APP_CMD with voltage range as argument */ + errorstate = SDMMC_CmdOpCondition(hmmc->Instance, MMC_VOLTAGE_RANGE); if(errorstate != HAL_MMC_ERROR_NONE) { return HAL_MMC_ERROR_UNSUPPORTED_FEATURE; @@ -2901,6 +3044,93 @@ static void MMC_Write_IT(MMC_HandleTypeDef *hmmc) } } +/** + * @brief Update the power class of the device. + * @param hmmc MMC handle + * @param Wide Wide of MMC bus + * @param Speed Speed of the MMC bus + * @retval MMC Card error state + */ +static uint32_t MMC_PwrClassUpdate(MMC_HandleTypeDef *hmmc, uint32_t Wide) +{ + uint32_t count; + uint32_t response = 0U; + uint32_t errorstate = HAL_MMC_ERROR_NONE; + uint32_t power_class, supported_pwr_class; + + if((Wide == SDIO_BUS_WIDE_8B) || (Wide == SDIO_BUS_WIDE_4B)) + { + power_class = 0U; /* Default value after power-on or software reset */ + + /* Read the PowerClass field of the Extended CSD register */ + if(MMC_ReadExtCSD(hmmc, &power_class, 187, SDMMC_DATATIMEOUT) != HAL_OK) /* Field POWER_CLASS [187] */ + { + errorstate = SDMMC_ERROR_GENERAL_UNKNOWN_ERR; + } + else + { + power_class = ((power_class >> 24U) & 0x000000FFU); + } + + /* Get the supported PowerClass field of the Extended CSD register */ + /* Field PWR_CL_26_xxx [201 or 203] */ + supported_pwr_class = ((hmmc->Ext_CSD[(MMC_EXT_CSD_PWR_CL_26_INDEX/4)] >> MMC_EXT_CSD_PWR_CL_26_POS) & 0x000000FFU); + + if(errorstate == HAL_MMC_ERROR_NONE) + { + if(Wide == SDIO_BUS_WIDE_8B) + { + /* Bit [7:4] : power class for 8-bits bus configuration - Bit [3:0] : power class for 4-bits bus configuration */ + supported_pwr_class = (supported_pwr_class >> 4U); + } + + if ((power_class & 0x0FU) != (supported_pwr_class & 0x0FU)) + { + /* Need to change current power class */ + errorstate = SDMMC_CmdSwitch(hmmc->Instance, (0x03BB0000U | ((supported_pwr_class & 0x0FU) << 8U))); + + if(errorstate == HAL_MMC_ERROR_NONE) + { + /* While card is not ready for data and trial number for sending CMD13 is not exceeded */ + count = SDMMC_MAX_TRIAL; + do + { + errorstate = SDMMC_CmdSendStatus(hmmc->Instance, (uint32_t)(((uint32_t)hmmc->MmcCard.RelCardAdd) << 16U)); + if(errorstate != HAL_MMC_ERROR_NONE) + { + break; + } + + /* Get command response */ + response = SDIO_GetResponse(hmmc->Instance, SDIO_RESP1); + count--; + }while(((response & 0x100U) == 0U) && (count != 0U)); + + /* Check the status after the switch command execution */ + if ((count != 0U) && (errorstate == HAL_MMC_ERROR_NONE)) + { + /* Check the bit SWITCH_ERROR of the device status */ + if ((response & 0x80U) != 0U) + { + errorstate = SDMMC_ERROR_UNSUPPORTED_FEATURE; + } + } + else if (count == 0U) + { + errorstate = SDMMC_ERROR_TIMEOUT; + } + else + { + /* Nothing to do */ + } + } + } + } + } + + return errorstate; +} + /** * @} */ @@ -2916,5 +3146,3 @@ static void MMC_Write_IT(MMC_HandleTypeDef *hmmc) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_msp_template.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_msp_template.c index a28b5cf..fcf82e6 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_msp_template.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_msp_template.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -90,4 +89,4 @@ void HAL_PPP_MspDeInit(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_nand.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_nand.c index 1e6b4ba..88930ca 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_nand.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_nand.c @@ -6,6 +6,17 @@ * This file provides a generic firmware to drive NAND memories mounted * as external device. * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -58,25 +69,25 @@ The compilation define USE_HAL_NAND_REGISTER_CALLBACKS when set to 1 allows the user to configure dynamically the driver callbacks. - Use Functions @ref HAL_NAND_RegisterCallback() to register a user callback, + Use Functions HAL_NAND_RegisterCallback() to register a user callback, it allows to register following callbacks: (+) MspInitCallback : NAND MspInit. (+) MspDeInitCallback : NAND MspDeInit. This function takes as parameters the HAL peripheral handle, the Callback ID and a pointer to the user callback function. - Use function @ref HAL_NAND_UnRegisterCallback() to reset a callback to the default - weak (surcharged) function. It allows to reset following callbacks: + Use function HAL_NAND_UnRegisterCallback() to reset a callback to the default + weak (overridden) function. It allows to reset following callbacks: (+) MspInitCallback : NAND MspInit. (+) MspDeInitCallback : NAND MspDeInit. This function) takes as parameters the HAL peripheral handle and the Callback ID. - By default, after the @ref HAL_NAND_Init and if the state is HAL_NAND_STATE_RESET - all callbacks are reset to the corresponding legacy weak (surcharged) functions. + By default, after the HAL_NAND_Init and if the state is HAL_NAND_STATE_RESET + all callbacks are reset to the corresponding legacy weak (overridden) functions. Exception done for MspInit and MspDeInit callbacks that are respectively - reset to the legacy weak (surcharged) functions in the @ref HAL_NAND_Init - and @ref HAL_NAND_DeInit only when these callbacks are null (not registered beforehand). - If not, MspInit or MspDeInit are not null, the @ref HAL_NAND_Init and @ref HAL_NAND_DeInit + reset to the legacy weak (overridden) functions in the HAL_NAND_Init + and HAL_NAND_DeInit only when these callbacks are null (not registered beforehand). + If not, MspInit or MspDeInit are not null, the HAL_NAND_Init and HAL_NAND_DeInit keep and use the user MspInit/MspDeInit callbacks (registered beforehand) Callbacks can be registered/unregistered in READY state only. @@ -84,26 +95,15 @@ in READY or RESET state, thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit. In that case first register the MspInit/MspDeInit user callbacks - using @ref HAL_NAND_RegisterCallback before calling @ref HAL_NAND_DeInit - or @ref HAL_NAND_Init function. + using HAL_NAND_RegisterCallback before calling HAL_NAND_DeInit + or HAL_NAND_Init function. When The compilation define USE_HAL_NAND_REGISTER_CALLBACKS is set to 0 or not defined, the callback registering feature is not available - and weak (surcharged) callbacks are used. + and weak (overridden) callbacks are used. @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -529,8 +529,8 @@ HAL_StatusTypeDef HAL_NAND_ConfigDevice(NAND_HandleTypeDef *hnand, NAND_DeviceC * @param NumPageToRead number of pages to read from block * @retval HAL status */ -HAL_StatusTypeDef HAL_NAND_Read_Page_8b(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint8_t *pBuffer, - uint32_t NumPageToRead) +HAL_StatusTypeDef HAL_NAND_Read_Page_8b(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, + uint8_t *pBuffer, uint32_t NumPageToRead) { uint32_t index; uint32_t tickstart; @@ -694,8 +694,8 @@ HAL_StatusTypeDef HAL_NAND_Read_Page_8b(NAND_HandleTypeDef *hnand, NAND_AddressT * @param NumPageToRead number of pages to read from block * @retval HAL status */ -HAL_StatusTypeDef HAL_NAND_Read_Page_16b(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint16_t *pBuffer, - uint32_t NumPageToRead) +HAL_StatusTypeDef HAL_NAND_Read_Page_16b(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, + uint16_t *pBuffer, uint32_t NumPageToRead) { uint32_t index; uint32_t tickstart; @@ -869,8 +869,8 @@ HAL_StatusTypeDef HAL_NAND_Read_Page_16b(NAND_HandleTypeDef *hnand, NAND_Address * @param NumPageToWrite number of pages to write to block * @retval HAL status */ -HAL_StatusTypeDef HAL_NAND_Write_Page_8b(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint8_t *pBuffer, - uint32_t NumPageToWrite) +HAL_StatusTypeDef HAL_NAND_Write_Page_8b(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, + const uint8_t *pBuffer, uint32_t NumPageToWrite) { uint32_t index; uint32_t tickstart; @@ -878,7 +878,7 @@ HAL_StatusTypeDef HAL_NAND_Write_Page_8b(NAND_HandleTypeDef *hnand, NAND_Address uint32_t numpageswritten = 0U; uint32_t nandaddress; uint32_t nbpages = NumPageToWrite; - uint8_t *buff = pBuffer; + const uint8_t *buff = pBuffer; /* Check the NAND controller state */ if (hnand->State == HAL_NAND_STATE_BUSY) @@ -1029,8 +1029,8 @@ HAL_StatusTypeDef HAL_NAND_Write_Page_8b(NAND_HandleTypeDef *hnand, NAND_Address * @param NumPageToWrite number of pages to write to block * @retval HAL status */ -HAL_StatusTypeDef HAL_NAND_Write_Page_16b(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint16_t *pBuffer, - uint32_t NumPageToWrite) +HAL_StatusTypeDef HAL_NAND_Write_Page_16b(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, + const uint16_t *pBuffer, uint32_t NumPageToWrite) { uint32_t index; uint32_t tickstart; @@ -1038,7 +1038,7 @@ HAL_StatusTypeDef HAL_NAND_Write_Page_16b(NAND_HandleTypeDef *hnand, NAND_Addres uint32_t numpageswritten = 0U; uint32_t nandaddress; uint32_t nbpages = NumPageToWrite; - uint16_t *buff = pBuffer; + const uint16_t *buff = pBuffer; /* Check the NAND controller state */ if (hnand->State == HAL_NAND_STATE_BUSY) @@ -1200,8 +1200,8 @@ HAL_StatusTypeDef HAL_NAND_Write_Page_16b(NAND_HandleTypeDef *hnand, NAND_Addres * @param NumSpareAreaToRead Number of spare area to read * @retval HAL status */ -HAL_StatusTypeDef HAL_NAND_Read_SpareArea_8b(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, uint8_t *pBuffer, - uint32_t NumSpareAreaToRead) +HAL_StatusTypeDef HAL_NAND_Read_SpareArea_8b(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, + uint8_t *pBuffer, uint32_t NumSpareAreaToRead) { uint32_t index; uint32_t tickstart; @@ -1372,7 +1372,7 @@ HAL_StatusTypeDef HAL_NAND_Read_SpareArea_8b(NAND_HandleTypeDef *hnand, NAND_Add * @param NumSpareAreaToRead Number of spare area to read * @retval HAL status */ -HAL_StatusTypeDef HAL_NAND_Read_SpareArea_16b(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, +HAL_StatusTypeDef HAL_NAND_Read_SpareArea_16b(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, uint16_t *pBuffer, uint32_t NumSpareAreaToRead) { uint32_t index; @@ -1544,8 +1544,8 @@ HAL_StatusTypeDef HAL_NAND_Read_SpareArea_16b(NAND_HandleTypeDef *hnand, NAND_Ad * @param NumSpareAreaTowrite number of spare areas to write to block * @retval HAL status */ -HAL_StatusTypeDef HAL_NAND_Write_SpareArea_8b(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, - uint8_t *pBuffer, uint32_t NumSpareAreaTowrite) +HAL_StatusTypeDef HAL_NAND_Write_SpareArea_8b(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, + const uint8_t *pBuffer, uint32_t NumSpareAreaTowrite) { uint32_t index; uint32_t tickstart; @@ -1554,7 +1554,7 @@ HAL_StatusTypeDef HAL_NAND_Write_SpareArea_8b(NAND_HandleTypeDef *hnand, NAND_Ad uint32_t nandaddress; uint32_t columnaddress; uint32_t nbspare = NumSpareAreaTowrite; - uint8_t *buff = pBuffer; + const uint8_t *buff = pBuffer; /* Check the NAND controller state */ if (hnand->State == HAL_NAND_STATE_BUSY) @@ -1714,8 +1714,8 @@ HAL_StatusTypeDef HAL_NAND_Write_SpareArea_8b(NAND_HandleTypeDef *hnand, NAND_Ad * @param NumSpareAreaTowrite number of spare areas to write to block * @retval HAL status */ -HAL_StatusTypeDef HAL_NAND_Write_SpareArea_16b(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress, - uint16_t *pBuffer, uint32_t NumSpareAreaTowrite) +HAL_StatusTypeDef HAL_NAND_Write_SpareArea_16b(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress, + const uint16_t *pBuffer, uint32_t NumSpareAreaTowrite) { uint32_t index; uint32_t tickstart; @@ -1724,7 +1724,7 @@ HAL_StatusTypeDef HAL_NAND_Write_SpareArea_16b(NAND_HandleTypeDef *hnand, NAND_A uint32_t nandaddress; uint32_t columnaddress; uint32_t nbspare = NumSpareAreaTowrite; - uint16_t *buff = pBuffer; + const uint16_t *buff = pBuffer; /* Check the NAND controller state */ if (hnand->State == HAL_NAND_STATE_BUSY) @@ -1882,7 +1882,7 @@ HAL_StatusTypeDef HAL_NAND_Write_SpareArea_16b(NAND_HandleTypeDef *hnand, NAND_A * @param pAddress pointer to NAND address structure * @retval HAL status */ -HAL_StatusTypeDef HAL_NAND_Erase_Block(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress) +HAL_StatusTypeDef HAL_NAND_Erase_Block(NAND_HandleTypeDef *hnand, const NAND_AddressTypeDef *pAddress) { uint32_t deviceaddress; @@ -1945,7 +1945,7 @@ HAL_StatusTypeDef HAL_NAND_Erase_Block(NAND_HandleTypeDef *hnand, NAND_AddressTy * - NAND_VALID_ADDRESS: When the new address is valid address * - NAND_INVALID_ADDRESS: When the new address is invalid address */ -uint32_t HAL_NAND_Address_Inc(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress) +uint32_t HAL_NAND_Address_Inc(const NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pAddress) { uint32_t status = NAND_VALID_ADDRESS; @@ -1976,7 +1976,7 @@ uint32_t HAL_NAND_Address_Inc(NAND_HandleTypeDef *hnand, NAND_AddressTypeDef *pA #if (USE_HAL_NAND_REGISTER_CALLBACKS == 1) /** * @brief Register a User NAND Callback - * To be used instead of the weak (surcharged) predefined callback + * To be used to override the weak predefined callback * @param hnand : NAND handle * @param CallbackId : ID of the callback to be registered * This parameter can be one of the following values: @@ -1996,9 +1996,6 @@ HAL_StatusTypeDef HAL_NAND_RegisterCallback(NAND_HandleTypeDef *hnand, HAL_NAND_ return HAL_ERROR; } - /* Process locked */ - __HAL_LOCK(hnand); - if (hnand->State == HAL_NAND_STATE_READY) { switch (CallbackId) @@ -2040,14 +2037,11 @@ HAL_StatusTypeDef HAL_NAND_RegisterCallback(NAND_HandleTypeDef *hnand, HAL_NAND_ status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(hnand); - return status; } /** * @brief Unregister a User NAND Callback - * NAND Callback is redirected to the weak (surcharged) predefined callback + * NAND Callback is redirected to the weak predefined callback * @param hnand : NAND handle * @param CallbackId : ID of the callback to be unregistered * This parameter can be one of the following values: @@ -2060,9 +2054,6 @@ HAL_StatusTypeDef HAL_NAND_UnRegisterCallback(NAND_HandleTypeDef *hnand, HAL_NAN { HAL_StatusTypeDef status = HAL_OK; - /* Process locked */ - __HAL_LOCK(hnand); - if (hnand->State == HAL_NAND_STATE_READY) { switch (CallbackId) @@ -2104,9 +2095,6 @@ HAL_StatusTypeDef HAL_NAND_UnRegisterCallback(NAND_HandleTypeDef *hnand, HAL_NAN status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(hnand); - return status; } #endif /* USE_HAL_NAND_REGISTER_CALLBACKS */ @@ -2256,7 +2244,7 @@ HAL_StatusTypeDef HAL_NAND_GetECC(NAND_HandleTypeDef *hnand, uint32_t *ECCval, * the configuration information for NAND module. * @retval HAL state */ -HAL_NAND_StateTypeDef HAL_NAND_GetState(NAND_HandleTypeDef *hnand) +HAL_NAND_StateTypeDef HAL_NAND_GetState(const NAND_HandleTypeDef *hnand) { return hnand->State; } @@ -2267,7 +2255,7 @@ HAL_NAND_StateTypeDef HAL_NAND_GetState(NAND_HandleTypeDef *hnand) * the configuration information for NAND module. * @retval NAND status */ -uint32_t HAL_NAND_Read_Status(NAND_HandleTypeDef *hnand) +uint32_t HAL_NAND_Read_Status(const NAND_HandleTypeDef *hnand) { uint32_t data; uint32_t deviceaddress; @@ -2323,5 +2311,3 @@ uint32_t HAL_NAND_Read_Status(NAND_HandleTypeDef *hnand) */ #endif /* FSMC_BANK3 */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_nor.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_nor.c index ad2d82c..7552e59 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_nor.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_nor.c @@ -6,6 +6,17 @@ * This file provides a generic firmware to drive NOR memories mounted * as external device. * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -55,25 +66,25 @@ The compilation define USE_HAL_NOR_REGISTER_CALLBACKS when set to 1 allows the user to configure dynamically the driver callbacks. - Use Functions @ref HAL_NOR_RegisterCallback() to register a user callback, + Use Functions HAL_NOR_RegisterCallback() to register a user callback, it allows to register following callbacks: (+) MspInitCallback : NOR MspInit. (+) MspDeInitCallback : NOR MspDeInit. This function takes as parameters the HAL peripheral handle, the Callback ID and a pointer to the user callback function. - Use function @ref HAL_NOR_UnRegisterCallback() to reset a callback to the default - weak (surcharged) function. It allows to reset following callbacks: + Use function HAL_NOR_UnRegisterCallback() to reset a callback to the default + weak (overridden) function. It allows to reset following callbacks: (+) MspInitCallback : NOR MspInit. (+) MspDeInitCallback : NOR MspDeInit. This function) takes as parameters the HAL peripheral handle and the Callback ID. - By default, after the @ref HAL_NOR_Init and if the state is HAL_NOR_STATE_RESET - all callbacks are reset to the corresponding legacy weak (surcharged) functions. + By default, after the HAL_NOR_Init and if the state is HAL_NOR_STATE_RESET + all callbacks are reset to the corresponding legacy weak (overridden) functions. Exception done for MspInit and MspDeInit callbacks that are respectively - reset to the legacy weak (surcharged) functions in the @ref HAL_NOR_Init - and @ref HAL_NOR_DeInit only when these callbacks are null (not registered beforehand). - If not, MspInit or MspDeInit are not null, the @ref HAL_NOR_Init and @ref HAL_NOR_DeInit + reset to the legacy weak (overridden) functions in the HAL_NOR_Init + and HAL_NOR_DeInit only when these callbacks are null (not registered beforehand). + If not, MspInit or MspDeInit are not null, the HAL_NOR_Init and HAL_NOR_DeInit keep and use the user MspInit/MspDeInit callbacks (registered beforehand) Callbacks can be registered/unregistered in READY state only. @@ -81,32 +92,21 @@ in READY or RESET state, thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit. In that case first register the MspInit/MspDeInit user callbacks - using @ref HAL_NOR_RegisterCallback before calling @ref HAL_NOR_DeInit - or @ref HAL_NOR_Init function. + using HAL_NOR_RegisterCallback before calling HAL_NOR_DeInit + or HAL_NOR_Init function. When The compilation define USE_HAL_NOR_REGISTER_CALLBACKS is set to 0 or not defined, the callback registering feature is not available - and weak (surcharged) callbacks are used. + and weak (overridden) callbacks are used. @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ #include "stm32f1xx_hal.h" -#if defined(FSMC_BANK1) +#if defined(FSMC_BANK1) /** @addtogroup STM32F1xx_HAL_Driver * @{ @@ -127,6 +127,11 @@ */ /* Constants to define address to set to write a command */ +#define NOR_CMD_ADDRESS_FIRST_BYTE (uint16_t)0x0AAA +#define NOR_CMD_ADDRESS_FIRST_CFI_BYTE (uint16_t)0x00AA +#define NOR_CMD_ADDRESS_SECOND_BYTE (uint16_t)0x0555 +#define NOR_CMD_ADDRESS_THIRD_BYTE (uint16_t)0x0AAA + #define NOR_CMD_ADDRESS_FIRST (uint16_t)0x0555 #define NOR_CMD_ADDRESS_FIRST_CFI (uint16_t)0x0055 #define NOR_CMD_ADDRESS_SECOND (uint16_t)0x02AA @@ -230,6 +235,7 @@ HAL_StatusTypeDef HAL_NOR_Init(NOR_HandleTypeDef *hnor, FSMC_NORSRAM_TimingTypeD FSMC_NORSRAM_TimingTypeDef *ExtTiming) { uint32_t deviceaddress; + HAL_StatusTypeDef status = HAL_OK; /* Check the NOR handle parameter */ if (hnor == NULL) @@ -263,7 +269,8 @@ HAL_StatusTypeDef HAL_NOR_Init(NOR_HandleTypeDef *hnor, FSMC_NORSRAM_TimingTypeD (void)FSMC_NORSRAM_Timing_Init(hnor->Instance, Timing, hnor->Init.NSBank); /* Initialize NOR extended mode timing Interface */ - (void)FSMC_NORSRAM_Extended_Timing_Init(hnor->Extended, ExtTiming, hnor->Init.NSBank, hnor->Init.ExtendedMode); + (void)FSMC_NORSRAM_Extended_Timing_Init(hnor->Extended, ExtTiming, + hnor->Init.NSBank, hnor->Init.ExtendedMode); /* Enable the NORSRAM device */ __FSMC_NORSRAM_ENABLE(hnor->Instance, hnor->Init.NSBank); @@ -299,11 +306,32 @@ HAL_StatusTypeDef HAL_NOR_Init(NOR_HandleTypeDef *hnor, FSMC_NORSRAM_TimingTypeD deviceaddress = NOR_MEMORY_ADRESS4; } - /* Get the value of the command set */ - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_DATA_CFI); - hnor->CommandSet = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_ADDRESS_COMMAND_SET); + if (hnor->Init.WriteOperation == FSMC_WRITE_OPERATION_DISABLE) + { + (void)FSMC_NORSRAM_WriteOperation_Disable(hnor->Instance, hnor->Init.NSBank); - return HAL_NOR_ReturnToReadMode(hnor); + /* Update the NOR controller state */ + hnor->State = HAL_NOR_STATE_PROTECTED; + } + else + { + /* Get the value of the command set */ + if (uwNORMemoryDataWidth == NOR_MEMORY_8B) + { + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI_BYTE), + NOR_CMD_DATA_CFI); + } + else + { + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_DATA_CFI); + } + + hnor->CommandSet = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_ADDRESS_COMMAND_SET); + + status = HAL_NOR_ReturnToReadMode(hnor); + } + + return status; } /** @@ -426,7 +454,11 @@ HAL_StatusTypeDef HAL_NOR_Read_ID(NOR_HandleTypeDef *hnor, NOR_IDTypeDef *pNOR_I { return HAL_BUSY; } - else if ((state == HAL_NOR_STATE_READY) || (state == HAL_NOR_STATE_PROTECTED)) + else if (state == HAL_NOR_STATE_PROTECTED) + { + return HAL_ERROR; + } + else if (state == HAL_NOR_STATE_READY) { /* Process Locked */ __HAL_LOCK(hnor); @@ -455,9 +487,22 @@ HAL_StatusTypeDef HAL_NOR_Read_ID(NOR_HandleTypeDef *hnor, NOR_IDTypeDef *pNOR_I /* Send read ID command */ if (hnor->CommandSet == NOR_AMD_FUJITSU_COMMAND_SET) { - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST), NOR_CMD_DATA_FIRST); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND), NOR_CMD_DATA_SECOND); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD), NOR_CMD_DATA_AUTO_SELECT); + if (uwNORMemoryDataWidth == NOR_MEMORY_8B) + { + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_BYTE), + NOR_CMD_DATA_FIRST); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND_BYTE), + NOR_CMD_DATA_SECOND); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD_BYTE), + NOR_CMD_DATA_AUTO_SELECT); + } + else + { + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST), NOR_CMD_DATA_FIRST); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND), NOR_CMD_DATA_SECOND); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD), + NOR_CMD_DATA_AUTO_SELECT); + } } else if (hnor->CommandSet == NOR_INTEL_SHARP_EXT_COMMAND_SET) { @@ -513,7 +558,11 @@ HAL_StatusTypeDef HAL_NOR_ReturnToReadMode(NOR_HandleTypeDef *hnor) { return HAL_BUSY; } - else if ((state == HAL_NOR_STATE_READY) || (state == HAL_NOR_STATE_PROTECTED)) + else if (state == HAL_NOR_STATE_PROTECTED) + { + return HAL_ERROR; + } + else if (state == HAL_NOR_STATE_READY) { /* Process Locked */ __HAL_LOCK(hnor); @@ -587,7 +636,11 @@ HAL_StatusTypeDef HAL_NOR_Read(NOR_HandleTypeDef *hnor, uint32_t *pAddress, uint { return HAL_BUSY; } - else if ((state == HAL_NOR_STATE_READY) || (state == HAL_NOR_STATE_PROTECTED)) + else if (state == HAL_NOR_STATE_PROTECTED) + { + return HAL_ERROR; + } + else if (state == HAL_NOR_STATE_READY) { /* Process Locked */ __HAL_LOCK(hnor); @@ -616,9 +669,22 @@ HAL_StatusTypeDef HAL_NOR_Read(NOR_HandleTypeDef *hnor, uint32_t *pAddress, uint /* Send read data command */ if (hnor->CommandSet == NOR_AMD_FUJITSU_COMMAND_SET) { - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST), NOR_CMD_DATA_FIRST); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND), NOR_CMD_DATA_SECOND); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD), NOR_CMD_DATA_READ_RESET); + if (uwNORMemoryDataWidth == NOR_MEMORY_8B) + { + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_BYTE), + NOR_CMD_DATA_FIRST); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND_BYTE), + NOR_CMD_DATA_SECOND); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD_BYTE), + NOR_CMD_DATA_READ_RESET); + } + else + { + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST), NOR_CMD_DATA_FIRST); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND), NOR_CMD_DATA_SECOND); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD), + NOR_CMD_DATA_READ_RESET); + } } else if (hnor->CommandSet == NOR_INTEL_SHARP_EXT_COMMAND_SET) { @@ -697,9 +763,21 @@ HAL_StatusTypeDef HAL_NOR_Program(NOR_HandleTypeDef *hnor, uint32_t *pAddress, u /* Send program data command */ if (hnor->CommandSet == NOR_AMD_FUJITSU_COMMAND_SET) { - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST), NOR_CMD_DATA_FIRST); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND), NOR_CMD_DATA_SECOND); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD), NOR_CMD_DATA_PROGRAM); + if (uwNORMemoryDataWidth == NOR_MEMORY_8B) + { + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_BYTE), + NOR_CMD_DATA_FIRST); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND_BYTE), + NOR_CMD_DATA_SECOND); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD_BYTE), + NOR_CMD_DATA_PROGRAM); + } + else + { + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST), NOR_CMD_DATA_FIRST); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND), NOR_CMD_DATA_SECOND); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD), NOR_CMD_DATA_PROGRAM); + } } else if (hnor->CommandSet == NOR_INTEL_SHARP_EXT_COMMAND_SET) { @@ -756,7 +834,11 @@ HAL_StatusTypeDef HAL_NOR_ReadBuffer(NOR_HandleTypeDef *hnor, uint32_t uwAddress { return HAL_BUSY; } - else if ((state == HAL_NOR_STATE_READY) || (state == HAL_NOR_STATE_PROTECTED)) + else if (state == HAL_NOR_STATE_PROTECTED) + { + return HAL_ERROR; + } + else if (state == HAL_NOR_STATE_READY) { /* Process Locked */ __HAL_LOCK(hnor); @@ -785,9 +867,22 @@ HAL_StatusTypeDef HAL_NOR_ReadBuffer(NOR_HandleTypeDef *hnor, uint32_t uwAddress /* Send read data command */ if (hnor->CommandSet == NOR_AMD_FUJITSU_COMMAND_SET) { - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST), NOR_CMD_DATA_FIRST); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND), NOR_CMD_DATA_SECOND); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD), NOR_CMD_DATA_READ_RESET); + if (uwNORMemoryDataWidth == NOR_MEMORY_8B) + { + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_BYTE), + NOR_CMD_DATA_FIRST); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND_BYTE), + NOR_CMD_DATA_SECOND); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD_BYTE), + NOR_CMD_DATA_READ_RESET); + } + else + { + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST), NOR_CMD_DATA_FIRST); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND), NOR_CMD_DATA_SECOND); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD), + NOR_CMD_DATA_READ_RESET); + } } else if (hnor->CommandSet == NOR_INTEL_SHARP_EXT_COMMAND_SET) { @@ -880,10 +975,20 @@ HAL_StatusTypeDef HAL_NOR_ProgramBuffer(NOR_HandleTypeDef *hnor, uint32_t uwAddr if (hnor->CommandSet == NOR_AMD_FUJITSU_COMMAND_SET) { - /* Issue unlock command sequence */ - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST), NOR_CMD_DATA_FIRST); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND), NOR_CMD_DATA_SECOND); - + if (uwNORMemoryDataWidth == NOR_MEMORY_8B) + { + /* Issue unlock command sequence */ + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_BYTE), + NOR_CMD_DATA_FIRST); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND_BYTE), + NOR_CMD_DATA_SECOND); + } + else + { + /* Issue unlock command sequence */ + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST), NOR_CMD_DATA_FIRST); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND), NOR_CMD_DATA_SECOND); + } /* Write Buffer Load Command */ NOR_WRITE((deviceaddress + uwAddress), NOR_CMD_DATA_BUFFER_AND_PROG); NOR_WRITE((deviceaddress + uwAddress), (uint16_t)(uwBufferSize - 1U)); @@ -983,14 +1088,26 @@ HAL_StatusTypeDef HAL_NOR_Erase_Block(NOR_HandleTypeDef *hnor, uint32_t BlockAdd /* Send block erase command sequence */ if (hnor->CommandSet == NOR_AMD_FUJITSU_COMMAND_SET) { - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST), NOR_CMD_DATA_FIRST); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND), NOR_CMD_DATA_SECOND); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD), - NOR_CMD_DATA_CHIP_BLOCK_ERASE_THIRD); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FOURTH), - NOR_CMD_DATA_CHIP_BLOCK_ERASE_FOURTH); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIFTH), - NOR_CMD_DATA_CHIP_BLOCK_ERASE_FIFTH); + if (uwNORMemoryDataWidth == NOR_MEMORY_8B) + { + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_BYTE), + NOR_CMD_DATA_FIRST); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND_BYTE), + NOR_CMD_DATA_SECOND); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD_BYTE), + NOR_CMD_DATA_CHIP_BLOCK_ERASE_THIRD); + } + else + { + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST), NOR_CMD_DATA_FIRST); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND), NOR_CMD_DATA_SECOND); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD), + NOR_CMD_DATA_CHIP_BLOCK_ERASE_THIRD); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FOURTH), + NOR_CMD_DATA_CHIP_BLOCK_ERASE_FOURTH); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIFTH), + NOR_CMD_DATA_CHIP_BLOCK_ERASE_FIFTH); + } NOR_WRITE((uint32_t)(BlockAddress + Address), NOR_CMD_DATA_BLOCK_ERASE); } else if (hnor->CommandSet == NOR_INTEL_SHARP_EXT_COMMAND_SET) @@ -1068,15 +1185,28 @@ HAL_StatusTypeDef HAL_NOR_Erase_Chip(NOR_HandleTypeDef *hnor, uint32_t Address) /* Send NOR chip erase command sequence */ if (hnor->CommandSet == NOR_AMD_FUJITSU_COMMAND_SET) { - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST), NOR_CMD_DATA_FIRST); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND), NOR_CMD_DATA_SECOND); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD), - NOR_CMD_DATA_CHIP_BLOCK_ERASE_THIRD); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FOURTH), - NOR_CMD_DATA_CHIP_BLOCK_ERASE_FOURTH); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIFTH), - NOR_CMD_DATA_CHIP_BLOCK_ERASE_FIFTH); - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SIXTH), NOR_CMD_DATA_CHIP_ERASE); + if (uwNORMemoryDataWidth == NOR_MEMORY_8B) + { + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_BYTE), + NOR_CMD_DATA_FIRST); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND_BYTE), + NOR_CMD_DATA_SECOND); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD_BYTE), + NOR_CMD_DATA_CHIP_BLOCK_ERASE_THIRD); + } + else + { + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST), NOR_CMD_DATA_FIRST); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SECOND), NOR_CMD_DATA_SECOND); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_THIRD), + NOR_CMD_DATA_CHIP_BLOCK_ERASE_THIRD); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FOURTH), + NOR_CMD_DATA_CHIP_BLOCK_ERASE_FOURTH); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIFTH), + NOR_CMD_DATA_CHIP_BLOCK_ERASE_FIFTH); + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_SIXTH), + NOR_CMD_DATA_CHIP_ERASE); + } } else { @@ -1116,7 +1246,11 @@ HAL_StatusTypeDef HAL_NOR_Read_CFI(NOR_HandleTypeDef *hnor, NOR_CFITypeDef *pNOR { return HAL_BUSY; } - else if ((state == HAL_NOR_STATE_READY) || (state == HAL_NOR_STATE_PROTECTED)) + else if (state == HAL_NOR_STATE_PROTECTED) + { + return HAL_ERROR; + } + else if (state == HAL_NOR_STATE_READY) { /* Process Locked */ __HAL_LOCK(hnor); @@ -1143,8 +1277,15 @@ HAL_StatusTypeDef HAL_NOR_Read_CFI(NOR_HandleTypeDef *hnor, NOR_CFITypeDef *pNOR } /* Send read CFI query command */ - NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_DATA_CFI); - + if (uwNORMemoryDataWidth == NOR_MEMORY_8B) + { + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI_BYTE), + NOR_CMD_DATA_CFI); + } + else + { + NOR_WRITE(NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, NOR_CMD_ADDRESS_FIRST_CFI), NOR_CMD_DATA_CFI); + } /* read the NOR CFI information */ pNOR_CFI->CFI_1 = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, CFI1_ADDRESS); pNOR_CFI->CFI_2 = *(__IO uint16_t *) NOR_ADDR_SHIFT(deviceaddress, uwNORMemoryDataWidth, CFI2_ADDRESS); @@ -1168,7 +1309,7 @@ HAL_StatusTypeDef HAL_NOR_Read_CFI(NOR_HandleTypeDef *hnor, NOR_CFITypeDef *pNOR #if (USE_HAL_NOR_REGISTER_CALLBACKS == 1) /** * @brief Register a User NOR Callback - * To be used instead of the weak (surcharged) predefined callback + * To be used to override the weak predefined callback * @param hnor : NOR handle * @param CallbackId : ID of the callback to be registered * This parameter can be one of the following values: @@ -1188,9 +1329,6 @@ HAL_StatusTypeDef HAL_NOR_RegisterCallback(NOR_HandleTypeDef *hnor, HAL_NOR_Call return HAL_ERROR; } - /* Process locked */ - __HAL_LOCK(hnor); - state = hnor->State; if ((state == HAL_NOR_STATE_READY) || (state == HAL_NOR_STATE_RESET) || (state == HAL_NOR_STATE_PROTECTED)) { @@ -1214,14 +1352,12 @@ HAL_StatusTypeDef HAL_NOR_RegisterCallback(NOR_HandleTypeDef *hnor, HAL_NOR_Call status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(hnor); return status; } /** * @brief Unregister a User NOR Callback - * NOR Callback is redirected to the weak (surcharged) predefined callback + * NOR Callback is redirected to the weak predefined callback * @param hnor : NOR handle * @param CallbackId : ID of the callback to be unregistered * This parameter can be one of the following values: @@ -1234,9 +1370,6 @@ HAL_StatusTypeDef HAL_NOR_UnRegisterCallback(NOR_HandleTypeDef *hnor, HAL_NOR_Ca HAL_StatusTypeDef status = HAL_OK; HAL_NOR_StateTypeDef state; - /* Process locked */ - __HAL_LOCK(hnor); - state = hnor->State; if ((state == HAL_NOR_STATE_READY) || (state == HAL_NOR_STATE_RESET) || (state == HAL_NOR_STATE_PROTECTED)) { @@ -1260,8 +1393,6 @@ HAL_StatusTypeDef HAL_NOR_UnRegisterCallback(NOR_HandleTypeDef *hnor, HAL_NOR_Ca status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(hnor); return status; } #endif /* (USE_HAL_NOR_REGISTER_CALLBACKS) */ @@ -1378,7 +1509,7 @@ HAL_StatusTypeDef HAL_NOR_WriteOperation_Disable(NOR_HandleTypeDef *hnor) * the configuration information for NOR module. * @retval NOR controller state */ -HAL_NOR_StateTypeDef HAL_NOR_GetState(NOR_HandleTypeDef *hnor) +HAL_NOR_StateTypeDef HAL_NOR_GetState(const NOR_HandleTypeDef *hnor) { return hnor->State; } @@ -1508,5 +1639,3 @@ HAL_NOR_StatusTypeDef HAL_NOR_GetStatus(NOR_HandleTypeDef *hnor, uint32_t Addres */ #endif /* FSMC_BANK1 */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pccard.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pccard.c index 2556d81..ec246b4 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pccard.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pccard.c @@ -6,6 +6,17 @@ * This file provides a generic firmware to drive PCCARD memories mounted * as external device. * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim =============================================================================== ##### How to use this driver ##### @@ -50,25 +61,25 @@ The compilation define USE_HAL_PCCARD_REGISTER_CALLBACKS when set to 1 allows the user to configure dynamically the driver callbacks. - Use Functions @ref HAL_PCCARD_RegisterCallback() to register a user callback, + Use Functions HAL_PCCARD_RegisterCallback() to register a user callback, it allows to register following callbacks: (+) MspInitCallback : PCCARD MspInit. (+) MspDeInitCallback : PCCARD MspDeInit. This function takes as parameters the HAL peripheral handle, the Callback ID and a pointer to the user callback function. - Use function @ref HAL_PCCARD_UnRegisterCallback() to reset a callback to the default + Use function HAL_PCCARD_UnRegisterCallback() to reset a callback to the default weak (surcharged) function. It allows to reset following callbacks: (+) MspInitCallback : PCCARD MspInit. (+) MspDeInitCallback : PCCARD MspDeInit. This function) takes as parameters the HAL peripheral handle and the Callback ID. - By default, after the @ref HAL_PCCARD_Init and if the state is HAL_PCCARD_STATE_RESET + By default, after the HAL_PCCARD_Init and if the state is HAL_PCCARD_STATE_RESET all callbacks are reset to the corresponding legacy weak (surcharged) functions. Exception done for MspInit and MspDeInit callbacks that are respectively - reset to the legacy weak (surcharged) functions in the @ref HAL_PCCARD_Init - and @ref HAL_PCCARD_DeInit only when these callbacks are null (not registered beforehand). - If not, MspInit or MspDeInit are not null, the @ref HAL_PCCARD_Init and @ref HAL_PCCARD_DeInit + reset to the legacy weak (surcharged) functions in the HAL_PCCARD_Init + and HAL_PCCARD_DeInit only when these callbacks are null (not registered beforehand). + If not, MspInit or MspDeInit are not null, the HAL_PCCARD_Init and HAL_PCCARD_DeInit keep and use the user MspInit/MspDeInit callbacks (registered beforehand) Callbacks can be registered/unregistered in READY state only. @@ -76,8 +87,8 @@ in READY or RESET state, thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit. In that case first register the MspInit/MspDeInit user callbacks - using @ref HAL_PCCARD_RegisterCallback before calling @ref HAL_PCCARD_DeInit - or @ref HAL_PCCARD_Init function. + using HAL_PCCARD_RegisterCallback before calling HAL_PCCARD_DeInit + or HAL_PCCARD_Init function. When The compilation define USE_HAL_PCCARD_REGISTER_CALLBACKS is set to 0 or not defined, the callback registering feature is not available @@ -85,17 +96,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -944,5 +944,3 @@ HAL_PCCARD_StatusTypeDef HAL_PCCARD_ReadStatus(PCCARD_HandleTypeDef *hpccard) */ #endif /* FSMC_BANK4 */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c index fc1645c..e01efe5 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd.c @@ -10,6 +10,17 @@ * + Peripheral Control functions * + Peripheral State functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -26,7 +37,8 @@ (#) Initialize the PCD low level resources through the HAL_PCD_MspInit() API: (##) Enable the PCD/USB Low Level interface clock using - (+++) __HAL_RCC_USB_CLK_ENABLE(); For USB Device only FS peripheral + (+++) __HAL_RCC_USB_CLK_ENABLE(); For USB Device FS peripheral + (+++) __HAL_RCC_USB_OTG_FS_CLK_ENABLE(); (##) Initialize the related GPIO clocks (##) Configure PCD pin-out @@ -40,17 +52,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -94,8 +95,10 @@ static HAL_StatusTypeDef PCD_EP_OutSetupPacket_int(PCD_HandleTypeDef *hpcd, uint #if defined (USB) static HAL_StatusTypeDef PCD_EP_ISR_Handler(PCD_HandleTypeDef *hpcd); +#if (USE_USB_DOUBLE_BUFFER == 1U) static HAL_StatusTypeDef HAL_PCD_EP_DB_Transmit(PCD_HandleTypeDef *hpcd, PCD_EPTypeDef *ep, uint16_t wEPVal); static uint16_t HAL_PCD_EP_DB_Receive(PCD_HandleTypeDef *hpcd, PCD_EPTypeDef *ep, uint16_t wEPVal); +#endif /* (USE_USB_DOUBLE_BUFFER == 1U) */ #endif /* defined (USB) */ /** * @} @@ -205,7 +208,9 @@ HAL_StatusTypeDef HAL_PCD_Init(PCD_HandleTypeDef *hpcd) /* Init ep structure */ hpcd->IN_ep[i].is_in = 1U; hpcd->IN_ep[i].num = i; +#if defined (USB_OTG_FS) hpcd->IN_ep[i].tx_fifo_num = i; +#endif /* defined (USB_OTG_FS) */ /* Control until ep is activated */ hpcd->IN_ep[i].type = EP_TYPE_CTRL; hpcd->IN_ep[i].maxpacket = 0U; @@ -320,7 +325,7 @@ __weak void HAL_PCD_MspDeInit(PCD_HandleTypeDef *hpcd) * @arg @ref HAL_PCD_SUSPEND_CB_ID USB PCD Suspend callback ID * @arg @ref HAL_PCD_RESUME_CB_ID USB PCD Resume callback ID * @arg @ref HAL_PCD_CONNECT_CB_ID USB PCD Connect callback ID - * @arg @ref HAL_PCD_DISCONNECT_CB_ID OTG PCD Disconnect callback ID + * @arg @ref HAL_PCD_DISCONNECT_CB_ID USB PCD Disconnect callback ID * @arg @ref HAL_PCD_MSPINIT_CB_ID MspDeInit callback ID * @arg @ref HAL_PCD_MSPDEINIT_CB_ID MspDeInit callback ID * @param pCallback pointer to the Callback function @@ -424,7 +429,7 @@ HAL_StatusTypeDef HAL_PCD_RegisterCallback(PCD_HandleTypeDef *hpcd, /** * @brief Unregister an USB PCD Callback - * USB PCD callabck is redirected to the weak predefined callback + * USB PCD callback is redirected to the weak predefined callback * @param hpcd USB PCD handle * @param CallbackID ID of the callback to be unregistered * This parameter can be one of the following values: @@ -434,7 +439,7 @@ HAL_StatusTypeDef HAL_PCD_RegisterCallback(PCD_HandleTypeDef *hpcd, * @arg @ref HAL_PCD_SUSPEND_CB_ID USB PCD Suspend callback ID * @arg @ref HAL_PCD_RESUME_CB_ID USB PCD Resume callback ID * @arg @ref HAL_PCD_CONNECT_CB_ID USB PCD Connect callback ID - * @arg @ref HAL_PCD_DISCONNECT_CB_ID OTG PCD Disconnect callback ID + * @arg @ref HAL_PCD_DISCONNECT_CB_ID USB PCD Disconnect callback ID * @arg @ref HAL_PCD_MSPINIT_CB_ID MspDeInit callback ID * @arg @ref HAL_PCD_MSPDEINIT_CB_ID MspDeInit callback ID * @retval HAL status @@ -911,7 +916,7 @@ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) uint32_t epint; uint32_t epnum; uint32_t fifoemptymsk; - uint32_t temp; + uint32_t RegVal; /* ensure that we are in device mode */ if (USB_GetMode(hpcd->Instance) == USB_OTG_MODE_DEVICE) @@ -922,6 +927,9 @@ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) return; } + /* store current frame number */ + hpcd->FrameNumber = (USBx_DEVICE->DSTS & USB_OTG_DSTS_FNSOF_Msk) >> USB_OTG_DSTS_FNSOF_Pos; + if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_MMIS)) { /* incorrect mode, acknowledge the interrupt */ @@ -933,30 +941,31 @@ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) { USB_MASK_INTERRUPT(hpcd->Instance, USB_OTG_GINTSTS_RXFLVL); - temp = USBx->GRXSTSP; + RegVal = USBx->GRXSTSP; - ep = &hpcd->OUT_ep[temp & USB_OTG_GRXSTSP_EPNUM]; + ep = &hpcd->OUT_ep[RegVal & USB_OTG_GRXSTSP_EPNUM]; - if (((temp & USB_OTG_GRXSTSP_PKTSTS) >> 17) == STS_DATA_UPDT) + if (((RegVal & USB_OTG_GRXSTSP_PKTSTS) >> 17) == STS_DATA_UPDT) { - if ((temp & USB_OTG_GRXSTSP_BCNT) != 0U) + if ((RegVal & USB_OTG_GRXSTSP_BCNT) != 0U) { (void)USB_ReadPacket(USBx, ep->xfer_buff, - (uint16_t)((temp & USB_OTG_GRXSTSP_BCNT) >> 4)); + (uint16_t)((RegVal & USB_OTG_GRXSTSP_BCNT) >> 4)); - ep->xfer_buff += (temp & USB_OTG_GRXSTSP_BCNT) >> 4; - ep->xfer_count += (temp & USB_OTG_GRXSTSP_BCNT) >> 4; + ep->xfer_buff += (RegVal & USB_OTG_GRXSTSP_BCNT) >> 4; + ep->xfer_count += (RegVal & USB_OTG_GRXSTSP_BCNT) >> 4; } } - else if (((temp & USB_OTG_GRXSTSP_PKTSTS) >> 17) == STS_SETUP_UPDT) + else if (((RegVal & USB_OTG_GRXSTSP_PKTSTS) >> 17) == STS_SETUP_UPDT) { (void)USB_ReadPacket(USBx, (uint8_t *)hpcd->Setup, 8U); - ep->xfer_count += (temp & USB_OTG_GRXSTSP_BCNT) >> 4; + ep->xfer_count += (RegVal & USB_OTG_GRXSTSP_BCNT) >> 4; } else { /* ... */ } + USB_UNMASK_INTERRUPT(hpcd->Instance, USB_OTG_GINTSTS_RXFLVL); } @@ -991,6 +1000,30 @@ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_OTEPDIS); } + /* Clear OUT Endpoint disable interrupt */ + if ((epint & USB_OTG_DOEPINT_EPDISD) == USB_OTG_DOEPINT_EPDISD) + { + if ((USBx->GINTSTS & USB_OTG_GINTSTS_BOUTNAKEFF) == USB_OTG_GINTSTS_BOUTNAKEFF) + { + USBx_DEVICE->DCTL |= USB_OTG_DCTL_CGONAK; + } + + ep = &hpcd->OUT_ep[epnum]; + + if (ep->is_iso_incomplete == 1U) + { + ep->is_iso_incomplete = 0U; + +#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) + hpcd->ISOOUTIncompleteCallback(hpcd, (uint8_t)epnum); +#else + HAL_PCD_ISOOUTIncompleteCallback(hpcd, (uint8_t)epnum); +#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ + } + + CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_EPDISD); + } + /* Clear Status Phase Received interrupt */ if ((epint & USB_OTG_DOEPINT_OTEPSPR) == USB_OTG_DOEPINT_OTEPSPR) { @@ -1048,6 +1081,21 @@ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) } if ((epint & USB_OTG_DIEPINT_EPDISD) == USB_OTG_DIEPINT_EPDISD) { + (void)USB_FlushTxFifo(USBx, epnum); + + ep = &hpcd->IN_ep[epnum]; + + if (ep->is_iso_incomplete == 1U) + { + ep->is_iso_incomplete = 0U; + +#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) + hpcd->ISOINIncompleteCallback(hpcd, (uint8_t)epnum); +#else + HAL_PCD_ISOINIncompleteCallback(hpcd, (uint8_t)epnum); +#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ + } + CLEAR_IN_EP_INTR(epnum, USB_OTG_DIEPINT_EPDISD); } if ((epint & USB_OTG_DIEPINT_TXFE) == USB_OTG_DIEPINT_TXFE) @@ -1098,7 +1146,6 @@ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) { USBx_INEP(i)->DIEPINT = 0xFB7FU; USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; - USBx_INEP(i)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK; USBx_OUTEP(i)->DOEPINT = 0xFB7FU; USBx_OUTEP(i)->DOEPCTL &= ~USB_OTG_DOEPCTL_STALL; USBx_OUTEP(i)->DOEPCTL |= USB_OTG_DOEPCTL_SNAK; @@ -1169,18 +1216,37 @@ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_SOF); } + /* Handle Global OUT NAK effective Interrupt */ + if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_BOUTNAKEFF)) + { + USBx->GINTMSK &= ~USB_OTG_GINTMSK_GONAKEFFM; + + for (epnum = 1U; epnum < hpcd->Init.dev_endpoints; epnum++) + { + if (hpcd->OUT_ep[epnum].is_iso_incomplete == 1U) + { + /* Abort current transaction and disable the EP */ + (void)HAL_PCD_EP_Abort(hpcd, (uint8_t)epnum); + } + } + } + /* Handle Incomplete ISO IN Interrupt */ if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_IISOIXFR)) { - /* Keep application checking the corresponding Iso IN endpoint - causing the incomplete Interrupt */ - epnum = 0U; + for (epnum = 1U; epnum < hpcd->Init.dev_endpoints; epnum++) + { + RegVal = USBx_INEP(epnum)->DIEPCTL; -#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) - hpcd->ISOINIncompleteCallback(hpcd, (uint8_t)epnum); -#else - HAL_PCD_ISOINIncompleteCallback(hpcd, (uint8_t)epnum); -#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ + if ((hpcd->IN_ep[epnum].type == EP_TYPE_ISOC) && + ((RegVal & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA)) + { + hpcd->IN_ep[epnum].is_iso_incomplete = 1U; + + /* Abort current transaction and disable the EP */ + (void)HAL_PCD_EP_Abort(hpcd, (uint8_t)(epnum | 0x80U)); + } + } __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_IISOIXFR); } @@ -1188,15 +1254,25 @@ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) /* Handle Incomplete ISO OUT Interrupt */ if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_PXFR_INCOMPISOOUT)) { - /* Keep application checking the corresponding Iso OUT endpoint - causing the incomplete Interrupt */ - epnum = 0U; + for (epnum = 1U; epnum < hpcd->Init.dev_endpoints; epnum++) + { + RegVal = USBx_OUTEP(epnum)->DOEPCTL; -#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) - hpcd->ISOOUTIncompleteCallback(hpcd, (uint8_t)epnum); -#else - HAL_PCD_ISOOUTIncompleteCallback(hpcd, (uint8_t)epnum); -#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ + if ((hpcd->OUT_ep[epnum].type == EP_TYPE_ISOC) && + ((RegVal & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA) && + ((RegVal & (0x1U << 16)) == (hpcd->FrameNumber & 0x1U))) + { + hpcd->OUT_ep[epnum].is_iso_incomplete = 1U; + + USBx->GINTMSK |= USB_OTG_GINTMSK_GONAKEFFM; + + if ((USBx->GINTSTS & USB_OTG_GINTSTS_BOUTNAKEFF) == 0U) + { + USBx_DEVICE->DCTL |= USB_OTG_DCTL_SGONAK; + break; + } + } + } __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_PXFR_INCOMPISOOUT); } @@ -1216,9 +1292,9 @@ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) /* Handle Disconnection event Interrupt */ if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_OTGINT)) { - temp = hpcd->Instance->GOTGINT; + RegVal = hpcd->Instance->GOTGINT; - if ((temp & USB_OTG_GOTGINT_SEDET) == USB_OTG_GOTGINT_SEDET) + if ((RegVal & USB_OTG_GOTGINT_SEDET) == USB_OTG_GOTGINT_SEDET) { #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->DisconnectCallback(hpcd); @@ -1226,7 +1302,7 @@ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) HAL_PCD_DisconnectCallback(hpcd); #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ } - hpcd->Instance->GOTGINT |= temp; + hpcd->Instance->GOTGINT |= RegVal; } } } @@ -1252,17 +1328,20 @@ void HAL_PCD_WKUP_IRQHandler(PCD_HandleTypeDef *hpcd) */ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) { + uint32_t wIstr = USB_ReadInterrupts(hpcd->Instance); uint16_t store_ep[8]; uint8_t i; - if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_CTR)) + if ((wIstr & USB_ISTR_CTR) == USB_ISTR_CTR) { /* servicing of the endpoint correct transfer interrupt */ /* clear of the CTR flag into the sub */ (void)PCD_EP_ISR_Handler(hpcd); + + return; } - if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_RESET)) + if ((wIstr & USB_ISTR_RESET) == USB_ISTR_RESET) { __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_RESET); @@ -1273,19 +1352,25 @@ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ (void)HAL_PCD_SetAddress(hpcd, 0U); + + return; } - if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_PMAOVR)) + if ((wIstr & USB_ISTR_PMAOVR) == USB_ISTR_PMAOVR) { __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_PMAOVR); + + return; } - if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_ERR)) + if ((wIstr & USB_ISTR_ERR) == USB_ISTR_ERR) { __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_ERR); + + return; } - if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_WKUP)) + if ((wIstr & USB_ISTR_WKUP) == USB_ISTR_WKUP) { hpcd->Instance->CNTR &= (uint16_t) ~(USB_CNTR_LP_MODE); hpcd->Instance->CNTR &= (uint16_t) ~(USB_CNTR_FSUSP); @@ -1297,13 +1382,15 @@ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_WKUP); + + return; } - if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_SUSP)) + if ((wIstr & USB_ISTR_SUSP) == USB_ISTR_SUSP) { /* WA: To Clear Wakeup flag if raised with suspend signal */ - /* Store Endpoint register */ + /* Store Endpoint registers */ for (i = 0U; i < 8U; i++) { store_ep[i] = PCD_GET_ENDPOINT(hpcd->Instance, i); @@ -1342,9 +1429,11 @@ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) #else HAL_PCD_SuspendCallback(hpcd); #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ + + return; } - if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_SOF)) + if ((wIstr & USB_ISTR_SOF) == USB_ISTR_SOF) { __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_SOF); @@ -1353,12 +1442,16 @@ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) #else HAL_PCD_SOFCallback(hpcd); #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ + + return; } - if (__HAL_PCD_GET_FLAG(hpcd, USB_ISTR_ESOF)) + if ((wIstr & USB_ISTR_ESOF) == USB_ISTR_ESOF) { /* clear ESOF flag in ISTR */ __HAL_PCD_CLEAR_FLAG(hpcd, USB_ISTR_ESOF); + + return; } } @@ -1648,11 +1741,14 @@ HAL_StatusTypeDef HAL_PCD_EP_Open(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, ep->maxpacket = ep_mps; ep->type = ep_type; +#if defined (USB_OTG_FS) if (ep->is_in != 0U) { /* Assign a Tx FIFO */ ep->tx_fifo_num = ep->num; } +#endif /* defined (USB_OTG_FS) */ + /* Set initial data PID. */ if (ep_type == EP_TYPE_BULK) { @@ -1686,7 +1782,7 @@ HAL_StatusTypeDef HAL_PCD_EP_Close(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK]; ep->is_in = 0U; } - ep->num = ep_addr & EP_ADDR_MSK; + ep->num = ep_addr & EP_ADDR_MSK; __HAL_LOCK(hpcd); (void)USB_DeactivateEndpoint(hpcd->Instance, ep); @@ -1716,14 +1812,7 @@ HAL_StatusTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, u ep->is_in = 0U; ep->num = ep_addr & EP_ADDR_MSK; - if ((ep_addr & EP_ADDR_MSK) == 0U) - { - (void)USB_EP0StartXfer(hpcd->Instance, ep); - } - else - { - (void)USB_EPStartXfer(hpcd->Instance, ep); - } + (void)USB_EPStartXfer(hpcd->Instance, ep); return HAL_OK; } @@ -1734,7 +1823,7 @@ HAL_StatusTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, u * @param ep_addr endpoint address * @retval Data Size */ -uint32_t HAL_PCD_EP_GetRxCount(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) +uint32_t HAL_PCD_EP_GetRxCount(PCD_HandleTypeDef const *hpcd, uint8_t ep_addr) { return hpcd->OUT_ep[ep_addr & EP_ADDR_MSK].xfer_count; } @@ -1763,14 +1852,7 @@ HAL_StatusTypeDef HAL_PCD_EP_Transmit(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, ep->is_in = 1U; ep->num = ep_addr & EP_ADDR_MSK; - if ((ep_addr & EP_ADDR_MSK) == 0U) - { - (void)USB_EP0StartXfer(hpcd->Instance, ep); - } - else - { - (void)USB_EPStartXfer(hpcd->Instance, ep); - } + (void)USB_EPStartXfer(hpcd->Instance, ep); return HAL_OK; } @@ -1854,6 +1936,32 @@ HAL_StatusTypeDef HAL_PCD_EP_ClrStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) return HAL_OK; } +/** + * @brief Abort an USB EP transaction. + * @param hpcd PCD handle + * @param ep_addr endpoint address + * @retval HAL status + */ +HAL_StatusTypeDef HAL_PCD_EP_Abort(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) +{ + HAL_StatusTypeDef ret; + PCD_EPTypeDef *ep; + + if ((0x80U & ep_addr) == 0x80U) + { + ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK]; + } + else + { + ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK]; + } + + /* Stop Xfer */ + ret = USB_EPStopXfer(hpcd->Instance, ep); + + return ret; +} + /** * @brief Flush an endpoint * @param hpcd PCD handle @@ -1922,7 +2030,7 @@ HAL_StatusTypeDef HAL_PCD_DeActivateRemoteWakeup(PCD_HandleTypeDef *hpcd) * @param hpcd PCD handle * @retval HAL state */ -PCD_StateTypeDef HAL_PCD_GetState(PCD_HandleTypeDef *hpcd) +PCD_StateTypeDef HAL_PCD_GetState(PCD_HandleTypeDef const *hpcd) { return hpcd->State; } @@ -2085,9 +2193,16 @@ static HAL_StatusTypeDef PCD_EP_OutSetupPacket_int(PCD_HandleTypeDef *hpcd, uint static HAL_StatusTypeDef PCD_EP_ISR_Handler(PCD_HandleTypeDef *hpcd) { PCD_EPTypeDef *ep; - uint16_t count, wIstr, wEPVal, TxByteNbre; + uint16_t count; + uint16_t wIstr; + uint16_t wEPVal; + uint16_t TxPctSize; uint8_t epindex; +#if (USE_USB_DOUBLE_BUFFER != 1U) + count = 0U; +#endif /* USE_USB_DOUBLE_BUFFER */ + /* stay in loop while pending interrupts */ while ((hpcd->Instance->ISTR & USB_ISTR_CTR) != 0U) { @@ -2175,7 +2290,9 @@ static HAL_StatusTypeDef PCD_EP_ISR_Handler(PCD_HandleTypeDef *hpcd) #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ } - if ((PCD_GET_ENDPOINT(hpcd->Instance, PCD_ENDP0) & USB_EP_SETUP) == 0U) + wEPVal = (uint16_t)PCD_GET_ENDPOINT(hpcd->Instance, PCD_ENDP0); + + if (((wEPVal & USB_EP_SETUP) == 0U) && ((wEPVal & USB_EP_RX_STRX) != USB_EP_RX_VALID)) { PCD_SET_EP_RX_CNT(hpcd->Instance, PCD_ENDP0, ep->maxpacket); PCD_SET_EP_RX_STATUS(hpcd->Instance, PCD_ENDP0, USB_EP_RX_VALID); @@ -2205,6 +2322,7 @@ static HAL_StatusTypeDef PCD_EP_ISR_Handler(PCD_HandleTypeDef *hpcd) USB_ReadPMA(hpcd->Instance, ep->xfer_buff, ep->pmaadress, count); } } +#if (USE_USB_DOUBLE_BUFFER == 1U) else { /* manage double buffer bulk out */ @@ -2215,7 +2333,7 @@ static HAL_StatusTypeDef PCD_EP_ISR_Handler(PCD_HandleTypeDef *hpcd) else /* manage double buffer iso out */ { /* free EP OUT Buffer */ - PCD_FreeUserBuffer(hpcd->Instance, ep->num, 0U); + PCD_FREE_USER_BUFFER(hpcd->Instance, ep->num, 0U); if ((PCD_GET_ENDPOINT(hpcd->Instance, ep->num) & USB_EP_DTOG_RX) != 0U) { @@ -2239,6 +2357,8 @@ static HAL_StatusTypeDef PCD_EP_ISR_Handler(PCD_HandleTypeDef *hpcd) } } } +#endif /* (USE_USB_DOUBLE_BUFFER == 1U) */ + /* multi-packet on the NON control OUT endpoint */ ep->xfer_count += count; ep->xfer_buff += count; @@ -2254,9 +2374,8 @@ static HAL_StatusTypeDef PCD_EP_ISR_Handler(PCD_HandleTypeDef *hpcd) } else { - (void) USB_EPStartXfer(hpcd->Instance, ep); + (void)USB_EPStartXfer(hpcd->Instance, ep); } - } if ((wEPVal & USB_EP_CTR_TX) != 0U) @@ -2266,44 +2385,73 @@ static HAL_StatusTypeDef PCD_EP_ISR_Handler(PCD_HandleTypeDef *hpcd) /* clear int flag */ PCD_CLEAR_TX_EP_CTR(hpcd->Instance, epindex); - /* Manage all non bulk/isoc transaction Bulk Single Buffer Transaction */ - if ((ep->type == EP_TYPE_INTR) || (ep->type == EP_TYPE_CTRL) || - ((ep->type == EP_TYPE_BULK) && ((wEPVal & USB_EP_KIND) == 0U))) + if (ep->type == EP_TYPE_ISOC) { - /* multi-packet on the NON control IN endpoint */ - TxByteNbre = (uint16_t)PCD_GET_EP_TX_CNT(hpcd->Instance, ep->num); + ep->xfer_len = 0U; - if (ep->xfer_len > TxByteNbre) +#if (USE_USB_DOUBLE_BUFFER == 1U) + if (ep->doublebuffer != 0U) { - ep->xfer_len -= TxByteNbre; - } - else - { - ep->xfer_len = 0U; + if ((wEPVal & USB_EP_DTOG_TX) != 0U) + { + PCD_SET_EP_DBUF0_CNT(hpcd->Instance, ep->num, ep->is_in, 0U); + } + else + { + PCD_SET_EP_DBUF1_CNT(hpcd->Instance, ep->num, ep->is_in, 0U); + } } +#endif /* (USE_USB_DOUBLE_BUFFER == 1U) */ - /* Zero Length Packet? */ - if (ep->xfer_len == 0U) - { - /* TX COMPLETE */ + /* TX COMPLETE */ #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) - hpcd->DataInStageCallback(hpcd, ep->num); + hpcd->DataInStageCallback(hpcd, ep->num); #else - HAL_PCD_DataInStageCallback(hpcd, ep->num); + HAL_PCD_DataInStageCallback(hpcd, ep->num); #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ - } - else - { - /* Transfer is not yet Done */ - ep->xfer_buff += TxByteNbre; - ep->xfer_count += TxByteNbre; - (void)USB_EPStartXfer(hpcd->Instance, ep); - } } - /* Double Buffer Iso/bulk IN (bulk transfer Len > Ep_Mps) */ else { - (void)HAL_PCD_EP_DB_Transmit(hpcd, ep, wEPVal); + /* Manage Single Buffer Transaction */ + if ((wEPVal & USB_EP_KIND) == 0U) + { + /* multi-packet on the NON control IN endpoint */ + TxPctSize = (uint16_t)PCD_GET_EP_TX_CNT(hpcd->Instance, ep->num); + + if (ep->xfer_len > TxPctSize) + { + ep->xfer_len -= TxPctSize; + } + else + { + ep->xfer_len = 0U; + } + + /* Zero Length Packet? */ + if (ep->xfer_len == 0U) + { + /* TX COMPLETE */ +#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) + hpcd->DataInStageCallback(hpcd, ep->num); +#else + HAL_PCD_DataInStageCallback(hpcd, ep->num); +#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ + } + else + { + /* Transfer is not yet Done */ + ep->xfer_buff += TxPctSize; + ep->xfer_count += TxPctSize; + (void)USB_EPStartXfer(hpcd->Instance, ep); + } + } +#if (USE_USB_DOUBLE_BUFFER == 1U) + /* Double Buffer bulk IN (bulk transfer Len > Ep_Mps) */ + else + { + (void)HAL_PCD_EP_DB_Transmit(hpcd, ep, wEPVal); + } +#endif /* (USE_USB_DOUBLE_BUFFER == 1U) */ } } } @@ -2313,6 +2461,7 @@ static HAL_StatusTypeDef PCD_EP_ISR_Handler(PCD_HandleTypeDef *hpcd) } +#if (USE_USB_DOUBLE_BUFFER == 1U) /** * @brief Manage double buffer bulk out transaction from ISR * @param hpcd PCD handle @@ -2346,10 +2495,10 @@ static uint16_t HAL_PCD_EP_DB_Receive(PCD_HandleTypeDef *hpcd, PCD_SET_EP_RX_STATUS(hpcd->Instance, ep->num, USB_EP_RX_NAK); } - /* Check if Buffer1 is in blocked sate which requires to toggle */ + /* Check if Buffer1 is in blocked state which requires to toggle */ if ((wEPVal & USB_EP_DTOG_TX) != 0U) { - PCD_FreeUserBuffer(hpcd->Instance, ep->num, 0U); + PCD_FREE_USER_BUFFER(hpcd->Instance, ep->num, 0U); } if (count != 0U) @@ -2381,7 +2530,7 @@ static uint16_t HAL_PCD_EP_DB_Receive(PCD_HandleTypeDef *hpcd, /*Need to FreeUser Buffer*/ if ((wEPVal & USB_EP_DTOG_TX) == 0U) { - PCD_FreeUserBuffer(hpcd->Instance, ep->num, 0U); + PCD_FREE_USER_BUFFER(hpcd->Instance, ep->num, 0U); } if (count != 0U) @@ -2405,22 +2554,23 @@ static HAL_StatusTypeDef HAL_PCD_EP_DB_Transmit(PCD_HandleTypeDef *hpcd, PCD_EPTypeDef *ep, uint16_t wEPVal) { uint32_t len; - uint16_t TxByteNbre; + uint16_t TxPctSize; /* Data Buffer0 ACK received */ if ((wEPVal & USB_EP_DTOG_TX) != 0U) { /* multi-packet on the NON control IN endpoint */ - TxByteNbre = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); + TxPctSize = (uint16_t)PCD_GET_EP_DBUF0_CNT(hpcd->Instance, ep->num); - if (ep->xfer_len > TxByteNbre) + if (ep->xfer_len > TxPctSize) { - ep->xfer_len -= TxByteNbre; + ep->xfer_len -= TxPctSize; } else { ep->xfer_len = 0U; } + /* Transfer is completed */ if (ep->xfer_len == 0U) { @@ -2436,7 +2586,7 @@ static HAL_StatusTypeDef HAL_PCD_EP_DB_Transmit(PCD_HandleTypeDef *hpcd, if ((wEPVal & USB_EP_DTOG_RX) != 0U) { - PCD_FreeUserBuffer(hpcd->Instance, ep->num, 1U); + PCD_FREE_USER_BUFFER(hpcd->Instance, ep->num, 1U); } } else /* Transfer is not yet Done */ @@ -2444,14 +2594,14 @@ static HAL_StatusTypeDef HAL_PCD_EP_DB_Transmit(PCD_HandleTypeDef *hpcd, /* need to Free USB Buff */ if ((wEPVal & USB_EP_DTOG_RX) != 0U) { - PCD_FreeUserBuffer(hpcd->Instance, ep->num, 1U); + PCD_FREE_USER_BUFFER(hpcd->Instance, ep->num, 1U); } /* Still there is data to Fill in the next Buffer */ if (ep->xfer_fill_db == 1U) { - ep->xfer_buff += TxByteNbre; - ep->xfer_count += TxByteNbre; + ep->xfer_buff += TxPctSize; + ep->xfer_count += TxPctSize; /* Calculate the len of the new buffer to fill */ if (ep->xfer_len_db >= ep->maxpacket) @@ -2461,7 +2611,7 @@ static HAL_StatusTypeDef HAL_PCD_EP_DB_Transmit(PCD_HandleTypeDef *hpcd, } else if (ep->xfer_len_db == 0U) { - len = TxByteNbre; + len = TxPctSize; ep->xfer_fill_db = 0U; } else @@ -2483,11 +2633,11 @@ static HAL_StatusTypeDef HAL_PCD_EP_DB_Transmit(PCD_HandleTypeDef *hpcd, else /* Data Buffer1 ACK received */ { /* multi-packet on the NON control IN endpoint */ - TxByteNbre = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); + TxPctSize = (uint16_t)PCD_GET_EP_DBUF1_CNT(hpcd->Instance, ep->num); - if (ep->xfer_len >= TxByteNbre) + if (ep->xfer_len >= TxPctSize) { - ep->xfer_len -= TxByteNbre; + ep->xfer_len -= TxPctSize; } else { @@ -2510,7 +2660,7 @@ static HAL_StatusTypeDef HAL_PCD_EP_DB_Transmit(PCD_HandleTypeDef *hpcd, /* need to Free USB Buff */ if ((wEPVal & USB_EP_DTOG_RX) == 0U) { - PCD_FreeUserBuffer(hpcd->Instance, ep->num, 1U); + PCD_FREE_USER_BUFFER(hpcd->Instance, ep->num, 1U); } } else /* Transfer is not yet Done */ @@ -2518,14 +2668,14 @@ static HAL_StatusTypeDef HAL_PCD_EP_DB_Transmit(PCD_HandleTypeDef *hpcd, /* need to Free USB Buff */ if ((wEPVal & USB_EP_DTOG_RX) == 0U) { - PCD_FreeUserBuffer(hpcd->Instance, ep->num, 1U); + PCD_FREE_USER_BUFFER(hpcd->Instance, ep->num, 1U); } /* Still there is data to Fill in the next Buffer */ if (ep->xfer_fill_db == 1U) { - ep->xfer_buff += TxByteNbre; - ep->xfer_count += TxByteNbre; + ep->xfer_buff += TxPctSize; + ep->xfer_count += TxPctSize; /* Calculate the len of the new buffer to fill */ if (ep->xfer_len_db >= ep->maxpacket) @@ -2535,7 +2685,7 @@ static HAL_StatusTypeDef HAL_PCD_EP_DB_Transmit(PCD_HandleTypeDef *hpcd, } else if (ep->xfer_len_db == 0U) { - len = TxByteNbre; + len = TxPctSize; ep->xfer_fill_db = 0U; } else @@ -2559,6 +2709,7 @@ static HAL_StatusTypeDef HAL_PCD_EP_DB_Transmit(PCD_HandleTypeDef *hpcd, return HAL_OK; } +#endif /* (USE_USB_DOUBLE_BUFFER == 1U) */ #endif /* defined (USB) */ @@ -2575,5 +2726,3 @@ static HAL_StatusTypeDef HAL_PCD_EP_DB_Transmit(PCD_HandleTypeDef *hpcd, /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c index 42e135c..2e5a2a3 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pcd_ex.c @@ -10,13 +10,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -158,6 +157,7 @@ HAL_StatusTypeDef HAL_PCDEx_PMAConfig(PCD_HandleTypeDef *hpcd, uint16_t ep_addr /* Configure the PMA */ ep->pmaadress = (uint16_t)pmaadress; } +#if (USE_USB_DOUBLE_BUFFER == 1U) else /* USB_DBL_BUF */ { /* Double Buffer Endpoint */ @@ -166,6 +166,7 @@ HAL_StatusTypeDef HAL_PCDEx_PMAConfig(PCD_HandleTypeDef *hpcd, uint16_t ep_addr ep->pmaaddr0 = (uint16_t)(pmaadress & 0xFFFFU); ep->pmaaddr1 = (uint16_t)((pmaadress & 0xFFFF0000U) >> 16); } +#endif /* (USE_USB_DOUBLE_BUFFER == 1U) */ return HAL_OK; } @@ -240,5 +241,3 @@ __weak void HAL_PCDEx_BCD_Callback(PCD_HandleTypeDef *hpcd, PCD_BCD_MsgTypeDef m /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c index a9bf56b..16476de 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c @@ -12,13 +12,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -617,5 +616,3 @@ __weak void HAL_PWR_PVDCallback(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c index fb3c5be..fe7515b 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c @@ -48,14 +48,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. ****************************************************************************** */ @@ -155,7 +153,7 @@ static void RCC_Delay(uint32_t mdelay); on AHB bus (DMA, GPIO...). APB1 (PCLK1) and APB2 (PCLK2) clocks are derived from AHB clock through configurable prescalers and used to clock the peripherals mapped on these buses. You can use - "@ref HAL_RCC_GetSysClockFreq()" function to retrieve the frequencies of these clocks. + "HAL_RCC_GetSysClockFreq()" function to retrieve the frequencies of these clocks. -@- All the peripheral clocks are derived from the System clock (SYSCLK) except: (+@) RTC: RTC clock can be derived either from the LSI, LSE or HSE clock @@ -1082,14 +1080,14 @@ void HAL_RCC_DisableCSS(void) uint32_t HAL_RCC_GetSysClockFreq(void) { #if defined(RCC_CFGR2_PREDIV1SRC) - const uint8_t aPLLMULFactorTable[14] = {0, 0, 4, 5, 6, 7, 8, 9, 0, 0, 0, 0, 0, 13}; - const uint8_t aPredivFactorTable[16] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; + static const uint8_t aPLLMULFactorTable[14U] = {0, 0, 4, 5, 6, 7, 8, 9, 0, 0, 0, 0, 0, 13}; + static const uint8_t aPredivFactorTable[16U] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; #else - const uint8_t aPLLMULFactorTable[16] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 16}; + static const uint8_t aPLLMULFactorTable[16U] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 16}; #if defined(RCC_CFGR2_PREDIV1) - const uint8_t aPredivFactorTable[16] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; + static const uint8_t aPredivFactorTable[16U] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; #else - const uint8_t aPredivFactorTable[2] = {1, 2}; + static const uint8_t aPredivFactorTable[2U] = {1, 2}; #endif /*RCC_CFGR2_PREDIV1*/ #endif @@ -1400,4 +1398,3 @@ __weak void HAL_RCC_CSSCallback(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c index a5be9af..7e789d9 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c @@ -10,14 +10,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. ****************************************************************************** */ @@ -387,16 +385,16 @@ void HAL_RCCEx_GetPeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit) uint32_t HAL_RCCEx_GetPeriphCLKFreq(uint32_t PeriphClk) { #if defined(STM32F105xC) || defined(STM32F107xC) - const uint8_t aPLLMULFactorTable[14] = {0, 0, 4, 5, 6, 7, 8, 9, 0, 0, 0, 0, 0, 13}; - const uint8_t aPredivFactorTable[16] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; + static const uint8_t aPLLMULFactorTable[14U] = {0, 0, 4, 5, 6, 7, 8, 9, 0, 0, 0, 0, 0, 13}; + static const uint8_t aPredivFactorTable[16U] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; uint32_t prediv1 = 0U, pllclk = 0U, pllmul = 0U; uint32_t pll2mul = 0U, pll3mul = 0U, prediv2 = 0U; #endif /* STM32F105xC || STM32F107xC */ #if defined(STM32F102x6) || defined(STM32F102xB) || defined(STM32F103x6) || \ defined(STM32F103xB) || defined(STM32F103xE) || defined(STM32F103xG) - const uint8_t aPLLMULFactorTable[16] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 16}; - const uint8_t aPredivFactorTable[2] = {1, 2}; + static const uint8_t aPLLMULFactorTable[16U] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 16}; + static const uint8_t aPredivFactorTable[2U] = {1, 2}; uint32_t prediv1 = 0U, pllclk = 0U, pllmul = 0U; #endif /* STM32F102x6 || STM32F102xB || STM32F103x6 || STM32F103xB || STM32F103xE || STM32F103xG */ @@ -859,5 +857,4 @@ HAL_StatusTypeDef HAL_RCCEx_DisablePLL2(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc.c index ca6e6ff..f808ce2 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc.c @@ -11,10 +11,21 @@ * + Peripheral Control functions * + Peripheral State functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### - ================================================================== + ============================================================================== [..] (+) Enable the RTC domain access (see description in the section above). (+) Configure the RTC Prescaler (Asynchronous prescaler to generate RTC 1Hz time base) @@ -124,10 +135,10 @@ [..] The compilation define USE_HAL_RTC_REGISTER_CALLBACKS when set to 1 allows the user to configure dynamically the driver callbacks. - Use Function @ref HAL_RTC_RegisterCallback() to register an interrupt callback. + Use Function HAL_RTC_RegisterCallback() to register an interrupt callback. [..] - Function @ref HAL_RTC_RegisterCallback() allows to register following callbacks: + Function HAL_RTC_RegisterCallback() allows to register following callbacks: (+) AlarmAEventCallback : RTC Alarm A Event callback. (+) Tamper1EventCallback : RTC Tamper 1 Event callback. (+) MspInitCallback : RTC MspInit callback. @@ -137,9 +148,9 @@ and a pointer to the user callback function. [..] - Use function @ref HAL_RTC_UnRegisterCallback() to reset a callback to the default + Use function HAL_RTC_UnRegisterCallback() to reset a callback to the default weak function. - @ref HAL_RTC_UnRegisterCallback() takes as parameters the HAL peripheral handle, + HAL_RTC_UnRegisterCallback() takes as parameters the HAL peripheral handle, and the Callback ID. This function allows to reset following callbacks: (+) AlarmAEventCallback : RTC Alarm A Event callback. @@ -147,13 +158,13 @@ (+) MspInitCallback : RTC MspInit callback. (+) MspDeInitCallback : RTC MspDeInit callback. [..] - By default, after the @ref HAL_RTC_Init() and when the state is HAL_RTC_STATE_RESET, + By default, after the HAL_RTC_Init() and when the state is HAL_RTC_STATE_RESET, all callbacks are set to the corresponding weak functions : - example @ref AlarmAEventCallback(). + example AlarmAEventCallback(). Exception done for MspInit and MspDeInit callbacks that are reset to the legacy weak function - in the @ref HAL_RTC_Init()/@ref HAL_RTC_DeInit() only when these callbacks are null + in the HAL_RTC_Init()/HAL_RTC_DeInit() only when these callbacks are null (not registered beforehand). - If not, MspInit or MspDeInit are not null, @ref HAL_RTC_Init()/@ref HAL_RTC_DeInit() + If not, MspInit or MspDeInit are not null, HAL_RTC_Init()/HAL_RTC_DeInit() keep and use the user MspInit/MspDeInit callbacks (registered beforehand) [..] Callbacks can be registered/unregistered in HAL_RTC_STATE_READY state only. @@ -161,24 +172,14 @@ in HAL_RTC_STATE_READY or HAL_RTC_STATE_RESET state, thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit. In that case first register the MspInit/MspDeInit user callbacks - using @ref HAL_RTC_RegisterCallback() before calling @ref HAL_RTC_DeInit() - or @ref HAL_RTC_Init() function. + using HAL_RTC_RegisterCallback() before calling HAL_RTC_DeInit() + or HAL_RTC_Init() function. [..] When The compilation define USE_HAL_RTC_REGISTER_CALLBACKS is set to 0 or not defined, the callback registration feature is not available and all callbacks are set to the corresponding weak functions. - @endverbatim - ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * + + @endverbatim ****************************************************************************** */ @@ -378,8 +379,8 @@ HAL_StatusTypeDef HAL_RTC_Init(RTC_HandleTypeDef *hrtc) } /* Configure the RTC_PRLH / RTC_PRLL */ - MODIFY_REG(hrtc->Instance->PRLH, RTC_PRLH_PRL, (prescaler >> 16U)); - MODIFY_REG(hrtc->Instance->PRLL, RTC_PRLL_PRL, (prescaler & RTC_PRLL_PRL)); + WRITE_REG(hrtc->Instance->PRLH, ((prescaler >> 16U) & RTC_PRLH_PRL)); + WRITE_REG(hrtc->Instance->PRLL, (prescaler & RTC_PRLL_PRL)); /* Wait for synchro */ if (RTC_ExitInitMode(hrtc) != HAL_OK) @@ -567,7 +568,7 @@ HAL_StatusTypeDef HAL_RTC_RegisterCallback(RTC_HandleTypeDef *hrtc, HAL_RTC_Call /** * @brief Unregister an RTC Callback - * RTC callabck is redirected to the weak predefined callback + * RTC callback is redirected to the weak predefined callback * @param hrtc RTC handle * @param CallbackID ID of the callback to be unregistered * This parameter can be one of the following values: @@ -1323,7 +1324,7 @@ HAL_StatusTypeDef HAL_RTC_GetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sA } /** - * @brief Deactive the specified RTC Alarm + * @brief Deactivate the specified RTC Alarm * @param hrtc pointer to a RTC_HandleTypeDef structure that contains * the configuration information for RTC. * @param Alarm: Specifies the Alarm. @@ -1945,5 +1946,3 @@ static uint8_t RTC_WeekDayNum(uint32_t nYear, uint8_t nMonth, uint8_t nDay) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc_ex.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc_ex.c index 5f50219..738ee1f 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc_ex.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rtc_ex.c @@ -12,13 +12,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -304,7 +303,7 @@ HAL_StatusTypeDef HAL_RTCEx_PollForTamper1Event(RTC_HandleTypeDef *hrtc, uint32_ ##### RTC Second functions ##### =============================================================================== - [..] This section provides functions implementing second interupt handlers + [..] This section provides functions implementing second interrupt handlers @endverbatim * @{ @@ -329,7 +328,7 @@ HAL_StatusTypeDef HAL_RTCEx_SetSecond_IT(RTC_HandleTypeDef *hrtc) hrtc->State = HAL_RTC_STATE_BUSY; - /* Enable Second interuption */ + /* Enable Second interruption */ __HAL_RTC_SECOND_ENABLE_IT(hrtc, RTC_IT_SEC); hrtc->State = HAL_RTC_STATE_READY; @@ -359,7 +358,7 @@ HAL_StatusTypeDef HAL_RTCEx_DeactivateSecond(RTC_HandleTypeDef *hrtc) hrtc->State = HAL_RTC_STATE_BUSY; - /* Deactivate Second interuption*/ + /* Deactivate Second interruption*/ __HAL_RTC_SECOND_DISABLE_IT(hrtc, RTC_IT_SEC); hrtc->State = HAL_RTC_STATE_READY; @@ -574,6 +573,3 @@ HAL_StatusTypeDef HAL_RTCEx_SetSmoothCalib(RTC_HandleTypeDef *hrtc, uint32_t Smo /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sd.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sd.c index 166cc52..996f9bd 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sd.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sd.c @@ -10,6 +10,17 @@ * + Peripheral Control functions * + Peripheral State functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -199,7 +210,7 @@ The compilation define USE_HAL_SD_REGISTER_CALLBACKS when set to 1 allows the user to configure dynamically the driver callbacks. - Use Functions @ref HAL_SD_RegisterCallback() to register a user callback, + Use Functions HAL_SD_RegisterCallback() to register a user callback, it allows to register following callbacks: (+) TxCpltCallback : callback when a transmission transfer is completed. (+) RxCpltCallback : callback when a reception transfer is completed. @@ -210,7 +221,7 @@ This function takes as parameters the HAL peripheral handle, the Callback ID and a pointer to the user callback function. - Use function @ref HAL_SD_UnRegisterCallback() to reset a callback to the default + Use function HAL_SD_UnRegisterCallback() to reset a callback to the default weak (surcharged) function. It allows to reset following callbacks: (+) TxCpltCallback : callback when a transmission transfer is completed. (+) RxCpltCallback : callback when a reception transfer is completed. @@ -220,12 +231,12 @@ (+) MspDeInitCallback : SD MspDeInit. This function) takes as parameters the HAL peripheral handle and the Callback ID. - By default, after the @ref HAL_SD_Init and if the state is HAL_SD_STATE_RESET + By default, after the HAL_SD_Init and if the state is HAL_SD_STATE_RESET all callbacks are reset to the corresponding legacy weak (surcharged) functions. Exception done for MspInit and MspDeInit callbacks that are respectively - reset to the legacy weak (surcharged) functions in the @ref HAL_SD_Init - and @ref HAL_SD_DeInit only when these callbacks are null (not registered beforehand). - If not, MspInit or MspDeInit are not null, the @ref HAL_SD_Init and @ref HAL_SD_DeInit + reset to the legacy weak (surcharged) functions in the HAL_SD_Init + and HAL_SD_DeInit only when these callbacks are null (not registered beforehand). + If not, MspInit or MspDeInit are not null, the HAL_SD_Init and HAL_SD_DeInit keep and use the user MspInit/MspDeInit callbacks (registered beforehand) Callbacks can be registered/unregistered in READY state only. @@ -233,8 +244,8 @@ in READY or RESET state, thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit. In that case first register the MspInit/MspDeInit user callbacks - using @ref HAL_SD_RegisterCallback before calling @ref HAL_SD_DeInit - or @ref HAL_SD_Init function. + using HAL_SD_RegisterCallback before calling HAL_SD_DeInit + or HAL_SD_Init function. When The compilation define USE_HAL_SD_REGISTER_CALLBACKS is set to 0 or not defined, the callback registering feature is not available @@ -242,17 +253,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2018 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -430,6 +430,9 @@ HAL_StatusTypeDef HAL_SD_InitCard(SD_HandleTypeDef *hsd) /* Enable SDIO Clock */ __HAL_SD_ENABLE(hsd); + /* Required power up waiting time before starting the SD initialization sequence */ + HAL_Delay(2); + /* Identify card operating voltage */ errorstate = SD_PowerON(hsd); if(errorstate != HAL_SD_ERROR_NONE) @@ -3215,5 +3218,3 @@ static void SD_Write_IT(SD_HandleTypeDef *hsd) */ #endif /* SDIO */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_smartcard.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_smartcard.c index 18da2c4..87bc80a 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_smartcard.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_smartcard.c @@ -10,6 +10,17 @@ * + Peripheral Control functions * + Peripheral State and Error functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -105,8 +116,8 @@ allows the user to configure dynamically the driver callbacks. [..] - Use Function @ref HAL_SMARTCARD_RegisterCallback() to register a user callback. - Function @ref HAL_SMARTCARD_RegisterCallback() allows to register following callbacks: + Use Function HAL_SMARTCARD_RegisterCallback() to register a user callback. + Function HAL_SMARTCARD_RegisterCallback() allows to register following callbacks: (+) TxCpltCallback : Tx Complete Callback. (+) RxCpltCallback : Rx Complete Callback. (+) ErrorCallback : Error Callback. @@ -119,9 +130,9 @@ and a pointer to the user callback function. [..] - Use function @ref HAL_SMARTCARD_UnRegisterCallback() to reset a callback to the default + Use function HAL_SMARTCARD_UnRegisterCallback() to reset a callback to the default weak (surcharged) function. - @ref HAL_SMARTCARD_UnRegisterCallback() takes as parameters the HAL peripheral handle, + HAL_SMARTCARD_UnRegisterCallback() takes as parameters the HAL peripheral handle, and the Callback ID. This function allows to reset following callbacks: (+) TxCpltCallback : Tx Complete Callback. @@ -134,13 +145,13 @@ (+) MspDeInitCallback : SMARTCARD MspDeInit. [..] - By default, after the @ref HAL_SMARTCARD_Init() and when the state is HAL_SMARTCARD_STATE_RESET + By default, after the HAL_SMARTCARD_Init() and when the state is HAL_SMARTCARD_STATE_RESET all callbacks are set to the corresponding weak (surcharged) functions: - examples @ref HAL_SMARTCARD_TxCpltCallback(), @ref HAL_SMARTCARD_RxCpltCallback(). + examples HAL_SMARTCARD_TxCpltCallback(), HAL_SMARTCARD_RxCpltCallback(). Exception done for MspInit and MspDeInit functions that are respectively - reset to the legacy weak (surcharged) functions in the @ref HAL_SMARTCARD_Init() - and @ref HAL_SMARTCARD_DeInit() only when these callbacks are null (not registered beforehand). - If not, MspInit or MspDeInit are not null, the @ref HAL_SMARTCARD_Init() and @ref HAL_SMARTCARD_DeInit() + reset to the legacy weak (surcharged) functions in the HAL_SMARTCARD_Init() + and HAL_SMARTCARD_DeInit() only when these callbacks are null (not registered beforehand). + If not, MspInit or MspDeInit are not null, the HAL_SMARTCARD_Init() and HAL_SMARTCARD_DeInit() keep and use the user MspInit/MspDeInit callbacks (registered beforehand). [..] @@ -149,8 +160,8 @@ in HAL_SMARTCARD_STATE_READY or HAL_SMARTCARD_STATE_RESET state, thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit. In that case first register the MspInit/MspDeInit user callbacks - using @ref HAL_SMARTCARD_RegisterCallback() before calling @ref HAL_SMARTCARD_DeInit() - or @ref HAL_SMARTCARD_Init() function. + using HAL_SMARTCARD_RegisterCallback() before calling HAL_SMARTCARD_DeInit() + or HAL_SMARTCARD_Init() function. [..] When The compilation define USE_HAL_SMARTCARD_REGISTER_CALLBACKS is set to 0 or @@ -159,17 +170,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -446,6 +446,9 @@ __weak void HAL_SMARTCARD_MspDeInit(SMARTCARD_HandleTypeDef *hsc) /** * @brief Register a User SMARTCARD Callback * To be used instead of the weak predefined callback + * @note The HAL_SMARTCARD_RegisterCallback() may be called before HAL_SMARTCARD_Init() + * in HAL_SMARTCARD_STATE_RESET to register callbacks for HAL_SMARTCARD_MSPINIT_CB_ID + * and HAL_SMARTCARD_MSPDEINIT_CB_ID * @param hsc smartcard handle * @param CallbackID ID of the callback to be registered * This parameter can be one of the following values: @@ -471,8 +474,6 @@ HAL_StatusTypeDef HAL_SMARTCARD_RegisterCallback(SMARTCARD_HandleTypeDef *hsc, H return HAL_ERROR; } - /* Process locked */ - __HAL_LOCK(hsc); if (hsc->gState == HAL_SMARTCARD_STATE_READY) { @@ -551,15 +552,15 @@ HAL_StatusTypeDef HAL_SMARTCARD_RegisterCallback(SMARTCARD_HandleTypeDef *hsc, H status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(hsc); - return status; } /** * @brief Unregister an SMARTCARD callback * SMARTCARD callback is redirected to the weak predefined callback + * @note The HAL_SMARTCARD_UnRegisterCallback() may be called before HAL_SMARTCARD_Init() + * in HAL_SMARTCARD_STATE_RESET to un-register callbacks for HAL_SMARTCARD_MSPINIT_CB_ID + * and HAL_SMARTCARD_MSPDEINIT_CB_ID * @param hsc smartcard handle * @param CallbackID ID of the callback to be unregistered * This parameter can be one of the following values: @@ -577,9 +578,6 @@ HAL_StatusTypeDef HAL_SMARTCARD_UnRegisterCallback(SMARTCARD_HandleTypeDef *hsc, { HAL_StatusTypeDef status = HAL_OK; - /* Process locked */ - __HAL_LOCK(hsc); - if (HAL_SMARTCARD_STATE_READY == hsc->gState) { switch (CallbackID) @@ -656,9 +654,6 @@ HAL_StatusTypeDef HAL_SMARTCARD_UnRegisterCallback(SMARTCARD_HandleTypeDef *hsc, status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(hsc); - return status; } #endif /* USE_HAL_SMARTCARD_REGISTER_CALLBACKS */ @@ -753,9 +748,9 @@ HAL_StatusTypeDef HAL_SMARTCARD_UnRegisterCallback(SMARTCARD_HandleTypeDef *hsc, * @param Timeout Timeout duration * @retval HAL status */ -HAL_StatusTypeDef HAL_SMARTCARD_Transmit(SMARTCARD_HandleTypeDef *hsc, uint8_t *pData, uint16_t Size, uint32_t Timeout) +HAL_StatusTypeDef HAL_SMARTCARD_Transmit(SMARTCARD_HandleTypeDef *hsc, const uint8_t *pData, uint16_t Size, uint32_t Timeout) { - uint8_t *tmp = pData; + const uint8_t *tmp = pData; uint32_t tickstart = 0U; if(hsc->gState == HAL_SMARTCARD_STATE_READY) @@ -873,7 +868,7 @@ HAL_StatusTypeDef HAL_SMARTCARD_Receive(SMARTCARD_HandleTypeDef *hsc, uint8_t *p * @param Size Amount of data to be sent * @retval HAL status */ -HAL_StatusTypeDef HAL_SMARTCARD_Transmit_IT(SMARTCARD_HandleTypeDef *hsc, uint8_t *pData, uint16_t Size) +HAL_StatusTypeDef HAL_SMARTCARD_Transmit_IT(SMARTCARD_HandleTypeDef *hsc, const uint8_t *pData, uint16_t Size) { /* Check that a Tx process is not already ongoing */ if(hsc->gState == HAL_SMARTCARD_STATE_READY) @@ -966,9 +961,9 @@ HAL_StatusTypeDef HAL_SMARTCARD_Receive_IT(SMARTCARD_HandleTypeDef *hsc, uint8_t * @param Size Amount of data to be sent * @retval HAL status */ -HAL_StatusTypeDef HAL_SMARTCARD_Transmit_DMA(SMARTCARD_HandleTypeDef *hsc, uint8_t *pData, uint16_t Size) +HAL_StatusTypeDef HAL_SMARTCARD_Transmit_DMA(SMARTCARD_HandleTypeDef *hsc, const uint8_t *pData, uint16_t Size) { - uint32_t *tmp; + const uint32_t *tmp; /* Check that a Tx process is not already ongoing */ if(hsc->gState == HAL_SMARTCARD_STATE_READY) @@ -998,8 +993,8 @@ HAL_StatusTypeDef HAL_SMARTCARD_Transmit_DMA(SMARTCARD_HandleTypeDef *hsc, uint8 hsc->hdmatx->XferAbortCallback = NULL; /* Enable the SMARTCARD transmit DMA channel */ - tmp = (uint32_t*)&pData; - HAL_DMA_Start_IT(hsc->hdmatx, *(uint32_t*)tmp, (uint32_t)&hsc->Instance->DR, Size); + tmp = (const uint32_t*)&pData; + HAL_DMA_Start_IT(hsc->hdmatx, *(const uint32_t*)tmp, (uint32_t)&hsc->Instance->DR, Size); /* Clear the TC flag in the SR register by writing 0 to it */ __HAL_SMARTCARD_CLEAR_FLAG(hsc, SMARTCARD_FLAG_TC); @@ -1777,7 +1772,7 @@ __weak void HAL_SMARTCARD_AbortReceiveCpltCallback (SMARTCARD_HandleTypeDef *hsc * the configuration information for SMARTCARD module. * @retval HAL state */ -HAL_SMARTCARD_StateTypeDef HAL_SMARTCARD_GetState(SMARTCARD_HandleTypeDef *hsc) +HAL_SMARTCARD_StateTypeDef HAL_SMARTCARD_GetState(const SMARTCARD_HandleTypeDef *hsc) { uint32_t temp1= 0x00U, temp2 = 0x00U; temp1 = hsc->gState; @@ -1792,7 +1787,7 @@ HAL_SMARTCARD_StateTypeDef HAL_SMARTCARD_GetState(SMARTCARD_HandleTypeDef *hsc) * the configuration information for the specified SMARTCARD. * @retval SMARTCARD Error Code */ -uint32_t HAL_SMARTCARD_GetError(SMARTCARD_HandleTypeDef *hsc) +uint32_t HAL_SMARTCARD_GetError(const SMARTCARD_HandleTypeDef *hsc) { return hsc->ErrorCode; } @@ -1918,11 +1913,12 @@ static void SMARTCARD_DMAError(DMA_HandleTypeDef *hdma) } /** - * @brief This function handles SMARTCARD Communication Timeout. + * @brief This function handles SMARTCARD Communication Timeout. It waits + * until a flag is no longer in the specified status. * @param hsc Pointer to a SMARTCARD_HandleTypeDef structure that contains * the configuration information for SMARTCARD module. * @param Flag Specifies the SMARTCARD flag to check. - * @param Status The new Flag status (SET or RESET). + * @param Status The actual Flag status (SET or RESET). * @param Timeout Timeout duration * @param Tickstart Tick start value * @retval HAL status @@ -2349,4 +2345,4 @@ static void SMARTCARD_SetConfig(SMARTCARD_HandleTypeDef *hsc) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c index ac70153..cca5a57 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c @@ -9,7 +9,17 @@ * + IO operation functions * + Peripheral Control functions * + Peripheral State functions + ****************************************************************************** + * @attention * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -184,18 +194,6 @@ (#) RX processes are HAL_SPI_Receive(), HAL_SPI_Receive_IT() and HAL_SPI_Receive_DMA() (#) TX processes are HAL_SPI_Transmit(), HAL_SPI_Transmit_IT() and HAL_SPI_Transmit_DMA() - ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -214,7 +212,7 @@ /* Private typedef -----------------------------------------------------------*/ /* Private defines -----------------------------------------------------------*/ #if (USE_SPI_CRC != 0U) && defined(SPI_CRC_ERROR_WORKAROUND_FEATURE) -/* CRC WORKAOUND FEATURE: Variable used to determine if device is impacted by implementation +/* CRC WORKAROUND FEATURE: Variable used to determine if device is impacted by implementation * of workaround related to wrong CRC errors detection on SPI2. Conditions in which this workaround * has to be applied, are: * - STM32F101CDE/STM32F103CDE @@ -232,10 +230,10 @@ /* Pb is that ES_STM32F10xxCDE also identify an issue in Debug registers access while not in Debug mode * Revision ID information is only available in Debug mode, so Workaround could not be implemented * to distinguish Rev Z devices (issue present) from more recent version (issue fixed). - * So, in case of Revison Z F101 or F103 devices, below define should be assigned to 1. + * So, in case of Revision Z F101 or F103 devices, below define should be assigned to 1. */ #define USE_SPI_CRC_ERROR_WORKAROUND 0U -#endif +#endif /* USE_SPI_CRC */ /** @defgroup SPI_Private_Constants SPI Private Constants * @{ */ @@ -882,6 +880,7 @@ HAL_StatusTypeDef HAL_SPI_Transmit(SPI_HandleTypeDef *hspi, uint8_t *pData, uint if ((((HAL_GetTick() - tickstart) >= Timeout) && (Timeout != HAL_MAX_DELAY)) || (Timeout == 0U)) { errorcode = HAL_TIMEOUT; + hspi->State = HAL_SPI_STATE_READY; goto error; } } @@ -911,6 +910,7 @@ HAL_StatusTypeDef HAL_SPI_Transmit(SPI_HandleTypeDef *hspi, uint8_t *pData, uint if ((((HAL_GetTick() - tickstart) >= Timeout) && (Timeout != HAL_MAX_DELAY)) || (Timeout == 0U)) { errorcode = HAL_TIMEOUT; + hspi->State = HAL_SPI_STATE_READY; goto error; } } @@ -940,9 +940,12 @@ HAL_StatusTypeDef HAL_SPI_Transmit(SPI_HandleTypeDef *hspi, uint8_t *pData, uint { errorcode = HAL_ERROR; } + else + { + hspi->State = HAL_SPI_STATE_READY; + } error: - hspi->State = HAL_SPI_STATE_READY; /* Process Unlocked */ __HAL_UNLOCK(hspi); return errorcode; @@ -965,6 +968,12 @@ HAL_StatusTypeDef HAL_SPI_Receive(SPI_HandleTypeDef *hspi, uint8_t *pData, uint1 uint32_t tickstart; HAL_StatusTypeDef errorcode = HAL_OK; + if (hspi->State != HAL_SPI_STATE_READY) + { + errorcode = HAL_BUSY; + goto error; + } + if ((hspi->Init.Mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES)) { hspi->State = HAL_SPI_STATE_BUSY_RX; @@ -978,12 +987,6 @@ HAL_StatusTypeDef HAL_SPI_Receive(SPI_HandleTypeDef *hspi, uint8_t *pData, uint1 /* Init tickstart for timeout management*/ tickstart = HAL_GetTick(); - if (hspi->State != HAL_SPI_STATE_READY) - { - errorcode = HAL_BUSY; - goto error; - } - if ((pData == NULL) || (Size == 0U)) { errorcode = HAL_ERROR; @@ -1049,6 +1052,7 @@ HAL_StatusTypeDef HAL_SPI_Receive(SPI_HandleTypeDef *hspi, uint8_t *pData, uint1 if ((((HAL_GetTick() - tickstart) >= Timeout) && (Timeout != HAL_MAX_DELAY)) || (Timeout == 0U)) { errorcode = HAL_TIMEOUT; + hspi->State = HAL_SPI_STATE_READY; goto error; } } @@ -1072,6 +1076,7 @@ HAL_StatusTypeDef HAL_SPI_Receive(SPI_HandleTypeDef *hspi, uint8_t *pData, uint1 if ((((HAL_GetTick() - tickstart) >= Timeout) && (Timeout != HAL_MAX_DELAY)) || (Timeout == 0U)) { errorcode = HAL_TIMEOUT; + hspi->State = HAL_SPI_STATE_READY; goto error; } } @@ -1085,7 +1090,7 @@ HAL_StatusTypeDef HAL_SPI_Receive(SPI_HandleTypeDef *hspi, uint8_t *pData, uint1 /* freeze the CRC before the latest data */ SET_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT); - /* Check if CRCNEXT is well reseted by hardware */ + /* Check if CRCNEXT is well reset by hardware */ if (READ_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT)) { /* Workaround to force CRCNEXT bit to zero in case of CRCNEXT is not reset automatically by hardware */ @@ -1154,9 +1159,12 @@ HAL_StatusTypeDef HAL_SPI_Receive(SPI_HandleTypeDef *hspi, uint8_t *pData, uint1 { errorcode = HAL_ERROR; } + else + { + hspi->State = HAL_SPI_STATE_READY; + } error : - hspi->State = HAL_SPI_STATE_READY; __HAL_UNLOCK(hspi); return errorcode; } @@ -1288,6 +1296,7 @@ HAL_StatusTypeDef HAL_SPI_TransmitReceive(SPI_HandleTypeDef *hspi, uint8_t *pTxD if (((HAL_GetTick() - tickstart) >= Timeout) && (Timeout != HAL_MAX_DELAY)) { errorcode = HAL_TIMEOUT; + hspi->State = HAL_SPI_STATE_READY; goto error; } } @@ -1333,6 +1342,7 @@ HAL_StatusTypeDef HAL_SPI_TransmitReceive(SPI_HandleTypeDef *hspi, uint8_t *pTxD if ((((HAL_GetTick() - tickstart) >= Timeout) && ((Timeout != HAL_MAX_DELAY))) || (Timeout == 0U)) { errorcode = HAL_TIMEOUT; + hspi->State = HAL_SPI_STATE_READY; goto error; } } @@ -1390,8 +1400,16 @@ HAL_StatusTypeDef HAL_SPI_TransmitReceive(SPI_HandleTypeDef *hspi, uint8_t *pTxD __HAL_SPI_CLEAR_OVRFLAG(hspi); } + if (hspi->ErrorCode != HAL_SPI_ERROR_NONE) + { + errorcode = HAL_ERROR; + } + else + { + hspi->State = HAL_SPI_STATE_READY; + } + error : - hspi->State = HAL_SPI_STATE_READY; __HAL_UNLOCK(hspi); return errorcode; } @@ -1493,6 +1511,13 @@ HAL_StatusTypeDef HAL_SPI_Receive_IT(SPI_HandleTypeDef *hspi, uint8_t *pData, ui { HAL_StatusTypeDef errorcode = HAL_OK; + + if (hspi->State != HAL_SPI_STATE_READY) + { + errorcode = HAL_BUSY; + goto error; + } + if ((hspi->Init.Direction == SPI_DIRECTION_2LINES) && (hspi->Init.Mode == SPI_MODE_MASTER)) { hspi->State = HAL_SPI_STATE_BUSY_RX; @@ -1503,12 +1528,6 @@ HAL_StatusTypeDef HAL_SPI_Receive_IT(SPI_HandleTypeDef *hspi, uint8_t *pData, ui /* Process Locked */ __HAL_LOCK(hspi); - if (hspi->State != HAL_SPI_STATE_READY) - { - errorcode = HAL_BUSY; - goto error; - } - if ((pData == NULL) || (Size == 0U)) { errorcode = HAL_ERROR; @@ -1746,7 +1765,6 @@ HAL_StatusTypeDef HAL_SPI_Transmit_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_DMA); errorcode = HAL_ERROR; - hspi->State = HAL_SPI_STATE_READY; goto error; } @@ -1785,7 +1803,13 @@ HAL_StatusTypeDef HAL_SPI_Receive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, u /* Check rx dma handle */ assert_param(IS_SPI_DMA_HANDLE(hspi->hdmarx)); - + + if (hspi->State != HAL_SPI_STATE_READY) + { + errorcode = HAL_BUSY; + goto error; + } + if ((hspi->Init.Direction == SPI_DIRECTION_2LINES) && (hspi->Init.Mode == SPI_MODE_MASTER)) { hspi->State = HAL_SPI_STATE_BUSY_RX; @@ -1800,12 +1824,6 @@ HAL_StatusTypeDef HAL_SPI_Receive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, u /* Process Locked */ __HAL_LOCK(hspi); - if (hspi->State != HAL_SPI_STATE_READY) - { - errorcode = HAL_BUSY; - goto error; - } - if ((pData == NULL) || (Size == 0U)) { errorcode = HAL_ERROR; @@ -1861,7 +1879,6 @@ HAL_StatusTypeDef HAL_SPI_Receive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, u SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_DMA); errorcode = HAL_ERROR; - hspi->State = HAL_SPI_STATE_READY; goto error; } @@ -1983,7 +2000,6 @@ HAL_StatusTypeDef HAL_SPI_TransmitReceive_DMA(SPI_HandleTypeDef *hspi, uint8_t * SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_DMA); errorcode = HAL_ERROR; - hspi->State = HAL_SPI_STATE_READY; goto error; } @@ -2005,7 +2021,6 @@ HAL_StatusTypeDef HAL_SPI_TransmitReceive_DMA(SPI_HandleTypeDef *hspi, uint8_t * SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_DMA); errorcode = HAL_ERROR; - hspi->State = HAL_SPI_STATE_READY; goto error; } @@ -3216,7 +3231,7 @@ static void SPI_2linesRxISR_8BIT(struct __SPI_HandleTypeDef *hspi) */ static void SPI_2linesRxISR_8BITCRC(struct __SPI_HandleTypeDef *hspi) { - __IO uint8_t * ptmpreg8; + __IO uint8_t *ptmpreg8; __IO uint8_t tmpreg8 = 0; /* Initialize the 8bit temporary pointer */ @@ -3319,7 +3334,7 @@ static void SPI_2linesRxISR_16BITCRC(struct __SPI_HandleTypeDef *hspi) /* Read 16bit CRC to flush Data Register */ tmpreg = READ_REG(hspi->Instance->DR); /* To avoid GCC warning */ - UNUSED(tmpreg); + UNUSED(tmpreg); /* Disable RXNE interrupt */ __HAL_SPI_DISABLE_IT(hspi, SPI_IT_RXNE); @@ -3374,7 +3389,7 @@ static void SPI_2linesTxISR_16BIT(struct __SPI_HandleTypeDef *hspi) */ static void SPI_RxISR_8BITCRC(struct __SPI_HandleTypeDef *hspi) { - __IO uint8_t * ptmpreg8; + __IO uint8_t *ptmpreg8; __IO uint8_t tmpreg8 = 0; /* Initialize the 8bit temporary pointer */ @@ -3406,7 +3421,7 @@ static void SPI_RxISR_8BIT(struct __SPI_HandleTypeDef *hspi) { SET_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT); } - /* Check if CRCNEXT is well reseted by hardware */ + /* Check if CRCNEXT is well reset by hardware */ if (READ_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT)) { /* Workaround to force CRCNEXT bit to zero in case of CRCNEXT is not reset automatically by hardware */ @@ -3469,7 +3484,7 @@ static void SPI_RxISR_16BIT(struct __SPI_HandleTypeDef *hspi) { SET_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT); } - /* Check if CRCNEXT is well reseted by hardware */ + /* Check if CRCNEXT is well reset by hardware */ if (READ_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT)) { /* Workaround to force CRCNEXT bit to zero in case of CRCNEXT is not reset automatically by hardware */ @@ -3600,7 +3615,7 @@ static HAL_StatusTypeDef SPI_WaitFlagStateUntilTimeout(SPI_HandleTypeDef *hspi, return HAL_TIMEOUT; } /* If Systick is disabled or not incremented, deactivate timeout to go in disable loop procedure */ - if(count == 0U) + if (count == 0U) { tmp_timeout = 0U; } @@ -3981,7 +3996,7 @@ uint8_t SPI_ISCRCErrorValid(SPI_HandleTypeDef *hspi) return (SPI_INVALID_CRC_ERROR); } } -#endif +#endif /* USE_SPI_CRC_ERROR_WORKAROUND */ /* Prevent unused argument(s) compilation warning */ UNUSED(hspi); @@ -4002,4 +4017,3 @@ uint8_t SPI_ISCRCErrorValid(SPI_HandleTypeDef *hspi) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c index 4d5a31b..d136ea4 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c @@ -6,6 +6,17 @@ * This file provides a generic firmware to drive SRAM memories * mounted as external device. * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -64,25 +75,25 @@ The compilation define USE_HAL_SRAM_REGISTER_CALLBACKS when set to 1 allows the user to configure dynamically the driver callbacks. - Use Functions @ref HAL_SRAM_RegisterCallback() to register a user callback, + Use Functions HAL_SRAM_RegisterCallback() to register a user callback, it allows to register following callbacks: (+) MspInitCallback : SRAM MspInit. (+) MspDeInitCallback : SRAM MspDeInit. This function takes as parameters the HAL peripheral handle, the Callback ID and a pointer to the user callback function. - Use function @ref HAL_SRAM_UnRegisterCallback() to reset a callback to the default - weak (surcharged) function. It allows to reset following callbacks: + Use function HAL_SRAM_UnRegisterCallback() to reset a callback to the default + weak (overridden) function. It allows to reset following callbacks: (+) MspInitCallback : SRAM MspInit. (+) MspDeInitCallback : SRAM MspDeInit. This function) takes as parameters the HAL peripheral handle and the Callback ID. - By default, after the @ref HAL_SRAM_Init and if the state is HAL_SRAM_STATE_RESET - all callbacks are reset to the corresponding legacy weak (surcharged) functions. + By default, after the HAL_SRAM_Init and if the state is HAL_SRAM_STATE_RESET + all callbacks are reset to the corresponding legacy weak (overridden) functions. Exception done for MspInit and MspDeInit callbacks that are respectively - reset to the legacy weak (surcharged) functions in the @ref HAL_SRAM_Init - and @ref HAL_SRAM_DeInit only when these callbacks are null (not registered beforehand). - If not, MspInit or MspDeInit are not null, the @ref HAL_SRAM_Init and @ref HAL_SRAM_DeInit + reset to the legacy weak (overridden) functions in the HAL_SRAM_Init + and HAL_SRAM_DeInit only when these callbacks are null (not registered beforehand). + If not, MspInit or MspDeInit are not null, the HAL_SRAM_Init and HAL_SRAM_DeInit keep and use the user MspInit/MspDeInit callbacks (registered beforehand) Callbacks can be registered/unregistered in READY state only. @@ -90,26 +101,15 @@ in READY or RESET state, thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit. In that case first register the MspInit/MspDeInit user callbacks - using @ref HAL_SRAM_RegisterCallback before calling @ref HAL_SRAM_DeInit - or @ref HAL_SRAM_Init function. + using HAL_SRAM_RegisterCallback before calling HAL_SRAM_DeInit + or HAL_SRAM_Init function. When The compilation define USE_HAL_SRAM_REGISTER_CALLBACKS is set to 0 or not defined, the callback registering feature is not available - and weak (surcharged) callbacks are used. + and weak (overridden) callbacks are used. @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -133,9 +133,15 @@ /* Private macro -------------------------------------------------------------*/ /* Private variables ---------------------------------------------------------*/ /* Private function prototypes -----------------------------------------------*/ +/** @addtogroup SRAM_Private_Functions SRAM Private Functions + * @{ + */ static void SRAM_DMACplt(DMA_HandleTypeDef *hdma); static void SRAM_DMACpltProt(DMA_HandleTypeDef *hdma); static void SRAM_DMAError(DMA_HandleTypeDef *hdma); +/** + * @} + */ /* Exported functions --------------------------------------------------------*/ @@ -731,7 +737,7 @@ HAL_StatusTypeDef HAL_SRAM_Write_DMA(SRAM_HandleTypeDef *hsram, uint32_t *pAddre #if (USE_HAL_SRAM_REGISTER_CALLBACKS == 1) /** * @brief Register a User SRAM Callback - * To be used instead of the weak (surcharged) predefined callback + * To be used to override the weak predefined callback * @param hsram : SRAM handle * @param CallbackId : ID of the callback to be registered * This parameter can be one of the following values: @@ -751,9 +757,6 @@ HAL_StatusTypeDef HAL_SRAM_RegisterCallback(SRAM_HandleTypeDef *hsram, HAL_SRAM_ return HAL_ERROR; } - /* Process locked */ - __HAL_LOCK(hsram); - state = hsram->State; if ((state == HAL_SRAM_STATE_READY) || (state == HAL_SRAM_STATE_RESET) || (state == HAL_SRAM_STATE_PROTECTED)) { @@ -777,14 +780,12 @@ HAL_StatusTypeDef HAL_SRAM_RegisterCallback(SRAM_HandleTypeDef *hsram, HAL_SRAM_ status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(hsram); return status; } /** * @brief Unregister a User SRAM Callback - * SRAM Callback is redirected to the weak (surcharged) predefined callback + * SRAM Callback is redirected to the weak predefined callback * @param hsram : SRAM handle * @param CallbackId : ID of the callback to be unregistered * This parameter can be one of the following values: @@ -799,9 +800,6 @@ HAL_StatusTypeDef HAL_SRAM_UnRegisterCallback(SRAM_HandleTypeDef *hsram, HAL_SRA HAL_StatusTypeDef status = HAL_OK; HAL_SRAM_StateTypeDef state; - /* Process locked */ - __HAL_LOCK(hsram); - state = hsram->State; if ((state == HAL_SRAM_STATE_READY) || (state == HAL_SRAM_STATE_PROTECTED)) { @@ -847,14 +845,12 @@ HAL_StatusTypeDef HAL_SRAM_UnRegisterCallback(SRAM_HandleTypeDef *hsram, HAL_SRA status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(hsram); return status; } /** * @brief Register a User SRAM Callback for DMA transfers - * To be used instead of the weak (surcharged) predefined callback + * To be used to override the weak predefined callback * @param hsram : SRAM handle * @param CallbackId : ID of the callback to be registered * This parameter can be one of the following values: @@ -1018,7 +1014,7 @@ HAL_StatusTypeDef HAL_SRAM_WriteOperation_Disable(SRAM_HandleTypeDef *hsram) * the configuration information for SRAM module. * @retval HAL state */ -HAL_SRAM_StateTypeDef HAL_SRAM_GetState(SRAM_HandleTypeDef *hsram) +HAL_SRAM_StateTypeDef HAL_SRAM_GetState(const SRAM_HandleTypeDef *hsram) { return hsram->State; } @@ -1031,6 +1027,10 @@ HAL_SRAM_StateTypeDef HAL_SRAM_GetState(SRAM_HandleTypeDef *hsram) * @} */ +/** @addtogroup SRAM_Private_Functions SRAM Private Functions + * @{ + */ + /** * @brief DMA SRAM process complete callback. * @param hdma : DMA handle @@ -1097,6 +1097,10 @@ static void SRAM_DMAError(DMA_HandleTypeDef *hdma) #endif /* USE_HAL_SRAM_REGISTER_CALLBACKS */ } +/** + * @} + */ + /** * @} */ @@ -1108,5 +1112,3 @@ static void SRAM_DMAError(DMA_HandleTypeDef *hdma) */ #endif /* FSMC_BANK1 */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c index edf4a72..40cee88 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c @@ -29,6 +29,17 @@ * + Commutation Event configuration with Interruption and DMA * + TIM OCRef clear configuration * + TIM External Clock configuration + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### TIMER Generic features ##### @@ -103,14 +114,14 @@ allows the user to configure dynamically the driver callbacks. [..] - Use Function @ref HAL_TIM_RegisterCallback() to register a callback. - @ref HAL_TIM_RegisterCallback() takes as parameters the HAL peripheral handle, + Use Function HAL_TIM_RegisterCallback() to register a callback. + HAL_TIM_RegisterCallback() takes as parameters the HAL peripheral handle, the Callback ID and a pointer to the user callback function. [..] - Use function @ref HAL_TIM_UnRegisterCallback() to reset a callback to the default + Use function HAL_TIM_UnRegisterCallback() to reset a callback to the default weak function. - @ref HAL_TIM_UnRegisterCallback takes as parameters the HAL peripheral handle, + HAL_TIM_UnRegisterCallback takes as parameters the HAL peripheral handle, and the Callback ID. [..] @@ -146,7 +157,7 @@ [..] By default, after the Init and when the state is HAL_TIM_STATE_RESET all interrupt callbacks are set to the corresponding weak functions: - examples @ref HAL_TIM_TriggerCallback(), @ref HAL_TIM_ErrorCallback(). + examples HAL_TIM_TriggerCallback(), HAL_TIM_ErrorCallback(). [..] Exception done for MspInit and MspDeInit functions that are reset to the legacy weak @@ -160,7 +171,7 @@ all interrupt callbacks are set to the corresponding weak functions: in HAL_TIM_STATE_READY or HAL_TIM_STATE_RESET state, thus registered(user) MspInit / DeInit callbacks can be used during the Init / DeInit. In that case first register the MspInit/MspDeInit user callbacks - using @ref HAL_TIM_RegisterCallback() before calling DeInit or Init function. + using HAL_TIM_RegisterCallback() before calling DeInit or Init function. [..] When The compilation define USE_HAL_TIM_REGISTER_CALLBACKS is set to 0 or @@ -169,17 +180,6 @@ all interrupt callbacks are set to the corresponding weak functions: @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -204,9 +204,9 @@ all interrupt callbacks are set to the corresponding weak functions: /** @addtogroup TIM_Private_Functions * @{ */ -static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config); -static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config); -static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config); +static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); +static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); +static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); static void TIM_TI1_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFilter); static void TIM_TI2_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, uint32_t TIM_ICFilter); @@ -222,7 +222,7 @@ static void TIM_DMADelayPulseCplt(DMA_HandleTypeDef *hdma); static void TIM_DMATriggerCplt(DMA_HandleTypeDef *hdma); static void TIM_DMATriggerHalfCplt(DMA_HandleTypeDef *hdma); static HAL_StatusTypeDef TIM_SlaveTimer_SetConfig(TIM_HandleTypeDef *htim, - TIM_SlaveConfigTypeDef *sSlaveConfig); + const TIM_SlaveConfigTypeDef *sSlaveConfig); /** * @} */ @@ -275,6 +275,7 @@ HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim) assert_param(IS_TIM_INSTANCE(htim->Instance)); assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); + assert_param(IS_TIM_PERIOD(htim->Init.Period)); assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); if (htim->State == HAL_TIM_STATE_RESET) @@ -522,7 +523,7 @@ HAL_StatusTypeDef HAL_TIM_Base_Stop_IT(TIM_HandleTypeDef *htim) * @param Length The length of data to be transferred from memory to peripheral. * @retval HAL status */ -HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length) +HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, const uint32_t *pData, uint16_t Length) { uint32_t tmpsmcr; @@ -536,7 +537,7 @@ HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pDat } else if (htim->State == HAL_TIM_STATE_READY) { - if ((pData == NULL) && (Length > 0U)) + if ((pData == NULL) || (Length == 0U)) { return HAL_ERROR; } @@ -559,7 +560,7 @@ HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pDat /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_UPDATE], (uint32_t)pData, (uint32_t)&htim->Instance->ARR, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -658,6 +659,7 @@ HAL_StatusTypeDef HAL_TIM_OC_Init(TIM_HandleTypeDef *htim) assert_param(IS_TIM_INSTANCE(htim->Instance)); assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); + assert_param(IS_TIM_PERIOD(htim->Init.Period)); assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); if (htim->State == HAL_TIM_STATE_RESET) @@ -875,6 +877,7 @@ HAL_StatusTypeDef HAL_TIM_OC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) */ HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; uint32_t tmpsmcr; /* Check the parameters */ @@ -920,34 +923,38 @@ HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) } default: + status = HAL_ERROR; break; } - /* Enable the Output compare channel */ - TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); - - if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) + if (status == HAL_OK) { - /* Enable the main output */ - __HAL_TIM_MOE_ENABLE(htim); - } + /* Enable the Output compare channel */ + TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); - /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ - if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) - { - tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; - if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) + { + /* Enable the main output */ + __HAL_TIM_MOE_ENABLE(htim); + } + + /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ + if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) + { + tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; + if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + { + __HAL_TIM_ENABLE(htim); + } + } + else { __HAL_TIM_ENABLE(htim); } } - else - { - __HAL_TIM_ENABLE(htim); - } /* Return function status */ - return HAL_OK; + return status; } /** @@ -963,6 +970,8 @@ HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) */ HAL_StatusTypeDef HAL_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; + /* Check the parameters */ assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); @@ -997,26 +1006,30 @@ HAL_StatusTypeDef HAL_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) } default: + status = HAL_ERROR; break; } - /* Disable the Output compare channel */ - TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); - - if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) + if (status == HAL_OK) { - /* Disable the Main Output */ - __HAL_TIM_MOE_DISABLE(htim); + /* Disable the Output compare channel */ + TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); + + if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) + { + /* Disable the Main Output */ + __HAL_TIM_MOE_DISABLE(htim); + } + + /* Disable the Peripheral */ + __HAL_TIM_DISABLE(htim); + + /* Set the TIM channel state */ + TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); } - /* Disable the Peripheral */ - __HAL_TIM_DISABLE(htim); - - /* Set the TIM channel state */ - TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); - /* Return function status */ - return HAL_OK; + return status; } /** @@ -1032,8 +1045,10 @@ HAL_StatusTypeDef HAL_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) * @param Length The length of data to be transferred from memory to TIM peripheral * @retval HAL status */ -HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) +HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, + uint16_t Length) { + HAL_StatusTypeDef status = HAL_OK; uint32_t tmpsmcr; /* Check the parameters */ @@ -1046,7 +1061,7 @@ HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel } else if (TIM_CHANNEL_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY) { - if ((pData == NULL) && (Length > 0U)) + if ((pData == NULL) || (Length == 0U)) { return HAL_ERROR; } @@ -1073,7 +1088,7 @@ HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)pData, (uint32_t)&htim->Instance->CCR1, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -1095,7 +1110,7 @@ HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)pData, (uint32_t)&htim->Instance->CCR2, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -1117,7 +1132,7 @@ HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)pData, (uint32_t)&htim->Instance->CCR3, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -1138,7 +1153,7 @@ HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)pData, (uint32_t)&htim->Instance->CCR4, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -1149,34 +1164,38 @@ HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel } default: + status = HAL_ERROR; break; } - /* Enable the Output compare channel */ - TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); - - if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) + if (status == HAL_OK) { - /* Enable the main output */ - __HAL_TIM_MOE_ENABLE(htim); - } + /* Enable the Output compare channel */ + TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); - /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ - if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) - { - tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; - if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) + { + /* Enable the main output */ + __HAL_TIM_MOE_ENABLE(htim); + } + + /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ + if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) + { + tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; + if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + { + __HAL_TIM_ENABLE(htim); + } + } + else { __HAL_TIM_ENABLE(htim); } } - else - { - __HAL_TIM_ENABLE(htim); - } /* Return function status */ - return HAL_OK; + return status; } /** @@ -1192,6 +1211,8 @@ HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel */ HAL_StatusTypeDef HAL_TIM_OC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; + /* Check the parameters */ assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); @@ -1230,26 +1251,30 @@ HAL_StatusTypeDef HAL_TIM_OC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) } default: + status = HAL_ERROR; break; } - /* Disable the Output compare channel */ - TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); - - if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) + if (status == HAL_OK) { - /* Disable the Main Output */ - __HAL_TIM_MOE_DISABLE(htim); + /* Disable the Output compare channel */ + TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); + + if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) + { + /* Disable the Main Output */ + __HAL_TIM_MOE_DISABLE(htim); + } + + /* Disable the Peripheral */ + __HAL_TIM_DISABLE(htim); + + /* Set the TIM channel state */ + TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); } - /* Disable the Peripheral */ - __HAL_TIM_DISABLE(htim); - - /* Set the TIM channel state */ - TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); - /* Return function status */ - return HAL_OK; + return status; } /** @@ -1299,6 +1324,7 @@ HAL_StatusTypeDef HAL_TIM_PWM_Init(TIM_HandleTypeDef *htim) assert_param(IS_TIM_INSTANCE(htim->Instance)); assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); + assert_param(IS_TIM_PERIOD(htim->Init.Period)); assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); if (htim->State == HAL_TIM_STATE_RESET) @@ -1516,7 +1542,9 @@ HAL_StatusTypeDef HAL_TIM_PWM_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) */ HAL_StatusTypeDef HAL_TIM_PWM_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; uint32_t tmpsmcr; + /* Check the parameters */ assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); @@ -1560,34 +1588,38 @@ HAL_StatusTypeDef HAL_TIM_PWM_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel } default: + status = HAL_ERROR; break; } - /* Enable the Capture compare channel */ - TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); - - if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) + if (status == HAL_OK) { - /* Enable the main output */ - __HAL_TIM_MOE_ENABLE(htim); - } + /* Enable the Capture compare channel */ + TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); - /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ - if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) - { - tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; - if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) + { + /* Enable the main output */ + __HAL_TIM_MOE_ENABLE(htim); + } + + /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ + if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) + { + tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; + if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + { + __HAL_TIM_ENABLE(htim); + } + } + else { __HAL_TIM_ENABLE(htim); } } - else - { - __HAL_TIM_ENABLE(htim); - } /* Return function status */ - return HAL_OK; + return status; } /** @@ -1603,6 +1635,8 @@ HAL_StatusTypeDef HAL_TIM_PWM_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel */ HAL_StatusTypeDef HAL_TIM_PWM_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; + /* Check the parameters */ assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); @@ -1637,26 +1671,30 @@ HAL_StatusTypeDef HAL_TIM_PWM_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) } default: + status = HAL_ERROR; break; } - /* Disable the Capture compare channel */ - TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); - - if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) + if (status == HAL_OK) { - /* Disable the Main Output */ - __HAL_TIM_MOE_DISABLE(htim); + /* Disable the Capture compare channel */ + TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); + + if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) + { + /* Disable the Main Output */ + __HAL_TIM_MOE_DISABLE(htim); + } + + /* Disable the Peripheral */ + __HAL_TIM_DISABLE(htim); + + /* Set the TIM channel state */ + TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); } - /* Disable the Peripheral */ - __HAL_TIM_DISABLE(htim); - - /* Set the TIM channel state */ - TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); - /* Return function status */ - return HAL_OK; + return status; } /** @@ -1672,8 +1710,10 @@ HAL_StatusTypeDef HAL_TIM_PWM_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) * @param Length The length of data to be transferred from memory to TIM peripheral * @retval HAL status */ -HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) +HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, + uint16_t Length) { + HAL_StatusTypeDef status = HAL_OK; uint32_t tmpsmcr; /* Check the parameters */ @@ -1686,7 +1726,7 @@ HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channe } else if (TIM_CHANNEL_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY) { - if ((pData == NULL) && (Length > 0U)) + if ((pData == NULL) || (Length == 0U)) { return HAL_ERROR; } @@ -1713,7 +1753,7 @@ HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channe /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)pData, (uint32_t)&htim->Instance->CCR1, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -1735,7 +1775,7 @@ HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channe /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)pData, (uint32_t)&htim->Instance->CCR2, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -1756,7 +1796,7 @@ HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channe /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)pData, (uint32_t)&htim->Instance->CCR3, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -1777,7 +1817,7 @@ HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channe /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)pData, (uint32_t)&htim->Instance->CCR4, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -1788,34 +1828,38 @@ HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channe } default: + status = HAL_ERROR; break; } - /* Enable the Capture compare channel */ - TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); - - if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) + if (status == HAL_OK) { - /* Enable the main output */ - __HAL_TIM_MOE_ENABLE(htim); - } + /* Enable the Capture compare channel */ + TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); - /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ - if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) - { - tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; - if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) + { + /* Enable the main output */ + __HAL_TIM_MOE_ENABLE(htim); + } + + /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ + if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) + { + tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; + if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + { + __HAL_TIM_ENABLE(htim); + } + } + else { __HAL_TIM_ENABLE(htim); } } - else - { - __HAL_TIM_ENABLE(htim); - } /* Return function status */ - return HAL_OK; + return status; } /** @@ -1831,6 +1875,8 @@ HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channe */ HAL_StatusTypeDef HAL_TIM_PWM_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; + /* Check the parameters */ assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); @@ -1869,26 +1915,30 @@ HAL_StatusTypeDef HAL_TIM_PWM_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel } default: + status = HAL_ERROR; break; } - /* Disable the Capture compare channel */ - TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); - - if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) + if (status == HAL_OK) { - /* Disable the Main Output */ - __HAL_TIM_MOE_DISABLE(htim); + /* Disable the Capture compare channel */ + TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); + + if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET) + { + /* Disable the Main Output */ + __HAL_TIM_MOE_DISABLE(htim); + } + + /* Disable the Peripheral */ + __HAL_TIM_DISABLE(htim); + + /* Set the TIM channel state */ + TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); } - /* Disable the Peripheral */ - __HAL_TIM_DISABLE(htim); - - /* Set the TIM channel state */ - TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); - /* Return function status */ - return HAL_OK; + return status; } /** @@ -1938,6 +1988,7 @@ HAL_StatusTypeDef HAL_TIM_IC_Init(TIM_HandleTypeDef *htim) assert_param(IS_TIM_INSTANCE(htim->Instance)); assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); + assert_param(IS_TIM_PERIOD(htim->Init.Period)); assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); if (htim->State == HAL_TIM_STATE_RESET) @@ -2148,7 +2199,9 @@ HAL_StatusTypeDef HAL_TIM_IC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) */ HAL_StatusTypeDef HAL_TIM_IC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; uint32_t tmpsmcr; + HAL_TIM_ChannelStateTypeDef channel_state = TIM_CHANNEL_STATE_GET(htim, Channel); HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); @@ -2197,27 +2250,32 @@ HAL_StatusTypeDef HAL_TIM_IC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) } default: + status = HAL_ERROR; break; } - /* Enable the Input Capture channel */ - TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); - /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ - if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) + if (status == HAL_OK) { - tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; - if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + /* Enable the Input Capture channel */ + TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); + + /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ + if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) + { + tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; + if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + { + __HAL_TIM_ENABLE(htim); + } + } + else { __HAL_TIM_ENABLE(htim); } } - else - { - __HAL_TIM_ENABLE(htim); - } /* Return function status */ - return HAL_OK; + return status; } /** @@ -2233,6 +2291,8 @@ HAL_StatusTypeDef HAL_TIM_IC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) */ HAL_StatusTypeDef HAL_TIM_IC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; + /* Check the parameters */ assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); @@ -2267,21 +2327,25 @@ HAL_StatusTypeDef HAL_TIM_IC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) } default: + status = HAL_ERROR; break; } - /* Disable the Input Capture channel */ - TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); + if (status == HAL_OK) + { + /* Disable the Input Capture channel */ + TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE); - /* Disable the Peripheral */ - __HAL_TIM_DISABLE(htim); + /* Disable the Peripheral */ + __HAL_TIM_DISABLE(htim); - /* Set the TIM channel state */ - TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); - TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); + /* Set the TIM channel state */ + TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); + TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); + } /* Return function status */ - return HAL_OK; + return status; } /** @@ -2299,7 +2363,9 @@ HAL_StatusTypeDef HAL_TIM_IC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) */ HAL_StatusTypeDef HAL_TIM_IC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) { + HAL_StatusTypeDef status = HAL_OK; uint32_t tmpsmcr; + HAL_TIM_ChannelStateTypeDef channel_state = TIM_CHANNEL_STATE_GET(htim, Channel); HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel); @@ -2316,7 +2382,7 @@ HAL_StatusTypeDef HAL_TIM_IC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel else if ((channel_state == HAL_TIM_CHANNEL_STATE_READY) && (complementary_channel_state == HAL_TIM_CHANNEL_STATE_READY)) { - if ((pData == NULL) && (Length > 0U)) + if ((pData == NULL) || (Length == 0U)) { return HAL_ERROR; } @@ -2334,20 +2400,6 @@ HAL_StatusTypeDef HAL_TIM_IC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel /* Enable the Input Capture channel */ TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE); - /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ - if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) - { - tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; - if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) - { - __HAL_TIM_ENABLE(htim); - } - } - else - { - __HAL_TIM_ENABLE(htim); - } - switch (Channel) { case TIM_CHANNEL_1: @@ -2361,7 +2413,7 @@ HAL_StatusTypeDef HAL_TIM_IC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->CCR1, (uint32_t)pData, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -2382,7 +2434,7 @@ HAL_StatusTypeDef HAL_TIM_IC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)&htim->Instance->CCR2, (uint32_t)pData, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -2403,7 +2455,7 @@ HAL_StatusTypeDef HAL_TIM_IC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)&htim->Instance->CCR3, (uint32_t)pData, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -2424,7 +2476,7 @@ HAL_StatusTypeDef HAL_TIM_IC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)&htim->Instance->CCR4, (uint32_t)pData, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -2435,11 +2487,26 @@ HAL_StatusTypeDef HAL_TIM_IC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel } default: + status = HAL_ERROR; break; } + /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ + if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) + { + tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; + if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + { + __HAL_TIM_ENABLE(htim); + } + } + else + { + __HAL_TIM_ENABLE(htim); + } + /* Return function status */ - return HAL_OK; + return status; } /** @@ -2455,6 +2522,8 @@ HAL_StatusTypeDef HAL_TIM_IC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel */ HAL_StatusTypeDef HAL_TIM_IC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; + /* Check the parameters */ assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel)); assert_param(IS_TIM_DMA_CC_INSTANCE(htim->Instance)); @@ -2497,18 +2566,22 @@ HAL_StatusTypeDef HAL_TIM_IC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) } default: + status = HAL_ERROR; break; } - /* Disable the Peripheral */ - __HAL_TIM_DISABLE(htim); + if (status == HAL_OK) + { + /* Disable the Peripheral */ + __HAL_TIM_DISABLE(htim); - /* Set the TIM channel state */ - TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); - TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); + /* Set the TIM channel state */ + TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); + TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); + } /* Return function status */ - return HAL_OK; + return status; } /** * @} @@ -2565,6 +2638,7 @@ HAL_StatusTypeDef HAL_TIM_OnePulse_Init(TIM_HandleTypeDef *htim, uint32_t OnePul assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); assert_param(IS_TIM_OPM_MODE(OnePulseMode)); + assert_param(IS_TIM_PERIOD(htim->Init.Period)); assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); if (htim->State == HAL_TIM_STATE_RESET) @@ -2942,7 +3016,7 @@ HAL_StatusTypeDef HAL_TIM_OnePulse_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Out * @param sConfig TIM Encoder Interface configuration structure * @retval HAL status */ -HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, TIM_Encoder_InitTypeDef *sConfig) +HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, const TIM_Encoder_InitTypeDef *sConfig) { uint32_t tmpsmcr; uint32_t tmpccmr1; @@ -2968,6 +3042,7 @@ HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, TIM_Encoder_Ini assert_param(IS_TIM_IC_PRESCALER(sConfig->IC2Prescaler)); assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); assert_param(IS_TIM_IC_FILTER(sConfig->IC2Filter)); + assert_param(IS_TIM_PERIOD(htim->Init.Period)); if (htim->State == HAL_TIM_STATE_RESET) { @@ -3476,7 +3551,7 @@ HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Ch else if ((channel_1_state == HAL_TIM_CHANNEL_STATE_READY) && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)) { - if ((pData1 == NULL) && (Length > 0U)) + if ((pData1 == NULL) || (Length == 0U)) { return HAL_ERROR; } @@ -3501,7 +3576,7 @@ HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Ch else if ((channel_2_state == HAL_TIM_CHANNEL_STATE_READY) && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY)) { - if ((pData2 == NULL) && (Length > 0U)) + if ((pData2 == NULL) || (Length == 0U)) { return HAL_ERROR; } @@ -3530,7 +3605,7 @@ HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Ch && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY) && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY)) { - if ((((pData1 == NULL) || (pData2 == NULL))) && (Length > 0U)) + if ((((pData1 == NULL) || (pData2 == NULL))) || (Length == 0U)) { return HAL_ERROR; } @@ -3561,7 +3636,7 @@ HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Ch /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->CCR1, (uint32_t)pData1, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -3569,11 +3644,12 @@ HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Ch /* Enable the TIM Input Capture DMA request */ __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); + /* Enable the Capture compare channel */ + TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); + /* Enable the Peripheral */ __HAL_TIM_ENABLE(htim); - /* Enable the Capture compare channel */ - TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); break; } @@ -3587,7 +3663,7 @@ HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Ch htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError; /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)&htim->Instance->CCR2, (uint32_t)pData2, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -3595,15 +3671,16 @@ HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Ch /* Enable the TIM Input Capture DMA request */ __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2); + /* Enable the Capture compare channel */ + TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); + /* Enable the Peripheral */ __HAL_TIM_ENABLE(htim); - /* Enable the Capture compare channel */ - TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); break; } - case TIM_CHANNEL_ALL: + default: { /* Set the DMA capture callbacks */ htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt; @@ -3614,7 +3691,7 @@ HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Ch /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->CCR1, (uint32_t)pData1, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -3629,27 +3706,26 @@ HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Ch /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)&htim->Instance->CCR2, (uint32_t)pData2, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; } - /* Enable the Peripheral */ - __HAL_TIM_ENABLE(htim); - - /* Enable the Capture compare channel */ - TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); - TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); /* Enable the TIM Input Capture DMA request */ __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1); /* Enable the TIM Input Capture DMA request */ __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2); + + /* Enable the Capture compare channel */ + TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE); + TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE); + + /* Enable the Peripheral */ + __HAL_TIM_ENABLE(htim); + break; } - - default: - break; } /* Return function status */ @@ -3959,9 +4035,11 @@ void HAL_TIM_IRQHandler(TIM_HandleTypeDef *htim) * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, - TIM_OC_InitTypeDef *sConfig, + const TIM_OC_InitTypeDef *sConfig, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; + /* Check the parameters */ assert_param(IS_TIM_CHANNELS(Channel)); assert_param(IS_TIM_OC_MODE(sConfig->OCMode)); @@ -4013,12 +4091,13 @@ HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, } default: + status = HAL_ERROR; break; } __HAL_UNLOCK(htim); - return HAL_OK; + return status; } /** @@ -4034,8 +4113,10 @@ HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, * @arg TIM_CHANNEL_4: TIM Channel 4 selected * @retval HAL status */ -HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, TIM_IC_InitTypeDef *sConfig, uint32_t Channel) +HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_IC_InitTypeDef *sConfig, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; + /* Check the parameters */ assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); assert_param(IS_TIM_IC_POLARITY(sConfig->ICPolarity)); @@ -4092,7 +4173,7 @@ HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, TIM_IC_InitT /* Set the IC3PSC value */ htim->Instance->CCMR2 |= sConfig->ICPrescaler; } - else + else if (Channel == TIM_CHANNEL_4) { /* TI4 Configuration */ assert_param(IS_TIM_CC4_INSTANCE(htim->Instance)); @@ -4108,10 +4189,14 @@ HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, TIM_IC_InitT /* Set the IC4PSC value */ htim->Instance->CCMR2 |= (sConfig->ICPrescaler << 8U); } + else + { + status = HAL_ERROR; + } __HAL_UNLOCK(htim); - return HAL_OK; + return status; } /** @@ -4128,9 +4213,11 @@ HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, TIM_IC_InitT * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, - TIM_OC_InitTypeDef *sConfig, + const TIM_OC_InitTypeDef *sConfig, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; + /* Check the parameters */ assert_param(IS_TIM_CHANNELS(Channel)); assert_param(IS_TIM_PWM_MODE(sConfig->OCMode)); @@ -4211,12 +4298,13 @@ HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, } default: + status = HAL_ERROR; break; } __HAL_UNLOCK(htim); - return HAL_OK; + return status; } /** @@ -4241,6 +4329,7 @@ HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, HAL_StatusTypeDef HAL_TIM_OnePulse_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OnePulse_InitTypeDef *sConfig, uint32_t OutputChannel, uint32_t InputChannel) { + HAL_StatusTypeDef status = HAL_OK; TIM_OC_InitTypeDef temp1; /* Check the parameters */ @@ -4271,6 +4360,7 @@ HAL_StatusTypeDef HAL_TIM_OnePulse_ConfigChannel(TIM_HandleTypeDef *htim, TIM_O TIM_OC1_SetConfig(htim->Instance, &temp1); break; } + case TIM_CHANNEL_2: { assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); @@ -4278,60 +4368,67 @@ HAL_StatusTypeDef HAL_TIM_OnePulse_ConfigChannel(TIM_HandleTypeDef *htim, TIM_O TIM_OC2_SetConfig(htim->Instance, &temp1); break; } + default: + status = HAL_ERROR; break; } - switch (InputChannel) + if (status == HAL_OK) { - case TIM_CHANNEL_1: + switch (InputChannel) { - assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); + case TIM_CHANNEL_1: + { + assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); - TIM_TI1_SetConfig(htim->Instance, sConfig->ICPolarity, - sConfig->ICSelection, sConfig->ICFilter); + TIM_TI1_SetConfig(htim->Instance, sConfig->ICPolarity, + sConfig->ICSelection, sConfig->ICFilter); - /* Reset the IC1PSC Bits */ - htim->Instance->CCMR1 &= ~TIM_CCMR1_IC1PSC; + /* Reset the IC1PSC Bits */ + htim->Instance->CCMR1 &= ~TIM_CCMR1_IC1PSC; - /* Select the Trigger source */ - htim->Instance->SMCR &= ~TIM_SMCR_TS; - htim->Instance->SMCR |= TIM_TS_TI1FP1; + /* Select the Trigger source */ + htim->Instance->SMCR &= ~TIM_SMCR_TS; + htim->Instance->SMCR |= TIM_TS_TI1FP1; - /* Select the Slave Mode */ - htim->Instance->SMCR &= ~TIM_SMCR_SMS; - htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; - break; + /* Select the Slave Mode */ + htim->Instance->SMCR &= ~TIM_SMCR_SMS; + htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; + break; + } + + case TIM_CHANNEL_2: + { + assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); + + TIM_TI2_SetConfig(htim->Instance, sConfig->ICPolarity, + sConfig->ICSelection, sConfig->ICFilter); + + /* Reset the IC2PSC Bits */ + htim->Instance->CCMR1 &= ~TIM_CCMR1_IC2PSC; + + /* Select the Trigger source */ + htim->Instance->SMCR &= ~TIM_SMCR_TS; + htim->Instance->SMCR |= TIM_TS_TI2FP2; + + /* Select the Slave Mode */ + htim->Instance->SMCR &= ~TIM_SMCR_SMS; + htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; + break; + } + + default: + status = HAL_ERROR; + break; } - case TIM_CHANNEL_2: - { - assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); - - TIM_TI2_SetConfig(htim->Instance, sConfig->ICPolarity, - sConfig->ICSelection, sConfig->ICFilter); - - /* Reset the IC2PSC Bits */ - htim->Instance->CCMR1 &= ~TIM_CCMR1_IC2PSC; - - /* Select the Trigger source */ - htim->Instance->SMCR &= ~TIM_SMCR_TS; - htim->Instance->SMCR |= TIM_TS_TI2FP2; - - /* Select the Slave Mode */ - htim->Instance->SMCR &= ~TIM_SMCR_SMS; - htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER; - break; - } - - default: - break; } htim->State = HAL_TIM_STATE_READY; __HAL_UNLOCK(htim); - return HAL_OK; + return status; } else { @@ -4378,10 +4475,16 @@ HAL_StatusTypeDef HAL_TIM_OnePulse_ConfigChannel(TIM_HandleTypeDef *htim, TIM_O * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, - uint32_t BurstRequestSrc, uint32_t *BurstBuffer, uint32_t BurstLength) + uint32_t BurstRequestSrc, const uint32_t *BurstBuffer, uint32_t BurstLength) { - return HAL_TIM_DMABurst_MultiWriteStart(htim, BurstBaseAddress, BurstRequestSrc, BurstBuffer, BurstLength, - ((BurstLength) >> 8U) + 1U); + HAL_StatusTypeDef status; + + status = HAL_TIM_DMABurst_MultiWriteStart(htim, BurstBaseAddress, BurstRequestSrc, BurstBuffer, BurstLength, + ((BurstLength) >> 8U) + 1U); + + + + return status; } /** @@ -4424,9 +4527,11 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStart(TIM_HandleTypeDef *htim, uint32_t * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, - uint32_t BurstRequestSrc, uint32_t *BurstBuffer, + uint32_t BurstRequestSrc, const uint32_t *BurstBuffer, uint32_t BurstLength, uint32_t DataLength) { + HAL_StatusTypeDef status = HAL_OK; + /* Check the parameters */ assert_param(IS_TIM_DMABURST_INSTANCE(htim->Instance)); assert_param(IS_TIM_DMA_BASE(BurstBaseAddress)); @@ -4453,6 +4558,7 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint { /* nothing to do */ } + switch (BurstRequestSrc) { case TIM_DMA_UPDATE: @@ -4466,7 +4572,7 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_UPDATE], (uint32_t)BurstBuffer, - (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) + (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -4484,7 +4590,7 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)BurstBuffer, - (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) + (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -4502,7 +4608,7 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)BurstBuffer, - (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) + (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -4520,7 +4626,7 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)BurstBuffer, - (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) + (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -4538,7 +4644,7 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)BurstBuffer, - (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) + (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -4556,7 +4662,7 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_COMMUTATION], (uint32_t)BurstBuffer, - (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) + (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -4574,7 +4680,7 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_TRIGGER], (uint32_t)BurstBuffer, - (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) + (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -4582,16 +4688,20 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint break; } default: + status = HAL_ERROR; break; } - /* Configure the DMA Burst Mode */ - htim->Instance->DCR = (BurstBaseAddress | BurstLength); - /* Enable the TIM DMA Request */ - __HAL_TIM_ENABLE_DMA(htim, BurstRequestSrc); + if (status == HAL_OK) + { + /* Configure the DMA Burst Mode */ + htim->Instance->DCR = (BurstBaseAddress | BurstLength); + /* Enable the TIM DMA Request */ + __HAL_TIM_ENABLE_DMA(htim, BurstRequestSrc); + } /* Return function status */ - return HAL_OK; + return status; } /** @@ -4602,6 +4712,8 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint */ HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc) { + HAL_StatusTypeDef status = HAL_OK; + /* Check the parameters */ assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc)); @@ -4644,17 +4756,21 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStop(TIM_HandleTypeDef *htim, uint32_t B break; } default: + status = HAL_ERROR; break; } - /* Disable the TIM Update DMA request */ - __HAL_TIM_DISABLE_DMA(htim, BurstRequestSrc); + if (status == HAL_OK) + { + /* Disable the TIM Update DMA request */ + __HAL_TIM_DISABLE_DMA(htim, BurstRequestSrc); - /* Change the DMA burst operation state */ - htim->DMABurstState = HAL_DMA_BURST_STATE_READY; + /* Change the DMA burst operation state */ + htim->DMABurstState = HAL_DMA_BURST_STATE_READY; + } /* Return function status */ - return HAL_OK; + return status; } /** @@ -4698,8 +4814,13 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStop(TIM_HandleTypeDef *htim, uint32_t B HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, uint32_t BurstRequestSrc, uint32_t *BurstBuffer, uint32_t BurstLength) { - return HAL_TIM_DMABurst_MultiReadStart(htim, BurstBaseAddress, BurstRequestSrc, BurstBuffer, BurstLength, - ((BurstLength) >> 8U) + 1U); + HAL_StatusTypeDef status; + + status = HAL_TIM_DMABurst_MultiReadStart(htim, BurstBaseAddress, BurstRequestSrc, BurstBuffer, BurstLength, + ((BurstLength) >> 8U) + 1U); + + + return status; } /** @@ -4745,6 +4866,8 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint3 uint32_t BurstRequestSrc, uint32_t *BurstBuffer, uint32_t BurstLength, uint32_t DataLength) { + HAL_StatusTypeDef status = HAL_OK; + /* Check the parameters */ assert_param(IS_TIM_DMABURST_INSTANCE(htim->Instance)); assert_param(IS_TIM_DMA_BASE(BurstBaseAddress)); @@ -4784,7 +4907,7 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint3 /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_UPDATE], (uint32_t)&htim->Instance->DMAR, (uint32_t)BurstBuffer, - DataLength) != HAL_OK) + DataLength) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -4802,7 +4925,7 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint3 /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->DMAR, (uint32_t)BurstBuffer, - DataLength) != HAL_OK) + DataLength) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -4820,7 +4943,7 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint3 /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)&htim->Instance->DMAR, (uint32_t)BurstBuffer, - DataLength) != HAL_OK) + DataLength) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -4838,7 +4961,7 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint3 /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)&htim->Instance->DMAR, (uint32_t)BurstBuffer, - DataLength) != HAL_OK) + DataLength) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -4856,7 +4979,7 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint3 /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)&htim->Instance->DMAR, (uint32_t)BurstBuffer, - DataLength) != HAL_OK) + DataLength) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -4874,7 +4997,7 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint3 /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_COMMUTATION], (uint32_t)&htim->Instance->DMAR, (uint32_t)BurstBuffer, - DataLength) != HAL_OK) + DataLength) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -4892,7 +5015,7 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint3 /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_TRIGGER], (uint32_t)&htim->Instance->DMAR, (uint32_t)BurstBuffer, - DataLength) != HAL_OK) + DataLength) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -4900,17 +5023,21 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint3 break; } default: + status = HAL_ERROR; break; } - /* Configure the DMA Burst Mode */ - htim->Instance->DCR = (BurstBaseAddress | BurstLength); + if (status == HAL_OK) + { + /* Configure the DMA Burst Mode */ + htim->Instance->DCR = (BurstBaseAddress | BurstLength); - /* Enable the TIM DMA Request */ - __HAL_TIM_ENABLE_DMA(htim, BurstRequestSrc); + /* Enable the TIM DMA Request */ + __HAL_TIM_ENABLE_DMA(htim, BurstRequestSrc); + } /* Return function status */ - return HAL_OK; + return status; } /** @@ -4921,6 +5048,8 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint3 */ HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc) { + HAL_StatusTypeDef status = HAL_OK; + /* Check the parameters */ assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc)); @@ -4963,17 +5092,21 @@ HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStop(TIM_HandleTypeDef *htim, uint32_t Bu break; } default: + status = HAL_ERROR; break; } - /* Disable the TIM Update DMA request */ - __HAL_TIM_DISABLE_DMA(htim, BurstRequestSrc); + if (status == HAL_OK) + { + /* Disable the TIM Update DMA request */ + __HAL_TIM_DISABLE_DMA(htim, BurstRequestSrc); - /* Change the DMA burst operation state */ - htim->DMABurstState = HAL_DMA_BURST_STATE_READY; + /* Change the DMA burst operation state */ + htim->DMABurstState = HAL_DMA_BURST_STATE_READY; + } /* Return function status */ - return HAL_OK; + return status; } /** @@ -5034,9 +5167,11 @@ HAL_StatusTypeDef HAL_TIM_GenerateEvent(TIM_HandleTypeDef *htim, uint32_t EventS * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_ConfigOCrefClear(TIM_HandleTypeDef *htim, - TIM_ClearInputConfigTypeDef *sClearInputConfig, + const TIM_ClearInputConfigTypeDef *sClearInputConfig, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; + /* Check the parameters */ assert_param(IS_TIM_OCXREF_CLEAR_INSTANCE(htim->Instance)); assert_param(IS_TIM_CLEARINPUT_SOURCE(sClearInputConfig->ClearInputSource)); @@ -5078,76 +5213,80 @@ HAL_StatusTypeDef HAL_TIM_ConfigOCrefClear(TIM_HandleTypeDef *htim, } default: + status = HAL_ERROR; break; } - switch (Channel) + if (status == HAL_OK) { - case TIM_CHANNEL_1: + switch (Channel) { - if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) + case TIM_CHANNEL_1: { - /* Enable the OCREF clear feature for Channel 1 */ - SET_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC1CE); + if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) + { + /* Enable the OCREF clear feature for Channel 1 */ + SET_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC1CE); + } + else + { + /* Disable the OCREF clear feature for Channel 1 */ + CLEAR_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC1CE); + } + break; } - else + case TIM_CHANNEL_2: { - /* Disable the OCREF clear feature for Channel 1 */ - CLEAR_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC1CE); + if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) + { + /* Enable the OCREF clear feature for Channel 2 */ + SET_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC2CE); + } + else + { + /* Disable the OCREF clear feature for Channel 2 */ + CLEAR_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC2CE); + } + break; } - break; + case TIM_CHANNEL_3: + { + if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) + { + /* Enable the OCREF clear feature for Channel 3 */ + SET_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC3CE); + } + else + { + /* Disable the OCREF clear feature for Channel 3 */ + CLEAR_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC3CE); + } + break; + } + case TIM_CHANNEL_4: + { + if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) + { + /* Enable the OCREF clear feature for Channel 4 */ + SET_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC4CE); + } + else + { + /* Disable the OCREF clear feature for Channel 4 */ + CLEAR_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC4CE); + } + break; + } + default: + break; } - case TIM_CHANNEL_2: - { - if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) - { - /* Enable the OCREF clear feature for Channel 2 */ - SET_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC2CE); - } - else - { - /* Disable the OCREF clear feature for Channel 2 */ - CLEAR_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC2CE); - } - break; - } - case TIM_CHANNEL_3: - { - if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) - { - /* Enable the OCREF clear feature for Channel 3 */ - SET_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC3CE); - } - else - { - /* Disable the OCREF clear feature for Channel 3 */ - CLEAR_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC3CE); - } - break; - } - case TIM_CHANNEL_4: - { - if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE) - { - /* Enable the OCREF clear feature for Channel 4 */ - SET_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC4CE); - } - else - { - /* Disable the OCREF clear feature for Channel 4 */ - CLEAR_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC4CE); - } - break; - } - default: - break; } htim->State = HAL_TIM_STATE_READY; __HAL_UNLOCK(htim); - return HAL_OK; + return status; } /** @@ -5157,8 +5296,9 @@ HAL_StatusTypeDef HAL_TIM_ConfigOCrefClear(TIM_HandleTypeDef *htim, * contains the clock source information for the TIM peripheral. * @retval HAL status */ -HAL_StatusTypeDef HAL_TIM_ConfigClockSource(TIM_HandleTypeDef *htim, TIM_ClockConfigTypeDef *sClockSourceConfig) +HAL_StatusTypeDef HAL_TIM_ConfigClockSource(TIM_HandleTypeDef *htim, const TIM_ClockConfigTypeDef *sClockSourceConfig) { + HAL_StatusTypeDef status = HAL_OK; uint32_t tmpsmcr; /* Process Locked */ @@ -5279,22 +5419,23 @@ HAL_StatusTypeDef HAL_TIM_ConfigClockSource(TIM_HandleTypeDef *htim, TIM_ClockCo case TIM_CLOCKSOURCE_ITR1: case TIM_CLOCKSOURCE_ITR2: case TIM_CLOCKSOURCE_ITR3: - { - /* Check whether or not the timer instance supports internal trigger input */ - assert_param(IS_TIM_CLOCKSOURCE_ITRX_INSTANCE(htim->Instance)); + { + /* Check whether or not the timer instance supports internal trigger input */ + assert_param(IS_TIM_CLOCKSOURCE_ITRX_INSTANCE(htim->Instance)); - TIM_ITRx_SetConfig(htim->Instance, sClockSourceConfig->ClockSource); - break; - } + TIM_ITRx_SetConfig(htim->Instance, sClockSourceConfig->ClockSource); + break; + } default: + status = HAL_ERROR; break; } htim->State = HAL_TIM_STATE_READY; __HAL_UNLOCK(htim); - return HAL_OK; + return status; } /** @@ -5341,7 +5482,7 @@ HAL_StatusTypeDef HAL_TIM_ConfigTI1Input(TIM_HandleTypeDef *htim, uint32_t TI1_S * (Disable, Reset, Gated, Trigger, External clock mode 1). * @retval HAL status */ -HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro(TIM_HandleTypeDef *htim, TIM_SlaveConfigTypeDef *sSlaveConfig) +HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro(TIM_HandleTypeDef *htim, const TIM_SlaveConfigTypeDef *sSlaveConfig) { /* Check the parameters */ assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance)); @@ -5382,7 +5523,7 @@ HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro(TIM_HandleTypeDef *htim, TIM_SlaveC * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro_IT(TIM_HandleTypeDef *htim, - TIM_SlaveConfigTypeDef *sSlaveConfig) + const TIM_SlaveConfigTypeDef *sSlaveConfig) { /* Check the parameters */ assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance)); @@ -5424,7 +5565,7 @@ HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro_IT(TIM_HandleTypeDef *htim, * @arg TIM_CHANNEL_4: TIM Channel 4 selected * @retval Captured value */ -uint32_t HAL_TIM_ReadCapturedValue(TIM_HandleTypeDef *htim, uint32_t Channel) +uint32_t HAL_TIM_ReadCapturedValue(const TIM_HandleTypeDef *htim, uint32_t Channel) { uint32_t tmpreg = 0U; @@ -5698,8 +5839,6 @@ HAL_StatusTypeDef HAL_TIM_RegisterCallback(TIM_HandleTypeDef *htim, HAL_TIM_Call { return HAL_ERROR; } - /* Process locked */ - __HAL_LOCK(htim); if (htim->State == HAL_TIM_STATE_READY) { @@ -5815,7 +5954,7 @@ HAL_StatusTypeDef HAL_TIM_RegisterCallback(TIM_HandleTypeDef *htim, HAL_TIM_Call default : /* Return error status */ - status = HAL_ERROR; + status = HAL_ERROR; break; } } @@ -5881,19 +6020,16 @@ HAL_StatusTypeDef HAL_TIM_RegisterCallback(TIM_HandleTypeDef *htim, HAL_TIM_Call default : /* Return error status */ - status = HAL_ERROR; + status = HAL_ERROR; break; } } else { /* Return error status */ - status = HAL_ERROR; + status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(htim); - return status; } @@ -5936,9 +6072,6 @@ HAL_StatusTypeDef HAL_TIM_UnRegisterCallback(TIM_HandleTypeDef *htim, HAL_TIM_Ca { HAL_StatusTypeDef status = HAL_OK; - /* Process locked */ - __HAL_LOCK(htim); - if (htim->State == HAL_TIM_STATE_READY) { switch (CallbackID) @@ -6080,7 +6213,7 @@ HAL_StatusTypeDef HAL_TIM_UnRegisterCallback(TIM_HandleTypeDef *htim, HAL_TIM_Ca default : /* Return error status */ - status = HAL_ERROR; + status = HAL_ERROR; break; } } @@ -6160,19 +6293,16 @@ HAL_StatusTypeDef HAL_TIM_UnRegisterCallback(TIM_HandleTypeDef *htim, HAL_TIM_Ca default : /* Return error status */ - status = HAL_ERROR; + status = HAL_ERROR; break; } } else { /* Return error status */ - status = HAL_ERROR; + status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(htim); - return status; } #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ @@ -6201,7 +6331,7 @@ HAL_StatusTypeDef HAL_TIM_UnRegisterCallback(TIM_HandleTypeDef *htim, HAL_TIM_Ca * @param htim TIM Base handle * @retval HAL state */ -HAL_TIM_StateTypeDef HAL_TIM_Base_GetState(TIM_HandleTypeDef *htim) +HAL_TIM_StateTypeDef HAL_TIM_Base_GetState(const TIM_HandleTypeDef *htim) { return htim->State; } @@ -6211,7 +6341,7 @@ HAL_TIM_StateTypeDef HAL_TIM_Base_GetState(TIM_HandleTypeDef *htim) * @param htim TIM Output Compare handle * @retval HAL state */ -HAL_TIM_StateTypeDef HAL_TIM_OC_GetState(TIM_HandleTypeDef *htim) +HAL_TIM_StateTypeDef HAL_TIM_OC_GetState(const TIM_HandleTypeDef *htim) { return htim->State; } @@ -6221,7 +6351,7 @@ HAL_TIM_StateTypeDef HAL_TIM_OC_GetState(TIM_HandleTypeDef *htim) * @param htim TIM handle * @retval HAL state */ -HAL_TIM_StateTypeDef HAL_TIM_PWM_GetState(TIM_HandleTypeDef *htim) +HAL_TIM_StateTypeDef HAL_TIM_PWM_GetState(const TIM_HandleTypeDef *htim) { return htim->State; } @@ -6231,7 +6361,7 @@ HAL_TIM_StateTypeDef HAL_TIM_PWM_GetState(TIM_HandleTypeDef *htim) * @param htim TIM IC handle * @retval HAL state */ -HAL_TIM_StateTypeDef HAL_TIM_IC_GetState(TIM_HandleTypeDef *htim) +HAL_TIM_StateTypeDef HAL_TIM_IC_GetState(const TIM_HandleTypeDef *htim) { return htim->State; } @@ -6241,7 +6371,7 @@ HAL_TIM_StateTypeDef HAL_TIM_IC_GetState(TIM_HandleTypeDef *htim) * @param htim TIM OPM handle * @retval HAL state */ -HAL_TIM_StateTypeDef HAL_TIM_OnePulse_GetState(TIM_HandleTypeDef *htim) +HAL_TIM_StateTypeDef HAL_TIM_OnePulse_GetState(const TIM_HandleTypeDef *htim) { return htim->State; } @@ -6251,7 +6381,7 @@ HAL_TIM_StateTypeDef HAL_TIM_OnePulse_GetState(TIM_HandleTypeDef *htim) * @param htim TIM Encoder Interface handle * @retval HAL state */ -HAL_TIM_StateTypeDef HAL_TIM_Encoder_GetState(TIM_HandleTypeDef *htim) +HAL_TIM_StateTypeDef HAL_TIM_Encoder_GetState(const TIM_HandleTypeDef *htim) { return htim->State; } @@ -6261,7 +6391,7 @@ HAL_TIM_StateTypeDef HAL_TIM_Encoder_GetState(TIM_HandleTypeDef *htim) * @param htim TIM handle * @retval Active channel */ -HAL_TIM_ActiveChannel HAL_TIM_GetActiveChannel(TIM_HandleTypeDef *htim) +HAL_TIM_ActiveChannel HAL_TIM_GetActiveChannel(const TIM_HandleTypeDef *htim) { return htim->Channel; } @@ -6279,7 +6409,7 @@ HAL_TIM_ActiveChannel HAL_TIM_GetActiveChannel(TIM_HandleTypeDef *htim) * @arg TIM_CHANNEL_6: TIM Channel 6 * @retval TIM Channel state */ -HAL_TIM_ChannelStateTypeDef HAL_TIM_GetChannelState(TIM_HandleTypeDef *htim, uint32_t Channel) +HAL_TIM_ChannelStateTypeDef HAL_TIM_GetChannelState(const TIM_HandleTypeDef *htim, uint32_t Channel) { HAL_TIM_ChannelStateTypeDef channel_state; @@ -6296,7 +6426,7 @@ HAL_TIM_ChannelStateTypeDef HAL_TIM_GetChannelState(TIM_HandleTypeDef *htim, ui * @param htim TIM handle * @retval DMA burst state */ -HAL_TIM_DMABurstStateTypeDef HAL_TIM_DMABurstState(TIM_HandleTypeDef *htim) +HAL_TIM_DMABurstStateTypeDef HAL_TIM_DMABurstState(const TIM_HandleTypeDef *htim) { /* Check the parameters */ assert_param(IS_TIM_DMABURST_INSTANCE(htim->Instance)); @@ -6639,7 +6769,7 @@ static void TIM_DMATriggerHalfCplt(DMA_HandleTypeDef *hdma) * @param Structure TIM Base configuration structure * @retval None */ -void TIM_Base_SetConfig(TIM_TypeDef *TIMx, TIM_Base_InitTypeDef *Structure) +void TIM_Base_SetConfig(TIM_TypeDef *TIMx, const TIM_Base_InitTypeDef *Structure) { uint32_t tmpcr1; tmpcr1 = TIMx->CR1; @@ -6687,17 +6817,18 @@ void TIM_Base_SetConfig(TIM_TypeDef *TIMx, TIM_Base_InitTypeDef *Structure) * @param OC_Config The output configuration structure * @retval None */ -static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) +static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) { uint32_t tmpccmrx; uint32_t tmpccer; uint32_t tmpcr2; + /* Get the TIMx CCER register value */ + tmpccer = TIMx->CCER; + /* Disable the Channel 1: Reset the CC1E Bit */ TIMx->CCER &= ~TIM_CCER_CC1E; - /* Get the TIMx CCER register value */ - tmpccer = TIMx->CCER; /* Get the TIMx CR2 register value */ tmpcr2 = TIMx->CR2; @@ -6762,17 +6893,18 @@ static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) * @param OC_Config The output configuration structure * @retval None */ -void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) +void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) { uint32_t tmpccmrx; uint32_t tmpccer; uint32_t tmpcr2; + /* Get the TIMx CCER register value */ + tmpccer = TIMx->CCER; + /* Disable the Channel 2: Reset the CC2E Bit */ TIMx->CCER &= ~TIM_CCER_CC2E; - /* Get the TIMx CCER register value */ - tmpccer = TIMx->CCER; /* Get the TIMx CR2 register value */ tmpcr2 = TIMx->CR2; @@ -6838,17 +6970,18 @@ void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) * @param OC_Config The output configuration structure * @retval None */ -static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) +static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) { uint32_t tmpccmrx; uint32_t tmpccer; uint32_t tmpcr2; + /* Get the TIMx CCER register value */ + tmpccer = TIMx->CCER; + /* Disable the Channel 3: Reset the CC2E Bit */ TIMx->CCER &= ~TIM_CCER_CC3E; - /* Get the TIMx CCER register value */ - tmpccer = TIMx->CCER; /* Get the TIMx CR2 register value */ tmpcr2 = TIMx->CR2; @@ -6912,17 +7045,18 @@ static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) * @param OC_Config The output configuration structure * @retval None */ -static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) +static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) { uint32_t tmpccmrx; uint32_t tmpccer; uint32_t tmpcr2; + /* Get the TIMx CCER register value */ + tmpccer = TIMx->CCER; + /* Disable the Channel 4: Reset the CC4E Bit */ TIMx->CCER &= ~TIM_CCER_CC4E; - /* Get the TIMx CCER register value */ - tmpccer = TIMx->CCER; /* Get the TIMx CR2 register value */ tmpcr2 = TIMx->CR2; @@ -6973,8 +7107,9 @@ static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config) * @retval None */ static HAL_StatusTypeDef TIM_SlaveTimer_SetConfig(TIM_HandleTypeDef *htim, - TIM_SlaveConfigTypeDef *sSlaveConfig) + const TIM_SlaveConfigTypeDef *sSlaveConfig) { + HAL_StatusTypeDef status = HAL_OK; uint32_t tmpsmcr; uint32_t tmpccmr1; uint32_t tmpccer; @@ -7071,16 +7206,18 @@ static HAL_StatusTypeDef TIM_SlaveTimer_SetConfig(TIM_HandleTypeDef *htim, case TIM_TS_ITR1: case TIM_TS_ITR2: case TIM_TS_ITR3: - { - /* Check the parameter */ - assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); - break; - } + { + /* Check the parameter */ + assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); + break; + } default: + status = HAL_ERROR; break; } - return HAL_OK; + + return status; } /** @@ -7110,9 +7247,9 @@ void TIM_TI1_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ uint32_t tmpccer; /* Disable the Channel 1: Reset the CC1E Bit */ + tmpccer = TIMx->CCER; TIMx->CCER &= ~TIM_CCER_CC1E; tmpccmr1 = TIMx->CCMR1; - tmpccer = TIMx->CCER; /* Select the Input */ if (IS_TIM_CC2_INSTANCE(TIMx) != RESET) @@ -7200,9 +7337,9 @@ static void TIM_TI2_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32 uint32_t tmpccer; /* Disable the Channel 2: Reset the CC2E Bit */ + tmpccer = TIMx->CCER; TIMx->CCER &= ~TIM_CCER_CC2E; tmpccmr1 = TIMx->CCMR1; - tmpccer = TIMx->CCER; /* Select the Input */ tmpccmr1 &= ~TIM_CCMR1_CC2S; @@ -7239,9 +7376,9 @@ static void TIM_TI2_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t tmpccer; /* Disable the Channel 2: Reset the CC2E Bit */ + tmpccer = TIMx->CCER; TIMx->CCER &= ~TIM_CCER_CC2E; tmpccmr1 = TIMx->CCMR1; - tmpccer = TIMx->CCER; /* Set the filter */ tmpccmr1 &= ~TIM_CCMR1_IC2F; @@ -7282,9 +7419,9 @@ static void TIM_TI3_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32 uint32_t tmpccer; /* Disable the Channel 3: Reset the CC3E Bit */ + tmpccer = TIMx->CCER; TIMx->CCER &= ~TIM_CCER_CC3E; tmpccmr2 = TIMx->CCMR2; - tmpccer = TIMx->CCER; /* Select the Input */ tmpccmr2 &= ~TIM_CCMR2_CC3S; @@ -7329,9 +7466,9 @@ static void TIM_TI4_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32 uint32_t tmpccer; /* Disable the Channel 4: Reset the CC4E Bit */ + tmpccer = TIMx->CCER; TIMx->CCER &= ~TIM_CCER_CC4E; tmpccmr2 = TIMx->CCMR2; - tmpccer = TIMx->CCER; /* Select the Input */ tmpccmr2 &= ~TIM_CCMR2_CC4S; @@ -7480,4 +7617,3 @@ void TIM_ResetCallback(TIM_HandleTypeDef *htim) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c index 79e46aa..ff8c8f5 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c @@ -10,6 +10,17 @@ * + Time Complementary signal break and dead time configuration * + Time Master and Slave synchronization configuration * + Timer remapping capabilities configuration + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### TIMER Extended features ##### @@ -64,17 +75,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -135,7 +135,7 @@ static void TIM_CCxNChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Cha * @param sConfig TIM Hall Sensor configuration structure * @retval HAL status */ -HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, TIM_HallSensor_InitTypeDef *sConfig) +HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, const TIM_HallSensor_InitTypeDef *sConfig) { TIM_OC_InitTypeDef OC_Config; @@ -151,6 +151,7 @@ HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, TIM_HallSen assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); assert_param(IS_TIM_IC_POLARITY(sConfig->IC1Polarity)); + assert_param(IS_TIM_PERIOD(htim->Init.Period)); assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler)); assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); @@ -501,7 +502,7 @@ HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_DMA(TIM_HandleTypeDef *htim, uint32 else if ((channel_1_state == HAL_TIM_CHANNEL_STATE_READY) && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)) { - if ((pData == NULL) && (Length > 0U)) + if ((pData == NULL) || (Length == 0U)) { return HAL_ERROR; } @@ -706,6 +707,7 @@ HAL_StatusTypeDef HAL_TIMEx_OCN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) */ HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; uint32_t tmpsmcr; /* Check the parameters */ @@ -745,34 +747,38 @@ HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Chann default: + status = HAL_ERROR; break; } - /* Enable the TIM Break interrupt */ - __HAL_TIM_ENABLE_IT(htim, TIM_IT_BREAK); - - /* Enable the Capture compare channel N */ - TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); - - /* Enable the Main Output */ - __HAL_TIM_MOE_ENABLE(htim); - - /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ - if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) + if (status == HAL_OK) { - tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; - if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + /* Enable the TIM Break interrupt */ + __HAL_TIM_ENABLE_IT(htim, TIM_IT_BREAK); + + /* Enable the Capture compare channel N */ + TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); + + /* Enable the Main Output */ + __HAL_TIM_MOE_ENABLE(htim); + + /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ + if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) + { + tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; + if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + { + __HAL_TIM_ENABLE(htim); + } + } + else { __HAL_TIM_ENABLE(htim); } } - else - { - __HAL_TIM_ENABLE(htim); - } /* Return function status */ - return HAL_OK; + return status; } /** @@ -788,7 +794,9 @@ HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Chann */ HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; uint32_t tmpccer; + /* Check the parameters */ assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); @@ -816,30 +824,34 @@ HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channe } default: + status = HAL_ERROR; break; } - /* Disable the Capture compare channel N */ - TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); - - /* Disable the TIM Break interrupt (only if no more channel is active) */ - tmpccer = htim->Instance->CCER; - if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE)) == (uint32_t)RESET) + if (status == HAL_OK) { - __HAL_TIM_DISABLE_IT(htim, TIM_IT_BREAK); + /* Disable the Capture compare channel N */ + TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); + + /* Disable the TIM Break interrupt (only if no more channel is active) */ + tmpccer = htim->Instance->CCER; + if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE)) == (uint32_t)RESET) + { + __HAL_TIM_DISABLE_IT(htim, TIM_IT_BREAK); + } + + /* Disable the Main Output */ + __HAL_TIM_MOE_DISABLE(htim); + + /* Disable the Peripheral */ + __HAL_TIM_DISABLE(htim); + + /* Set the TIM complementary channel state */ + TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); } - /* Disable the Main Output */ - __HAL_TIM_MOE_DISABLE(htim); - - /* Disable the Peripheral */ - __HAL_TIM_DISABLE(htim); - - /* Set the TIM complementary channel state */ - TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); - /* Return function status */ - return HAL_OK; + return status; } /** @@ -855,8 +867,10 @@ HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channe * @param Length The length of data to be transferred from memory to TIM peripheral * @retval HAL status */ -HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) +HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, + uint16_t Length) { + HAL_StatusTypeDef status = HAL_OK; uint32_t tmpsmcr; /* Check the parameters */ @@ -869,7 +883,7 @@ HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Chan } else if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY) { - if ((pData == NULL) && (Length > 0U)) + if ((pData == NULL) || (Length == 0U)) { return HAL_ERROR; } @@ -896,7 +910,7 @@ HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Chan /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)pData, (uint32_t)&htim->Instance->CCR1, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -917,7 +931,7 @@ HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Chan /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)pData, (uint32_t)&htim->Instance->CCR2, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -938,7 +952,7 @@ HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Chan /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)pData, (uint32_t)&htim->Instance->CCR3, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -949,31 +963,35 @@ HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Chan } default: + status = HAL_ERROR; break; } - /* Enable the Capture compare channel N */ - TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); - - /* Enable the Main Output */ - __HAL_TIM_MOE_ENABLE(htim); - - /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ - if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) + if (status == HAL_OK) { - tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; - if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + /* Enable the Capture compare channel N */ + TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); + + /* Enable the Main Output */ + __HAL_TIM_MOE_ENABLE(htim); + + /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ + if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) + { + tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; + if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + { + __HAL_TIM_ENABLE(htim); + } + } + else { __HAL_TIM_ENABLE(htim); } } - else - { - __HAL_TIM_ENABLE(htim); - } /* Return function status */ - return HAL_OK; + return status; } /** @@ -989,6 +1007,8 @@ HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Chan */ HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; + /* Check the parameters */ assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); @@ -1019,23 +1039,27 @@ HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Chann } default: + status = HAL_ERROR; break; } - /* Disable the Capture compare channel N */ - TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); + if (status == HAL_OK) + { + /* Disable the Capture compare channel N */ + TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); - /* Disable the Main Output */ - __HAL_TIM_MOE_DISABLE(htim); + /* Disable the Main Output */ + __HAL_TIM_MOE_DISABLE(htim); - /* Disable the Peripheral */ - __HAL_TIM_DISABLE(htim); + /* Disable the Peripheral */ + __HAL_TIM_DISABLE(htim); - /* Set the TIM complementary channel state */ - TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); + /* Set the TIM complementary channel state */ + TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); + } /* Return function status */ - return HAL_OK; + return status; } /** @@ -1166,6 +1190,7 @@ HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel) */ HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; uint32_t tmpsmcr; /* Check the parameters */ @@ -1204,34 +1229,38 @@ HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Chan } default: + status = HAL_ERROR; break; } - /* Enable the TIM Break interrupt */ - __HAL_TIM_ENABLE_IT(htim, TIM_IT_BREAK); - - /* Enable the complementary PWM output */ - TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); - - /* Enable the Main Output */ - __HAL_TIM_MOE_ENABLE(htim); - - /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ - if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) + if (status == HAL_OK) { - tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; - if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + /* Enable the TIM Break interrupt */ + __HAL_TIM_ENABLE_IT(htim, TIM_IT_BREAK); + + /* Enable the complementary PWM output */ + TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); + + /* Enable the Main Output */ + __HAL_TIM_MOE_ENABLE(htim); + + /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ + if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) + { + tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; + if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + { + __HAL_TIM_ENABLE(htim); + } + } + else { __HAL_TIM_ENABLE(htim); } } - else - { - __HAL_TIM_ENABLE(htim); - } /* Return function status */ - return HAL_OK; + return status; } /** @@ -1247,6 +1276,7 @@ HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Chan */ HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; uint32_t tmpccer; /* Check the parameters */ @@ -1276,30 +1306,34 @@ HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Chann } default: + status = HAL_ERROR; break; } - /* Disable the complementary PWM output */ - TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); - - /* Disable the TIM Break interrupt (only if no more channel is active) */ - tmpccer = htim->Instance->CCER; - if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE)) == (uint32_t)RESET) + if (status == HAL_OK) { - __HAL_TIM_DISABLE_IT(htim, TIM_IT_BREAK); + /* Disable the complementary PWM output */ + TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); + + /* Disable the TIM Break interrupt (only if no more channel is active) */ + tmpccer = htim->Instance->CCER; + if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE)) == (uint32_t)RESET) + { + __HAL_TIM_DISABLE_IT(htim, TIM_IT_BREAK); + } + + /* Disable the Main Output */ + __HAL_TIM_MOE_DISABLE(htim); + + /* Disable the Peripheral */ + __HAL_TIM_DISABLE(htim); + + /* Set the TIM complementary channel state */ + TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); } - /* Disable the Main Output */ - __HAL_TIM_MOE_DISABLE(htim); - - /* Disable the Peripheral */ - __HAL_TIM_DISABLE(htim); - - /* Set the TIM complementary channel state */ - TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); - /* Return function status */ - return HAL_OK; + return status; } /** @@ -1315,8 +1349,10 @@ HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Chann * @param Length The length of data to be transferred from memory to TIM peripheral * @retval HAL status */ -HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) +HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, + uint16_t Length) { + HAL_StatusTypeDef status = HAL_OK; uint32_t tmpsmcr; /* Check the parameters */ @@ -1329,7 +1365,7 @@ HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Cha } else if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY) { - if ((pData == NULL) && (Length > 0U)) + if ((pData == NULL) || (Length == 0U)) { return HAL_ERROR; } @@ -1356,7 +1392,7 @@ HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Cha /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)pData, (uint32_t)&htim->Instance->CCR1, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -1377,7 +1413,7 @@ HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Cha /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)pData, (uint32_t)&htim->Instance->CCR2, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -1398,7 +1434,7 @@ HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Cha /* Enable the DMA channel */ if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)pData, (uint32_t)&htim->Instance->CCR3, - Length) != HAL_OK) + Length) != HAL_OK) { /* Return error status */ return HAL_ERROR; @@ -1409,31 +1445,35 @@ HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Cha } default: + status = HAL_ERROR; break; } - /* Enable the complementary PWM output */ - TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); - - /* Enable the Main Output */ - __HAL_TIM_MOE_ENABLE(htim); - - /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ - if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) + if (status == HAL_OK) { - tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; - if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + /* Enable the complementary PWM output */ + TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE); + + /* Enable the Main Output */ + __HAL_TIM_MOE_ENABLE(htim); + + /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ + if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) + { + tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; + if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + { + __HAL_TIM_ENABLE(htim); + } + } + else { __HAL_TIM_ENABLE(htim); } } - else - { - __HAL_TIM_ENABLE(htim); - } /* Return function status */ - return HAL_OK; + return status; } /** @@ -1449,6 +1489,8 @@ HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Cha */ HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel) { + HAL_StatusTypeDef status = HAL_OK; + /* Check the parameters */ assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel)); @@ -1479,23 +1521,27 @@ HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Chan } default: + status = HAL_ERROR; break; } - /* Disable the complementary PWM output */ - TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); + if (status == HAL_OK) + { + /* Disable the complementary PWM output */ + TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE); - /* Disable the Main Output */ - __HAL_TIM_MOE_DISABLE(htim); + /* Disable the Main Output */ + __HAL_TIM_MOE_DISABLE(htim); - /* Disable the Peripheral */ - __HAL_TIM_DISABLE(htim); + /* Disable the Peripheral */ + __HAL_TIM_DISABLE(htim); - /* Set the TIM complementary channel state */ - TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); + /* Set the TIM complementary channel state */ + TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY); + } /* Return function status */ - return HAL_OK; + return status; } /** @@ -1917,7 +1963,7 @@ HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_DMA(TIM_HandleTypeDef *htim, uint3 * @retval HAL status */ HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, - TIM_MasterConfigTypeDef *sMasterConfig) + const TIM_MasterConfigTypeDef *sMasterConfig) { uint32_t tmpcr2; uint32_t tmpsmcr; @@ -1978,7 +2024,7 @@ HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, * @retval HAL status */ HAL_StatusTypeDef HAL_TIMEx_ConfigBreakDeadTime(TIM_HandleTypeDef *htim, - TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTimeConfig) + const TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTimeConfig) { /* Keep this variable initialized to 0 as it is used to configure BDTR register */ uint32_t tmpbdtr = 0U; @@ -2120,7 +2166,7 @@ __weak void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim) * @param htim TIM Hall Sensor handle * @retval HAL state */ -HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(TIM_HandleTypeDef *htim) +HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(const TIM_HandleTypeDef *htim) { return htim->State; } @@ -2135,7 +2181,7 @@ HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(TIM_HandleTypeDef *htim) * @arg TIM_CHANNEL_3: TIM Channel 3 * @retval TIM Complementary channel state */ -HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(TIM_HandleTypeDef *htim, uint32_t ChannelN) +HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(const TIM_HandleTypeDef *htim, uint32_t ChannelN) { HAL_TIM_ChannelStateTypeDef channel_state; @@ -2155,7 +2201,7 @@ HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(TIM_HandleTypeDef *htim, */ /* Private functions ---------------------------------------------------------*/ -/** @defgroup TIMEx_Private_Functions TIMEx Private Functions +/** @defgroup TIMEx_Private_Functions TIM Extended Private Functions * @{ */ @@ -2331,5 +2377,3 @@ static void TIM_CCxNChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t Cha /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_timebase_rtc_alarm_template.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_timebase_rtc_alarm_template.c index 8802042..b6da2ed 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_timebase_rtc_alarm_template.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_timebase_rtc_alarm_template.c @@ -10,6 +10,18 @@ * + The alarm is configured to assert an interrupt when the RTC reaches 1ms * + HAL_IncTick is called at each Alarm event and the time is reset to 00:00:00 * + HSE (default), LSE or LSI can be selected as RTC clock source + * + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -30,17 +42,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -305,4 +306,4 @@ void RTC_Alarm_IRQHandler(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_timebase_tim_template.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_timebase_tim_template.c index 1c4a1f3..d9dbe6b 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_timebase_tim_template.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_timebase_tim_template.c @@ -6,19 +6,18 @@ * * This file overrides the native HAL time base functions (defined as weak) * the TIM time base: - * + Intializes the TIM peripheral generate a Period elapsed Event each 1ms + * + Initializes the TIM peripheral generate a Period elapsed Event each 1ms * + HAL_IncTick is called inside HAL_TIM_PeriodElapsedCallback ie each 1ms * ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -176,4 +175,4 @@ void TIM2_IRQHandler(void) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ + diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c index e56360a..db1f087 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c @@ -9,6 +9,18 @@ * + IO operation functions * + Peripheral Control functions * + Peripheral State and Errors functions + * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -72,8 +84,8 @@ allows the user to configure dynamically the driver callbacks. [..] - Use Function @ref HAL_UART_RegisterCallback() to register a user callback. - Function @ref HAL_UART_RegisterCallback() allows to register following callbacks: + Use Function HAL_UART_RegisterCallback() to register a user callback. + Function HAL_UART_RegisterCallback() allows to register following callbacks: (+) TxHalfCpltCallback : Tx Half Complete Callback. (+) TxCpltCallback : Tx Complete Callback. (+) RxHalfCpltCallback : Rx Half Complete Callback. @@ -88,9 +100,9 @@ and a pointer to the user callback function. [..] - Use function @ref HAL_UART_UnRegisterCallback() to reset a callback to the default + Use function HAL_UART_UnRegisterCallback() to reset a callback to the default weak (surcharged) function. - @ref HAL_UART_UnRegisterCallback() takes as parameters the HAL peripheral handle, + HAL_UART_UnRegisterCallback() takes as parameters the HAL peripheral handle, and the Callback ID. This function allows to reset following callbacks: (+) TxHalfCpltCallback : Tx Half Complete Callback. @@ -106,16 +118,16 @@ [..] For specific callback RxEventCallback, use dedicated registration/reset functions: - respectively @ref HAL_UART_RegisterRxEventCallback() , @ref HAL_UART_UnRegisterRxEventCallback(). + respectively HAL_UART_RegisterRxEventCallback() , HAL_UART_UnRegisterRxEventCallback(). [..] - By default, after the @ref HAL_UART_Init() and when the state is HAL_UART_STATE_RESET + By default, after the HAL_UART_Init() and when the state is HAL_UART_STATE_RESET all callbacks are set to the corresponding weak (surcharged) functions: - examples @ref HAL_UART_TxCpltCallback(), @ref HAL_UART_RxHalfCpltCallback(). + examples HAL_UART_TxCpltCallback(), HAL_UART_RxHalfCpltCallback(). Exception done for MspInit and MspDeInit functions that are respectively - reset to the legacy weak (surcharged) functions in the @ref HAL_UART_Init() - and @ref HAL_UART_DeInit() only when these callbacks are null (not registered beforehand). - If not, MspInit or MspDeInit are not null, the @ref HAL_UART_Init() and @ref HAL_UART_DeInit() + reset to the legacy weak (surcharged) functions in the HAL_UART_Init() + and HAL_UART_DeInit() only when these callbacks are null (not registered beforehand). + If not, MspInit or MspDeInit are not null, the HAL_UART_Init() and HAL_UART_DeInit() keep and use the user MspInit/MspDeInit callbacks (registered beforehand). [..] @@ -124,8 +136,8 @@ in HAL_UART_STATE_READY or HAL_UART_STATE_RESET state, thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit. In that case first register the MspInit/MspDeInit user callbacks - using @ref HAL_UART_RegisterCallback() before calling @ref HAL_UART_DeInit() - or @ref HAL_UART_Init() function. + using HAL_UART_RegisterCallback() before calling HAL_UART_DeInit() + or HAL_UART_Init() function. [..] When The compilation define USE_HAL_UART_REGISTER_CALLBACKS is set to 0 or @@ -240,17 +252,6 @@ | 1 | 1 | | SB | 8 bit data | PB | STB | | +-------------------------------------------------------------+ ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -299,7 +300,8 @@ static void UART_DMARxOnlyAbortCallback(DMA_HandleTypeDef *hdma); static HAL_StatusTypeDef UART_Transmit_IT(UART_HandleTypeDef *huart); static HAL_StatusTypeDef UART_EndTransmit_IT(UART_HandleTypeDef *huart); static HAL_StatusTypeDef UART_Receive_IT(UART_HandleTypeDef *huart); -static HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, uint32_t Flag, FlagStatus Status, uint32_t Tickstart, uint32_t Timeout); +static HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, uint32_t Flag, FlagStatus Status, + uint32_t Tickstart, uint32_t Timeout); static void UART_SetConfig(UART_HandleTypeDef *huart); /** @@ -415,6 +417,7 @@ HAL_StatusTypeDef HAL_UART_Init(UART_HandleTypeDef *huart) huart->ErrorCode = HAL_UART_ERROR_NONE; huart->gState = HAL_UART_STATE_READY; huart->RxState = HAL_UART_STATE_READY; + huart->RxEventType = HAL_UART_RXEVENT_TC; return HAL_OK; } @@ -486,6 +489,7 @@ HAL_StatusTypeDef HAL_HalfDuplex_Init(UART_HandleTypeDef *huart) huart->ErrorCode = HAL_UART_ERROR_NONE; huart->gState = HAL_UART_STATE_READY; huart->RxState = HAL_UART_STATE_READY; + huart->RxEventType = HAL_UART_RXEVENT_TC; return HAL_OK; } @@ -568,6 +572,7 @@ HAL_StatusTypeDef HAL_LIN_Init(UART_HandleTypeDef *huart, uint32_t BreakDetectLe huart->ErrorCode = HAL_UART_ERROR_NONE; huart->gState = HAL_UART_STATE_READY; huart->RxState = HAL_UART_STATE_READY; + huart->RxEventType = HAL_UART_RXEVENT_TC; return HAL_OK; } @@ -653,6 +658,7 @@ HAL_StatusTypeDef HAL_MultiProcessor_Init(UART_HandleTypeDef *huart, uint8_t Add huart->ErrorCode = HAL_UART_ERROR_NONE; huart->gState = HAL_UART_STATE_READY; huart->RxState = HAL_UART_STATE_READY; + huart->RxEventType = HAL_UART_RXEVENT_TC; return HAL_OK; } @@ -695,6 +701,7 @@ HAL_StatusTypeDef HAL_UART_DeInit(UART_HandleTypeDef *huart) huart->gState = HAL_UART_STATE_RESET; huart->RxState = HAL_UART_STATE_RESET; huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; + huart->RxEventType = HAL_UART_RXEVENT_TC; /* Process Unlock */ __HAL_UNLOCK(huart); @@ -736,6 +743,8 @@ __weak void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @brief Register a User UART Callback * To be used instead of the weak predefined callback + * @note The HAL_UART_RegisterCallback() may be called before HAL_UART_Init(), HAL_HalfDuplex_Init(), HAL_LIN_Init(), + * HAL_MultiProcessor_Init() to register callbacks for HAL_UART_MSPINIT_CB_ID and HAL_UART_MSPDEINIT_CB_ID * @param huart uart handle * @param CallbackID ID of the callback to be registered * This parameter can be one of the following values: @@ -752,7 +761,8 @@ __weak void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) * @param pCallback pointer to the Callback function * @retval HAL status */ -HAL_StatusTypeDef HAL_UART_RegisterCallback(UART_HandleTypeDef *huart, HAL_UART_CallbackIDTypeDef CallbackID, pUART_CallbackTypeDef pCallback) +HAL_StatusTypeDef HAL_UART_RegisterCallback(UART_HandleTypeDef *huart, HAL_UART_CallbackIDTypeDef CallbackID, + pUART_CallbackTypeDef pCallback) { HAL_StatusTypeDef status = HAL_OK; @@ -763,8 +773,6 @@ HAL_StatusTypeDef HAL_UART_RegisterCallback(UART_HandleTypeDef *huart, HAL_UART_ return HAL_ERROR; } - /* Process locked */ - __HAL_LOCK(huart); if (huart->gState == HAL_UART_STATE_READY) { @@ -849,15 +857,15 @@ HAL_StatusTypeDef HAL_UART_RegisterCallback(UART_HandleTypeDef *huart, HAL_UART_ status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(huart); - return status; } /** * @brief Unregister an UART Callback * UART callaback is redirected to the weak predefined callback + * @note The HAL_UART_UnRegisterCallback() may be called before HAL_UART_Init(), HAL_HalfDuplex_Init(), + * HAL_LIN_Init(), HAL_MultiProcessor_Init() to un-register callbacks for HAL_UART_MSPINIT_CB_ID + * and HAL_UART_MSPDEINIT_CB_ID * @param huart uart handle * @param CallbackID ID of the callback to be unregistered * This parameter can be one of the following values: @@ -877,9 +885,6 @@ HAL_StatusTypeDef HAL_UART_UnRegisterCallback(UART_HandleTypeDef *huart, HAL_UAR { HAL_StatusTypeDef status = HAL_OK; - /* Process locked */ - __HAL_LOCK(huart); - if (HAL_UART_STATE_READY == huart->gState) { switch (CallbackID) @@ -963,9 +968,6 @@ HAL_StatusTypeDef HAL_UART_UnRegisterCallback(UART_HandleTypeDef *huart, HAL_UAR status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(huart); - return status; } @@ -1133,10 +1135,10 @@ HAL_StatusTypeDef HAL_UART_UnRegisterRxEventCallback(UART_HandleTypeDef *huart) * @param Timeout Timeout duration * @retval HAL status */ -HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout) +HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, const uint8_t *pData, uint16_t Size, uint32_t Timeout) { - uint8_t *pdata8bits; - uint16_t *pdata16bits; + const uint8_t *pdata8bits; + const uint16_t *pdata16bits; uint32_t tickstart = 0U; /* Check that a Tx process is not already ongoing */ @@ -1147,9 +1149,6 @@ HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, u return HAL_ERROR; } - /* Process Locked */ - __HAL_LOCK(huart); - huart->ErrorCode = HAL_UART_ERROR_NONE; huart->gState = HAL_UART_STATE_BUSY_TX; @@ -1163,7 +1162,7 @@ HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, u if ((huart->Init.WordLength == UART_WORDLENGTH_9B) && (huart->Init.Parity == UART_PARITY_NONE)) { pdata8bits = NULL; - pdata16bits = (uint16_t *) pData; + pdata16bits = (const uint16_t *) pData; } else { @@ -1171,9 +1170,6 @@ HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, u pdata16bits = NULL; } - /* Process Unlocked */ - __HAL_UNLOCK(huart); - while (huart->TxXferCount > 0U) { if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TXE, RESET, tickstart, Timeout) != HAL_OK) @@ -1235,9 +1231,6 @@ HAL_StatusTypeDef HAL_UART_Receive(UART_HandleTypeDef *huart, uint8_t *pData, ui return HAL_ERROR; } - /* Process Locked */ - __HAL_LOCK(huart); - huart->ErrorCode = HAL_UART_ERROR_NONE; huart->RxState = HAL_UART_STATE_BUSY_RX; huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; @@ -1260,9 +1253,6 @@ HAL_StatusTypeDef HAL_UART_Receive(UART_HandleTypeDef *huart, uint8_t *pData, ui pdata16bits = NULL; } - /* Process Unlocked */ - __HAL_UNLOCK(huart); - /* Check the remain data to be received */ while (huart->RxXferCount > 0U) { @@ -1312,7 +1302,7 @@ HAL_StatusTypeDef HAL_UART_Receive(UART_HandleTypeDef *huart, uint8_t *pData, ui * @param Size Amount of data elements (u8 or u16) to be sent * @retval HAL status */ -HAL_StatusTypeDef HAL_UART_Transmit_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size) +HAL_StatusTypeDef HAL_UART_Transmit_IT(UART_HandleTypeDef *huart, const uint8_t *pData, uint16_t Size) { /* Check that a Tx process is not already ongoing */ if (huart->gState == HAL_UART_STATE_READY) @@ -1322,9 +1312,6 @@ HAL_StatusTypeDef HAL_UART_Transmit_IT(UART_HandleTypeDef *huart, uint8_t *pData return HAL_ERROR; } - /* Process Locked */ - __HAL_LOCK(huart); - huart->pTxBuffPtr = pData; huart->TxXferSize = Size; huart->TxXferCount = Size; @@ -1332,9 +1319,6 @@ HAL_StatusTypeDef HAL_UART_Transmit_IT(UART_HandleTypeDef *huart, uint8_t *pData huart->ErrorCode = HAL_UART_ERROR_NONE; huart->gState = HAL_UART_STATE_BUSY_TX; - /* Process Unlocked */ - __HAL_UNLOCK(huart); - /* Enable the UART Transmit data register empty Interrupt */ __HAL_UART_ENABLE_IT(huart, UART_IT_TXE); @@ -1367,13 +1351,10 @@ HAL_StatusTypeDef HAL_UART_Receive_IT(UART_HandleTypeDef *huart, uint8_t *pData, return HAL_ERROR; } - /* Process Locked */ - __HAL_LOCK(huart); - /* Set Reception type to Standard reception */ huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; - return(UART_Start_Receive_IT(huart, pData, Size)); + return (UART_Start_Receive_IT(huart, pData, Size)); } else { @@ -1392,9 +1373,9 @@ HAL_StatusTypeDef HAL_UART_Receive_IT(UART_HandleTypeDef *huart, uint8_t *pData, * @param Size Amount of data elements (u8 or u16) to be sent * @retval HAL status */ -HAL_StatusTypeDef HAL_UART_Transmit_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size) +HAL_StatusTypeDef HAL_UART_Transmit_DMA(UART_HandleTypeDef *huart, const uint8_t *pData, uint16_t Size) { - uint32_t *tmp; + const uint32_t *tmp; /* Check that a Tx process is not already ongoing */ if (huart->gState == HAL_UART_STATE_READY) @@ -1404,9 +1385,6 @@ HAL_StatusTypeDef HAL_UART_Transmit_DMA(UART_HandleTypeDef *huart, uint8_t *pDat return HAL_ERROR; } - /* Process Locked */ - __HAL_LOCK(huart); - huart->pTxBuffPtr = pData; huart->TxXferSize = Size; huart->TxXferCount = Size; @@ -1427,18 +1405,15 @@ HAL_StatusTypeDef HAL_UART_Transmit_DMA(UART_HandleTypeDef *huart, uint8_t *pDat huart->hdmatx->XferAbortCallback = NULL; /* Enable the UART transmit DMA channel */ - tmp = (uint32_t *)&pData; - HAL_DMA_Start_IT(huart->hdmatx, *(uint32_t *)tmp, (uint32_t)&huart->Instance->DR, Size); + tmp = (const uint32_t *)&pData; + HAL_DMA_Start_IT(huart->hdmatx, *(const uint32_t *)tmp, (uint32_t)&huart->Instance->DR, Size); /* Clear the TC flag in the SR register by writing 0 to it */ __HAL_UART_CLEAR_FLAG(huart, UART_FLAG_TC); - /* Process Unlocked */ - __HAL_UNLOCK(huart); - /* Enable the DMA transfer for transmit request by setting the DMAT bit in the UART CR3 register */ - SET_BIT(huart->Instance->CR3, USART_CR3_DMAT); + ATOMIC_SET_BIT(huart->Instance->CR3, USART_CR3_DMAT); return HAL_OK; } @@ -1470,13 +1445,10 @@ HAL_StatusTypeDef HAL_UART_Receive_DMA(UART_HandleTypeDef *huart, uint8_t *pData return HAL_ERROR; } - /* Process Locked */ - __HAL_LOCK(huart); - /* Set Reception type to Standard reception */ huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; - return(UART_Start_Receive_DMA(huart, pData, Size)); + return (UART_Start_Receive_DMA(huart, pData, Size)); } else { @@ -1494,30 +1466,24 @@ HAL_StatusTypeDef HAL_UART_DMAPause(UART_HandleTypeDef *huart) { uint32_t dmarequest = 0x00U; - /* Process Locked */ - __HAL_LOCK(huart); - dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT); if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest) { /* Disable the UART DMA Tx request */ - CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); } dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR); if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest) { /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ - CLEAR_BIT(huart->Instance->CR1, USART_CR1_PEIE); - CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, USART_CR1_PEIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); /* Disable the UART DMA Rx request */ - CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); } - /* Process Unlocked */ - __HAL_UNLOCK(huart); - return HAL_OK; } @@ -1529,13 +1495,11 @@ HAL_StatusTypeDef HAL_UART_DMAPause(UART_HandleTypeDef *huart) */ HAL_StatusTypeDef HAL_UART_DMAResume(UART_HandleTypeDef *huart) { - /* Process Locked */ - __HAL_LOCK(huart); if (huart->gState == HAL_UART_STATE_BUSY_TX) { /* Enable the UART DMA Tx request */ - SET_BIT(huart->Instance->CR3, USART_CR3_DMAT); + ATOMIC_SET_BIT(huart->Instance->CR3, USART_CR3_DMAT); } if (huart->RxState == HAL_UART_STATE_BUSY_RX) @@ -1544,16 +1508,16 @@ HAL_StatusTypeDef HAL_UART_DMAResume(UART_HandleTypeDef *huart) __HAL_UART_CLEAR_OREFLAG(huart); /* Re-enable PE and ERR (Frame error, noise error, overrun error) interrupts */ - SET_BIT(huart->Instance->CR1, USART_CR1_PEIE); - SET_BIT(huart->Instance->CR3, USART_CR3_EIE); + if (huart->Init.Parity != UART_PARITY_NONE) + { + ATOMIC_SET_BIT(huart->Instance->CR1, USART_CR1_PEIE); + } + ATOMIC_SET_BIT(huart->Instance->CR3, USART_CR3_EIE); /* Enable the UART DMA Rx request */ - SET_BIT(huart->Instance->CR3, USART_CR3_DMAR); + ATOMIC_SET_BIT(huart->Instance->CR3, USART_CR3_DMAR); } - /* Process Unlocked */ - __HAL_UNLOCK(huart); - return HAL_OK; } @@ -1576,7 +1540,7 @@ HAL_StatusTypeDef HAL_UART_DMAStop(UART_HandleTypeDef *huart) dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT); if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest) { - CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); /* Abort the UART DMA Tx channel */ if (huart->hdmatx != NULL) @@ -1590,7 +1554,7 @@ HAL_StatusTypeDef HAL_UART_DMAStop(UART_HandleTypeDef *huart) dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR); if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest) { - CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); /* Abort the UART DMA Rx channel */ if (huart->hdmarx != NULL) @@ -1618,7 +1582,8 @@ HAL_StatusTypeDef HAL_UART_DMAStop(UART_HandleTypeDef *huart) * @param Timeout Timeout duration expressed in ms (covers the whole reception sequence). * @retval HAL status */ -HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint16_t *RxLen, uint32_t Timeout) +HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint16_t *RxLen, + uint32_t Timeout) { uint8_t *pdata8bits; uint16_t *pdata16bits; @@ -1632,11 +1597,10 @@ HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle(UART_HandleTypeDef *huart, uint8_t *p return HAL_ERROR; } - __HAL_LOCK(huart); - huart->ErrorCode = HAL_UART_ERROR_NONE; huart->RxState = HAL_UART_STATE_BUSY_RX; huart->ReceptionType = HAL_UART_RECEPTION_TOIDLE; + huart->RxEventType = HAL_UART_RXEVENT_TC; /* Init tickstart for timeout management */ tickstart = HAL_GetTick(); @@ -1656,8 +1620,6 @@ HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle(UART_HandleTypeDef *huart, uint8_t *p pdata16bits = NULL; } - __HAL_UNLOCK(huart); - /* Initialize output number of received elements */ *RxLen = 0U; @@ -1674,6 +1636,7 @@ HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle(UART_HandleTypeDef *huart, uint8_t *p /* If Set, and data has already been received, this means Idle Event is valid : End reception */ if (*RxLen > 0U) { + huart->RxEventType = HAL_UART_RXEVENT_IDLE; huart->RxState = HAL_UART_STATE_READY; return HAL_OK; @@ -1690,14 +1653,14 @@ HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle(UART_HandleTypeDef *huart, uint8_t *p } else { - if ((huart->Init.WordLength == UART_WORDLENGTH_9B) || ((huart->Init.WordLength == UART_WORDLENGTH_8B) && (huart->Init.Parity == UART_PARITY_NONE))) - { - *pdata8bits = (uint8_t)(huart->Instance->DR & (uint8_t)0x00FF); - } - else - { - *pdata8bits = (uint8_t)(huart->Instance->DR & (uint8_t)0x007F); - } + if ((huart->Init.WordLength == UART_WORDLENGTH_9B) || ((huart->Init.WordLength == UART_WORDLENGTH_8B) && (huart->Init.Parity == UART_PARITY_NONE))) + { + *pdata8bits = (uint8_t)(huart->Instance->DR & (uint8_t)0x00FF); + } + else + { + *pdata8bits = (uint8_t)(huart->Instance->DR & (uint8_t)0x007F); + } pdata8bits++; } @@ -1756,10 +1719,9 @@ HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle_IT(UART_HandleTypeDef *huart, uint8_t return HAL_ERROR; } - __HAL_LOCK(huart); - /* Set Reception type to reception till IDLE Event*/ huart->ReceptionType = HAL_UART_RECEPTION_TOIDLE; + huart->RxEventType = HAL_UART_RXEVENT_TC; status = UART_Start_Receive_IT(huart, pData, Size); @@ -1769,7 +1731,7 @@ HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle_IT(UART_HandleTypeDef *huart, uint8_t if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) { __HAL_UART_CLEAR_IDLEFLAG(huart); - SET_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); + ATOMIC_SET_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); } else { @@ -1817,10 +1779,9 @@ HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle_DMA(UART_HandleTypeDef *huart, uint8_ return HAL_ERROR; } - __HAL_LOCK(huart); - /* Set Reception type to reception till IDLE Event*/ huart->ReceptionType = HAL_UART_RECEPTION_TOIDLE; + huart->RxEventType = HAL_UART_RXEVENT_TC; status = UART_Start_Receive_DMA(huart, pData, Size); @@ -1830,7 +1791,7 @@ HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle_DMA(UART_HandleTypeDef *huart, uint8_ if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) { __HAL_UART_CLEAR_IDLEFLAG(huart); - SET_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); + ATOMIC_SET_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); } else { @@ -1850,6 +1811,36 @@ HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle_DMA(UART_HandleTypeDef *huart, uint8_ } } +/** + * @brief Provide Rx Event type that has lead to RxEvent callback execution. + * @note When HAL_UARTEx_ReceiveToIdle_IT() or HAL_UARTEx_ReceiveToIdle_DMA() API are called, progress + * of reception process is provided to application through calls of Rx Event callback (either default one + * HAL_UARTEx_RxEventCallback() or user registered one). As several types of events could occur (IDLE event, + * Half Transfer, or Transfer Complete), this function allows to retrieve the Rx Event type that has lead + * to Rx Event callback execution. + * @note This function is expected to be called within the user implementation of Rx Event Callback, + * in order to provide the accurate value : + * In Interrupt Mode : + * - HAL_UART_RXEVENT_TC : when Reception has been completed (expected nb of data has been received) + * - HAL_UART_RXEVENT_IDLE : when Idle event occurred prior reception has been completed (nb of + * received data is lower than expected one) + * In DMA Mode : + * - HAL_UART_RXEVENT_TC : when Reception has been completed (expected nb of data has been received) + * - HAL_UART_RXEVENT_HT : when half of expected nb of data has been received + * - HAL_UART_RXEVENT_IDLE : when Idle event occurred prior reception has been completed (nb of + * received data is lower than expected one). + * In DMA mode, RxEvent callback could be called several times; + * When DMA is configured in Normal Mode, HT event does not stop Reception process; + * When DMA is configured in Circular Mode, HT, TC or IDLE events don't stop Reception process; + * @param huart UART handle. + * @retval Rx Event Type (returned value will be a value of @ref UART_RxEvent_Type_Values) + */ +HAL_UART_RxEventTypeTypeDef HAL_UARTEx_GetRxEventType(UART_HandleTypeDef *huart) +{ + /* Return Rx Event type value, as stored in UART handle */ + return(huart->RxEventType); +} + /** * @brief Abort ongoing transfers (blocking mode). * @param huart UART handle. @@ -1861,23 +1852,23 @@ HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle_DMA(UART_HandleTypeDef *huart, uint8_ * - Set handle State to READY * @note This procedure is executed in blocking mode : when exiting function, Abort is considered as completed. * @retval HAL status -*/ + */ HAL_StatusTypeDef HAL_UART_Abort(UART_HandleTypeDef *huart) { /* Disable TXEIE, TCIE, RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ - CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE | USART_CR1_TXEIE | USART_CR1_TCIE)); - CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE | USART_CR1_TXEIE | USART_CR1_TCIE)); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); /* If Reception till IDLE event was ongoing, disable IDLEIE interrupt */ if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) { - CLEAR_BIT(huart->Instance->CR1, (USART_CR1_IDLEIE)); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_IDLEIE)); } /* Disable the UART DMA Tx request if enabled */ if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT)) { - CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); /* Abort the UART DMA Tx channel: use blocking DMA Abort API (no callback) */ if (huart->hdmatx != NULL) @@ -1902,7 +1893,7 @@ HAL_StatusTypeDef HAL_UART_Abort(UART_HandleTypeDef *huart) /* Disable the UART DMA Rx request if enabled */ if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) { - CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); /* Abort the UART DMA Rx channel: use blocking DMA Abort API (no callback) */ if (huart->hdmarx != NULL) @@ -1950,16 +1941,16 @@ HAL_StatusTypeDef HAL_UART_Abort(UART_HandleTypeDef *huart) * - Set handle State to READY * @note This procedure is executed in blocking mode : when exiting function, Abort is considered as completed. * @retval HAL status -*/ + */ HAL_StatusTypeDef HAL_UART_AbortTransmit(UART_HandleTypeDef *huart) { /* Disable TXEIE and TCIE interrupts */ - CLEAR_BIT(huart->Instance->CR1, (USART_CR1_TXEIE | USART_CR1_TCIE)); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_TXEIE | USART_CR1_TCIE)); /* Disable the UART DMA Tx request if enabled */ if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT)) { - CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); /* Abort the UART DMA Tx channel : use blocking DMA Abort API (no callback) */ if (huart->hdmatx != NULL) @@ -2001,23 +1992,23 @@ HAL_StatusTypeDef HAL_UART_AbortTransmit(UART_HandleTypeDef *huart) * - Set handle State to READY * @note This procedure is executed in blocking mode : when exiting function, Abort is considered as completed. * @retval HAL status -*/ + */ HAL_StatusTypeDef HAL_UART_AbortReceive(UART_HandleTypeDef *huart) { /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ - CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE)); - CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE)); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); /* If Reception till IDLE event was ongoing, disable IDLEIE interrupt */ if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) { - CLEAR_BIT(huart->Instance->CR1, (USART_CR1_IDLEIE)); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_IDLEIE)); } /* Disable the UART DMA Rx request if enabled */ if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) { - CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); /* Abort the UART DMA Rx channel : use blocking DMA Abort API (no callback) */ if (huart->hdmarx != NULL) @@ -2062,19 +2053,19 @@ HAL_StatusTypeDef HAL_UART_AbortReceive(UART_HandleTypeDef *huart) * @note This procedure is executed in Interrupt mode, meaning that abort procedure could be * considered as completed only when user abort complete callback is executed (not when exiting function). * @retval HAL status -*/ + */ HAL_StatusTypeDef HAL_UART_Abort_IT(UART_HandleTypeDef *huart) { uint32_t AbortCplt = 0x01U; /* Disable TXEIE, TCIE, RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ - CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE | USART_CR1_TXEIE | USART_CR1_TCIE)); - CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE | USART_CR1_TXEIE | USART_CR1_TCIE)); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); /* If Reception till IDLE event was ongoing, disable IDLEIE interrupt */ if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) { - CLEAR_BIT(huart->Instance->CR1, (USART_CR1_IDLEIE)); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_IDLEIE)); } /* If DMA Tx and/or DMA Rx Handles are associated to UART Handle, DMA Abort complete callbacks should be initialised @@ -2112,7 +2103,7 @@ HAL_StatusTypeDef HAL_UART_Abort_IT(UART_HandleTypeDef *huart) if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT)) { /* Disable DMA Tx at UART level */ - CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); /* Abort the UART DMA Tx channel : use non blocking DMA Abort API (callback) */ if (huart->hdmatx != NULL) @@ -2135,7 +2126,7 @@ HAL_StatusTypeDef HAL_UART_Abort_IT(UART_HandleTypeDef *huart) /* Disable the UART DMA Rx request if enabled */ if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) { - CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); /* Abort the UART DMA Rx channel : use non blocking DMA Abort API (callback) */ if (huart->hdmarx != NULL) @@ -2197,16 +2188,16 @@ HAL_StatusTypeDef HAL_UART_Abort_IT(UART_HandleTypeDef *huart) * @note This procedure is executed in Interrupt mode, meaning that abort procedure could be * considered as completed only when user abort complete callback is executed (not when exiting function). * @retval HAL status -*/ + */ HAL_StatusTypeDef HAL_UART_AbortTransmit_IT(UART_HandleTypeDef *huart) { /* Disable TXEIE and TCIE interrupts */ - CLEAR_BIT(huart->Instance->CR1, (USART_CR1_TXEIE | USART_CR1_TCIE)); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_TXEIE | USART_CR1_TCIE)); /* Disable the UART DMA Tx request if enabled */ if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT)) { - CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); /* Abort the UART DMA Tx channel : use blocking DMA Abort API (no callback) */ if (huart->hdmatx != NULL) @@ -2274,23 +2265,23 @@ HAL_StatusTypeDef HAL_UART_AbortTransmit_IT(UART_HandleTypeDef *huart) * @note This procedure is executed in Interrupt mode, meaning that abort procedure could be * considered as completed only when user abort complete callback is executed (not when exiting function). * @retval HAL status -*/ + */ HAL_StatusTypeDef HAL_UART_AbortReceive_IT(UART_HandleTypeDef *huart) { /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ - CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE)); - CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE)); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); /* If Reception till IDLE event was ongoing, disable IDLEIE interrupt */ if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) { - CLEAR_BIT(huart->Instance->CR1, (USART_CR1_IDLEIE)); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_IDLEIE)); } /* Disable the UART DMA Rx request if enabled */ if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) { - CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); /* Abort the UART DMA Rx channel : use blocking DMA Abort API (no callback) */ if (huart->hdmarx != NULL) @@ -2374,7 +2365,8 @@ void HAL_UART_IRQHandler(UART_HandleTypeDef *huart) } /* If some errors occur */ - if ((errorflags != RESET) && (((cr3its & USART_CR3_EIE) != RESET) || ((cr1its & (USART_CR1_RXNEIE | USART_CR1_PEIE)) != RESET))) + if ((errorflags != RESET) && (((cr3its & USART_CR3_EIE) != RESET) + || ((cr1its & (USART_CR1_RXNEIE | USART_CR1_PEIE)) != RESET))) { /* UART parity error interrupt occurred ----------------------------------*/ if (((isrflags & USART_SR_PE) != RESET) && ((cr1its & USART_CR1_PEIE) != RESET)) @@ -2395,7 +2387,8 @@ void HAL_UART_IRQHandler(UART_HandleTypeDef *huart) } /* UART Over-Run interrupt occurred --------------------------------------*/ - if (((isrflags & USART_SR_ORE) != RESET) && (((cr1its & USART_CR1_RXNEIE) != RESET) || ((cr3its & USART_CR3_EIE) != RESET))) + if (((isrflags & USART_SR_ORE) != RESET) && (((cr1its & USART_CR1_RXNEIE) != RESET) + || ((cr3its & USART_CR3_EIE) != RESET))) { huart->ErrorCode |= HAL_UART_ERROR_ORE; } @@ -2422,7 +2415,7 @@ void HAL_UART_IRQHandler(UART_HandleTypeDef *huart) /* Disable the UART DMA Rx request if enabled */ if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) { - CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); /* Abort the UART DMA Rx channel */ if (huart->hdmarx != NULL) @@ -2480,9 +2473,9 @@ void HAL_UART_IRQHandler(UART_HandleTypeDef *huart) /* Check current reception Mode : If Reception till IDLE event has been selected : */ - if ( (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) - &&((isrflags & USART_SR_IDLE) != 0U) - &&((cr1its & USART_SR_IDLE) != 0U)) + if ((huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) + && ((isrflags & USART_SR_IDLE) != 0U) + && ((cr1its & USART_SR_IDLE) != 0U)) { __HAL_UART_CLEAR_IDLEFLAG(huart); @@ -2494,8 +2487,8 @@ void HAL_UART_IRQHandler(UART_HandleTypeDef *huart) (DMA cplt callback will be called). Otherwise, if at least one data has already been received, IDLE event is to be notified to user */ uint16_t nb_remaining_rx_data = (uint16_t) __HAL_DMA_GET_COUNTER(huart->hdmarx); - if ( (nb_remaining_rx_data > 0U) - &&(nb_remaining_rx_data < huart->RxXferSize)) + if ((nb_remaining_rx_data > 0U) + && (nb_remaining_rx_data < huart->RxXferSize)) { /* Reception is not complete */ huart->RxXferCount = nb_remaining_rx_data; @@ -2504,29 +2497,34 @@ void HAL_UART_IRQHandler(UART_HandleTypeDef *huart) if (huart->hdmarx->Init.Mode != DMA_CIRCULAR) { /* Disable PE and ERR (Frame error, noise error, overrun error) interrupts */ - CLEAR_BIT(huart->Instance->CR1, USART_CR1_PEIE); - CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, USART_CR1_PEIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); /* Disable the DMA transfer for the receiver request by resetting the DMAR bit in the UART CR3 register */ - CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); /* At end of Rx process, restore huart->RxState to Ready */ huart->RxState = HAL_UART_STATE_READY; huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; - CLEAR_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); /* Last bytes received, so no need as the abort is immediate */ (void)HAL_DMA_Abort(huart->hdmarx); } + + /* Initialize type of RxEvent that correspond to RxEvent callback execution; + In this case, Rx Event type is Idle Event */ + huart->RxEventType = HAL_UART_RXEVENT_IDLE; + #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) /*Call registered Rx Event callback*/ huart->RxEventCallback(huart, (huart->RxXferSize - huart->RxXferCount)); #else /*Call legacy weak Rx Event callback*/ HAL_UARTEx_RxEventCallback(huart, (huart->RxXferSize - huart->RxXferCount)); -#endif +#endif /* USE_HAL_UART_REGISTER_CALLBACKS */ } return; } @@ -2536,27 +2534,32 @@ void HAL_UART_IRQHandler(UART_HandleTypeDef *huart) /* Check received length : If all expected data are received, do nothing. Otherwise, if at least one data has already been received, IDLE event is to be notified to user */ uint16_t nb_rx_data = huart->RxXferSize - huart->RxXferCount; - if ( (huart->RxXferCount > 0U) - &&(nb_rx_data > 0U) ) + if ((huart->RxXferCount > 0U) + && (nb_rx_data > 0U)) { /* Disable the UART Parity Error Interrupt and RXNE interrupts */ - CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE)); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE)); /* Disable the UART Error Interrupt: (Frame error, noise error, overrun error) */ - CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); /* Rx process is completed, restore huart->RxState to Ready */ huart->RxState = HAL_UART_STATE_READY; huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; - CLEAR_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); + + /* Initialize type of RxEvent that correspond to RxEvent callback execution; + In this case, Rx Event type is Idle Event */ + huart->RxEventType = HAL_UART_RXEVENT_IDLE; + #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) /*Call registered Rx complete callback*/ huart->RxEventCallback(huart, nb_rx_data); #else /*Call legacy weak Rx Event callback*/ HAL_UARTEx_RxEventCallback(huart, nb_rx_data); -#endif +#endif /* USE_HAL_UART_REGISTER_CALLBACKS */ } return; } @@ -2755,7 +2758,7 @@ HAL_StatusTypeDef HAL_LIN_SendBreak(UART_HandleTypeDef *huart) huart->gState = HAL_UART_STATE_BUSY; /* Send break characters */ - SET_BIT(huart->Instance->CR1, USART_CR1_SBK); + ATOMIC_SET_BIT(huart->Instance->CR1, USART_CR1_SBK); huart->gState = HAL_UART_STATE_READY; @@ -2782,9 +2785,10 @@ HAL_StatusTypeDef HAL_MultiProcessor_EnterMuteMode(UART_HandleTypeDef *huart) huart->gState = HAL_UART_STATE_BUSY; /* Enable the USART mute mode by setting the RWU bit in the CR1 register */ - SET_BIT(huart->Instance->CR1, USART_CR1_RWU); + ATOMIC_SET_BIT(huart->Instance->CR1, USART_CR1_RWU); huart->gState = HAL_UART_STATE_READY; + huart->RxEventType = HAL_UART_RXEVENT_TC; /* Process Unlocked */ __HAL_UNLOCK(huart); @@ -2809,9 +2813,10 @@ HAL_StatusTypeDef HAL_MultiProcessor_ExitMuteMode(UART_HandleTypeDef *huart) huart->gState = HAL_UART_STATE_BUSY; /* Disable the USART mute mode by clearing the RWU bit in the CR1 register */ - CLEAR_BIT(huart->Instance->CR1, USART_CR1_RWU); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, USART_CR1_RWU); huart->gState = HAL_UART_STATE_READY; + huart->RxEventType = HAL_UART_RXEVENT_TC; /* Process Unlocked */ __HAL_UNLOCK(huart); @@ -2917,7 +2922,7 @@ HAL_StatusTypeDef HAL_HalfDuplex_EnableReceiver(UART_HandleTypeDef *huart) * the configuration information for the specified UART module. * @retval HAL state */ -HAL_UART_StateTypeDef HAL_UART_GetState(UART_HandleTypeDef *huart) +HAL_UART_StateTypeDef HAL_UART_GetState(const UART_HandleTypeDef *huart) { uint32_t temp1 = 0x00U, temp2 = 0x00U; temp1 = huart->gState; @@ -2932,7 +2937,7 @@ HAL_UART_StateTypeDef HAL_UART_GetState(UART_HandleTypeDef *huart) * the configuration information for the specified UART. * @retval UART Error Code */ -uint32_t HAL_UART_GetError(UART_HandleTypeDef *huart) +uint32_t HAL_UART_GetError(const UART_HandleTypeDef *huart) { return huart->ErrorCode; } @@ -2987,10 +2992,10 @@ static void UART_DMATransmitCplt(DMA_HandleTypeDef *hdma) /* Disable the DMA transfer for transmit request by setting the DMAT bit in the UART CR3 register */ - CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); /* Enable the UART Transmit Complete Interrupt */ - SET_BIT(huart->Instance->CR1, USART_CR1_TCIE); + ATOMIC_SET_BIT(huart->Instance->CR1, USART_CR1_TCIE); } /* DMA Circular mode */ @@ -3034,18 +3039,19 @@ static void UART_DMATxHalfCplt(DMA_HandleTypeDef *hdma) static void UART_DMAReceiveCplt(DMA_HandleTypeDef *hdma) { UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; + /* DMA Normal mode*/ if ((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U) { huart->RxXferCount = 0U; /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ - CLEAR_BIT(huart->Instance->CR1, USART_CR1_PEIE); - CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, USART_CR1_PEIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); /* Disable the DMA transfer for the receiver request by setting the DMAR bit in the UART CR3 register */ - CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); /* At end of Rx process, restore huart->RxState to Ready */ huart->RxState = HAL_UART_STATE_READY; @@ -3053,14 +3059,18 @@ static void UART_DMAReceiveCplt(DMA_HandleTypeDef *hdma) /* If Reception till IDLE event has been selected, Disable IDLE Interrupt */ if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) { - CLEAR_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); } } + /* Initialize type of RxEvent that correspond to RxEvent callback execution; + In this case, Rx Event type is Transfer Complete */ + huart->RxEventType = HAL_UART_RXEVENT_TC; + /* Check current reception Mode : If Reception till IDLE event has been selected : use Rx Event callback */ if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) - { + { #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) /*Call registered Rx Event callback*/ huart->RxEventCallback(huart, huart->RxXferSize); @@ -3092,16 +3102,20 @@ static void UART_DMARxHalfCplt(DMA_HandleTypeDef *hdma) { UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; + /* Initialize type of RxEvent that correspond to RxEvent callback execution; + In this case, Rx Event type is Half Transfer */ + huart->RxEventType = HAL_UART_RXEVENT_HT; + /* Check current reception Mode : If Reception till IDLE event has been selected : use Rx Event callback */ if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) { #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) /*Call registered Rx Event callback*/ - huart->RxEventCallback(huart, huart->RxXferSize/2U); + huart->RxEventCallback(huart, huart->RxXferSize / 2U); #else /*Call legacy weak Rx Event callback*/ - HAL_UARTEx_RxEventCallback(huart, huart->RxXferSize/2U); + HAL_UARTEx_RxEventCallback(huart, huart->RxXferSize / 2U); #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ } else @@ -3155,16 +3169,18 @@ static void UART_DMAError(DMA_HandleTypeDef *hdma) } /** - * @brief This function handles UART Communication Timeout. + * @brief This function handles UART Communication Timeout. It waits + * until a flag is no longer in the specified status. * @param huart Pointer to a UART_HandleTypeDef structure that contains * the configuration information for the specified UART module. * @param Flag specifies the UART flag to check. - * @param Status The new Flag status (SET or RESET). + * @param Status The actual Flag status (SET or RESET). * @param Tickstart Tick start value * @param Timeout Timeout duration * @retval HAL status */ -static HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, uint32_t Flag, FlagStatus Status, uint32_t Tickstart, uint32_t Timeout) +static HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, uint32_t Flag, FlagStatus Status, + uint32_t Tickstart, uint32_t Timeout) { /* Wait until flag is set */ while ((__HAL_UART_GET_FLAG(huart, Flag) ? SET : RESET) == Status) @@ -3175,8 +3191,8 @@ static HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, if ((Timeout == 0U) || ((HAL_GetTick() - Tickstart) > Timeout)) { /* Disable TXE, RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts for the interrupt process */ - CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE | USART_CR1_TXEIE)); - CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE | USART_CR1_TXEIE)); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); huart->gState = HAL_UART_STATE_READY; huart->RxState = HAL_UART_STATE_READY; @@ -3211,11 +3227,11 @@ HAL_StatusTypeDef UART_Start_Receive_IT(UART_HandleTypeDef *huart, uint8_t *pDat huart->ErrorCode = HAL_UART_ERROR_NONE; huart->RxState = HAL_UART_STATE_BUSY_RX; - /* Process Unlocked */ - __HAL_UNLOCK(huart); - - /* Enable the UART Parity Error Interrupt */ - __HAL_UART_ENABLE_IT(huart, UART_IT_PE); + if (huart->Init.Parity != UART_PARITY_NONE) + { + /* Enable the UART Parity Error Interrupt */ + __HAL_UART_ENABLE_IT(huart, UART_IT_PE); + } /* Enable the UART Error Interrupt: (Frame error, noise error, overrun error) */ __HAL_UART_ENABLE_IT(huart, UART_IT_ERR); @@ -3266,18 +3282,18 @@ HAL_StatusTypeDef UART_Start_Receive_DMA(UART_HandleTypeDef *huart, uint8_t *pDa /* Clear the Overrun flag just before enabling the DMA Rx request: can be mandatory for the second transfer */ __HAL_UART_CLEAR_OREFLAG(huart); - /* Process Unlocked */ - __HAL_UNLOCK(huart); - - /* Enable the UART Parity Error Interrupt */ - SET_BIT(huart->Instance->CR1, USART_CR1_PEIE); + if (huart->Init.Parity != UART_PARITY_NONE) + { + /* Enable the UART Parity Error Interrupt */ + ATOMIC_SET_BIT(huart->Instance->CR1, USART_CR1_PEIE); + } /* Enable the UART Error Interrupt: (Frame error, noise error, overrun error) */ - SET_BIT(huart->Instance->CR3, USART_CR3_EIE); + ATOMIC_SET_BIT(huart->Instance->CR3, USART_CR3_EIE); /* Enable the DMA transfer for the receiver request by setting the DMAR bit in the UART CR3 register */ - SET_BIT(huart->Instance->CR3, USART_CR3_DMAR); + ATOMIC_SET_BIT(huart->Instance->CR3, USART_CR3_DMAR); return HAL_OK; } @@ -3290,7 +3306,7 @@ HAL_StatusTypeDef UART_Start_Receive_DMA(UART_HandleTypeDef *huart, uint8_t *pDa static void UART_EndTxTransfer(UART_HandleTypeDef *huart) { /* Disable TXEIE and TCIE interrupts */ - CLEAR_BIT(huart->Instance->CR1, (USART_CR1_TXEIE | USART_CR1_TCIE)); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_TXEIE | USART_CR1_TCIE)); /* At end of Tx process, restore huart->gState to Ready */ huart->gState = HAL_UART_STATE_READY; @@ -3304,13 +3320,13 @@ static void UART_EndTxTransfer(UART_HandleTypeDef *huart) static void UART_EndRxTransfer(UART_HandleTypeDef *huart) { /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ - CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE)); - CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE)); + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); /* In case of reception waiting for IDLE event, disable also the IDLE IE interrupt source */ if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) { - CLEAR_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); } /* At end of Rx process, restore huart->RxState to Ready */ @@ -3497,14 +3513,14 @@ static void UART_DMARxOnlyAbortCallback(DMA_HandleTypeDef *hdma) */ static HAL_StatusTypeDef UART_Transmit_IT(UART_HandleTypeDef *huart) { - uint16_t *tmp; + const uint16_t *tmp; /* Check that a Tx process is ongoing */ if (huart->gState == HAL_UART_STATE_BUSY_TX) { if ((huart->Init.WordLength == UART_WORDLENGTH_9B) && (huart->Init.Parity == UART_PARITY_NONE)) { - tmp = (uint16_t *) huart->pTxBuffPtr; + tmp = (const uint16_t *) huart->pTxBuffPtr; huart->Instance->DR = (uint16_t)(*tmp & (uint16_t)0x01FF); huart->pTxBuffPtr += 2U; } @@ -3515,7 +3531,7 @@ static HAL_StatusTypeDef UART_Transmit_IT(UART_HandleTypeDef *huart) if (--huart->TxXferCount == 0U) { - /* Disable the UART Transmit Complete Interrupt */ + /* Disable the UART Transmit Data Register Empty Interrupt */ __HAL_UART_DISABLE_IT(huart, UART_IT_TXE); /* Enable the UART Transmit Complete Interrupt */ @@ -3605,6 +3621,9 @@ static HAL_StatusTypeDef UART_Receive_IT(UART_HandleTypeDef *huart) /* Rx process is completed, restore huart->RxState to Ready */ huart->RxState = HAL_UART_STATE_READY; + /* Initialize type of RxEvent to Transfer Complete */ + huart->RxEventType = HAL_UART_RXEVENT_TC; + /* Check current reception Mode : If Reception till IDLE event has been selected : */ if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) @@ -3613,7 +3632,7 @@ static HAL_StatusTypeDef UART_Receive_IT(UART_HandleTypeDef *huart) huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; /* Disable IDLE interrupt */ - CLEAR_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); + ATOMIC_CLEAR_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); /* Check if IDLE flag is set */ if (__HAL_UART_GET_FLAG(huart, UART_FLAG_IDLE)) @@ -3628,17 +3647,17 @@ static HAL_StatusTypeDef UART_Receive_IT(UART_HandleTypeDef *huart) #else /*Call legacy weak Rx Event callback*/ HAL_UARTEx_RxEventCallback(huart, huart->RxXferSize); -#endif +#endif /* USE_HAL_UART_REGISTER_CALLBACKS */ } else { - /* Standard reception API called */ -#if (USE_HAL_UART_REGISTER_CALLBACKS == 1) - /*Call registered Rx complete callback*/ - huart->RxCpltCallback(huart); + /* Standard reception API called */ +#if (USE_HAL_UART_REGISTER_CALLBACKS == 1) + /*Call registered Rx complete callback*/ + huart->RxCpltCallback(huart); #else - /*Call legacy weak Rx complete callback*/ - HAL_UART_RxCpltCallback(huart); + /*Call legacy weak Rx complete callback*/ + HAL_UART_RxCpltCallback(huart); #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ } @@ -3735,4 +3754,3 @@ static void UART_SetConfig(UART_HandleTypeDef *huart) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_usart.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_usart.c index 9e9b788..eb5bacd 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_usart.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_usart.c @@ -9,6 +9,18 @@ * + Initialization and de-initialization functions * + IO operation functions * + Peripheral Control functions + * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### @@ -182,17 +194,6 @@ | 1 | 1 | | SB | 8 bit data | PB | STB | | +-------------------------------------------------------------+ ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -243,7 +244,8 @@ static void USART_DMAAbortOnError(DMA_HandleTypeDef *hdma); static void USART_DMATxAbortCallback(DMA_HandleTypeDef *hdma); static void USART_DMARxAbortCallback(DMA_HandleTypeDef *hdma); -static HAL_StatusTypeDef USART_WaitOnFlagUntilTimeout(USART_HandleTypeDef *husart, uint32_t Flag, FlagStatus Status, uint32_t Tickstart, uint32_t Timeout); +static HAL_StatusTypeDef USART_WaitOnFlagUntilTimeout(USART_HandleTypeDef *husart, uint32_t Flag, FlagStatus Status, + uint32_t Tickstart, uint32_t Timeout); /** * @} */ @@ -422,6 +424,8 @@ __weak void HAL_USART_MspDeInit(USART_HandleTypeDef *husart) /** * @brief Register a User USART Callback * To be used instead of the weak predefined callback + * @note The HAL_USART_RegisterCallback() may be called before HAL_USART_Init() in HAL_USART_STATE_RESET + * to register callbacks for HAL_USART_MSPINIT_CB_ID and HAL_USART_MSPDEINIT_CB_ID * @param husart usart handle * @param CallbackID ID of the callback to be registered * This parameter can be one of the following values: @@ -437,7 +441,8 @@ __weak void HAL_USART_MspDeInit(USART_HandleTypeDef *husart) * @param pCallback pointer to the Callback function * @retval HAL status + */ -HAL_StatusTypeDef HAL_USART_RegisterCallback(USART_HandleTypeDef *husart, HAL_USART_CallbackIDTypeDef CallbackID, pUSART_CallbackTypeDef pCallback) +HAL_StatusTypeDef HAL_USART_RegisterCallback(USART_HandleTypeDef *husart, HAL_USART_CallbackIDTypeDef CallbackID, + pUSART_CallbackTypeDef pCallback) { HAL_StatusTypeDef status = HAL_OK; @@ -448,8 +453,6 @@ HAL_StatusTypeDef HAL_USART_RegisterCallback(USART_HandleTypeDef *husart, HAL_US return HAL_ERROR; } - /* Process locked */ - __HAL_LOCK(husart); if (husart->State == HAL_USART_STATE_READY) { @@ -530,15 +533,14 @@ HAL_StatusTypeDef HAL_USART_RegisterCallback(USART_HandleTypeDef *husart, HAL_US status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(husart); - return status; } /** * @brief Unregister an USART Callback * USART callaback is redirected to the weak predefined callback + * @note The HAL_USART_UnRegisterCallback() may be called before HAL_USART_Init() in HAL_USART_STATE_RESET + * to un-register callbacks for HAL_USART_MSPINIT_CB_ID and HAL_USART_MSPDEINIT_CB_ID * @param husart usart handle * @param CallbackID ID of the callback to be unregistered * This parameter can be one of the following values: @@ -557,9 +559,6 @@ HAL_StatusTypeDef HAL_USART_UnRegisterCallback(USART_HandleTypeDef *husart, HAL_ { HAL_StatusTypeDef status = HAL_OK; - /* Process locked */ - __HAL_LOCK(husart); - if (husart->State == HAL_USART_STATE_READY) { switch (CallbackID) @@ -639,9 +638,6 @@ HAL_StatusTypeDef HAL_USART_UnRegisterCallback(USART_HandleTypeDef *husart, HAL_ status = HAL_ERROR; } - /* Release Lock */ - __HAL_UNLOCK(husart); - return status; } #endif /* USE_HAL_USART_REGISTER_CALLBACKS */ @@ -741,10 +737,10 @@ HAL_StatusTypeDef HAL_USART_UnRegisterCallback(USART_HandleTypeDef *husart, HAL_ * @param Timeout Timeout duration. * @retval HAL status */ -HAL_StatusTypeDef HAL_USART_Transmit(USART_HandleTypeDef *husart, uint8_t *pTxData, uint16_t Size, uint32_t Timeout) +HAL_StatusTypeDef HAL_USART_Transmit(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint16_t Size, uint32_t Timeout) { - uint8_t *ptxdata8bits; - uint16_t *ptxdata16bits; + const uint8_t *ptxdata8bits; + const uint16_t *ptxdata16bits; uint32_t tickstart; if (husart->State == HAL_USART_STATE_READY) @@ -770,7 +766,7 @@ HAL_StatusTypeDef HAL_USART_Transmit(USART_HandleTypeDef *husart, uint8_t *pTxDa if ((husart->Init.WordLength == USART_WORDLENGTH_9B) && (husart->Init.Parity == USART_PARITY_NONE)) { ptxdata8bits = NULL; - ptxdata16bits = (uint16_t *) pTxData; + ptxdata16bits = (const uint16_t *) pTxData; } else { @@ -931,12 +927,13 @@ HAL_StatusTypeDef HAL_USART_Receive(USART_HandleTypeDef *husart, uint8_t *pRxDat * @param Timeout Timeout duration * @retval HAL status */ -HAL_StatusTypeDef HAL_USART_TransmitReceive(USART_HandleTypeDef *husart, uint8_t *pTxData, uint8_t *pRxData, uint16_t Size, uint32_t Timeout) +HAL_StatusTypeDef HAL_USART_TransmitReceive(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint8_t *pRxData, + uint16_t Size, uint32_t Timeout) { uint8_t *prxdata8bits; uint16_t *prxdata16bits; - uint8_t *ptxdata8bits; - uint16_t *ptxdata16bits; + const uint8_t *ptxdata8bits; + const uint16_t *ptxdata16bits; uint16_t rxdatacount; uint32_t tickstart; @@ -976,7 +973,7 @@ HAL_StatusTypeDef HAL_USART_TransmitReceive(USART_HandleTypeDef *husart, uint8_t { prxdata8bits = NULL; ptxdata8bits = NULL; - ptxdata16bits = (uint16_t *) pTxData; + ptxdata16bits = (const uint16_t *) pTxData; prxdata16bits = (uint16_t *) pRxData; } else @@ -1008,14 +1005,14 @@ HAL_StatusTypeDef HAL_USART_TransmitReceive(USART_HandleTypeDef *husart, uint8_t else { husart->Instance->DR = (uint8_t)(*ptxdata8bits & (uint8_t)0xFF); - ptxdata8bits++; + ptxdata8bits++; } husart->TxXferCount--; } if (husart->RxXferCount > 0U) - { + { /* Wait for RXNE Flag */ if (USART_WaitOnFlagUntilTimeout(husart, USART_FLAG_RXNE, RESET, tickstart, Timeout) != HAL_OK) { @@ -1070,7 +1067,7 @@ HAL_StatusTypeDef HAL_USART_TransmitReceive(USART_HandleTypeDef *husart, uint8_t * @retval HAL status * @note The USART errors are not managed to avoid the overrun error. */ -HAL_StatusTypeDef HAL_USART_Transmit_IT(USART_HandleTypeDef *husart, uint8_t *pTxData, uint16_t Size) +HAL_StatusTypeDef HAL_USART_Transmit_IT(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint16_t Size) { if (husart->State == HAL_USART_STATE_READY) { @@ -1144,8 +1141,16 @@ HAL_StatusTypeDef HAL_USART_Receive_IT(USART_HandleTypeDef *husart, uint8_t *pRx /* Process Unlocked */ __HAL_UNLOCK(husart); - /* Enable the USART Parity Error and Data Register not empty Interrupts */ - SET_BIT(husart->Instance->CR1, USART_CR1_PEIE | USART_CR1_RXNEIE); + if (husart->Init.Parity != USART_PARITY_NONE) + { + /* Enable the USART Parity Error and Data Register not empty Interrupts */ + SET_BIT(husart->Instance->CR1, USART_CR1_PEIE | USART_CR1_RXNEIE); + } + else + { + /* Enable the USART Data Register not empty Interrupts */ + SET_BIT(husart->Instance->CR1, USART_CR1_RXNEIE); + } /* Enable the USART Error Interrupt: (Frame error, noise error, overrun error) */ SET_BIT(husart->Instance->CR3, USART_CR3_EIE); @@ -1173,7 +1178,8 @@ HAL_StatusTypeDef HAL_USART_Receive_IT(USART_HandleTypeDef *husart, uint8_t *pRx * @param Size Amount of data elements (u8 or u16) to be sent (same amount to be received). * @retval HAL status */ -HAL_StatusTypeDef HAL_USART_TransmitReceive_IT(USART_HandleTypeDef *husart, uint8_t *pTxData, uint8_t *pRxData, uint16_t Size) +HAL_StatusTypeDef HAL_USART_TransmitReceive_IT(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint8_t *pRxData, + uint16_t Size) { if (husart->State == HAL_USART_STATE_READY) { @@ -1200,8 +1206,11 @@ HAL_StatusTypeDef HAL_USART_TransmitReceive_IT(USART_HandleTypeDef *husart, uint /* Enable the USART Data Register not empty Interrupt */ SET_BIT(husart->Instance->CR1, USART_CR1_RXNEIE); - /* Enable the USART Parity Error Interrupt */ - SET_BIT(husart->Instance->CR1, USART_CR1_PEIE); + if (husart->Init.Parity != USART_PARITY_NONE) + { + /* Enable the USART Parity Error Interrupt */ + SET_BIT(husart->Instance->CR1, USART_CR1_PEIE); + } /* Enable the USART Error Interrupt: (Frame error, noise error, overrun error) */ SET_BIT(husart->Instance->CR3, USART_CR3_EIE); @@ -1228,9 +1237,9 @@ HAL_StatusTypeDef HAL_USART_TransmitReceive_IT(USART_HandleTypeDef *husart, uint * @param Size Amount of data elements (u8 or u16) to be sent. * @retval HAL status */ -HAL_StatusTypeDef HAL_USART_Transmit_DMA(USART_HandleTypeDef *husart, uint8_t *pTxData, uint16_t Size) +HAL_StatusTypeDef HAL_USART_Transmit_DMA(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint16_t Size) { - uint32_t *tmp; + const uint32_t *tmp; if (husart->State == HAL_USART_STATE_READY) { @@ -1261,8 +1270,8 @@ HAL_StatusTypeDef HAL_USART_Transmit_DMA(USART_HandleTypeDef *husart, uint8_t *p husart->hdmatx->XferAbortCallback = NULL; /* Enable the USART transmit DMA channel */ - tmp = (uint32_t *)&pTxData; - HAL_DMA_Start_IT(husart->hdmatx, *(uint32_t *)tmp, (uint32_t)&husart->Instance->DR, Size); + tmp = (const uint32_t *)&pTxData; + HAL_DMA_Start_IT(husart->hdmatx, *(const uint32_t *)tmp, (uint32_t)&husart->Instance->DR, Size); /* Clear the TC flag in the SR register by writing 0 to it */ __HAL_USART_CLEAR_FLAG(husart, USART_FLAG_TC); @@ -1355,8 +1364,11 @@ HAL_StatusTypeDef HAL_USART_Receive_DMA(USART_HandleTypeDef *husart, uint8_t *pR /* Process Unlocked */ __HAL_UNLOCK(husart); - /* Enable the USART Parity Error Interrupt */ - SET_BIT(husart->Instance->CR1, USART_CR1_PEIE); + if (husart->Init.Parity != USART_PARITY_NONE) + { + /* Enable the USART Parity Error Interrupt */ + SET_BIT(husart->Instance->CR1, USART_CR1_PEIE); + } /* Enable the USART Error Interrupt: (Frame error, noise error, overrun error) */ SET_BIT(husart->Instance->CR3, USART_CR3_EIE); @@ -1390,9 +1402,10 @@ HAL_StatusTypeDef HAL_USART_Receive_DMA(USART_HandleTypeDef *husart, uint8_t *pR * @note When the USART parity is enabled (PCE = 1) the data received contain the parity bit. * @retval HAL status */ -HAL_StatusTypeDef HAL_USART_TransmitReceive_DMA(USART_HandleTypeDef *husart, uint8_t *pTxData, uint8_t *pRxData, uint16_t Size) +HAL_StatusTypeDef HAL_USART_TransmitReceive_DMA(USART_HandleTypeDef *husart, const uint8_t *pTxData, uint8_t *pRxData, + uint16_t Size) { - uint32_t *tmp; + const uint32_t *tmp; if (husart->State == HAL_USART_STATE_READY) { @@ -1434,11 +1447,11 @@ HAL_StatusTypeDef HAL_USART_TransmitReceive_DMA(USART_HandleTypeDef *husart, uin /* Enable the USART receive DMA channel */ tmp = (uint32_t *)&pRxData; - HAL_DMA_Start_IT(husart->hdmarx, (uint32_t)&husart->Instance->DR, *(uint32_t *)tmp, Size); + HAL_DMA_Start_IT(husart->hdmarx, (uint32_t)&husart->Instance->DR, *(const uint32_t *)tmp, Size); /* Enable the USART transmit DMA channel */ - tmp = (uint32_t *)&pTxData; - HAL_DMA_Start_IT(husart->hdmatx, *(uint32_t *)tmp, (uint32_t)&husart->Instance->DR, Size); + tmp = (const uint32_t *)&pTxData; + HAL_DMA_Start_IT(husart->hdmatx, *(const uint32_t *)tmp, (uint32_t)&husart->Instance->DR, Size); /* Clear the TC flag in the SR register by writing 0 to it */ __HAL_USART_CLEAR_FLAG(husart, USART_FLAG_TC); @@ -1449,8 +1462,11 @@ HAL_StatusTypeDef HAL_USART_TransmitReceive_DMA(USART_HandleTypeDef *husart, uin /* Process Unlocked */ __HAL_UNLOCK(husart); - /* Enable the USART Parity Error Interrupt */ - SET_BIT(husart->Instance->CR1, USART_CR1_PEIE); + if (husart->Init.Parity != USART_PARITY_NONE) + { + /* Enable the USART Parity Error Interrupt */ + SET_BIT(husart->Instance->CR1, USART_CR1_PEIE); + } /* Enable the USART Error Interrupt: (Frame error, noise error, overrun error) */ SET_BIT(husart->Instance->CR3, USART_CR3_EIE); @@ -1573,7 +1589,7 @@ HAL_StatusTypeDef HAL_USART_DMAStop(USART_HandleTypeDef *husart) * - Set handle State to READY * @note This procedure is executed in blocking mode : when exiting function, Abort is considered as completed. * @retval HAL status -*/ + */ HAL_StatusTypeDef HAL_USART_Abort(USART_HandleTypeDef *husart) { /* Disable TXEIE, TCIE, RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ @@ -1639,7 +1655,7 @@ HAL_StatusTypeDef HAL_USART_Abort(USART_HandleTypeDef *husart) * @note This procedure is executed in Interrupt mode, meaning that abort procedure could be * considered as completed only when user abort complete callback is executed (not when exiting function). * @retval HAL status -*/ + */ HAL_StatusTypeDef HAL_USART_Abort_IT(USART_HandleTypeDef *husart) { uint32_t AbortCplt = 0x01U; @@ -2049,7 +2065,7 @@ __weak void HAL_USART_AbortCpltCallback(USART_HandleTypeDef *husart) * the configuration information for the specified USART module. * @retval HAL state */ -HAL_USART_StateTypeDef HAL_USART_GetState(USART_HandleTypeDef *husart) +HAL_USART_StateTypeDef HAL_USART_GetState(const USART_HandleTypeDef *husart) { return husart->State; } @@ -2060,7 +2076,7 @@ HAL_USART_StateTypeDef HAL_USART_GetState(USART_HandleTypeDef *husart) * the configuration information for the specified USART. * @retval USART Error Code */ -uint32_t HAL_USART_GetError(USART_HandleTypeDef *husart) +uint32_t HAL_USART_GetError(const USART_HandleTypeDef *husart) { return husart->ErrorCode; } @@ -2283,16 +2299,18 @@ static void USART_DMAError(DMA_HandleTypeDef *hdma) } /** - * @brief This function handles USART Communication Timeout. + * @brief This function handles USART Communication Timeout. It waits + * until a flag is no longer in the specified status. * @param husart Pointer to a USART_HandleTypeDef structure that contains * the configuration information for the specified USART module. * @param Flag specifies the USART flag to check. - * @param Status The new Flag status (SET or RESET). + * @param Status The actual Flag status (SET or RESET). * @param Tickstart Tick start value. * @param Timeout Timeout duration. * @retval HAL status */ -static HAL_StatusTypeDef USART_WaitOnFlagUntilTimeout(USART_HandleTypeDef *husart, uint32_t Flag, FlagStatus Status, uint32_t Tickstart, uint32_t Timeout) +static HAL_StatusTypeDef USART_WaitOnFlagUntilTimeout(USART_HandleTypeDef *husart, uint32_t Flag, FlagStatus Status, + uint32_t Tickstart, uint32_t Timeout) { /* Wait until flag is set */ while ((__HAL_USART_GET_FLAG(husart, Flag) ? SET : RESET) == Status) @@ -2471,13 +2489,13 @@ static void USART_DMARxAbortCallback(DMA_HandleTypeDef *hdma) */ static HAL_StatusTypeDef USART_Transmit_IT(USART_HandleTypeDef *husart) { - uint16_t *tmp; + const uint16_t *tmp; if (husart->State == HAL_USART_STATE_BUSY_TX) { if ((husart->Init.WordLength == USART_WORDLENGTH_9B) && (husart->Init.Parity == USART_PARITY_NONE)) { - tmp = (uint16_t *) husart->pTxBuffPtr; + tmp = (const uint16_t *) husart->pTxBuffPtr; husart->Instance->DR = (uint16_t)(*tmp & (uint16_t)0x01FF); husart->pTxBuffPtr += 2U; } @@ -2613,8 +2631,8 @@ static HAL_StatusTypeDef USART_Receive_IT(USART_HandleTypeDef *husart) */ static HAL_StatusTypeDef USART_TransmitReceive_IT(USART_HandleTypeDef *husart) { - uint8_t *pdata8bits; - uint16_t *pdata16bits; + const uint16_t *pdatatx16bits; + uint16_t *pdatarx16bits; if (husart->State == HAL_USART_STATE_BUSY_TX_RX) { @@ -2624,9 +2642,8 @@ static HAL_StatusTypeDef USART_TransmitReceive_IT(USART_HandleTypeDef *husart) { if ((husart->Init.WordLength == USART_WORDLENGTH_9B) && (husart->Init.Parity == USART_PARITY_NONE)) { - pdata8bits = NULL; - pdata16bits = (uint16_t *) husart->pTxBuffPtr; - husart->Instance->DR = (uint16_t)(*pdata16bits & (uint16_t)0x01FF); + pdatatx16bits = (const uint16_t *) husart->pTxBuffPtr; + husart->Instance->DR = (uint16_t)(*pdatatx16bits & (uint16_t)0x01FF); husart->pTxBuffPtr += 2U; } else @@ -2650,22 +2667,19 @@ static HAL_StatusTypeDef USART_TransmitReceive_IT(USART_HandleTypeDef *husart) { if ((husart->Init.WordLength == USART_WORDLENGTH_9B) && (husart->Init.Parity == USART_PARITY_NONE)) { - pdata8bits = NULL; - pdata16bits = (uint16_t *) husart->pRxBuffPtr; - *pdata16bits = (uint16_t)(husart->Instance->DR & (uint16_t)0x01FF); - husart->pRxBuffPtr += 2U; + pdatarx16bits = (uint16_t *) husart->pRxBuffPtr; + *pdatarx16bits = (uint16_t)(husart->Instance->DR & (uint16_t)0x01FF); + husart->pRxBuffPtr += 2U; } else { - pdata8bits = (uint8_t *) husart->pRxBuffPtr; - pdata16bits = NULL; if ((husart->Init.WordLength == USART_WORDLENGTH_9B) || ((husart->Init.WordLength == USART_WORDLENGTH_8B) && (husart->Init.Parity == USART_PARITY_NONE))) { - *pdata8bits = (uint8_t)(husart->Instance->DR & (uint8_t)0x00FF); + *husart->pRxBuffPtr = (uint8_t)(husart->Instance->DR & (uint8_t)0x00FF); } else { - *pdata8bits = (uint8_t)(husart->Instance->DR & (uint8_t)0x007F); + *husart->pRxBuffPtr = (uint8_t)(husart->Instance->DR & (uint8_t)0x007F); } husart->pRxBuffPtr += 1U; } @@ -2797,4 +2811,3 @@ static void USART_SetConfig(USART_HandleTypeDef *husart) * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_wwdg.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_wwdg.c index 730775b..b14db97 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_wwdg.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_wwdg.c @@ -7,6 +7,17 @@ * functionalities of the Window Watchdog (WWDG) peripheral: * + Initialization and Configuration functions * + IO operation functions + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### WWDG Specific features ##### @@ -40,7 +51,7 @@ (++) max time (mS) = 1000 * (Counter - 0x40) / WWDG clock (+) Typical values: (++) Counter min (T[5;0] = 0x00) at 36MHz (PCLK1) with zero prescaler: - max timeout before reset: approximately 910µs + max timeout before reset: approximately 910us (++) Counter max (T[5;0] = 0x3F) at 36MHz (PCLK1) with prescaler dividing by 8: max timeout before reset: approximately 58.25ms @@ -55,7 +66,7 @@ (+) Enable WWDG APB1 clock using __HAL_RCC_WWDG_CLK_ENABLE(). (+) Configure the WWDG prescaler, refresh window value, counter value and early interrupt status using HAL_WWDG_Init() function. This will automatically - enable WWDG and start its downcounter. Time reference can be taken from + enable WWDG and start its downcounter. Time reference can be taken from function exit. Care must be taken to provide a counter value greater than 0x40 to prevent generation of immediate reset. (+) If the Early Wakeup Interrupt (EWI) feature is enabled, an interrupt is @@ -112,17 +123,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -418,5 +418,3 @@ __weak void HAL_WWDG_EarlyWakeupCallback(WWDG_HandleTypeDef *hwwdg) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c index b31e0c6..4062511 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_adc.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -318,7 +317,7 @@ ErrorStatus LL_ADC_CommonInit(ADC_Common_TypeDef *ADCxy_COMMON, LL_ADC_CommonIni /* Note: Hardware constraint (refer to description of functions */ /* "LL_ADC_SetCommonXXX()" and "LL_ADC_SetMultiXXX()"): */ - /* On this STM32 serie, setting of these features is conditioned to */ + /* On this STM32 series, setting of these features is conditioned to */ /* ADC state: */ /* All ADC instances of the ADC common group must be disabled. */ if(__LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(ADCxy_COMMON) == 0U) @@ -679,7 +678,7 @@ ErrorStatus LL_ADC_REG_Init(ADC_TypeDef *ADCx, LL_ADC_REG_InitTypeDef *ADC_REG_I /* - Set ADC group regular continuous mode */ /* - Set ADC group regular conversion data transfer: no transfer or */ /* transfer by DMA, and DMA requests mode */ - /* Note: On this STM32 serie, ADC trigger edge is set when starting */ + /* Note: On this STM32 series, ADC trigger edge is set when starting */ /* ADC conversion. */ /* Refer to function @ref LL_ADC_REG_StartConversionExtTrig(). */ if(ADC_REG_InitStruct->SequencerLength != LL_ADC_REG_SEQ_SCAN_DISABLE) @@ -740,7 +739,7 @@ void LL_ADC_REG_StructInit(LL_ADC_REG_InitTypeDef *ADC_REG_InitStruct) { /* Set ADC_REG_InitStruct fields to default values */ /* Set fields of ADC group regular */ - /* Note: On this STM32 serie, ADC trigger edge is set when starting */ + /* Note: On this STM32 series, ADC trigger edge is set when starting */ /* ADC conversion. */ /* Refer to function @ref LL_ADC_REG_StartConversionExtTrig(). */ ADC_REG_InitStruct->TriggerSource = LL_ADC_REG_TRIG_SOFTWARE; @@ -811,7 +810,7 @@ ErrorStatus LL_ADC_INJ_Init(ADC_TypeDef *ADCx, LL_ADC_INJ_InitTypeDef *ADC_INJ_I /* - Set ADC group injected sequencer discontinuous mode */ /* - Set ADC group injected conversion trigger: independent or */ /* from ADC group regular */ - /* Note: On this STM32 serie, ADC trigger edge is set when starting */ + /* Note: On this STM32 series, ADC trigger edge is set when starting */ /* ADC conversion. */ /* Refer to function @ref LL_ADC_INJ_StartConversionExtTrig(). */ if(ADC_INJ_InitStruct->SequencerLength != LL_ADC_REG_SEQ_SCAN_DISABLE) @@ -892,5 +891,3 @@ void LL_ADC_INJ_StructInit(LL_ADC_INJ_InitTypeDef *ADC_INJ_InitStruct) */ #endif /* USE_FULL_LL_DRIVER */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_crc.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_crc.c index f993359..45ac76b 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_crc.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_crc.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -26,7 +25,7 @@ #include "stm32_assert.h" #else #define assert_param(expr) ((void)0U) -#endif/* USE_FULL_ASSERT */ +#endif /* USE_FULL_ASSERT */ /** @addtogroup STM32F1xx_LL_Driver * @{ @@ -103,6 +102,3 @@ ErrorStatus LL_CRC_DeInit(CRC_TypeDef *CRCx) */ #endif /* USE_FULL_LL_DRIVER */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_dac.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_dac.c index b9f6cd5..1ffc48b 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_dac.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_dac.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,12 +46,12 @@ * @{ */ #define IS_LL_DAC_CHANNEL(__DAC_CHANNEL__) \ - ( ((__DAC_CHANNEL__) == LL_DAC_CHANNEL_1) \ - || ((__DAC_CHANNEL__) == LL_DAC_CHANNEL_2) \ + (((__DAC_CHANNEL__) == LL_DAC_CHANNEL_1) \ + || ((__DAC_CHANNEL__) == LL_DAC_CHANNEL_2) \ ) #define IS_LL_DAC_TRIGGER_SOURCE(__TRIGGER_SOURCE__) \ - ( ((__TRIGGER_SOURCE__) == LL_DAC_TRIG_SOFTWARE) \ + (((__TRIGGER_SOURCE__) == LL_DAC_TRIG_SOFTWARE) \ || ((__TRIGGER_SOURCE__) == LL_DAC_TRIG_EXT_TIM3_TRGO) \ || ((__TRIGGER_SOURCE__) == LL_DAC_TRIG_EXT_TIM15_TRGO) \ || ((__TRIGGER_SOURCE__) == LL_DAC_TRIG_EXT_TIM2_TRGO) \ @@ -65,45 +64,45 @@ ) #define IS_LL_DAC_WAVE_AUTO_GENER_MODE(__WAVE_AUTO_GENERATION_MODE__) \ - ( ((__WAVE_AUTO_GENERATION_MODE__) == LL_DAC_WAVE_AUTO_GENERATION_NONE) \ - || ((__WAVE_AUTO_GENERATION_MODE__) == LL_DAC_WAVE_AUTO_GENERATION_NOISE) \ - || ((__WAVE_AUTO_GENERATION_MODE__) == LL_DAC_WAVE_AUTO_GENERATION_TRIANGLE) \ + (((__WAVE_AUTO_GENERATION_MODE__) == LL_DAC_WAVE_AUTO_GENERATION_NONE) \ + || ((__WAVE_AUTO_GENERATION_MODE__) == LL_DAC_WAVE_AUTO_GENERATION_NOISE) \ + || ((__WAVE_AUTO_GENERATION_MODE__) == LL_DAC_WAVE_AUTO_GENERATION_TRIANGLE) \ ) #define IS_LL_DAC_WAVE_AUTO_GENER_CONFIG(__WAVE_AUTO_GENERATION_MODE__, __WAVE_AUTO_GENERATION_CONFIG__) \ ( (((__WAVE_AUTO_GENERATION_MODE__) == LL_DAC_WAVE_AUTO_GENERATION_NOISE) \ - && ( ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BIT0) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS1_0) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS2_0) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS3_0) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS4_0) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS5_0) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS6_0) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS7_0) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS8_0) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS9_0) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS10_0) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS11_0)) \ + && (((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BIT0) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS1_0) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS2_0) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS3_0) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS4_0) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS5_0) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS6_0) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS7_0) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS8_0) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS9_0) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS10_0) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_NOISE_LFSR_UNMASK_BITS11_0)) \ ) \ ||(((__WAVE_AUTO_GENERATION_MODE__) == LL_DAC_WAVE_AUTO_GENERATION_TRIANGLE) \ - && ( ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_1) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_3) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_7) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_15) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_31) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_63) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_127) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_255) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_511) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_1023) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_2047) \ - || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_4095)) \ + && (((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_1) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_3) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_7) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_15) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_31) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_63) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_127) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_255) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_511) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_1023) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_2047) \ + || ((__WAVE_AUTO_GENERATION_CONFIG__) == LL_DAC_TRIANGLE_AMPLITUDE_4095)) \ ) \ ) #define IS_LL_DAC_OUTPUT_BUFFER(__OUTPUT_BUFFER__) \ - ( ((__OUTPUT_BUFFER__) == LL_DAC_OUTPUT_BUFFER_ENABLE) \ - || ((__OUTPUT_BUFFER__) == LL_DAC_OUTPUT_BUFFER_DISABLE) \ + (((__OUTPUT_BUFFER__) == LL_DAC_OUTPUT_BUFFER_ENABLE) \ + || ((__OUTPUT_BUFFER__) == LL_DAC_OUTPUT_BUFFER_DISABLE) \ ) /** @@ -130,7 +129,7 @@ * - SUCCESS: DAC registers are de-initialized * - ERROR: not applicable */ -ErrorStatus LL_DAC_DeInit(DAC_TypeDef *DACx) +ErrorStatus LL_DAC_DeInit(const DAC_TypeDef *DACx) { /* Check the parameters */ assert_param(IS_DAC_ALL_INSTANCE(DACx)); @@ -169,7 +168,7 @@ ErrorStatus LL_DAC_DeInit(DAC_TypeDef *DACx) * - SUCCESS: DAC registers are initialized * - ERROR: DAC registers are not initialized */ -ErrorStatus LL_DAC_Init(DAC_TypeDef *DACx, uint32_t DAC_Channel, LL_DAC_InitTypeDef *DAC_InitStruct) +ErrorStatus LL_DAC_Init(DAC_TypeDef *DACx, uint32_t DAC_Channel, const LL_DAC_InitTypeDef *DAC_InitStruct) { ErrorStatus status = SUCCESS; @@ -269,5 +268,3 @@ void LL_DAC_StructInit(LL_DAC_InitTypeDef *DAC_InitStruct) */ #endif /* USE_FULL_LL_DRIVER */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_dma.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_dma.c index 5461480..98d03e3 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_dma.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_dma.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -311,4 +310,3 @@ void LL_DMA_StructInit(LL_DMA_InitTypeDef *DMA_InitStruct) #endif /* USE_FULL_LL_DRIVER */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_exti.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_exti.c index 38a4190..fe19ca1 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_exti.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_exti.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -212,4 +211,3 @@ void LL_EXTI_StructInit(LL_EXTI_InitTypeDef *EXTI_InitStruct) #endif /* USE_FULL_LL_DRIVER */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c index 03035ab..3d42565 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c @@ -10,6 +10,17 @@ * + Peripheral Control functions * + Peripheral State functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### FSMC peripheral features ##### @@ -40,17 +51,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -59,7 +59,8 @@ /** @addtogroup STM32F1xx_HAL_Driver * @{ */ -#if defined(HAL_NOR_MODULE_ENABLED) || defined(HAL_SRAM_MODULE_ENABLED) || defined(HAL_NAND_MODULE_ENABLED) || defined(HAL_PCCARD_MODULE_ENABLED) +#if defined(HAL_NOR_MODULE_ENABLED) || defined(HAL_NAND_MODULE_ENABLED) || defined(HAL_PCCARD_MODULE_ENABLED) \ + || defined(HAL_SRAM_MODULE_ENABLED) /** @defgroup FSMC_LL FSMC Low Layer * @brief FSMC driver modules @@ -1010,5 +1011,3 @@ HAL_StatusTypeDef FSMC_PCCARD_DeInit(FSMC_PCCARD_TypeDef *Device) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c index 22f2158..e8e0534 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -255,4 +254,3 @@ void LL_GPIO_StructInit(LL_GPIO_InitTypeDef *GPIO_InitStruct) #endif /* USE_FULL_LL_DRIVER */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_i2c.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_i2c.c index c6f752e..25a839f 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_i2c.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_i2c.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -218,4 +217,3 @@ void LL_I2C_StructInit(LL_I2C_InitTypeDef *I2C_InitStruct) #endif /* USE_FULL_LL_DRIVER */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_pwr.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_pwr.c index 7b1da20..3cf8846 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_pwr.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_pwr.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -82,5 +81,3 @@ ErrorStatus LL_PWR_DeInit(void) */ #endif /* USE_FULL_LL_DRIVER */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c index 2f63c33..9d46678 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rcc.c @@ -6,14 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * + * This software is licensed under terms that can be found in the LICENSE file in + * the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. ****************************************************************************** */ @@ -471,4 +469,3 @@ uint32_t RCC_PLLI2S_GetFreqDomain_I2S(void) #endif /* USE_FULL_LL_DRIVER */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rtc.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rtc.c index 24c3c13..752d74b 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rtc.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_rtc.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -540,5 +539,3 @@ ErrorStatus LL_RTC_WaitForSynchro(RTC_TypeDef *RTCx) */ #endif /* USE_FULL_LL_DRIVER */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_sdmmc.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_sdmmc.c index f47a1ae..0813491 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_sdmmc.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_sdmmc.c @@ -11,6 +11,17 @@ * + Peripheral Control functions * + Peripheral State functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### SDMMC peripheral features ##### @@ -142,17 +153,6 @@ @endverbatim ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2018 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * - ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ @@ -177,11 +177,6 @@ /* Private variables ---------------------------------------------------------*/ /* Private function prototypes -----------------------------------------------*/ static uint32_t SDMMC_GetCmdError(SDIO_TypeDef *SDIOx); -static uint32_t SDMMC_GetCmdResp1(SDIO_TypeDef *SDIOx, uint8_t SD_CMD, uint32_t Timeout); -static uint32_t SDMMC_GetCmdResp2(SDIO_TypeDef *SDIOx); -static uint32_t SDMMC_GetCmdResp3(SDIO_TypeDef *SDIOx); -static uint32_t SDMMC_GetCmdResp7(SDIO_TypeDef *SDIOx); -static uint32_t SDMMC_GetCmdResp6(SDIO_TypeDef *SDIOx, uint8_t SD_CMD, uint16_t *pRCA); /* Exported functions --------------------------------------------------------*/ @@ -311,10 +306,6 @@ HAL_StatusTypeDef SDIO_PowerState_ON(SDIO_TypeDef *SDIOx) /* Set power state to ON */ SDIOx->POWER = SDIO_POWER_PWRCTRL; - /* 1ms: required power up waiting time before starting the SD initialization - sequence */ - HAL_Delay(2); - return HAL_OK; } @@ -1026,6 +1017,31 @@ uint32_t SDMMC_CmdSetRelAdd(SDIO_TypeDef *SDIOx, uint16_t *pRCA) return errorstate; } +/** + * @brief Send the Set Relative Address command to MMC card (not SD card). + * @param SDIOx Pointer to SDIO register base + * @param RCA Card RCA + * @retval HAL status + */ +uint32_t SDMMC_CmdSetRelAddMmc(SDIO_TypeDef *SDIOx, uint16_t RCA) +{ + SDIO_CmdInitTypeDef sdmmc_cmdinit; + uint32_t errorstate; + + /* Send CMD3 SD_CMD_SET_REL_ADDR */ + sdmmc_cmdinit.Argument = ((uint32_t)RCA << 16U); + sdmmc_cmdinit.CmdIndex = SDMMC_CMD_SET_REL_ADDR; + sdmmc_cmdinit.Response = SDIO_RESPONSE_SHORT; + sdmmc_cmdinit.WaitForInterrupt = SDIO_WAIT_NO; + sdmmc_cmdinit.CPSM = SDIO_CPSM_ENABLE; + (void)SDIO_SendCommand(SDIOx, &sdmmc_cmdinit); + + /* Check for error conditions */ + errorstate = SDMMC_GetCmdResp1(SDIOx, SDMMC_CMD_SET_REL_ADDR, SDIO_CMDTIMEOUT); + + return errorstate; +} + /** * @brief Send the Status command and check the response. * @param SDIOx: Pointer to SDIO register base @@ -1125,47 +1141,54 @@ uint32_t SDMMC_CmdSwitch(SDIO_TypeDef *SDIOx, uint32_t Argument) } /** - * @} + * @brief Send the Send EXT_CSD command and check the response. + * @param SDIOx Pointer to SDMMC register base + * @param Argument Command Argument + * @retval HAL status */ - -/* Private function ----------------------------------------------------------*/ -/** @addtogroup SD_Private_Functions - * @{ - */ - -/** - * @brief Checks for error conditions for CMD0. - * @param hsd: SD handle - * @retval SD Card error state - */ -static uint32_t SDMMC_GetCmdError(SDIO_TypeDef *SDIOx) +uint32_t SDMMC_CmdSendEXTCSD(SDIO_TypeDef *SDIOx, uint32_t Argument) { - /* 8 is the number of required instructions cycles for the below loop statement. - The SDIO_CMDTIMEOUT is expressed in ms */ - uint32_t count = SDIO_CMDTIMEOUT * (SystemCoreClock / 8U /1000U); - - do - { - if (count-- == 0U) - { - return SDMMC_ERROR_TIMEOUT; - } - - }while(!__SDIO_GET_FLAG(SDIOx, SDIO_FLAG_CMDSENT)); - - /* Clear all the static flags */ - __SDIO_CLEAR_FLAG(SDIOx, SDIO_STATIC_CMD_FLAGS); - - return SDMMC_ERROR_NONE; + SDIO_CmdInitTypeDef sdmmc_cmdinit; + uint32_t errorstate; + + /* Send CMD9 SEND_CSD */ + sdmmc_cmdinit.Argument = Argument; + sdmmc_cmdinit.CmdIndex = SDMMC_CMD_HS_SEND_EXT_CSD; + sdmmc_cmdinit.Response = SDIO_RESPONSE_SHORT; + sdmmc_cmdinit.WaitForInterrupt = SDIO_WAIT_NO; + sdmmc_cmdinit.CPSM = SDIO_CPSM_ENABLE; + (void)SDIO_SendCommand(SDIOx, &sdmmc_cmdinit); + + /* Check for error conditions */ + errorstate = SDMMC_GetCmdResp1(SDIOx, SDMMC_CMD_HS_SEND_EXT_CSD,SDIO_CMDTIMEOUT); + + return errorstate; } +/** + * @} + */ + +/** @defgroup HAL_SDMMC_LL_Group5 Responses management functions + * @brief Responses functions + * +@verbatim + =============================================================================== + ##### Responses management functions ##### + =============================================================================== + [..] + This subsection provides a set of functions allowing to manage the needed responses. + +@endverbatim + * @{ + */ /** * @brief Checks for error conditions for R1 response. - * @param hsd: SD handle + * @param SDIOx Pointer to SDMMC register base * @param SD_CMD: The sent command index * @retval SD Card error state */ -static uint32_t SDMMC_GetCmdResp1(SDIO_TypeDef *SDIOx, uint8_t SD_CMD, uint32_t Timeout) +uint32_t SDMMC_GetCmdResp1(SDIO_TypeDef *SDIOx, uint8_t SD_CMD, uint32_t Timeout) { uint32_t response_r1; uint32_t sta_reg; @@ -1297,10 +1320,10 @@ static uint32_t SDMMC_GetCmdResp1(SDIO_TypeDef *SDIOx, uint8_t SD_CMD, uint32_t /** * @brief Checks for error conditions for R2 (CID or CSD) response. - * @param hsd: SD handle + * @param SDIOx Pointer to SDMMC register base * @retval SD Card error state */ -static uint32_t SDMMC_GetCmdResp2(SDIO_TypeDef *SDIOx) +uint32_t SDMMC_GetCmdResp2(SDIO_TypeDef *SDIOx) { uint32_t sta_reg; /* 8 is the number of required instructions cycles for the below loop statement. @@ -1341,10 +1364,10 @@ static uint32_t SDMMC_GetCmdResp2(SDIO_TypeDef *SDIOx) /** * @brief Checks for error conditions for R3 (OCR) response. - * @param hsd: SD handle + * @param SDIOx Pointer to SDMMC register base * @retval SD Card error state */ -static uint32_t SDMMC_GetCmdResp3(SDIO_TypeDef *SDIOx) +uint32_t SDMMC_GetCmdResp3(SDIO_TypeDef *SDIOx) { uint32_t sta_reg; /* 8 is the number of required instructions cycles for the below loop statement. @@ -1378,13 +1401,13 @@ static uint32_t SDMMC_GetCmdResp3(SDIO_TypeDef *SDIOx) /** * @brief Checks for error conditions for R6 (RCA) response. - * @param hsd: SD handle + * @param SDIOx Pointer to SDMMC register base * @param SD_CMD: The sent command index * @param pRCA: Pointer to the variable that will contain the SD card relative * address RCA * @retval SD Card error state */ -static uint32_t SDMMC_GetCmdResp6(SDIO_TypeDef *SDIOx, uint8_t SD_CMD, uint16_t *pRCA) +uint32_t SDMMC_GetCmdResp6(SDIO_TypeDef *SDIOx, uint8_t SD_CMD, uint16_t *pRCA) { uint32_t response_r1; uint32_t sta_reg; @@ -1454,10 +1477,10 @@ static uint32_t SDMMC_GetCmdResp6(SDIO_TypeDef *SDIOx, uint8_t SD_CMD, uint16_t /** * @brief Checks for error conditions for R7 response. - * @param hsd: SD handle + * @param SDIOx Pointer to SDMMC register base * @retval SD Card error state */ -static uint32_t SDMMC_GetCmdResp7(SDIO_TypeDef *SDIOx) +uint32_t SDMMC_GetCmdResp7(SDIO_TypeDef *SDIOx) { uint32_t sta_reg; /* 8 is the number of required instructions cycles for the below loop statement. @@ -1504,28 +1527,38 @@ static uint32_t SDMMC_GetCmdResp7(SDIO_TypeDef *SDIOx) } /** - * @brief Send the Send EXT_CSD command and check the response. - * @param SDIOx: Pointer to SDMMC register base - * @param Argument: Command Argument - * @retval HAL status + * @} */ -uint32_t SDMMC_CmdSendEXTCSD(SDIO_TypeDef *SDIOx, uint32_t Argument) + +/* Private function ----------------------------------------------------------*/ +/** @addtogroup SD_Private_Functions + * @{ + */ + +/** + * @brief Checks for error conditions for CMD0. + * @param SDIOx Pointer to SDMMC register base + * @retval SD Card error state + */ +static uint32_t SDMMC_GetCmdError(SDIO_TypeDef *SDIOx) { - SDIO_CmdInitTypeDef sdmmc_cmdinit; - uint32_t errorstate; - - /* Send CMD9 SEND_CSD */ - sdmmc_cmdinit.Argument = Argument; - sdmmc_cmdinit.CmdIndex = SDMMC_CMD_HS_SEND_EXT_CSD; - sdmmc_cmdinit.Response = SDIO_RESPONSE_SHORT; - sdmmc_cmdinit.WaitForInterrupt = SDIO_WAIT_NO; - sdmmc_cmdinit.CPSM = SDIO_CPSM_ENABLE; - (void)SDIO_SendCommand(SDIOx, &sdmmc_cmdinit); - - /* Check for error conditions */ - errorstate = SDMMC_GetCmdResp1(SDIOx, SDMMC_CMD_HS_SEND_EXT_CSD,SDIO_CMDTIMEOUT); - - return errorstate; + /* 8 is the number of required instructions cycles for the below loop statement. + The SDIO_CMDTIMEOUT is expressed in ms */ + uint32_t count = SDIO_CMDTIMEOUT * (SystemCoreClock / 8U /1000U); + + do + { + if (count-- == 0U) + { + return SDMMC_ERROR_TIMEOUT; + } + + }while(!__SDIO_GET_FLAG(SDIOx, SDIO_FLAG_CMDSENT)); + + /* Clear all the static flags */ + __SDIO_CLEAR_FLAG(SDIOx, SDIO_STATIC_CMD_FLAGS); + + return SDMMC_ERROR_NONE; } @@ -1543,5 +1576,3 @@ uint32_t SDMMC_CmdSendEXTCSD(SDIO_TypeDef *SDIOx, uint32_t Argument) */ #endif /* SDIO */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_spi.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_spi.c index 6a971a1..5f557d3 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_spi.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_spi.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -27,7 +26,7 @@ #include "stm32_assert.h" #else #define assert_param(expr) ((void)0U) -#endif +#endif /* USE_FULL_ASSERT */ /** @addtogroup STM32F1xx_LL_Driver * @{ @@ -527,4 +526,3 @@ void LL_I2S_ConfigPrescaler(SPI_TypeDef *SPIx, uint32_t PrescalerLinear, uint32_ #endif /* USE_FULL_LL_DRIVER */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_tim.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_tim.c index 07b05ee..6e01d0f 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_tim.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_tim.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -137,14 +136,14 @@ /** @defgroup TIM_LL_Private_Functions TIM Private Functions * @{ */ -static ErrorStatus OC1Config(TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCInitStruct); -static ErrorStatus OC2Config(TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCInitStruct); -static ErrorStatus OC3Config(TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCInitStruct); -static ErrorStatus OC4Config(TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCInitStruct); -static ErrorStatus IC1Config(TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICInitStruct); -static ErrorStatus IC2Config(TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICInitStruct); -static ErrorStatus IC3Config(TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICInitStruct); -static ErrorStatus IC4Config(TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICInitStruct); +static ErrorStatus OC1Config(TIM_TypeDef *TIMx, const LL_TIM_OC_InitTypeDef *TIM_OCInitStruct); +static ErrorStatus OC2Config(TIM_TypeDef *TIMx, const LL_TIM_OC_InitTypeDef *TIM_OCInitStruct); +static ErrorStatus OC3Config(TIM_TypeDef *TIMx, const LL_TIM_OC_InitTypeDef *TIM_OCInitStruct); +static ErrorStatus OC4Config(TIM_TypeDef *TIMx, const LL_TIM_OC_InitTypeDef *TIM_OCInitStruct); +static ErrorStatus IC1Config(TIM_TypeDef *TIMx, const LL_TIM_IC_InitTypeDef *TIM_ICInitStruct); +static ErrorStatus IC2Config(TIM_TypeDef *TIMx, const LL_TIM_IC_InitTypeDef *TIM_ICInitStruct); +static ErrorStatus IC3Config(TIM_TypeDef *TIMx, const LL_TIM_IC_InitTypeDef *TIM_ICInitStruct); +static ErrorStatus IC4Config(TIM_TypeDef *TIMx, const LL_TIM_IC_InitTypeDef *TIM_ICInitStruct); /** * @} */ @@ -165,7 +164,7 @@ static ErrorStatus IC4Config(TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICIni * - SUCCESS: TIMx registers are de-initialized * - ERROR: invalid TIMx instance */ -ErrorStatus LL_TIM_DeInit(TIM_TypeDef *TIMx) +ErrorStatus LL_TIM_DeInit(const TIM_TypeDef *TIMx) { ErrorStatus result = SUCCESS; @@ -183,112 +182,112 @@ ErrorStatus LL_TIM_DeInit(TIM_TypeDef *TIMx) LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_TIM1); LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_TIM1); } -#endif +#endif /* TIM1 */ #if defined(TIM3) else if (TIMx == TIM3) { LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_TIM3); LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_TIM3); } -#endif +#endif /* TIM3 */ #if defined(TIM4) else if (TIMx == TIM4) { LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_TIM4); LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_TIM4); } -#endif +#endif /* TIM4 */ #if defined(TIM5) else if (TIMx == TIM5) { LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_TIM5); LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_TIM5); } -#endif +#endif /* TIM5 */ #if defined(TIM6) else if (TIMx == TIM6) { LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_TIM6); LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_TIM6); } -#endif +#endif /* TIM6 */ #if defined (TIM7) else if (TIMx == TIM7) { LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_TIM7); LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_TIM7); } -#endif +#endif /* TIM7 */ #if defined(TIM8) else if (TIMx == TIM8) { LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_TIM8); LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_TIM8); } -#endif +#endif /* TIM8 */ #if defined(TIM9) else if (TIMx == TIM9) { LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_TIM9); LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_TIM9); } -#endif +#endif /* TIM9 */ #if defined(TIM10) else if (TIMx == TIM10) { LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_TIM10); LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_TIM10); } -#endif +#endif /* TIM10 */ #if defined(TIM11) else if (TIMx == TIM11) { LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_TIM11); LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_TIM11); } -#endif +#endif /* TIM11 */ #if defined(TIM12) else if (TIMx == TIM12) { LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_TIM12); LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_TIM12); } -#endif +#endif /* TIM12 */ #if defined(TIM13) else if (TIMx == TIM13) { LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_TIM13); LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_TIM13); } -#endif +#endif /* TIM13 */ #if defined(TIM14) else if (TIMx == TIM14) { LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_TIM14); LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_TIM14); } -#endif +#endif /* TIM14 */ #if defined(TIM15) else if (TIMx == TIM15) { LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_TIM15); LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_TIM15); } -#endif +#endif /* TIM15 */ #if defined(TIM16) else if (TIMx == TIM16) { LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_TIM16); LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_TIM16); } -#endif +#endif /* TIM16 */ #if defined(TIM17) else if (TIMx == TIM17) { LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_TIM17); LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_TIM17); } -#endif +#endif /* TIM17 */ else { result = ERROR; @@ -322,7 +321,7 @@ void LL_TIM_StructInit(LL_TIM_InitTypeDef *TIM_InitStruct) * - SUCCESS: TIMx registers are de-initialized * - ERROR: not applicable */ -ErrorStatus LL_TIM_Init(TIM_TypeDef *TIMx, LL_TIM_InitTypeDef *TIM_InitStruct) +ErrorStatus LL_TIM_Init(TIM_TypeDef *TIMx, const LL_TIM_InitTypeDef *TIM_InitStruct) { uint32_t tmpcr1; @@ -401,7 +400,7 @@ void LL_TIM_OC_StructInit(LL_TIM_OC_InitTypeDef *TIM_OC_InitStruct) * - SUCCESS: TIMx output channel is initialized * - ERROR: TIMx output channel is not initialized */ -ErrorStatus LL_TIM_OC_Init(TIM_TypeDef *TIMx, uint32_t Channel, LL_TIM_OC_InitTypeDef *TIM_OC_InitStruct) +ErrorStatus LL_TIM_OC_Init(TIM_TypeDef *TIMx, uint32_t Channel, const LL_TIM_OC_InitTypeDef *TIM_OC_InitStruct) { ErrorStatus result = ERROR; @@ -456,7 +455,7 @@ void LL_TIM_IC_StructInit(LL_TIM_IC_InitTypeDef *TIM_ICInitStruct) * - SUCCESS: TIMx output channel is initialized * - ERROR: TIMx output channel is not initialized */ -ErrorStatus LL_TIM_IC_Init(TIM_TypeDef *TIMx, uint32_t Channel, LL_TIM_IC_InitTypeDef *TIM_IC_InitStruct) +ErrorStatus LL_TIM_IC_Init(TIM_TypeDef *TIMx, uint32_t Channel, const LL_TIM_IC_InitTypeDef *TIM_IC_InitStruct) { ErrorStatus result = ERROR; @@ -510,7 +509,7 @@ void LL_TIM_ENCODER_StructInit(LL_TIM_ENCODER_InitTypeDef *TIM_EncoderInitStruct * - SUCCESS: TIMx registers are de-initialized * - ERROR: not applicable */ -ErrorStatus LL_TIM_ENCODER_Init(TIM_TypeDef *TIMx, LL_TIM_ENCODER_InitTypeDef *TIM_EncoderInitStruct) +ErrorStatus LL_TIM_ENCODER_Init(TIM_TypeDef *TIMx, const LL_TIM_ENCODER_InitTypeDef *TIM_EncoderInitStruct) { uint32_t tmpccmr1; uint32_t tmpccer; @@ -601,7 +600,7 @@ void LL_TIM_HALLSENSOR_StructInit(LL_TIM_HALLSENSOR_InitTypeDef *TIM_HallSensorI * - SUCCESS: TIMx registers are de-initialized * - ERROR: not applicable */ -ErrorStatus LL_TIM_HALLSENSOR_Init(TIM_TypeDef *TIMx, LL_TIM_HALLSENSOR_InitTypeDef *TIM_HallSensorInitStruct) +ErrorStatus LL_TIM_HALLSENSOR_Init(TIM_TypeDef *TIMx, const LL_TIM_HALLSENSOR_InitTypeDef *TIM_HallSensorInitStruct) { uint32_t tmpcr2; uint32_t tmpccmr1; @@ -706,7 +705,7 @@ void LL_TIM_BDTR_StructInit(LL_TIM_BDTR_InitTypeDef *TIM_BDTRInitStruct) * - SUCCESS: Break and Dead Time is initialized * - ERROR: not applicable */ -ErrorStatus LL_TIM_BDTR_Init(TIM_TypeDef *TIMx, LL_TIM_BDTR_InitTypeDef *TIM_BDTRInitStruct) +ErrorStatus LL_TIM_BDTR_Init(TIM_TypeDef *TIMx, const LL_TIM_BDTR_InitTypeDef *TIM_BDTRInitStruct) { uint32_t tmpbdtr = 0; @@ -730,7 +729,6 @@ ErrorStatus LL_TIM_BDTR_Init(TIM_TypeDef *TIMx, LL_TIM_BDTR_InitTypeDef *TIM_BDT MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, TIM_BDTRInitStruct->BreakState); MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, TIM_BDTRInitStruct->BreakPolarity); MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, TIM_BDTRInitStruct->AutomaticOutput); - MODIFY_REG(tmpbdtr, TIM_BDTR_MOE, TIM_BDTRInitStruct->AutomaticOutput); /* Set TIMx_BDTR */ LL_TIM_WriteReg(TIMx, BDTR, tmpbdtr); @@ -757,7 +755,7 @@ ErrorStatus LL_TIM_BDTR_Init(TIM_TypeDef *TIMx, LL_TIM_BDTR_InitTypeDef *TIM_BDT * - SUCCESS: TIMx registers are de-initialized * - ERROR: not applicable */ -static ErrorStatus OC1Config(TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCInitStruct) +static ErrorStatus OC1Config(TIM_TypeDef *TIMx, const LL_TIM_OC_InitTypeDef *TIM_OCInitStruct) { uint32_t tmpccmr1; uint32_t tmpccer; @@ -836,7 +834,7 @@ static ErrorStatus OC1Config(TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCIni * - SUCCESS: TIMx registers are de-initialized * - ERROR: not applicable */ -static ErrorStatus OC2Config(TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCInitStruct) +static ErrorStatus OC2Config(TIM_TypeDef *TIMx, const LL_TIM_OC_InitTypeDef *TIM_OCInitStruct) { uint32_t tmpccmr1; uint32_t tmpccer; @@ -915,7 +913,7 @@ static ErrorStatus OC2Config(TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCIni * - SUCCESS: TIMx registers are de-initialized * - ERROR: not applicable */ -static ErrorStatus OC3Config(TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCInitStruct) +static ErrorStatus OC3Config(TIM_TypeDef *TIMx, const LL_TIM_OC_InitTypeDef *TIM_OCInitStruct) { uint32_t tmpccmr2; uint32_t tmpccer; @@ -994,7 +992,7 @@ static ErrorStatus OC3Config(TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCIni * - SUCCESS: TIMx registers are de-initialized * - ERROR: not applicable */ -static ErrorStatus OC4Config(TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCInitStruct) +static ErrorStatus OC4Config(TIM_TypeDef *TIMx, const LL_TIM_OC_InitTypeDef *TIM_OCInitStruct) { uint32_t tmpccmr2; uint32_t tmpccer; @@ -1065,7 +1063,7 @@ static ErrorStatus OC4Config(TIM_TypeDef *TIMx, LL_TIM_OC_InitTypeDef *TIM_OCIni * - SUCCESS: TIMx registers are de-initialized * - ERROR: not applicable */ -static ErrorStatus IC1Config(TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICInitStruct) +static ErrorStatus IC1Config(TIM_TypeDef *TIMx, const LL_TIM_IC_InitTypeDef *TIM_ICInitStruct) { /* Check the parameters */ assert_param(IS_TIM_CC1_INSTANCE(TIMx)); @@ -1098,7 +1096,7 @@ static ErrorStatus IC1Config(TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICIni * - SUCCESS: TIMx registers are de-initialized * - ERROR: not applicable */ -static ErrorStatus IC2Config(TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICInitStruct) +static ErrorStatus IC2Config(TIM_TypeDef *TIMx, const LL_TIM_IC_InitTypeDef *TIM_ICInitStruct) { /* Check the parameters */ assert_param(IS_TIM_CC2_INSTANCE(TIMx)); @@ -1131,7 +1129,7 @@ static ErrorStatus IC2Config(TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICIni * - SUCCESS: TIMx registers are de-initialized * - ERROR: not applicable */ -static ErrorStatus IC3Config(TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICInitStruct) +static ErrorStatus IC3Config(TIM_TypeDef *TIMx, const LL_TIM_IC_InitTypeDef *TIM_ICInitStruct) { /* Check the parameters */ assert_param(IS_TIM_CC3_INSTANCE(TIMx)); @@ -1164,7 +1162,7 @@ static ErrorStatus IC3Config(TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICIni * - SUCCESS: TIMx registers are de-initialized * - ERROR: not applicable */ -static ErrorStatus IC4Config(TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICInitStruct) +static ErrorStatus IC4Config(TIM_TypeDef *TIMx, const LL_TIM_IC_InitTypeDef *TIM_ICInitStruct) { /* Check the parameters */ assert_param(IS_TIM_CC4_INSTANCE(TIMx)); @@ -1206,4 +1204,3 @@ static ErrorStatus IC4Config(TIM_TypeDef *TIMx, LL_TIM_IC_InitTypeDef *TIM_ICIni #endif /* USE_FULL_LL_DRIVER */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usart.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usart.c index 81d2b4f..4301d09 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usart.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usart.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -64,41 +63,41 @@ #define IS_LL_USART_BRR_MIN(__VALUE__) ((__VALUE__) >= 16U) #define IS_LL_USART_DIRECTION(__VALUE__) (((__VALUE__) == LL_USART_DIRECTION_NONE) \ - || ((__VALUE__) == LL_USART_DIRECTION_RX) \ - || ((__VALUE__) == LL_USART_DIRECTION_TX) \ - || ((__VALUE__) == LL_USART_DIRECTION_TX_RX)) + || ((__VALUE__) == LL_USART_DIRECTION_RX) \ + || ((__VALUE__) == LL_USART_DIRECTION_TX) \ + || ((__VALUE__) == LL_USART_DIRECTION_TX_RX)) #define IS_LL_USART_PARITY(__VALUE__) (((__VALUE__) == LL_USART_PARITY_NONE) \ - || ((__VALUE__) == LL_USART_PARITY_EVEN) \ - || ((__VALUE__) == LL_USART_PARITY_ODD)) + || ((__VALUE__) == LL_USART_PARITY_EVEN) \ + || ((__VALUE__) == LL_USART_PARITY_ODD)) #define IS_LL_USART_DATAWIDTH(__VALUE__) (((__VALUE__) == LL_USART_DATAWIDTH_8B) \ - || ((__VALUE__) == LL_USART_DATAWIDTH_9B)) + || ((__VALUE__) == LL_USART_DATAWIDTH_9B)) #define IS_LL_USART_OVERSAMPLING(__VALUE__) (((__VALUE__) == LL_USART_OVERSAMPLING_16) \ - || ((__VALUE__) == LL_USART_OVERSAMPLING_8)) + || ((__VALUE__) == LL_USART_OVERSAMPLING_8)) #define IS_LL_USART_LASTBITCLKOUTPUT(__VALUE__) (((__VALUE__) == LL_USART_LASTCLKPULSE_NO_OUTPUT) \ - || ((__VALUE__) == LL_USART_LASTCLKPULSE_OUTPUT)) + || ((__VALUE__) == LL_USART_LASTCLKPULSE_OUTPUT)) #define IS_LL_USART_CLOCKPHASE(__VALUE__) (((__VALUE__) == LL_USART_PHASE_1EDGE) \ - || ((__VALUE__) == LL_USART_PHASE_2EDGE)) + || ((__VALUE__) == LL_USART_PHASE_2EDGE)) #define IS_LL_USART_CLOCKPOLARITY(__VALUE__) (((__VALUE__) == LL_USART_POLARITY_LOW) \ - || ((__VALUE__) == LL_USART_POLARITY_HIGH)) + || ((__VALUE__) == LL_USART_POLARITY_HIGH)) #define IS_LL_USART_CLOCKOUTPUT(__VALUE__) (((__VALUE__) == LL_USART_CLOCK_DISABLE) \ - || ((__VALUE__) == LL_USART_CLOCK_ENABLE)) + || ((__VALUE__) == LL_USART_CLOCK_ENABLE)) #define IS_LL_USART_STOPBITS(__VALUE__) (((__VALUE__) == LL_USART_STOPBITS_0_5) \ - || ((__VALUE__) == LL_USART_STOPBITS_1) \ - || ((__VALUE__) == LL_USART_STOPBITS_1_5) \ - || ((__VALUE__) == LL_USART_STOPBITS_2)) + || ((__VALUE__) == LL_USART_STOPBITS_1) \ + || ((__VALUE__) == LL_USART_STOPBITS_1_5) \ + || ((__VALUE__) == LL_USART_STOPBITS_2)) #define IS_LL_USART_HWCONTROL(__VALUE__) (((__VALUE__) == LL_USART_HWCONTROL_NONE) \ - || ((__VALUE__) == LL_USART_HWCONTROL_RTS) \ - || ((__VALUE__) == LL_USART_HWCONTROL_CTS) \ - || ((__VALUE__) == LL_USART_HWCONTROL_RTS_CTS)) + || ((__VALUE__) == LL_USART_HWCONTROL_RTS) \ + || ((__VALUE__) == LL_USART_HWCONTROL_CTS) \ + || ((__VALUE__) == LL_USART_HWCONTROL_RTS_CTS)) /** * @} @@ -122,7 +121,7 @@ * - SUCCESS: USART registers are de-initialized * - ERROR: USART registers are not de-initialized */ -ErrorStatus LL_USART_DeInit(USART_TypeDef *USARTx) +ErrorStatus LL_USART_DeInit(const USART_TypeDef *USARTx) { ErrorStatus status = SUCCESS; @@ -196,7 +195,7 @@ ErrorStatus LL_USART_DeInit(USART_TypeDef *USARTx) * - SUCCESS: USART registers are initialized according to USART_InitStruct content * - ERROR: Problem occurred during USART Registers initialization */ -ErrorStatus LL_USART_Init(USART_TypeDef *USARTx, LL_USART_InitTypeDef *USART_InitStruct) +ErrorStatus LL_USART_Init(USART_TypeDef *USARTx, const LL_USART_InitTypeDef *USART_InitStruct) { ErrorStatus status = ERROR; uint32_t periphclk = LL_RCC_PERIPH_FREQUENCY_NO; @@ -348,7 +347,7 @@ void LL_USART_StructInit(LL_USART_InitTypeDef *USART_InitStruct) * - SUCCESS: USART registers related to Clock settings are initialized according to USART_ClockInitStruct content * - ERROR: Problem occurred during USART Registers initialization */ -ErrorStatus LL_USART_ClockInit(USART_TypeDef *USARTx, LL_USART_ClockInitTypeDef *USART_ClockInitStruct) +ErrorStatus LL_USART_ClockInit(USART_TypeDef *USARTx, const LL_USART_ClockInitTypeDef *USART_ClockInitStruct) { ErrorStatus status = SUCCESS; @@ -436,5 +435,4 @@ void LL_USART_ClockStructInit(LL_USART_ClockInitTypeDef *USART_ClockInitStruct) #endif /* USE_FULL_LL_DRIVER */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c index becbef4..a25f305 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_usb.c @@ -11,29 +11,30 @@ * + Peripheral Control functions * + Peripheral State functions * + ****************************************************************************** + * @attention + * + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. + * + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. + * + ****************************************************************************** @verbatim ============================================================================== ##### How to use this driver ##### ============================================================================== [..] - (#) Fill parameters of Init structure in USB_OTG_CfgTypeDef structure. + (#) Fill parameters of Init structure in USB_CfgTypeDef structure. (#) Call USB_CoreInit() API to initialize the USB Core peripheral. (#) The upper HAL HCD/PCD driver will call the right routines for its internal processes. @endverbatim - ****************************************************************************** - * @attention - * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause - * + ****************************************************************************** */ @@ -83,7 +84,6 @@ HAL_StatusTypeDef USB_CoreInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef c { HAL_StatusTypeDef ret; - /* Select FS Embedded PHY */ USBx->GUSBCFG |= USB_OTG_GUSBCFG_PHYSEL; @@ -273,9 +273,6 @@ HAL_StatusTypeDef USB_DevInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef cf /* Restart the Phy Clock */ USBx_PCGCCTL = 0U; - /* Device mode configuration */ - USBx_DEVICE->DCFG |= DCFG_FRAME_INTERVAL_80; - /* Set Core speed to Full speed mode */ (void)USB_SetDevSpeed(USBx, USB_OTG_SPEED_FULL); @@ -370,7 +367,7 @@ HAL_StatusTypeDef USB_DevInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef cf } /** - * @brief USB_OTG_FlushTxFifo : Flush a Tx FIFO + * @brief USB_FlushTxFifo Flush a Tx FIFO * @param USBx Selected device * @param num FIFO number * This parameter can be a value from 1 to 15 @@ -379,13 +376,28 @@ HAL_StatusTypeDef USB_DevInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef cf */ HAL_StatusTypeDef USB_FlushTxFifo(USB_OTG_GlobalTypeDef *USBx, uint32_t num) { - uint32_t count = 0U; + __IO uint32_t count = 0U; + /* Wait for AHB master IDLE state. */ + do + { + count++; + + if (count > 200000U) + { + return HAL_TIMEOUT; + } + } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_AHBIDL) == 0U); + + /* Flush TX Fifo */ + count = 0U; USBx->GRSTCTL = (USB_OTG_GRSTCTL_TXFFLSH | (num << 6)); do { - if (++count > 200000U) + count++; + + if (count > 200000U) { return HAL_TIMEOUT; } @@ -395,19 +407,34 @@ HAL_StatusTypeDef USB_FlushTxFifo(USB_OTG_GlobalTypeDef *USBx, uint32_t num) } /** - * @brief USB_FlushRxFifo : Flush Rx FIFO + * @brief USB_FlushRxFifo Flush Rx FIFO * @param USBx Selected device * @retval HAL status */ HAL_StatusTypeDef USB_FlushRxFifo(USB_OTG_GlobalTypeDef *USBx) { - uint32_t count = 0; + __IO uint32_t count = 0U; + /* Wait for AHB master IDLE state. */ + do + { + count++; + + if (count > 200000U) + { + return HAL_TIMEOUT; + } + } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_AHBIDL) == 0U); + + /* Flush RX Fifo */ + count = 0U; USBx->GRSTCTL = USB_OTG_GRSTCTL_RXFFLSH; do { - if (++count > 200000U) + count++; + + if (count > 200000U) { return HAL_TIMEOUT; } @@ -652,8 +679,21 @@ HAL_StatusTypeDef USB_EPStartXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef */ USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_XFRSIZ); USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_PKTCNT); - USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & - (((ep->xfer_len + ep->maxpacket - 1U) / ep->maxpacket) << 19)); + + if (epnum == 0U) + { + if (ep->xfer_len > ep->maxpacket) + { + ep->xfer_len = ep->maxpacket; + } + + USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & (1U << 19)); + } + else + { + USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & + (((ep->xfer_len + ep->maxpacket - 1U) / ep->maxpacket) << 19)); + } USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_XFRSIZ & ep->xfer_len); @@ -697,16 +737,34 @@ HAL_StatusTypeDef USB_EPStartXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef USBx_OUTEP(epnum)->DOEPTSIZ &= ~(USB_OTG_DOEPTSIZ_XFRSIZ); USBx_OUTEP(epnum)->DOEPTSIZ &= ~(USB_OTG_DOEPTSIZ_PKTCNT); - if (ep->xfer_len == 0U) + if (epnum == 0U) { - USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_XFRSIZ & ep->maxpacket); + if (ep->xfer_len > 0U) + { + ep->xfer_len = ep->maxpacket; + } + + /* Store transfer size, for EP0 this is equal to endpoint max packet size */ + ep->xfer_size = ep->maxpacket; + + USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_XFRSIZ & ep->xfer_size); USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_PKTCNT & (1U << 19)); } else { - pktcnt = (uint16_t)((ep->xfer_len + ep->maxpacket - 1U) / ep->maxpacket); - USBx_OUTEP(epnum)->DOEPTSIZ |= USB_OTG_DOEPTSIZ_PKTCNT & ((uint32_t)pktcnt << 19); - USBx_OUTEP(epnum)->DOEPTSIZ |= USB_OTG_DOEPTSIZ_XFRSIZ & (ep->maxpacket * pktcnt); + if (ep->xfer_len == 0U) + { + USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_XFRSIZ & ep->maxpacket); + USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_PKTCNT & (1U << 19)); + } + else + { + pktcnt = (uint16_t)((ep->xfer_len + ep->maxpacket - 1U) / ep->maxpacket); + ep->xfer_size = ep->maxpacket * pktcnt; + + USBx_OUTEP(epnum)->DOEPTSIZ |= USB_OTG_DOEPTSIZ_PKTCNT & ((uint32_t)pktcnt << 19); + USBx_OUTEP(epnum)->DOEPTSIZ |= USB_OTG_DOEPTSIZ_XFRSIZ & ep->xfer_size; + } } if (ep->type == EP_TYPE_ISOC) @@ -727,78 +785,64 @@ HAL_StatusTypeDef USB_EPStartXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef return HAL_OK; } + /** - * @brief USB_EP0StartXfer : setup and starts a transfer over the EP 0 - * @param USBx Selected device - * @param ep pointer to endpoint structure - * @retval HAL status - */ -HAL_StatusTypeDef USB_EP0StartXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep) + * @brief USB_EPStoptXfer Stop transfer on an EP + * @param USBx usb device instance + * @param ep pointer to endpoint structure + * @retval HAL status + */ +HAL_StatusTypeDef USB_EPStopXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep) { + __IO uint32_t count = 0U; + HAL_StatusTypeDef ret = HAL_OK; uint32_t USBx_BASE = (uint32_t)USBx; - uint32_t epnum = (uint32_t)ep->num; /* IN endpoint */ if (ep->is_in == 1U) { - /* Zero Length Packet? */ - if (ep->xfer_len == 0U) - { - USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_PKTCNT); - USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & (1U << 19)); - USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_XFRSIZ); - } - else - { - /* Program the transfer size and packet count - * as follows: xfersize = N * maxpacket + - * short_packet pktcnt = N + (short_packet - * exist ? 1 : 0) - */ - USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_XFRSIZ); - USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_PKTCNT); - - if (ep->xfer_len > ep->maxpacket) - { - ep->xfer_len = ep->maxpacket; - } - USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & (1U << 19)); - USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_XFRSIZ & ep->xfer_len); - } - /* EP enable, IN data in FIFO */ - USBx_INEP(epnum)->DIEPCTL |= (USB_OTG_DIEPCTL_CNAK | USB_OTG_DIEPCTL_EPENA); - - /* Enable the Tx FIFO Empty Interrupt for this EP */ - if (ep->xfer_len > 0U) + if (((USBx_INEP(ep->num)->DIEPCTL) & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) { - USBx_DEVICE->DIEPEMPMSK |= 1UL << (ep->num & EP_ADDR_MSK); + USBx_INEP(ep->num)->DIEPCTL |= (USB_OTG_DIEPCTL_SNAK); + USBx_INEP(ep->num)->DIEPCTL |= (USB_OTG_DIEPCTL_EPDIS); + + do + { + count++; + + if (count > 10000U) + { + ret = HAL_ERROR; + break; + } + } while (((USBx_INEP(ep->num)->DIEPCTL) & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA); } } else /* OUT endpoint */ { - /* Program the transfer size and packet count as follows: - * pktcnt = N - * xfersize = N * maxpacket - */ - USBx_OUTEP(epnum)->DOEPTSIZ &= ~(USB_OTG_DOEPTSIZ_XFRSIZ); - USBx_OUTEP(epnum)->DOEPTSIZ &= ~(USB_OTG_DOEPTSIZ_PKTCNT); - - if (ep->xfer_len > 0U) + if (((USBx_OUTEP(ep->num)->DOEPCTL) & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA) { - ep->xfer_len = ep->maxpacket; + USBx_OUTEP(ep->num)->DOEPCTL |= (USB_OTG_DOEPCTL_SNAK); + USBx_OUTEP(ep->num)->DOEPCTL |= (USB_OTG_DOEPCTL_EPDIS); + + do + { + count++; + + if (count > 10000U) + { + ret = HAL_ERROR; + break; + } + } while (((USBx_OUTEP(ep->num)->DOEPCTL) & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA); } - - USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_PKTCNT & (1U << 19)); - USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_XFRSIZ & (ep->maxpacket)); - - /* EP enable */ - USBx_OUTEP(epnum)->DOEPCTL |= (USB_OTG_DOEPCTL_CNAK | USB_OTG_DOEPCTL_EPENA); } - return HAL_OK; + return ret; } + /** * @brief USB_WritePacket : Writes a packet into the Tx FIFO associated * with the EP/channel @@ -979,7 +1023,7 @@ HAL_StatusTypeDef USB_StopDevice(USB_OTG_GlobalTypeDef *USBx) * This parameter can be a value from 0 to 255 * @retval HAL status */ -HAL_StatusTypeDef USB_SetDevAddress(USB_OTG_GlobalTypeDef *USBx, uint8_t address) +HAL_StatusTypeDef USB_SetDevAddress(USB_OTG_GlobalTypeDef *USBx, uint8_t address) { uint32_t USBx_BASE = (uint32_t)USBx; @@ -994,7 +1038,7 @@ HAL_StatusTypeDef USB_SetDevAddress(USB_OTG_GlobalTypeDef *USBx, uint8_t addres * @param USBx Selected device * @retval HAL status */ -HAL_StatusTypeDef USB_DevConnect(USB_OTG_GlobalTypeDef *USBx) +HAL_StatusTypeDef USB_DevConnect(USB_OTG_GlobalTypeDef *USBx) { uint32_t USBx_BASE = (uint32_t)USBx; @@ -1011,7 +1055,7 @@ HAL_StatusTypeDef USB_DevConnect(USB_OTG_GlobalTypeDef *USBx) * @param USBx Selected device * @retval HAL status */ -HAL_StatusTypeDef USB_DevDisconnect(USB_OTG_GlobalTypeDef *USBx) +HAL_StatusTypeDef USB_DevDisconnect(USB_OTG_GlobalTypeDef *USBx) { uint32_t USBx_BASE = (uint32_t)USBx; @@ -1026,9 +1070,9 @@ HAL_StatusTypeDef USB_DevDisconnect(USB_OTG_GlobalTypeDef *USBx) /** * @brief USB_ReadInterrupts: return the global USB interrupt status * @param USBx Selected device - * @retval HAL status + * @retval USB Global Interrupt status */ -uint32_t USB_ReadInterrupts(USB_OTG_GlobalTypeDef *USBx) +uint32_t USB_ReadInterrupts(USB_OTG_GlobalTypeDef const *USBx) { uint32_t tmpreg; @@ -1038,10 +1082,27 @@ uint32_t USB_ReadInterrupts(USB_OTG_GlobalTypeDef *USBx) return tmpreg; } +/** + * @brief USB_ReadChInterrupts: return USB channel interrupt status + * @param USBx Selected device + * @param chnum Channel number + * @retval USB Channel Interrupt status + */ +uint32_t USB_ReadChInterrupts(USB_OTG_GlobalTypeDef *USBx, uint8_t chnum) +{ + uint32_t USBx_BASE = (uint32_t)USBx; + uint32_t tmpreg; + + tmpreg = USBx_HC(chnum)->HCINT; + tmpreg &= USBx_HC(chnum)->HCINTMSK; + + return tmpreg; +} + /** * @brief USB_ReadDevAllOutEpInterrupt: return the USB device OUT endpoints interrupt status * @param USBx Selected device - * @retval HAL status + * @retval USB Device OUT EP interrupt status */ uint32_t USB_ReadDevAllOutEpInterrupt(USB_OTG_GlobalTypeDef *USBx) { @@ -1057,7 +1118,7 @@ uint32_t USB_ReadDevAllOutEpInterrupt(USB_OTG_GlobalTypeDef *USBx) /** * @brief USB_ReadDevAllInEpInterrupt: return the USB device IN endpoints interrupt status * @param USBx Selected device - * @retval HAL status + * @retval USB Device IN EP interrupt status */ uint32_t USB_ReadDevAllInEpInterrupt(USB_OTG_GlobalTypeDef *USBx) { @@ -1118,7 +1179,7 @@ uint32_t USB_ReadDevInEPInterrupt(USB_OTG_GlobalTypeDef *USBx, uint8_t epnum) */ void USB_ClearInterrupts(USB_OTG_GlobalTypeDef *USBx, uint32_t interrupt) { - USBx->GINTSTS |= interrupt; + USBx->GINTSTS &= interrupt; } /** @@ -1139,7 +1200,7 @@ uint32_t USB_GetMode(USB_OTG_GlobalTypeDef *USBx) * @param USBx Selected device * @retval HAL status */ -HAL_StatusTypeDef USB_ActivateSetup(USB_OTG_GlobalTypeDef *USBx) +HAL_StatusTypeDef USB_ActivateSetup(USB_OTG_GlobalTypeDef *USBx) { uint32_t USBx_BASE = (uint32_t)USBx; @@ -1186,12 +1247,14 @@ HAL_StatusTypeDef USB_EP0_OutStart(USB_OTG_GlobalTypeDef *USBx, uint8_t *psetup) */ static HAL_StatusTypeDef USB_CoreReset(USB_OTG_GlobalTypeDef *USBx) { - uint32_t count = 0U; + __IO uint32_t count = 0U; /* Wait for AHB master IDLE state. */ do { - if (++count > 200000U) + count++; + + if (count > 200000U) { return HAL_TIMEOUT; } @@ -1203,7 +1266,9 @@ static HAL_StatusTypeDef USB_CoreReset(USB_OTG_GlobalTypeDef *USBx) do { - if (++count > 200000U) + count++; + + if (count > 200000U) { return HAL_TIMEOUT; } @@ -1222,6 +1287,7 @@ static HAL_StatusTypeDef USB_CoreReset(USB_OTG_GlobalTypeDef *USBx) */ HAL_StatusTypeDef USB_HostInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef cfg) { + HAL_StatusTypeDef ret = HAL_OK; uint32_t USBx_BASE = (uint32_t)USBx; uint32_t i; @@ -1235,13 +1301,20 @@ HAL_StatusTypeDef USB_HostInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef c USBx_HOST->HCFG &= ~(USB_OTG_HCFG_FSLSS); /* Make sure the FIFOs are flushed. */ - (void)USB_FlushTxFifo(USBx, 0x10U); /* all Tx FIFOs */ - (void)USB_FlushRxFifo(USBx); + if (USB_FlushTxFifo(USBx, 0x10U) != HAL_OK) /* all Tx FIFOs */ + { + ret = HAL_ERROR; + } + + if (USB_FlushRxFifo(USBx) != HAL_OK) + { + ret = HAL_ERROR; + } /* Clear all pending HC Interrupts */ for (i = 0U; i < cfg.Host_channels; i++) { - USBx_HC(i)->HCINT = 0xFFFFFFFFU; + USBx_HC(i)->HCINT = CLEAR_INTERRUPT_MASK; USBx_HC(i)->HCINTMSK = 0U; } @@ -1249,7 +1322,7 @@ HAL_StatusTypeDef USB_HostInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef c USBx->GINTMSK = 0U; /* Clear any pending interrupts */ - USBx->GINTSTS = 0xFFFFFFFFU; + USBx->GINTSTS = CLEAR_INTERRUPT_MASK; /* set Rx FIFO size */ USBx->GRXFSIZ = 0x80U; @@ -1263,7 +1336,7 @@ HAL_StatusTypeDef USB_HostInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef c USB_OTG_GINTMSK_SOFM | USB_OTG_GINTSTS_DISCINT | \ USB_OTG_GINTMSK_PXFRM_IISOOXFRM | USB_OTG_GINTMSK_WUIM); - return HAL_OK; + return ret; } /** @@ -1285,15 +1358,15 @@ HAL_StatusTypeDef USB_InitFSLSPClkSel(USB_OTG_GlobalTypeDef *USBx, uint8_t freq) if (freq == HCFG_48_MHZ) { - USBx_HOST->HFIR = 48000U; + USBx_HOST->HFIR = HFIR_48_MHZ; } else if (freq == HCFG_6_MHZ) { - USBx_HOST->HFIR = 6000U; + USBx_HOST->HFIR = HFIR_6_MHZ; } else { - /* ... */ + return HAL_ERROR; } return HAL_OK; @@ -1362,7 +1435,7 @@ HAL_StatusTypeDef USB_DriveVbus(USB_OTG_GlobalTypeDef *USBx, uint8_t state) * @arg HCD_SPEED_FULL: Full speed mode * @arg HCD_SPEED_LOW: Low speed mode */ -uint32_t USB_GetHostSpeed(USB_OTG_GlobalTypeDef *USBx) +uint32_t USB_GetHostSpeed(USB_OTG_GlobalTypeDef const *USBx) { uint32_t USBx_BASE = (uint32_t)USBx; __IO uint32_t hprt0 = 0U; @@ -1376,7 +1449,7 @@ uint32_t USB_GetHostSpeed(USB_OTG_GlobalTypeDef *USBx) * @param USBx Selected device * @retval current frame number */ -uint32_t USB_GetCurrentFrame(USB_OTG_GlobalTypeDef *USBx) +uint32_t USB_GetCurrentFrame(USB_OTG_GlobalTypeDef const *USBx) { uint32_t USBx_BASE = (uint32_t)USBx; @@ -1417,7 +1490,7 @@ HAL_StatusTypeDef USB_HC_Init(USB_OTG_GlobalTypeDef *USBx, uint8_t ch_num, uint32_t HostCoreSpeed; /* Clear old interrupt conditions for this host channel. */ - USBx_HC((uint32_t)ch_num)->HCINT = 0xFFFFFFFFU; + USBx_HC((uint32_t)ch_num)->HCINT = CLEAR_INTERRUPT_MASK; /* Enable channel interrupts required for this transfer. */ switch (ep_type) @@ -1470,6 +1543,9 @@ HAL_StatusTypeDef USB_HC_Init(USB_OTG_GlobalTypeDef *USBx, uint8_t ch_num, break; } + /* Enable host channel Halt interrupt */ + USBx_HC((uint32_t)ch_num)->HCINTMSK |= USB_OTG_HCINTMSK_CHHM; + /* Enable the top level host channel interrupt. */ USBx_HOST->HAINTMSK |= 1UL << (ch_num & 0xFU); @@ -1501,11 +1577,12 @@ HAL_StatusTypeDef USB_HC_Init(USB_OTG_GlobalTypeDef *USBx, uint8_t ch_num, USBx_HC((uint32_t)ch_num)->HCCHAR = (((uint32_t)dev_address << 22) & USB_OTG_HCCHAR_DAD) | ((((uint32_t)epnum & 0x7FU) << 11) & USB_OTG_HCCHAR_EPNUM) | (((uint32_t)ep_type << 18) & USB_OTG_HCCHAR_EPTYP) | - ((uint32_t)mps & USB_OTG_HCCHAR_MPSIZ) | HCcharEpDir | HCcharLowSpeed; + ((uint32_t)mps & USB_OTG_HCCHAR_MPSIZ) | + USB_OTG_HCCHAR_MC_0 | HCcharEpDir | HCcharLowSpeed; - if (ep_type == EP_TYPE_INTR) + if ((ep_type == EP_TYPE_INTR) || (ep_type == EP_TYPE_ISOC)) { - USBx_HC((uint32_t)ch_num)->HCCHAR |= USB_OTG_HCCHAR_ODDFRM ; + USBx_HC((uint32_t)ch_num)->HCCHAR |= USB_OTG_HCCHAR_ODDFRM; } return ret; @@ -1525,7 +1602,7 @@ HAL_StatusTypeDef USB_HC_StartXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_HCTypeDe uint8_t is_oddframe; uint16_t len_words; uint16_t num_packets; - uint16_t max_hc_pkt_count = 256U; + uint16_t max_hc_pkt_count = HC_MAX_PKT_CNT; /* Compute the expected number of packets associated to the transfer */ if (hc->xfer_len > 0U) @@ -1645,12 +1722,17 @@ HAL_StatusTypeDef USB_HC_Halt(USB_OTG_GlobalTypeDef *USBx, uint8_t hc_num) { uint32_t USBx_BASE = (uint32_t)USBx; uint32_t hcnum = (uint32_t)hc_num; - uint32_t count = 0U; + __IO uint32_t count = 0U; uint32_t HcEpType = (USBx_HC(hcnum)->HCCHAR & USB_OTG_HCCHAR_EPTYP) >> 18; uint32_t ChannelEna = (USBx_HC(hcnum)->HCCHAR & USB_OTG_HCCHAR_CHENA) >> 31; + uint32_t SplitEna = (USBx_HC(hcnum)->HCSPLT & USB_OTG_HCSPLT_SPLITEN) >> 31; - if (((USBx->GAHBCFG & USB_OTG_GAHBCFG_DMAEN) == USB_OTG_GAHBCFG_DMAEN) && - (ChannelEna == 0U)) + /* In buffer DMA, Channel disable must not be programmed for non-split periodic channels. + At the end of the next uframe/frame (in the worst case), the core generates a channel halted + and disables the channel automatically. */ + + if ((((USBx->GAHBCFG & USB_OTG_GAHBCFG_DMAEN) == USB_OTG_GAHBCFG_DMAEN) && (SplitEna == 0U)) && + ((ChannelEna == 0U) || (((HcEpType == HCCHAR_ISOC) || (HcEpType == HCCHAR_INTR))))) { return HAL_OK; } @@ -1666,10 +1748,11 @@ HAL_StatusTypeDef USB_HC_Halt(USB_OTG_GlobalTypeDef *USBx, uint8_t hc_num) { USBx_HC(hcnum)->HCCHAR &= ~USB_OTG_HCCHAR_CHENA; USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHENA; - USBx_HC(hcnum)->HCCHAR &= ~USB_OTG_HCCHAR_EPDIR; do { - if (++count > 1000U) + count++; + + if (count > 1000U) { break; } @@ -1680,6 +1763,10 @@ HAL_StatusTypeDef USB_HC_Halt(USB_OTG_GlobalTypeDef *USBx, uint8_t hc_num) USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHENA; } } + else + { + USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHENA; + } } else { @@ -1689,10 +1776,11 @@ HAL_StatusTypeDef USB_HC_Halt(USB_OTG_GlobalTypeDef *USBx, uint8_t hc_num) { USBx_HC(hcnum)->HCCHAR &= ~USB_OTG_HCCHAR_CHENA; USBx_HC(hcnum)->HCCHAR |= USB_OTG_HCCHAR_CHENA; - USBx_HC(hcnum)->HCCHAR &= ~USB_OTG_HCCHAR_EPDIR; do { - if (++count > 1000U) + count++; + + if (count > 1000U) { break; } @@ -1740,16 +1828,24 @@ HAL_StatusTypeDef USB_DoPing(USB_OTG_GlobalTypeDef *USBx, uint8_t ch_num) */ HAL_StatusTypeDef USB_StopHost(USB_OTG_GlobalTypeDef *USBx) { + HAL_StatusTypeDef ret = HAL_OK; uint32_t USBx_BASE = (uint32_t)USBx; - uint32_t count = 0U; + __IO uint32_t count = 0U; uint32_t value; uint32_t i; (void)USB_DisableGlobalInt(USBx); - /* Flush FIFO */ - (void)USB_FlushTxFifo(USBx, 0x10U); - (void)USB_FlushRxFifo(USBx); + /* Flush USB FIFO */ + if (USB_FlushTxFifo(USBx, 0x10U) != HAL_OK) /* all Tx FIFOs */ + { + ret = HAL_ERROR; + } + + if (USB_FlushRxFifo(USBx) != HAL_OK) + { + ret = HAL_ERROR; + } /* Flush out any leftover queued requests. */ for (i = 0U; i <= 15U; i++) @@ -1772,7 +1868,9 @@ HAL_StatusTypeDef USB_StopHost(USB_OTG_GlobalTypeDef *USBx) do { - if (++count > 1000U) + count++; + + if (count > 1000U) { break; } @@ -1780,10 +1878,12 @@ HAL_StatusTypeDef USB_StopHost(USB_OTG_GlobalTypeDef *USBx) } /* Clear any pending Host interrupts */ - USBx_HOST->HAINT = 0xFFFFFFFFU; - USBx->GINTSTS = 0xFFFFFFFFU; + USBx_HOST->HAINT = CLEAR_INTERRUPT_MASK; + USBx->GINTSTS = CLEAR_INTERRUPT_MASK; - return HAL_OK; + (void)USB_EnableGlobalInt(USBx); + + return ret; } /** @@ -1947,7 +2047,7 @@ HAL_StatusTypeDef USB_DevInit(USB_TypeDef *USBx, USB_CfgTypeDef cfg) 15 means Flush all Tx FIFOs * @retval HAL status */ -HAL_StatusTypeDef USB_FlushTxFifo(USB_TypeDef *USBx, uint32_t num) +HAL_StatusTypeDef USB_FlushTxFifo(USB_TypeDef const *USBx, uint32_t num) { /* Prevent unused argument(s) compilation warning */ UNUSED(USBx); @@ -1966,7 +2066,7 @@ HAL_StatusTypeDef USB_FlushTxFifo(USB_TypeDef *USBx, uint32_t num) * @param USBx : Selected device * @retval HAL status */ -HAL_StatusTypeDef USB_FlushRxFifo(USB_TypeDef *USBx) +HAL_StatusTypeDef USB_FlushRxFifo(USB_TypeDef const *USBx) { /* Prevent unused argument(s) compilation warning */ UNUSED(USBx); @@ -1979,6 +2079,7 @@ HAL_StatusTypeDef USB_FlushRxFifo(USB_TypeDef *USBx) return HAL_OK; } + #if defined (HAL_PCD_MODULE_ENABLED) /** * @brief Activate and configure an endpoint @@ -2042,22 +2143,39 @@ HAL_StatusTypeDef USB_ActivateEndpoint(USB_TypeDef *USBx, USB_EPTypeDef *ep) } else { - /*Set the endpoint Receive buffer address */ + /* Set the endpoint Receive buffer address */ PCD_SET_EP_RX_ADDRESS(USBx, ep->num, ep->pmaadress); - /*Set the endpoint Receive buffer counter*/ + /* Set the endpoint Receive buffer counter */ PCD_SET_EP_RX_CNT(USBx, ep->num, ep->maxpacket); PCD_CLEAR_RX_DTOG(USBx, ep->num); - /* Configure VALID status for the Endpoint*/ - PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_VALID); + if (ep->num == 0U) + { + /* Configure VALID status for EP0 */ + PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_VALID); + } + else + { + /* Configure NAK status for OUT Endpoint */ + PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_NAK); + } } } - /*Double Buffer*/ +#if (USE_USB_DOUBLE_BUFFER == 1U) + /* Double Buffer */ else { - /* Set the endpoint as double buffered */ - PCD_SET_EP_DBUF(USBx, ep->num); + if (ep->type == EP_TYPE_BULK) + { + /* Set bulk endpoint as double buffered */ + PCD_SET_BULK_EP_DBUF(USBx, ep->num); + } + else + { + /* Set the ISOC endpoint in double buffer mode */ + PCD_CLEAR_EP_KIND(USBx, ep->num); + } /* Set buffer address for double buffered mode */ PCD_SET_EP_DBUF_ADDR(USBx, ep->num, ep->pmaaddr0, ep->pmaaddr1); @@ -2091,6 +2209,7 @@ HAL_StatusTypeDef USB_ActivateEndpoint(USB_TypeDef *USBx, USB_EPTypeDef *ep) PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS); } } +#endif /* (USE_USB_DOUBLE_BUFFER == 1U) */ return ret; } @@ -2109,18 +2228,20 @@ HAL_StatusTypeDef USB_DeactivateEndpoint(USB_TypeDef *USBx, USB_EPTypeDef *ep) { PCD_CLEAR_TX_DTOG(USBx, ep->num); - /* Configure DISABLE status for the Endpoint*/ + /* Configure DISABLE status for the Endpoint */ PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS); } + else { PCD_CLEAR_RX_DTOG(USBx, ep->num); - /* Configure DISABLE status for the Endpoint*/ + /* Configure DISABLE status for the Endpoint */ PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS); } } - /*Double Buffer*/ +#if (USE_USB_DOUBLE_BUFFER == 1U) + /* Double Buffer */ else { if (ep->is_in == 0U) @@ -2147,6 +2268,7 @@ HAL_StatusTypeDef USB_DeactivateEndpoint(USB_TypeDef *USBx, USB_EPTypeDef *ep) PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS); } } +#endif /* (USE_USB_DOUBLE_BUFFER == 1U) */ return HAL_OK; } @@ -2160,8 +2282,10 @@ HAL_StatusTypeDef USB_DeactivateEndpoint(USB_TypeDef *USBx, USB_EPTypeDef *ep) HAL_StatusTypeDef USB_EPStartXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep) { uint32_t len; +#if (USE_USB_DOUBLE_BUFFER == 1U) uint16_t pmabuffer; uint16_t wEPVal; +#endif /* (USE_USB_DOUBLE_BUFFER == 1U) */ /* IN endpoint */ if (ep->is_in == 1U) @@ -2182,6 +2306,7 @@ HAL_StatusTypeDef USB_EPStartXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep) USB_WritePMA(USBx, ep->xfer_buff, ep->pmaadress, (uint16_t)len); PCD_SET_EP_TX_CNT(USBx, ep->num, len); } +#if (USE_USB_DOUBLE_BUFFER == 1U) else { /* double buffer bulk management */ @@ -2190,7 +2315,7 @@ HAL_StatusTypeDef USB_EPStartXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep) if (ep->xfer_len_db > ep->maxpacket) { /* enable double buffer */ - PCD_SET_EP_DBUF(USBx, ep->num); + PCD_SET_BULK_EP_DBUF(USBx, ep->num); /* each Time to write in PMA xfer_len_db will */ ep->xfer_len_db -= len; @@ -2256,8 +2381,8 @@ HAL_StatusTypeDef USB_EPStartXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep) { len = ep->xfer_len_db; - /* disable double buffer mode */ - PCD_CLEAR_EP_DBUF(USBx, ep->num); + /* disable double buffer mode for Bulk endpoint */ + PCD_CLEAR_BULK_EP_DBUF(USBx, ep->num); /* Set Tx count with nbre of byte to be transmitted */ PCD_SET_EP_TX_CNT(USBx, ep->num, len); @@ -2266,14 +2391,9 @@ HAL_StatusTypeDef USB_EPStartXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep) /* Write the user buffer to USB PMA */ USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len); } - }/* end if bulk double buffer */ - - /* manage isochronous double buffer IN mode */ - else + } + else /* manage isochronous double buffer IN mode */ { - /* enable double buffer */ - PCD_SET_EP_DBUF(USBx, ep->num); - /* each Time to write in PMA xfer_len_db will */ ep->xfer_len_db -= len; @@ -2286,27 +2406,6 @@ HAL_StatusTypeDef USB_EPStartXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep) /* Write the user buffer to USB PMA */ USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len); - ep->xfer_buff += len; - - if (ep->xfer_len_db > ep->maxpacket) - { - ep->xfer_len_db -= len; - } - else - { - len = ep->xfer_len_db; - ep->xfer_len_db = 0U; - } - - if (len > 0U) - { - /* Set the Double buffer counter for pmabuffer0 */ - PCD_SET_EP_DBUF0_CNT(USBx, ep->num, ep->is_in, len); - pmabuffer = ep->pmaaddr0; - - /* Write the user buffer to USB PMA */ - USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len); - } } else { @@ -2316,30 +2415,10 @@ HAL_StatusTypeDef USB_EPStartXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep) /* Write the user buffer to USB PMA */ USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len); - ep->xfer_buff += len; - - if (ep->xfer_len_db > ep->maxpacket) - { - ep->xfer_len_db -= len; - } - else - { - len = ep->xfer_len_db; - ep->xfer_len_db = 0U; - } - - if (len > 0U) - { - /* Set the Double buffer counter for pmabuffer1 */ - PCD_SET_EP_DBUF1_CNT(USBx, ep->num, ep->is_in, len); - pmabuffer = ep->pmaaddr1; - - /* Write the user buffer to USB PMA */ - USB_WritePMA(USBx, ep->xfer_buff, pmabuffer, (uint16_t)len); - } } } } +#endif /* (USE_USB_DOUBLE_BUFFER == 1U) */ PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_VALID); } @@ -2361,6 +2440,7 @@ HAL_StatusTypeDef USB_EPStartXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep) /* configure and validate Rx endpoint */ PCD_SET_EP_RX_CNT(USBx, ep->num, len); } +#if (USE_USB_DOUBLE_BUFFER == 1U) else { /* First Transfer Coming From HAL_PCD_EP_Receive & From ISR */ @@ -2379,7 +2459,7 @@ HAL_StatusTypeDef USB_EPStartXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep) if ((((wEPVal & USB_EP_DTOG_RX) != 0U) && ((wEPVal & USB_EP_DTOG_TX) != 0U)) || (((wEPVal & USB_EP_DTOG_RX) == 0U) && ((wEPVal & USB_EP_DTOG_TX) == 0U))) { - PCD_FreeUserBuffer(USBx, ep->num, 0U); + PCD_FREE_USER_BUFFER(USBx, ep->num, 0U); } } } @@ -2404,6 +2484,7 @@ HAL_StatusTypeDef USB_EPStartXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep) return HAL_ERROR; } } +#endif /* (USE_USB_DOUBLE_BUFFER == 1U) */ PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_VALID); } @@ -2463,7 +2544,52 @@ HAL_StatusTypeDef USB_EPClearStall(USB_TypeDef *USBx, USB_EPTypeDef *ep) return HAL_OK; } -#endif + +/** + * @brief USB_EPStoptXfer Stop transfer on an EP + * @param USBx usb device instance + * @param ep pointer to endpoint structure + * @retval HAL status + */ +HAL_StatusTypeDef USB_EPStopXfer(USB_TypeDef *USBx, USB_EPTypeDef *ep) +{ + /* IN endpoint */ + if (ep->is_in == 1U) + { + if (ep->doublebuffer == 0U) + { + if (ep->type != EP_TYPE_ISOC) + { + /* Configure NAK status for the Endpoint */ + PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_NAK); + } + else + { + /* Configure TX Endpoint to disabled state */ + PCD_SET_EP_TX_STATUS(USBx, ep->num, USB_EP_TX_DIS); + } + } + } + else /* OUT endpoint */ + { + if (ep->doublebuffer == 0U) + { + if (ep->type != EP_TYPE_ISOC) + { + /* Configure NAK status for the Endpoint */ + PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_NAK); + } + else + { + /* Configure RX Endpoint to disabled state */ + PCD_SET_EP_RX_STATUS(USBx, ep->num, USB_EP_RX_DIS); + } + } + } + + return HAL_OK; +} +#endif /* defined (HAL_PCD_MODULE_ENABLED) */ /** * @brief USB_StopDevice Stop the usb device mode @@ -2541,9 +2667,9 @@ HAL_StatusTypeDef USB_DevDisconnect(USB_TypeDef *USBx) /** * @brief USB_ReadInterrupts return the global USB interrupt status * @param USBx Selected device - * @retval HAL status + * @retval USB Global Interrupt status */ -uint32_t USB_ReadInterrupts(USB_TypeDef *USBx) +uint32_t USB_ReadInterrupts(USB_TypeDef const *USBx) { uint32_t tmpreg; @@ -2688,29 +2814,30 @@ HAL_StatusTypeDef USB_DeActivateRemoteWakeup(USB_TypeDef *USBx) * @param wNBytes no. of bytes to be copied. * @retval None */ -void USB_WritePMA(USB_TypeDef *USBx, uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uint16_t wNBytes) +void USB_WritePMA(USB_TypeDef const *USBx, uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uint16_t wNBytes) { uint32_t n = ((uint32_t)wNBytes + 1U) >> 1; uint32_t BaseAddr = (uint32_t)USBx; - uint32_t i, temp1, temp2; + uint32_t count; + uint16_t WrVal; __IO uint16_t *pdwVal; uint8_t *pBuf = pbUsrBuf; pdwVal = (__IO uint16_t *)(BaseAddr + 0x400U + ((uint32_t)wPMABufAddr * PMA_ACCESS)); - for (i = n; i != 0U; i--) + for (count = n; count != 0U; count--) { - temp1 = *pBuf; - pBuf++; - temp2 = temp1 | ((uint16_t)((uint16_t) *pBuf << 8)); - *pdwVal = (uint16_t)temp2; + WrVal = pBuf[0]; + WrVal |= (uint16_t)pBuf[1] << 8; + *pdwVal = (WrVal & 0xFFFFU); pdwVal++; #if PMA_ACCESS > 1U pdwVal++; -#endif +#endif /* PMA_ACCESS */ pBuf++; + pBuf++; } } @@ -2722,38 +2849,39 @@ void USB_WritePMA(USB_TypeDef *USBx, uint8_t *pbUsrBuf, uint16_t wPMABufAddr, ui * @param wNBytes no. of bytes to be copied. * @retval None */ -void USB_ReadPMA(USB_TypeDef *USBx, uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uint16_t wNBytes) +void USB_ReadPMA(USB_TypeDef const *USBx, uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uint16_t wNBytes) { uint32_t n = (uint32_t)wNBytes >> 1; uint32_t BaseAddr = (uint32_t)USBx; - uint32_t i, temp; + uint32_t count; + uint32_t RdVal; __IO uint16_t *pdwVal; uint8_t *pBuf = pbUsrBuf; pdwVal = (__IO uint16_t *)(BaseAddr + 0x400U + ((uint32_t)wPMABufAddr * PMA_ACCESS)); - for (i = n; i != 0U; i--) + for (count = n; count != 0U; count--) { - temp = *(__IO uint16_t *)pdwVal; + RdVal = *(__IO uint16_t *)pdwVal; pdwVal++; - *pBuf = (uint8_t)((temp >> 0) & 0xFFU); + *pBuf = (uint8_t)((RdVal >> 0) & 0xFFU); pBuf++; - *pBuf = (uint8_t)((temp >> 8) & 0xFFU); + *pBuf = (uint8_t)((RdVal >> 8) & 0xFFU); pBuf++; #if PMA_ACCESS > 1U pdwVal++; -#endif +#endif /* PMA_ACCESS */ } if ((wNBytes % 2U) != 0U) { - temp = *pdwVal; - *pBuf = (uint8_t)((temp >> 0) & 0xFFU); + RdVal = *pdwVal; + *pBuf = (uint8_t)((RdVal >> 0) & 0xFFU); } } -#endif /* defined (USB) */ +#endif /* defined (USB) */ /** * @} */ @@ -2767,5 +2895,3 @@ void USB_ReadPMA(USB_TypeDef *USBx, uint8_t *pbUsrBuf, uint16_t wPMABufAddr, uin /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_utils.c b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_utils.c index ce0ffce..98e7c88 100644 --- a/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_utils.c +++ b/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_utils.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -766,5 +765,3 @@ static ErrorStatus UTILS_EnablePLLAndSwitchSystem(uint32_t SYSCLK_Frequency, LL_ /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Drivers/STM32F1xx_HAL_Driver/_htmresc/favicon.png b/Drivers/STM32F1xx_HAL_Driver/_htmresc/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..06713eec4974e141c6e9b4156d34e61e89f282ca GIT binary patch literal 4126 zcmV+(5aI8MP)ZIGU@QfPy~$kHP}Vz9c$a)g>fT6hB^OaK4>c|MGS0000HbW%=J|NsC0|NsC0 z|NsC0|NsC0041%NVgLXD!bwCyRCwCllie1CAP9sJ&9ooo{hxLjw5@YC+xxf~%TE}{ zNd5%935b--eKa7{Q8)vZ;eI6pGFH>rL)887WOA={e(b_&0g-g6to#Hm2B3vqWV>1u z@z7*I(bdWdx-Y=OT@|og)oZEgAbc7ep|Gf{$7j1Oa#T&r4>0xv(+}tR_4biWa z1Q-BfcsgeLIJPbT0000rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFpwUVxrVZ>QdQz32KIeJ}k~{cZZE^+ya? z2D1z#2HOnI7(B%_ac?{wFUQ;QQA1tBKtrWrm0_3Rgps+?Jfqb{jYbcQX~taRB;#$y zZN{S}1|}gUOHJxc?wV3fxuz+mJ4`!F$IZ;mqRrNsHJd##*D~ju=bP7?-?v~|cv>vB zsJ6IeNwVZxrdjT`yl#bBIa#GxRa#xMMy;K#CDyyGyQdMSxlWT#tDe?p!?5wT$+oGt z8L;Kp2HUQ-ZMJ=3XJQv;x5ci*?vuTfeY$;({XGW_huIFR9a(?@3)XSs8O^N5RyOM=TTmp(3=8^+zpz2r)C z^>JO{deZfso3oq3?Wo(Y?l$ge?uXo;%ru`Vo>?<<(8I_>;8Eq#KMS9gFl*neeosSB zfoHYnBQIkwkyowPu(zdms`p{<7e4kra-ZWq<2*OsGTvEV%s0Td$hXT+!*8Bnh2KMe zBmZRodjHV?r+_5^X9J0WL4jKW`}lf%A-|44I@@LTvf1rHjG(ze6+w@Jt%Bvjts!X0 z?2xS?_ve_-kiKB_KiJlZ$9G`c^=E@oNG)mWWaNo-3TIW8)$Hg0Ub-~8?KhvJ>$ z3*&nim@mj(aCxE5!t{lw7O5^0EIO7zOo&c6l<+|iDySBWCGrz@C5{St!X3hAA}`T4 z(TLbXTq+(;@<=L8dXnssyft|w#WSTW<++3>sgS%(4NTpeI-VAqb|7ssJvzNHgOZVu zaYCvgO_R1~>SyL=cFU|~g|hy|Zi}}s9+d~lYqOB71z9Z$wnC=pR9Yz4DhIM>Wmjgu z&56o6maCpC&F##y%G;1PobR9i?GnNg;gYtchD%p19a!eQtZF&3JaKv33gZ<8D~47E ztUS1iwkmDaPpj=$m#%)jCVEY4fnLGNg2A-`YwHVD3gv};>)hAvT~AmqS>Lr``i7kw zJ{5_It`yrBmlc25DBO7E8;5VoznR>Ww5hAaxn$2~(q`%A-YuS64wkBy=9dm`4cXeX z4c}I@?e+FW+b@^RDBHV(wnMq2zdX3SWv9u`%{xC-q*U}&`cyXV(%rRT*Z6MH?i+i& z_B8C(+grT%{XWUQ+f@NoP1R=AW&26{v-dx)iK^-Nmiuj8txj!m?Z*Ss1N{dh4z}01 z)YTo*JycSU)+_5r4#yw9{+;i4Ee$peRgIj+;v;ZGdF1K$3E%e~4LaI(jC-u%2h$&R z9cLXcYC@Xwnns&bn)_Q~Te?roKGD|d-g^8;+aC{{G(1^(O7m37Y1-+6)01cN&y1aw zoqc{T`P^XJqPBbIW6s}d4{z_f5Om?vMgNQEJG?v2T=KYd^0M3I6IZxbny)%vZR&LD zJpPl@Psh8QyPB@KTx+@RdcC!KX7}kEo;S|j^u2lU7XQ}Oo;f|;z4Ll+_r>@1-xl3| zawq-H%e&ckC+@AhPrP6BKT#_XdT7&;F71j}Joy zkC~6lh7E@6o;W@^IpRNZ{ptLtL(gQ-CY~4mqW;US7Zxvm_|@yz&e53Bp_lTPlfP|z zrTyx_>lv@x#=^!PzR7qqF<$gm`|ZJZ+;<)Cqu&ot2z=0000WV@Og>004R=004l4008;_004mL004C`008P>0026e000+nl3&F} z000F^NklQWRUVq~pvFslpiNq83Yr*1(ELa!!kppKfxQKEkPzz^I>0W)!71xam z(B64`)5a~kHf9SBOp*Wvo{xA*e4|Kv3g6TCo+fF8q^C$|g>#NlXyY$%lmkmCh$x1Z zFbJ_hiDG`37w>KPVB83d7E3>R@-M9$`|}|QFF}1qSk!nanPdVd3K38edo3y+D*=Uo zfOWCwj(F@GSjPG&B<0O;H!Zm0g>eDeK09{b@xB};mEy; z;Gp5H_Cr65qKM1uYIu6x&16!Ei=BHfJLe)1IUnFqc6d#D=ZVQmV9C73vy1=x$SK;s z=*CYZP+Ei1D5Vjl#u88v5dv#jId?iu)8mM}{mD`GcMXtAC5ap?ZoKr&iYuqTKHe$t zTR%R$ZZwxec?l+0r_LIVbe-mzH+D0*ZYsu4BE~~JA2A+AD?BAArO=g8ZfvXtU~o9c zZ(Bd-RFK5jh*DvM1v6^41HB@0K0qn7E8E&Xz1mk6hvmx?*|WB_H!dcO;5R$=<4b~s z5zr3N4zxlkMKOrDeny(PGpEM6^hGyc7lhg>MWtM!af*pn%&q_PxI(n^(-Zd{ICPAp z(WE@Zz5|EZyt{MEDy&l5$Cba^zU!9k&;Vs7lk$@o02LOwb#e2{#3%Cn2>kQF(RKUU z+tW!;FT0@d+TX^L;>@3RytlTP&ts$pqA}TwENBlg9?$-D zF9Sn4URZx8)hVBw<~NY=h3=so7{jEhG%Zc_0QBSvY~K4BS|W5MAem5XSb6m}VDN$f zy+b3n9qjIJoHM5pqYa`IPH9AIoM=!AE1Er>r|3E}#Jq-S)cTrfD&TZjAuN@+V}3mi zlhOce+q<8>Y?i93G=*Z3Web`ri!Q%p%LR*(bB?;|)B`&=J&ab0Z(UKpbzyZV5o*#& z0FLzzaI$v*-#WB)+`n>BoJ*1AwU0XSu;@w&Hu1WYXVR#!8itC%68CzMeiXhL#`9W$9J30NB-Wg!ex`hBlg9F5u@&o4>hd`TWPv z{r{JbyvQGZzbyvPS}zAifbhF49z~X|@9v|!=No>qsF|P~vf=g>7#%0yk<U?Ha8*Z4HW>#8w>z$A3 z>^uQlk;$a-6CQ(uc@RM)Cbss!xuPVl2@c1u-5tEUw}U8OfP_J+QYhfu$B<0Cj3xm7 c?*aZZ00ulYFs-m=@&Et;07*qoM6N<$f~=14i~s-t literal 0 HcmV?d00001 diff --git a/Drivers/STM32F1xx_HAL_Driver/_htmresc/mini-st_2020.css b/Drivers/STM32F1xx_HAL_Driver/_htmresc/mini-st_2020.css new file mode 100644 index 0000000..3d9e81a --- /dev/null +++ b/Drivers/STM32F1xx_HAL_Driver/_htmresc/mini-st_2020.css @@ -0,0 +1,1703 @@ +@charset "UTF-8"; +/* + Flavor name: Custom (mini-custom) + Generated online - https://minicss.org/flavors + mini.css version: v3.0.1 +*/ +/* + Browsers resets and base typography. +*/ +/* Core module CSS variable definitions */ +:root { + --fore-color: #03234b; + --secondary-fore-color: #03234b; + --back-color: #ffffff; + --secondary-back-color: #ffffff; + --blockquote-color: #e6007e; + --pre-color: #e6007e; + --border-color: #3cb4e6; + --secondary-border-color: #3cb4e6; + --heading-ratio: 1.2; + --universal-margin: 0.5rem; + --universal-padding: 0.25rem; + --universal-border-radius: 0.075rem; + --background-margin: 1.5%; + --a-link-color: #3cb4e6; + --a-visited-color: #8c0078; } + +html { + font-size: 13.5px; } + +a, b, del, em, i, ins, q, span, strong, u { + font-size: 1em; } + +html, * { + font-family: -apple-system, BlinkMacSystemFont, Helvetica, arial, sans-serif; + line-height: 1.25; + -webkit-text-size-adjust: 100%; } + +* { + font-size: 1rem; } + +body { + margin: 0; + color: var(--fore-color); + @background: var(--back-color); + background: var(--back-color) linear-gradient(#ffd200, #ffd200) repeat-y left top; + background-size: var(--background-margin); + } + +details { + display: block; } + +summary { + display: list-item; } + +abbr[title] { + border-bottom: none; + text-decoration: underline dotted; } + +input { + overflow: visible; } + +img { + max-width: 100%; + height: auto; } + +h1, h2, h3, h4, h5, h6 { + line-height: 1.25; + margin: calc(1.5 * var(--universal-margin)) var(--universal-margin); + font-weight: 400; } + h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { + color: var(--secondary-fore-color); + display: block; + margin-top: -0.25rem; } + +h1 { + font-size: calc(1rem * var(--heading-ratio) * var(--heading-ratio) * var(--heading-ratio)); } + +h2 { + font-size: calc(1rem * var(--heading-ratio) * var(--heading-ratio) ); + border-style: none none solid none ; + border-width: thin; + border-color: var(--border-color); } +h3 { + font-size: calc(1rem * var(--heading-ratio) ); } + +h4 { + font-size: calc(1rem * var(--heading-ratio)); } + +h5 { + font-size: 1rem; } + +h6 { + font-size: calc(1rem / var(--heading-ratio)); } + +p { + margin: var(--universal-margin); } + +ol, ul { + margin: var(--universal-margin); + padding-left: calc(3 * var(--universal-margin)); } + +b, strong { + font-weight: 700; } + +hr { + box-sizing: content-box; + border: 0; + line-height: 1.25em; + margin: var(--universal-margin); + height: 0.0714285714rem; + background: linear-gradient(to right, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent); } + +blockquote { + display: block; + position: relative; + font-style: italic; + color: var(--secondary-fore-color); + margin: var(--universal-margin); + padding: calc(3 * var(--universal-padding)); + border: 0.0714285714rem solid var(--secondary-border-color); + border-left: 0.3rem solid var(--blockquote-color); + border-radius: 0 var(--universal-border-radius) var(--universal-border-radius) 0; } + blockquote:before { + position: absolute; + top: calc(0rem - var(--universal-padding)); + left: 0; + font-family: sans-serif; + font-size: 2rem; + font-weight: 800; + content: "\201c"; + color: var(--blockquote-color); } + blockquote[cite]:after { + font-style: normal; + font-size: 0.75em; + font-weight: 700; + content: "\a— " attr(cite); + white-space: pre; } + +code, kbd, pre, samp { + font-family: Menlo, Consolas, monospace; + font-size: 0.85em; } + +code { + background: var(--secondary-back-color); + border-radius: var(--universal-border-radius); + padding: calc(var(--universal-padding) / 4) calc(var(--universal-padding) / 2); } + +kbd { + background: var(--fore-color); + color: var(--back-color); + border-radius: var(--universal-border-radius); + padding: calc(var(--universal-padding) / 4) calc(var(--universal-padding) / 2); } + +pre { + overflow: auto; + background: var(--secondary-back-color); + padding: calc(1.5 * var(--universal-padding)); + margin: var(--universal-margin); + border: 0.0714285714rem solid var(--secondary-border-color); + border-left: 0.2857142857rem solid var(--pre-color); + border-radius: 0 var(--universal-border-radius) var(--universal-border-radius) 0; } + +sup, sub, code, kbd { + line-height: 0; + position: relative; + vertical-align: baseline; } + +small, sup, sub, figcaption { + font-size: 0.75em; } + +sup { + top: -0.5em; } + +sub { + bottom: -0.25em; } + +figure { + margin: var(--universal-margin); } + +figcaption { + color: var(--secondary-fore-color); } + +a { + text-decoration: none; } + a:link { + color: var(--a-link-color); } + a:visited { + color: var(--a-visited-color); } + a:hover, a:focus { + text-decoration: underline; } + +/* + Definitions for the grid system, cards and containers. +*/ +.container { + margin: 0 auto; + padding: 0 calc(1.5 * var(--universal-padding)); } + +.row { + box-sizing: border-box; + display: flex; + flex: 0 1 auto; + flex-flow: row wrap; + margin: 0 0 0 var(--background-margin); } + +.col-sm, +[class^='col-sm-'], +[class^='col-sm-offset-'], +.row[class*='cols-sm-'] > * { + box-sizing: border-box; + flex: 0 0 auto; + padding: 0 calc(var(--universal-padding) / 2); } + +.col-sm, +.row.cols-sm > * { + max-width: 100%; + flex-grow: 1; + flex-basis: 0; } + +.col-sm-1, +.row.cols-sm-1 > * { + max-width: 8.3333333333%; + flex-basis: 8.3333333333%; } + +.col-sm-offset-0 { + margin-left: 0; } + +.col-sm-2, +.row.cols-sm-2 > * { + max-width: 16.6666666667%; + flex-basis: 16.6666666667%; } + +.col-sm-offset-1 { + margin-left: 8.3333333333%; } + +.col-sm-3, +.row.cols-sm-3 > * { + max-width: 25%; + flex-basis: 25%; } + +.col-sm-offset-2 { + margin-left: 16.6666666667%; } + +.col-sm-4, +.row.cols-sm-4 > * { + max-width: 33.3333333333%; + flex-basis: 33.3333333333%; } + +.col-sm-offset-3 { + margin-left: 25%; } + +.col-sm-5, +.row.cols-sm-5 > * { + max-width: 41.6666666667%; + flex-basis: 41.6666666667%; } + +.col-sm-offset-4 { + margin-left: 33.3333333333%; } + +.col-sm-6, +.row.cols-sm-6 > * { + max-width: 50%; + flex-basis: 50%; } + +.col-sm-offset-5 { + margin-left: 41.6666666667%; } + +.col-sm-7, +.row.cols-sm-7 > * { + max-width: 58.3333333333%; + flex-basis: 58.3333333333%; } + +.col-sm-offset-6 { + margin-left: 50%; } + +.col-sm-8, +.row.cols-sm-8 > * { + max-width: 66.6666666667%; + flex-basis: 66.6666666667%; } + +.col-sm-offset-7 { + margin-left: 58.3333333333%; } + +.col-sm-9, +.row.cols-sm-9 > * { + max-width: 75%; + flex-basis: 75%; } + +.col-sm-offset-8 { + margin-left: 66.6666666667%; } + +.col-sm-10, +.row.cols-sm-10 > * { + max-width: 83.3333333333%; + flex-basis: 83.3333333333%; } + +.col-sm-offset-9 { + margin-left: 75%; } + +.col-sm-11, +.row.cols-sm-11 > * { + max-width: 91.6666666667%; + flex-basis: 91.6666666667%; } + +.col-sm-offset-10 { + margin-left: 83.3333333333%; } + +.col-sm-12, +.row.cols-sm-12 > * { + max-width: 100%; + flex-basis: 100%; } + +.col-sm-offset-11 { + margin-left: 91.6666666667%; } + +.col-sm-normal { + order: initial; } + +.col-sm-first { + order: -999; } + +.col-sm-last { + order: 999; } + +@media screen and (min-width: 500px) { + .col-md, + [class^='col-md-'], + [class^='col-md-offset-'], + .row[class*='cols-md-'] > * { + box-sizing: border-box; + flex: 0 0 auto; + padding: 0 calc(var(--universal-padding) / 2); } + + .col-md, + .row.cols-md > * { + max-width: 100%; + flex-grow: 1; + flex-basis: 0; } + + .col-md-1, + .row.cols-md-1 > * { + max-width: 8.3333333333%; + flex-basis: 8.3333333333%; } + + .col-md-offset-0 { + margin-left: 0; } + + .col-md-2, + .row.cols-md-2 > * { + max-width: 16.6666666667%; + flex-basis: 16.6666666667%; } + + .col-md-offset-1 { + margin-left: 8.3333333333%; } + + .col-md-3, + .row.cols-md-3 > * { + max-width: 25%; + flex-basis: 25%; } + + .col-md-offset-2 { + margin-left: 16.6666666667%; } + + .col-md-4, + .row.cols-md-4 > * { + max-width: 33.3333333333%; + flex-basis: 33.3333333333%; } + + .col-md-offset-3 { + margin-left: 25%; } + + .col-md-5, + .row.cols-md-5 > * { + max-width: 41.6666666667%; + flex-basis: 41.6666666667%; } + + .col-md-offset-4 { + margin-left: 33.3333333333%; } + + .col-md-6, + .row.cols-md-6 > * { + max-width: 50%; + flex-basis: 50%; } + + .col-md-offset-5 { + margin-left: 41.6666666667%; } + + .col-md-7, + .row.cols-md-7 > * { + max-width: 58.3333333333%; + flex-basis: 58.3333333333%; } + + .col-md-offset-6 { + margin-left: 50%; } + + .col-md-8, + .row.cols-md-8 > * { + max-width: 66.6666666667%; + flex-basis: 66.6666666667%; } + + .col-md-offset-7 { + margin-left: 58.3333333333%; } + + .col-md-9, + .row.cols-md-9 > * { + max-width: 75%; + flex-basis: 75%; } + + .col-md-offset-8 { + margin-left: 66.6666666667%; } + + .col-md-10, + .row.cols-md-10 > * { + max-width: 83.3333333333%; + flex-basis: 83.3333333333%; } + + .col-md-offset-9 { + margin-left: 75%; } + + .col-md-11, + .row.cols-md-11 > * { + max-width: 91.6666666667%; + flex-basis: 91.6666666667%; } + + .col-md-offset-10 { + margin-left: 83.3333333333%; } + + .col-md-12, + .row.cols-md-12 > * { + max-width: 100%; + flex-basis: 100%; } + + .col-md-offset-11 { + margin-left: 91.6666666667%; } + + .col-md-normal { + order: initial; } + + .col-md-first { + order: -999; } + + .col-md-last { + order: 999; } } +@media screen and (min-width: 1280px) { + .col-lg, + [class^='col-lg-'], + [class^='col-lg-offset-'], + .row[class*='cols-lg-'] > * { + box-sizing: border-box; + flex: 0 0 auto; + padding: 0 calc(var(--universal-padding) / 2); } + + .col-lg, + .row.cols-lg > * { + max-width: 100%; + flex-grow: 1; + flex-basis: 0; } + + .col-lg-1, + .row.cols-lg-1 > * { + max-width: 8.3333333333%; + flex-basis: 8.3333333333%; } + + .col-lg-offset-0 { + margin-left: 0; } + + .col-lg-2, + .row.cols-lg-2 > * { + max-width: 16.6666666667%; + flex-basis: 16.6666666667%; } + + .col-lg-offset-1 { + margin-left: 8.3333333333%; } + + .col-lg-3, + .row.cols-lg-3 > * { + max-width: 25%; + flex-basis: 25%; } + + .col-lg-offset-2 { + margin-left: 16.6666666667%; } + + .col-lg-4, + .row.cols-lg-4 > * { + max-width: 33.3333333333%; + flex-basis: 33.3333333333%; } + + .col-lg-offset-3 { + margin-left: 25%; } + + .col-lg-5, + .row.cols-lg-5 > * { + max-width: 41.6666666667%; + flex-basis: 41.6666666667%; } + + .col-lg-offset-4 { + margin-left: 33.3333333333%; } + + .col-lg-6, + .row.cols-lg-6 > * { + max-width: 50%; + flex-basis: 50%; } + + .col-lg-offset-5 { + margin-left: 41.6666666667%; } + + .col-lg-7, + .row.cols-lg-7 > * { + max-width: 58.3333333333%; + flex-basis: 58.3333333333%; } + + .col-lg-offset-6 { + margin-left: 50%; } + + .col-lg-8, + .row.cols-lg-8 > * { + max-width: 66.6666666667%; + flex-basis: 66.6666666667%; } + + .col-lg-offset-7 { + margin-left: 58.3333333333%; } + + .col-lg-9, + .row.cols-lg-9 > * { + max-width: 75%; + flex-basis: 75%; } + + .col-lg-offset-8 { + margin-left: 66.6666666667%; } + + .col-lg-10, + .row.cols-lg-10 > * { + max-width: 83.3333333333%; + flex-basis: 83.3333333333%; } + + .col-lg-offset-9 { + margin-left: 75%; } + + .col-lg-11, + .row.cols-lg-11 > * { + max-width: 91.6666666667%; + flex-basis: 91.6666666667%; } + + .col-lg-offset-10 { + margin-left: 83.3333333333%; } + + .col-lg-12, + .row.cols-lg-12 > * { + max-width: 100%; + flex-basis: 100%; } + + .col-lg-offset-11 { + margin-left: 91.6666666667%; } + + .col-lg-normal { + order: initial; } + + .col-lg-first { + order: -999; } + + .col-lg-last { + order: 999; } } +/* Card component CSS variable definitions */ +:root { + --card-back-color: #3cb4e6; + --card-fore-color: #03234b; + --card-border-color: #03234b; } + +.card { + display: flex; + flex-direction: column; + justify-content: space-between; + align-self: center; + position: relative; + width: 100%; + background: var(--card-back-color); + color: var(--card-fore-color); + border: 0.0714285714rem solid var(--card-border-color); + border-radius: var(--universal-border-radius); + margin: var(--universal-margin); + overflow: hidden; } + @media screen and (min-width: 320px) { + .card { + max-width: 320px; } } + .card > .sectione { + background: var(--card-back-color); + color: var(--card-fore-color); + box-sizing: border-box; + margin: 0; + border: 0; + border-radius: 0; + border-bottom: 0.0714285714rem solid var(--card-border-color); + padding: var(--universal-padding); + width: 100%; } + .card > .sectione.media { + height: 200px; + padding: 0; + -o-object-fit: cover; + object-fit: cover; } + .card > .sectione:last-child { + border-bottom: 0; } + +/* + Custom elements for card elements. +*/ +@media screen and (min-width: 240px) { + .card.small { + max-width: 240px; } } +@media screen and (min-width: 480px) { + .card.large { + max-width: 480px; } } +.card.fluid { + max-width: 100%; + width: auto; } + +.card.warning { + --card-back-color: #e5b8b7; + --card-fore-color: #3b234b; + --card-border-color: #8c0078; } + +.card.error { + --card-back-color: #464650; + --card-fore-color: #ffffff; + --card-border-color: #8c0078; } + +.card > .sectione.dark { + --card-back-color: #3b234b; + --card-fore-color: #ffffff; } + +.card > .sectione.double-padded { + padding: calc(1.5 * var(--universal-padding)); } + +/* + Definitions for forms and input elements. +*/ +/* Input_control module CSS variable definitions */ +:root { + --form-back-color: #ffe97f; + --form-fore-color: #03234b; + --form-border-color: #3cb4e6; + --input-back-color: #ffffff; + --input-fore-color: #03234b; + --input-border-color: #3cb4e6; + --input-focus-color: #0288d1; + --input-invalid-color: #d32f2f; + --button-back-color: #e2e2e2; + --button-hover-back-color: #dcdcdc; + --button-fore-color: #212121; + --button-border-color: transparent; + --button-hover-border-color: transparent; + --button-group-border-color: rgba(124, 124, 124, 0.54); } + +form { + background: var(--form-back-color); + color: var(--form-fore-color); + border: 0.0714285714rem solid var(--form-border-color); + border-radius: var(--universal-border-radius); + margin: var(--universal-margin); + padding: calc(2 * var(--universal-padding)) var(--universal-padding); } + +fieldset { + border: 0.0714285714rem solid var(--form-border-color); + border-radius: var(--universal-border-radius); + margin: calc(var(--universal-margin) / 4); + padding: var(--universal-padding); } + +legend { + box-sizing: border-box; + display: table; + max-width: 100%; + white-space: normal; + font-weight: 500; + padding: calc(var(--universal-padding) / 2); } + +label { + padding: calc(var(--universal-padding) / 2) var(--universal-padding); } + +.input-group { + display: inline-block; } + .input-group.fluid { + display: flex; + align-items: center; + justify-content: center; } + .input-group.fluid > input { + max-width: 100%; + flex-grow: 1; + flex-basis: 0px; } + @media screen and (max-width: 499px) { + .input-group.fluid { + align-items: stretch; + flex-direction: column; } } + .input-group.vertical { + display: flex; + align-items: stretch; + flex-direction: column; } + .input-group.vertical > input { + max-width: 100%; + flex-grow: 1; + flex-basis: 0px; } + +[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { + height: auto; } + +[type="search"] { + -webkit-appearance: textfield; + outline-offset: -2px; } + +[type="search"]::-webkit-search-cancel-button, +[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; } + +input:not([type]), [type="text"], [type="email"], [type="number"], [type="search"], +[type="password"], [type="url"], [type="tel"], [type="checkbox"], [type="radio"], textarea, select { + box-sizing: border-box; + background: var(--input-back-color); + color: var(--input-fore-color); + border: 0.0714285714rem solid var(--input-border-color); + border-radius: var(--universal-border-radius); + margin: calc(var(--universal-margin) / 2); + padding: var(--universal-padding) calc(1.5 * var(--universal-padding)); } + +input:not([type="button"]):not([type="submit"]):not([type="reset"]):hover, input:not([type="button"]):not([type="submit"]):not([type="reset"]):focus, textarea:hover, textarea:focus, select:hover, select:focus { + border-color: var(--input-focus-color); + box-shadow: none; } +input:not([type="button"]):not([type="submit"]):not([type="reset"]):invalid, input:not([type="button"]):not([type="submit"]):not([type="reset"]):focus:invalid, textarea:invalid, textarea:focus:invalid, select:invalid, select:focus:invalid { + border-color: var(--input-invalid-color); + box-shadow: none; } +input:not([type="button"]):not([type="submit"]):not([type="reset"])[readonly], textarea[readonly], select[readonly] { + background: var(--secondary-back-color); } + +select { + max-width: 100%; } + +option { + overflow: hidden; + text-overflow: ellipsis; } + +[type="checkbox"], [type="radio"] { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + position: relative; + height: calc(1rem + var(--universal-padding) / 2); + width: calc(1rem + var(--universal-padding) / 2); + vertical-align: text-bottom; + padding: 0; + flex-basis: calc(1rem + var(--universal-padding) / 2) !important; + flex-grow: 0 !important; } + [type="checkbox"]:checked:before, [type="radio"]:checked:before { + position: absolute; } + +[type="checkbox"]:checked:before { + content: '\2713'; + font-family: sans-serif; + font-size: calc(1rem + var(--universal-padding) / 2); + top: calc(0rem - var(--universal-padding)); + left: calc(var(--universal-padding) / 4); } + +[type="radio"] { + border-radius: 100%; } + [type="radio"]:checked:before { + border-radius: 100%; + content: ''; + top: calc(0.0714285714rem + var(--universal-padding) / 2); + left: calc(0.0714285714rem + var(--universal-padding) / 2); + background: var(--input-fore-color); + width: 0.5rem; + height: 0.5rem; } + +:placeholder-shown { + color: var(--input-fore-color); } + +::-ms-placeholder { + color: var(--input-fore-color); + opacity: 0.54; } + +button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { + border-style: none; + padding: 0; } + +button, html [type="button"], [type="reset"], [type="submit"] { + -webkit-appearance: button; } + +button { + overflow: visible; + text-transform: none; } + +button, [type="button"], [type="submit"], [type="reset"], +a.button, label.button, .button, +a[role="button"], label[role="button"], [role="button"] { + display: inline-block; + background: var(--button-back-color); + color: var(--button-fore-color); + border: 0.0714285714rem solid var(--button-border-color); + border-radius: var(--universal-border-radius); + padding: var(--universal-padding) calc(1.5 * var(--universal-padding)); + margin: var(--universal-margin); + text-decoration: none; + cursor: pointer; + transition: background 0.3s; } + button:hover, button:focus, [type="button"]:hover, [type="button"]:focus, [type="submit"]:hover, [type="submit"]:focus, [type="reset"]:hover, [type="reset"]:focus, + a.button:hover, + a.button:focus, label.button:hover, label.button:focus, .button:hover, .button:focus, + a[role="button"]:hover, + a[role="button"]:focus, label[role="button"]:hover, label[role="button"]:focus, [role="button"]:hover, [role="button"]:focus { + background: var(--button-hover-back-color); + border-color: var(--button-hover-border-color); } + +input:disabled, input[disabled], textarea:disabled, textarea[disabled], select:disabled, select[disabled], button:disabled, button[disabled], .button:disabled, .button[disabled], [role="button"]:disabled, [role="button"][disabled] { + cursor: not-allowed; + opacity: 0.75; } + +.button-group { + display: flex; + border: 0.0714285714rem solid var(--button-group-border-color); + border-radius: var(--universal-border-radius); + margin: var(--universal-margin); } + .button-group > button, .button-group [type="button"], .button-group > [type="submit"], .button-group > [type="reset"], .button-group > .button, .button-group > [role="button"] { + margin: 0; + max-width: 100%; + flex: 1 1 auto; + text-align: center; + border: 0; + border-radius: 0; + box-shadow: none; } + .button-group > :not(:first-child) { + border-left: 0.0714285714rem solid var(--button-group-border-color); } + @media screen and (max-width: 499px) { + .button-group { + flex-direction: column; } + .button-group > :not(:first-child) { + border: 0; + border-top: 0.0714285714rem solid var(--button-group-border-color); } } + +/* + Custom elements for forms and input elements. +*/ +button.primary, [type="button"].primary, [type="submit"].primary, [type="reset"].primary, .button.primary, [role="button"].primary { + --button-back-color: #1976d2; + --button-fore-color: #f8f8f8; } + button.primary:hover, button.primary:focus, [type="button"].primary:hover, [type="button"].primary:focus, [type="submit"].primary:hover, [type="submit"].primary:focus, [type="reset"].primary:hover, [type="reset"].primary:focus, .button.primary:hover, .button.primary:focus, [role="button"].primary:hover, [role="button"].primary:focus { + --button-hover-back-color: #1565c0; } + +button.secondary, [type="button"].secondary, [type="submit"].secondary, [type="reset"].secondary, .button.secondary, [role="button"].secondary { + --button-back-color: #d32f2f; + --button-fore-color: #f8f8f8; } + button.secondary:hover, button.secondary:focus, [type="button"].secondary:hover, [type="button"].secondary:focus, [type="submit"].secondary:hover, [type="submit"].secondary:focus, [type="reset"].secondary:hover, [type="reset"].secondary:focus, .button.secondary:hover, .button.secondary:focus, [role="button"].secondary:hover, [role="button"].secondary:focus { + --button-hover-back-color: #c62828; } + +button.tertiary, [type="button"].tertiary, [type="submit"].tertiary, [type="reset"].tertiary, .button.tertiary, [role="button"].tertiary { + --button-back-color: #308732; + --button-fore-color: #f8f8f8; } + button.tertiary:hover, button.tertiary:focus, [type="button"].tertiary:hover, [type="button"].tertiary:focus, [type="submit"].tertiary:hover, [type="submit"].tertiary:focus, [type="reset"].tertiary:hover, [type="reset"].tertiary:focus, .button.tertiary:hover, .button.tertiary:focus, [role="button"].tertiary:hover, [role="button"].tertiary:focus { + --button-hover-back-color: #277529; } + +button.inverse, [type="button"].inverse, [type="submit"].inverse, [type="reset"].inverse, .button.inverse, [role="button"].inverse { + --button-back-color: #212121; + --button-fore-color: #f8f8f8; } + button.inverse:hover, button.inverse:focus, [type="button"].inverse:hover, [type="button"].inverse:focus, [type="submit"].inverse:hover, [type="submit"].inverse:focus, [type="reset"].inverse:hover, [type="reset"].inverse:focus, .button.inverse:hover, .button.inverse:focus, [role="button"].inverse:hover, [role="button"].inverse:focus { + --button-hover-back-color: #111; } + +button.small, [type="button"].small, [type="submit"].small, [type="reset"].small, .button.small, [role="button"].small { + padding: calc(0.5 * var(--universal-padding)) calc(0.75 * var(--universal-padding)); + margin: var(--universal-margin); } + +button.large, [type="button"].large, [type="submit"].large, [type="reset"].large, .button.large, [role="button"].large { + padding: calc(1.5 * var(--universal-padding)) calc(2 * var(--universal-padding)); + margin: var(--universal-margin); } + +/* + Definitions for navigation elements. +*/ +/* Navigation module CSS variable definitions */ +:root { + --header-back-color: #03234b; + --header-hover-back-color: #ffd200; + --header-fore-color: #ffffff; + --header-border-color: #3cb4e6; + --nav-back-color: #ffffff; + --nav-hover-back-color: #ffe97f; + --nav-fore-color: #e6007e; + --nav-border-color: #3cb4e6; + --nav-link-color: #3cb4e6; + --footer-fore-color: #ffffff; + --footer-back-color: #03234b; + --footer-border-color: #3cb4e6; + --footer-link-color: #3cb4e6; + --drawer-back-color: #ffffff; + --drawer-hover-back-color: #ffe97f; + --drawer-border-color: #3cb4e6; + --drawer-close-color: #e6007e; } + +header { + height: 2.75rem; + background: var(--header-back-color); + color: var(--header-fore-color); + border-bottom: 0.0714285714rem solid var(--header-border-color); + padding: calc(var(--universal-padding) / 4) 0; + white-space: nowrap; + overflow-x: auto; + overflow-y: hidden; } + header.row { + box-sizing: content-box; } + header .logo { + color: var(--header-fore-color); + font-size: 1.75rem; + padding: var(--universal-padding) calc(2 * var(--universal-padding)); + text-decoration: none; } + header button, header [type="button"], header .button, header [role="button"] { + box-sizing: border-box; + position: relative; + top: calc(0rem - var(--universal-padding) / 4); + height: calc(3.1875rem + var(--universal-padding) / 2); + background: var(--header-back-color); + line-height: calc(3.1875rem - var(--universal-padding) * 1.5); + text-align: center; + color: var(--header-fore-color); + border: 0; + border-radius: 0; + margin: 0; + text-transform: uppercase; } + header button:hover, header button:focus, header [type="button"]:hover, header [type="button"]:focus, header .button:hover, header .button:focus, header [role="button"]:hover, header [role="button"]:focus { + background: var(--header-hover-back-color); } + +nav { + background: var(--nav-back-color); + color: var(--nav-fore-color); + border: 0.0714285714rem solid var(--nav-border-color); + border-radius: var(--universal-border-radius); + margin: var(--universal-margin); } + nav * { + padding: var(--universal-padding) calc(1.5 * var(--universal-padding)); } + nav a, nav a:visited { + display: block; + color: var(--nav-link-color); + border-radius: var(--universal-border-radius); + transition: background 0.3s; } + nav a:hover, nav a:focus, nav a:visited:hover, nav a:visited:focus { + text-decoration: none; + background: var(--nav-hover-back-color); } + nav .sublink-1 { + position: relative; + margin-left: calc(2 * var(--universal-padding)); } + nav .sublink-1:before { + position: absolute; + left: calc(var(--universal-padding) - 1 * var(--universal-padding)); + top: -0.0714285714rem; + content: ''; + height: 100%; + border: 0.0714285714rem solid var(--nav-border-color); + border-left: 0; } + nav .sublink-2 { + position: relative; + margin-left: calc(4 * var(--universal-padding)); } + nav .sublink-2:before { + position: absolute; + left: calc(var(--universal-padding) - 3 * var(--universal-padding)); + top: -0.0714285714rem; + content: ''; + height: 100%; + border: 0.0714285714rem solid var(--nav-border-color); + border-left: 0; } + +footer { + background: var(--footer-back-color); + color: var(--footer-fore-color); + border-top: 0.0714285714rem solid var(--footer-border-color); + padding: calc(2 * var(--universal-padding)) var(--universal-padding); + font-size: 0.875rem; } + footer a, footer a:visited { + color: var(--footer-link-color); } + +header.sticky { + position: -webkit-sticky; + position: sticky; + z-index: 1101; + top: 0; } + +footer.sticky { + position: -webkit-sticky; + position: sticky; + z-index: 1101; + bottom: 0; } + +.drawer-toggle:before { + display: inline-block; + position: relative; + vertical-align: bottom; + content: '\00a0\2261\00a0'; + font-family: sans-serif; + font-size: 1.5em; } +@media screen and (min-width: 500px) { + .drawer-toggle:not(.persistent) { + display: none; } } + +[type="checkbox"].drawer { + height: 1px; + width: 1px; + margin: -1px; + overflow: hidden; + position: absolute; + clip: rect(0 0 0 0); + -webkit-clip-path: inset(100%); + clip-path: inset(100%); } + [type="checkbox"].drawer + * { + display: block; + box-sizing: border-box; + position: fixed; + top: 0; + width: 320px; + height: 100vh; + overflow-y: auto; + background: var(--drawer-back-color); + border: 0.0714285714rem solid var(--drawer-border-color); + border-radius: 0; + margin: 0; + z-index: 1110; + right: -320px; + transition: right 0.3s; } + [type="checkbox"].drawer + * .drawer-close { + position: absolute; + top: var(--universal-margin); + right: var(--universal-margin); + z-index: 1111; + width: 2rem; + height: 2rem; + border-radius: var(--universal-border-radius); + padding: var(--universal-padding); + margin: 0; + cursor: pointer; + transition: background 0.3s; } + [type="checkbox"].drawer + * .drawer-close:before { + display: block; + content: '\00D7'; + color: var(--drawer-close-color); + position: relative; + font-family: sans-serif; + font-size: 2rem; + line-height: 1; + text-align: center; } + [type="checkbox"].drawer + * .drawer-close:hover, [type="checkbox"].drawer + * .drawer-close:focus { + background: var(--drawer-hover-back-color); } + @media screen and (max-width: 320px) { + [type="checkbox"].drawer + * { + width: 100%; } } + [type="checkbox"].drawer:checked + * { + right: 0; } + @media screen and (min-width: 500px) { + [type="checkbox"].drawer:not(.persistent) + * { + position: static; + height: 100%; + z-index: 1100; } + [type="checkbox"].drawer:not(.persistent) + * .drawer-close { + display: none; } } + +/* + Definitions for the responsive table component. +*/ +/* Table module CSS variable definitions. */ +:root { + --table-border-color: #03234b; + --table-border-separator-color: #03234b; + --table-head-back-color: #03234b; + --table-head-fore-color: #ffffff; + --table-body-back-color: #ffffff; + --table-body-fore-color: #03234b; + --table-body-alt-back-color: #f4f4f4; } + +table { + border-collapse: separate; + border-spacing: 0; + margin: 0; + display: flex; + flex: 0 1 auto; + flex-flow: row wrap; + padding: var(--universal-padding); + padding-top: 0; } + table caption { + font-size: 1rem; + margin: calc(2 * var(--universal-margin)) 0; + max-width: 100%; + flex: 0 0 100%; } + table thead, table tbody { + display: flex; + flex-flow: row wrap; + border: 0.0714285714rem solid var(--table-border-color); } + table thead { + z-index: 999; + border-radius: var(--universal-border-radius) var(--universal-border-radius) 0 0; + border-bottom: 0.0714285714rem solid var(--table-border-separator-color); } + table tbody { + border-top: 0; + margin-top: calc(0 - var(--universal-margin)); + border-radius: 0 0 var(--universal-border-radius) var(--universal-border-radius); } + table tr { + display: flex; + padding: 0; } + table th, table td { + padding: calc(0.5 * var(--universal-padding)); + font-size: 0.9rem; } + table th { + text-align: left; + background: var(--table-head-back-color); + color: var(--table-head-fore-color); } + table td { + background: var(--table-body-back-color); + color: var(--table-body-fore-color); + border-top: 0.0714285714rem solid var(--table-border-color); } + +table:not(.horizontal) { + overflow: auto; + max-height: 100%; } + table:not(.horizontal) thead, table:not(.horizontal) tbody { + max-width: 100%; + flex: 0 0 100%; } + table:not(.horizontal) tr { + flex-flow: row wrap; + flex: 0 0 100%; } + table:not(.horizontal) th, table:not(.horizontal) td { + flex: 1 0 0%; + overflow: hidden; + text-overflow: ellipsis; } + table:not(.horizontal) thead { + position: sticky; + top: 0; } + table:not(.horizontal) tbody tr:first-child td { + border-top: 0; } + +table.horizontal { + border: 0; } + table.horizontal thead, table.horizontal tbody { + border: 0; + flex: .2 0 0; + flex-flow: row nowrap; } + table.horizontal tbody { + overflow: auto; + justify-content: space-between; + flex: .8 0 0; + margin-left: 0; + padding-bottom: calc(var(--universal-padding) / 4); } + table.horizontal tr { + flex-direction: column; + flex: 1 0 auto; } + table.horizontal th, table.horizontal td { + width: auto; + border: 0; + border-bottom: 0.0714285714rem solid var(--table-border-color); } + table.horizontal th:not(:first-child), table.horizontal td:not(:first-child) { + border-top: 0; } + table.horizontal th { + text-align: right; + border-left: 0.0714285714rem solid var(--table-border-color); + border-right: 0.0714285714rem solid var(--table-border-separator-color); } + table.horizontal thead tr:first-child { + padding-left: 0; } + table.horizontal th:first-child, table.horizontal td:first-child { + border-top: 0.0714285714rem solid var(--table-border-color); } + table.horizontal tbody tr:last-child td { + border-right: 0.0714285714rem solid var(--table-border-color); } + table.horizontal tbody tr:last-child td:first-child { + border-top-right-radius: 0.25rem; } + table.horizontal tbody tr:last-child td:last-child { + border-bottom-right-radius: 0.25rem; } + table.horizontal thead tr:first-child th:first-child { + border-top-left-radius: 0.25rem; } + table.horizontal thead tr:first-child th:last-child { + border-bottom-left-radius: 0.25rem; } + +@media screen and (max-width: 499px) { + table, table.horizontal { + border-collapse: collapse; + border: 0; + width: 100%; + display: table; } + table thead, table th, table.horizontal thead, table.horizontal th { + border: 0; + height: 1px; + width: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + clip: rect(0 0 0 0); + -webkit-clip-path: inset(100%); + clip-path: inset(100%); } + table tbody, table.horizontal tbody { + border: 0; + display: table-row-group; } + table tr, table.horizontal tr { + display: block; + border: 0.0714285714rem solid var(--table-border-color); + border-radius: var(--universal-border-radius); + background: #ffffff; + padding: var(--universal-padding); + margin: var(--universal-margin); + margin-bottom: calc(1 * var(--universal-margin)); } + table th, table td, table.horizontal th, table.horizontal td { + width: auto; } + table td, table.horizontal td { + display: block; + border: 0; + text-align: right; } + table td:before, table.horizontal td:before { + content: attr(data-label); + float: left; + font-weight: 600; } + table th:first-child, table td:first-child, table.horizontal th:first-child, table.horizontal td:first-child { + border-top: 0; } + table tbody tr:last-child td, table.horizontal tbody tr:last-child td { + border-right: 0; } } +table tr:nth-of-type(2n) > td { + background: var(--table-body-alt-back-color); } + +@media screen and (max-width: 500px) { + table tr:nth-of-type(2n) { + background: var(--table-body-alt-back-color); } } +:root { + --table-body-hover-back-color: #90caf9; } + +table.hoverable tr:hover, table.hoverable tr:hover > td, table.hoverable tr:focus, table.hoverable tr:focus > td { + background: var(--table-body-hover-back-color); } + +@media screen and (max-width: 500px) { + table.hoverable tr:hover, table.hoverable tr:hover > td, table.hoverable tr:focus, table.hoverable tr:focus > td { + background: var(--table-body-hover-back-color); } } +/* + Definitions for contextual background elements, toasts and tooltips. +*/ +/* Contextual module CSS variable definitions */ +:root { + --mark-back-color: #3cb4e6; + --mark-fore-color: #ffffff; } + +mark { + background: var(--mark-back-color); + color: var(--mark-fore-color); + font-size: 0.95em; + line-height: 1em; + border-radius: var(--universal-border-radius); + padding: calc(var(--universal-padding) / 4) var(--universal-padding); } + mark.inline-block { + display: inline-block; + font-size: 1em; + line-height: 1.4; + padding: calc(var(--universal-padding) / 2) var(--universal-padding); } + +:root { + --toast-back-color: #424242; + --toast-fore-color: #fafafa; } + +.toast { + position: fixed; + bottom: calc(var(--universal-margin) * 3); + left: 50%; + transform: translate(-50%, -50%); + z-index: 1111; + color: var(--toast-fore-color); + background: var(--toast-back-color); + border-radius: calc(var(--universal-border-radius) * 16); + padding: var(--universal-padding) calc(var(--universal-padding) * 3); } + +:root { + --tooltip-back-color: #212121; + --tooltip-fore-color: #fafafa; } + +.tooltip { + position: relative; + display: inline-block; } + .tooltip:before, .tooltip:after { + position: absolute; + opacity: 0; + clip: rect(0 0 0 0); + -webkit-clip-path: inset(100%); + clip-path: inset(100%); + transition: all 0.3s; + z-index: 1010; + left: 50%; } + .tooltip:not(.bottom):before, .tooltip:not(.bottom):after { + bottom: 75%; } + .tooltip.bottom:before, .tooltip.bottom:after { + top: 75%; } + .tooltip:hover:before, .tooltip:hover:after, .tooltip:focus:before, .tooltip:focus:after { + opacity: 1; + clip: auto; + -webkit-clip-path: inset(0%); + clip-path: inset(0%); } + .tooltip:before { + content: ''; + background: transparent; + border: var(--universal-margin) solid transparent; + left: calc(50% - var(--universal-margin)); } + .tooltip:not(.bottom):before { + border-top-color: #212121; } + .tooltip.bottom:before { + border-bottom-color: #212121; } + .tooltip:after { + content: attr(aria-label); + color: var(--tooltip-fore-color); + background: var(--tooltip-back-color); + border-radius: var(--universal-border-radius); + padding: var(--universal-padding); + white-space: nowrap; + transform: translateX(-50%); } + .tooltip:not(.bottom):after { + margin-bottom: calc(2 * var(--universal-margin)); } + .tooltip.bottom:after { + margin-top: calc(2 * var(--universal-margin)); } + +:root { + --modal-overlay-color: rgba(0, 0, 0, 0.45); + --modal-close-color: #e6007e; + --modal-close-hover-color: #ffe97f; } + +[type="checkbox"].modal { + height: 1px; + width: 1px; + margin: -1px; + overflow: hidden; + position: absolute; + clip: rect(0 0 0 0); + -webkit-clip-path: inset(100%); + clip-path: inset(100%); } + [type="checkbox"].modal + div { + position: fixed; + top: 0; + left: 0; + display: none; + width: 100vw; + height: 100vh; + background: var(--modal-overlay-color); } + [type="checkbox"].modal + div .card { + margin: 0 auto; + max-height: 50vh; + overflow: auto; } + [type="checkbox"].modal + div .card .modal-close { + position: absolute; + top: 0; + right: 0; + width: 1.75rem; + height: 1.75rem; + border-radius: var(--universal-border-radius); + padding: var(--universal-padding); + margin: 0; + cursor: pointer; + transition: background 0.3s; } + [type="checkbox"].modal + div .card .modal-close:before { + display: block; + content: '\00D7'; + color: var(--modal-close-color); + position: relative; + font-family: sans-serif; + font-size: 1.75rem; + line-height: 1; + text-align: center; } + [type="checkbox"].modal + div .card .modal-close:hover, [type="checkbox"].modal + div .card .modal-close:focus { + background: var(--modal-close-hover-color); } + [type="checkbox"].modal:checked + div { + display: flex; + flex: 0 1 auto; + z-index: 1200; } + [type="checkbox"].modal:checked + div .card .modal-close { + z-index: 1211; } + +:root { + --collapse-label-back-color: #03234b; + --collapse-label-fore-color: #ffffff; + --collapse-label-hover-back-color: #3cb4e6; + --collapse-selected-label-back-color: #3cb4e6; + --collapse-border-color: var(--collapse-label-back-color); + --collapse-selected-border-color: #ceecf8; + --collapse-content-back-color: #ffffff; + --collapse-selected-label-border-color: #3cb4e6; } + +.collapse { + width: calc(100% - 2 * var(--universal-margin)); + opacity: 1; + display: flex; + flex-direction: column; + margin: var(--universal-margin); + border-radius: var(--universal-border-radius); } + .collapse > [type="radio"], .collapse > [type="checkbox"] { + height: 1px; + width: 1px; + margin: -1px; + overflow: hidden; + position: absolute; + clip: rect(0 0 0 0); + -webkit-clip-path: inset(100%); + clip-path: inset(100%); } + .collapse > label { + flex-grow: 1; + display: inline-block; + height: 1.25rem; + cursor: pointer; + transition: background 0.2s; + color: var(--collapse-label-fore-color); + background: var(--collapse-label-back-color); + border: 0.0714285714rem solid var(--collapse-selected-border-color); + padding: calc(1.25 * var(--universal-padding)); } + .collapse > label:hover, .collapse > label:focus { + background: var(--collapse-label-hover-back-color); } + .collapse > label + div { + flex-basis: auto; + height: 1px; + width: 1px; + margin: -1px; + overflow: hidden; + position: absolute; + clip: rect(0 0 0 0); + -webkit-clip-path: inset(100%); + clip-path: inset(100%); + transition: max-height 0.3s; + max-height: 1px; } + .collapse > :checked + label { + background: var(--collapse-selected-label-back-color); + border-color: var(--collapse-selected-label-border-color); } + .collapse > :checked + label + div { + box-sizing: border-box; + position: relative; + width: 100%; + height: auto; + overflow: auto; + margin: 0; + background: var(--collapse-content-back-color); + border: 0.0714285714rem solid var(--collapse-selected-border-color); + border-top: 0; + padding: var(--universal-padding); + clip: auto; + -webkit-clip-path: inset(0%); + clip-path: inset(0%); + max-height: 100%; } + .collapse > label:not(:first-of-type) { + border-top: 0; } + .collapse > label:first-of-type { + border-radius: var(--universal-border-radius) var(--universal-border-radius) 0 0; } + .collapse > label:last-of-type:not(:first-of-type) { + border-radius: 0 0 var(--universal-border-radius) var(--universal-border-radius); } + .collapse > label:last-of-type:first-of-type { + border-radius: var(--universal-border-radius); } + .collapse > :checked:last-of-type:not(:first-of-type) + label { + border-radius: 0; } + .collapse > :checked:last-of-type + label + div { + border-radius: 0 0 var(--universal-border-radius) var(--universal-border-radius); } + +/* + Custom elements for contextual background elements, toasts and tooltips. +*/ +mark.tertiary { + --mark-back-color: #3cb4e6; } + +mark.tag { + padding: calc(var(--universal-padding)/2) var(--universal-padding); + border-radius: 1em; } + +/* + Definitions for progress elements and spinners. +*/ +/* Progress module CSS variable definitions */ +:root { + --progress-back-color: #3cb4e6; + --progress-fore-color: #555; } + +progress { + display: block; + vertical-align: baseline; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + height: 0.75rem; + width: calc(100% - 2 * var(--universal-margin)); + margin: var(--universal-margin); + border: 0; + border-radius: calc(2 * var(--universal-border-radius)); + background: var(--progress-back-color); + color: var(--progress-fore-color); } + progress::-webkit-progress-value { + background: var(--progress-fore-color); + border-top-left-radius: calc(2 * var(--universal-border-radius)); + border-bottom-left-radius: calc(2 * var(--universal-border-radius)); } + progress::-webkit-progress-bar { + background: var(--progress-back-color); } + progress::-moz-progress-bar { + background: var(--progress-fore-color); + border-top-left-radius: calc(2 * var(--universal-border-radius)); + border-bottom-left-radius: calc(2 * var(--universal-border-radius)); } + progress[value="1000"]::-webkit-progress-value { + border-radius: calc(2 * var(--universal-border-radius)); } + progress[value="1000"]::-moz-progress-bar { + border-radius: calc(2 * var(--universal-border-radius)); } + progress.inline { + display: inline-block; + vertical-align: middle; + width: 60%; } + +:root { + --spinner-back-color: #ddd; + --spinner-fore-color: #555; } + +@keyframes spinner-donut-anim { + 0% { + transform: rotate(0deg); } + 100% { + transform: rotate(360deg); } } +.spinner { + display: inline-block; + margin: var(--universal-margin); + border: 0.25rem solid var(--spinner-back-color); + border-left: 0.25rem solid var(--spinner-fore-color); + border-radius: 50%; + width: 1.25rem; + height: 1.25rem; + animation: spinner-donut-anim 1.2s linear infinite; } + +/* + Custom elements for progress bars and spinners. +*/ +progress.primary { + --progress-fore-color: #1976d2; } + +progress.secondary { + --progress-fore-color: #d32f2f; } + +progress.tertiary { + --progress-fore-color: #308732; } + +.spinner.primary { + --spinner-fore-color: #1976d2; } + +.spinner.secondary { + --spinner-fore-color: #d32f2f; } + +.spinner.tertiary { + --spinner-fore-color: #308732; } + +/* + Definitions for icons - powered by Feather (https://feathericons.com/). +*/ +span[class^='icon-'] { + display: inline-block; + height: 1em; + width: 1em; + vertical-align: -0.125em; + background-size: contain; + margin: 0 calc(var(--universal-margin) / 4); } + span[class^='icon-'].secondary { + -webkit-filter: invert(25%); + filter: invert(25%); } + span[class^='icon-'].inverse { + -webkit-filter: invert(100%); + filter: invert(100%); } + +span.icon-alert { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12' y2='16'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-bookmark { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E"); } +span.icon-calendar { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-credit { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='1' y1='10' x2='23' y2='10'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-edit { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34'%3E%3C/path%3E%3Cpolygon points='18 2 22 6 12 16 8 16 8 12 18 2'%3E%3C/polygon%3E%3C/svg%3E"); } +span.icon-link { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-help { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='17' x2='12' y2='17'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-home { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E"); } +span.icon-info { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12' y2='8'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-lock { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'%3E%3C/rect%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'%3E%3C/path%3E%3C/svg%3E"); } +span.icon-mail { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E"); } +span.icon-location { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E"); } +span.icon-phone { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E"); } +span.icon-rss { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11a9 9 0 0 1 9 9'%3E%3C/path%3E%3Cpath d='M4 4a16 16 0 0 1 16 16'%3E%3C/path%3E%3Ccircle cx='5' cy='19' r='1'%3E%3C/circle%3E%3C/svg%3E"); } +span.icon-search { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-settings { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'%3E%3C/path%3E%3C/svg%3E"); } +span.icon-share { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'%3E%3C/circle%3E%3Ccircle cx='6' cy='12' r='3'%3E%3C/circle%3E%3Ccircle cx='18' cy='19' r='3'%3E%3C/circle%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'%3E%3C/line%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-cart { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E"); } +span.icon-upload { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='17 8 12 3 7 8'%3E%3C/polyline%3E%3Cline x1='12' y1='3' x2='12' y2='15'%3E%3C/line%3E%3C/svg%3E"); } +span.icon-user { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2303234b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E"); } + +/* + Definitions for utilities and helper classes. +*/ +/* Utility module CSS variable definitions */ +:root { + --generic-border-color: rgba(0, 0, 0, 0.3); + --generic-box-shadow: 0 0.2857142857rem 0.2857142857rem 0 rgba(0, 0, 0, 0.125), 0 0.1428571429rem 0.1428571429rem -0.1428571429rem rgba(0, 0, 0, 0.125); } + +.hidden { + display: none !important; } + +.visually-hidden { + position: absolute !important; + width: 1px !important; + height: 1px !important; + margin: -1px !important; + border: 0 !important; + padding: 0 !important; + clip: rect(0 0 0 0) !important; + -webkit-clip-path: inset(100%) !important; + clip-path: inset(100%) !important; + overflow: hidden !important; } + +.bordered { + border: 0.0714285714rem solid var(--generic-border-color) !important; } + +.rounded { + border-radius: var(--universal-border-radius) !important; } + +.circular { + border-radius: 50% !important; } + +.shadowed { + box-shadow: var(--generic-box-shadow) !important; } + +.responsive-margin { + margin: calc(var(--universal-margin) / 4) !important; } + @media screen and (min-width: 500px) { + .responsive-margin { + margin: calc(var(--universal-margin) / 2) !important; } } + @media screen and (min-width: 1280px) { + .responsive-margin { + margin: var(--universal-margin) !important; } } + +.responsive-padding { + padding: calc(var(--universal-padding) / 4) !important; } + @media screen and (min-width: 500px) { + .responsive-padding { + padding: calc(var(--universal-padding) / 2) !important; } } + @media screen and (min-width: 1280px) { + .responsive-padding { + padding: var(--universal-padding) !important; } } + +@media screen and (max-width: 499px) { + .hidden-sm { + display: none !important; } } +@media screen and (min-width: 500px) and (max-width: 1279px) { + .hidden-md { + display: none !important; } } +@media screen and (min-width: 1280px) { + .hidden-lg { + display: none !important; } } +@media screen and (max-width: 499px) { + .visually-hidden-sm { + position: absolute !important; + width: 1px !important; + height: 1px !important; + margin: -1px !important; + border: 0 !important; + padding: 0 !important; + clip: rect(0 0 0 0) !important; + -webkit-clip-path: inset(100%) !important; + clip-path: inset(100%) !important; + overflow: hidden !important; } } +@media screen and (min-width: 500px) and (max-width: 1279px) { + .visually-hidden-md { + position: absolute !important; + width: 1px !important; + height: 1px !important; + margin: -1px !important; + border: 0 !important; + padding: 0 !important; + clip: rect(0 0 0 0) !important; + -webkit-clip-path: inset(100%) !important; + clip-path: inset(100%) !important; + overflow: hidden !important; } } +@media screen and (min-width: 1280px) { + .visually-hidden-lg { + position: absolute !important; + width: 1px !important; + height: 1px !important; + margin: -1px !important; + border: 0 !important; + padding: 0 !important; + clip: rect(0 0 0 0) !important; + -webkit-clip-path: inset(100%) !important; + clip-path: inset(100%) !important; + overflow: hidden !important; } } + +/*# sourceMappingURL=mini-custom.css.map */ + +img[alt="ST logo"] { display: block; margin: auto; width: 75%; max-width: 250px; min-width: 71px; } +img[alt="Cube logo"] { float: right; width: 30%; max-width: 10rem; min-width: 8rem; padding-right: 1rem;} + +.figure { + display: block; + margin-left: auto; + margin-right: auto; + text-align: center; +} \ No newline at end of file diff --git a/Drivers/STM32F1xx_HAL_Driver/_htmresc/st_logo.png b/Drivers/STM32F1xx_HAL_Driver/_htmresc/st_logo.png deleted file mode 100644 index 8b80057fd3a454a97de1c9d732b7fede82c83227..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 18616 zcmbTd^-~<*6D~X~?jgaQV8LAj0X_tm1Ydk1xVy{Z3GPmS;IP2r4oh%%cMl#Qcz~Pl zz5l>lZ`GVRHB&V|boY7A^z(F|Z=Y4=aIwg-006*MkpHOuZ?5<^0x;12-SsK9!v0Mt zmQpHG08kT${nrHb-!rC@ysj$%ki7ceKq56ESOEZeJ%x`_nqEey{^(v>eK${gL>pJ% zX8+KBAR_W-jhDrs{egi|sP<73DP`UFoa(>xj;8qknEx2bL~2@t%3k>}hnl@CWQrW@ zqfK>@e3$sL-m%ftg0YAkk!@=P!Ognuz(zhb|Tux{FeX<<7(5oLVU8=W*sUZ*$TqlSb6o1O0a zzeP#ZW!;?#>0N5v?0D|q?mzD8-<^@1V0FH{fY}2A9ooXbylcB6Y>PVo4nMxLi|AWA z8M(b#9`j|%0v7ktATOSzsh-T7%Wqa>t*x!29M*iDetE6#^`?iEoQW5F*w7rjcWYw>-UyKyDHetK@Im)qdu0o-zudq@gQN3)r z=(%XIh|%7(Y}2mODA6--)=u;7mi|lUCki50L@QOyZN@2N`Bwwn9et)BF?yQr9`Sn# ze!a;09%cuNiCJ+Hwx|5Sw&L`0rJvq<$7D5j#Y=O^YcW)1x!+MVRWRVHrXDj~g@40Q zBvp_niE6-dasJKX&t@%;X`7_R9QhT$w_Dv~zW73kCM;9WC z#^@^R#^^HZ#`rQ5ZjC*^uYUMgw=ae5*IV2JyEL@LlJ1k!yA8p=fmyQ={`Pjq&sK}Y>k9r>*Y-3njDRLc8z*D?su--n+y(fpV8FB zwS%vLw=L>F9>rMJzXaXgg5NRvaHPKO=qdV`%ecKE^q=CNs6^=Vl)5QG9h0>AKM-1F zvU-S)!Vnz~yg}XNmnaKSqm&}<1}#nOBCWZsLvn3_pkm8Z)~*KF8yv=yRk*!4rf$7T zT*ey^g`%>`O82HoVNPMCaM^5e_Eeop`^`Wsro=Q9SzJ-{LW5j1QdRH>Oq5bEX({TJ-TNGPvNBrk5{my=8FEQ%0fftv4 z)$FK)-usf%cyd|Y@=r@u!~HI3-5_Q=E%R!AkEqtv$Yv%Zit4K`i*n5tM!wdwLFM?% z@N0D&tLS9%TD>`41R~`%HzXtZS6pjo$}fsAA6cq`&Llq^TE@#ID4eU}(xZH$-0oa>g$RMe)N_S(=w@nXEL&?{|e zd%-=H@Ei^9kz3up?3!?QYr2O7^M9)q_E2E@^vESGQ&5WzDh<(QgQEd3BICrRm8O)S!fPO#z(h0}Vk) zolMw(Ecl!UD7xMUH0>?+9qzTMCMQxcM+Od*!L7F!tiwSSG>D@|J~*c~gu?`RewztA z1cO8*h9GGR{``zPp9t6vZJ81Ar<-bz38Jv-ro`wI#Mq&-k$*5tL<>Pk=)T1H_z8YhPJDWCuq5c#f&iDRo3$~XHhc-#T3{whJvB?;N^IKpX^H#=oYNa@u&^9He20t za7qlYKRH^S(Tj2{XC=lPI|MVMOVVX4V8cbx(9Ix%YK__iyN9E(k)118*aO-OzZNT# zbhE^f=Cze>bdhX>8xBFW70+=Tb@QnIyKKmQGt`}ZHXrVVWgxIT1k&eFDonM5iFh{^ z;FtT_qYo%x6$`ChDD~;i`c>h@T~X~pZ&-v==wrV4)ra@?=39Z}7c)OR&&9#@9uxU( z?hh)jyY_o}tH;1B>v%95XoGM@gDYB{I@;aJAn;N$2z~uDX|IL`uf-*Mm1ic21|E8c zQZWw`gvb==bz|iv=774j$zii$vlW@T4LDFEfea$Z+frqVA{<)qP_mhp2AbFqEE(0z zfCJgi{n&vKxpSY#-W)(E-Y3u@1KQGcnWN=qz;Nz2-6>bIL8wZk?oy8xe49zo9Evpm zI>QVA&&4C5*aCjxksX%9lfPpQNw|#TzMQ;YvC%Rx=uA#dmU{e@tzaW&rq}9N5VXBw z6Mff^1He^5U}j4TZD};Z7u2!LZ@OjGIPgR|MLZ*9%)E@0nE%K=W5s+NOT~n_{fBc9 z8DlU6un9om`MN~!FtpPXkJSq(+KPHqF&N23_vGeqphc*cEAF=okHGoFWHHWTm&R zAZXR)=q}Jv`jsvKCoL27h?ylNq0fz5xasR{P`5RW_7kzL^b_#T@e?r5nGKuMX?!lz zcEq|hYJscWj{YtO1of8Xi0jH z6s+!rS0;ag(Cml~|NKB+tNwwq9kl+8wc0!T$L$CFw95drNPiuZ3jOf4G_NXoM$sQj zZn*2v3^ISC(OoqO%W>m};%SHDOcD)D7%f&?jnrI9&1_u;6m(x2g#=wb zH$Cl!I6f#QI6iFo2i^nPy^8_Rt0g@Gzv3FoK629)r#wPie#!P^T*B)9JDi>Qta-Ee zyLS}t0#vL+3WcNfUo47o=g+h7Q(waq$0Fo`#^t+!ugP{n=lV`j6a9^vBl)I!L&VaI zK(10FWw?KM*=_ynJ3HIwyD^##=aKUk4u|yIYk$&C>^B?x{I5c+Il`m3RQ%_=Tq`!D zQw3HQ7dw%VR~rkqeqr+THi``YT){njI8j~%3VNWBl3EUyQ zx>y&BaDTkwjg$12&1?kD`IcCB_?j~8XMfHm4iQ(TCj7-)DOn-+%UzP)ab?nnNlfTA zh(FmGsK1tl`G8>eb=1j~9lDZPh<*?zhjW@Gx5%UjcH4 zbrrd<#%%JyFrW`_Loz= zP30^V%kIB;=&%K@{YbXT6@(|c>dXlNk~?15SVEmMX6`Mjv>+MN2M$^N?ju|1T-qoW zJQV;x5rIpTc>eCM*`;fq^U3U2uW>l1RVxe^4B$CEub2J}+bN)$=(gE92((ah@ar_) z+I|k<9;iL6@Dyhc+LX|pTR>r3{P!==s^guY!a#cZ5Ry6QtTzvk zUh~+ICB=TnC(!+~G1}X`=zKbJF=VNy60Le=gO@j5lEJet5>jc!PbM+D!ZlS$KuYx&pkm{S?k)BU1<65@ z({=ySGqzCiV-vc5qOJ z48y)rR(Ys{uWIjyQX*o`4?xK$K9nE1K!t$coI~(ku$IzWaVM`ocnY1)=&_o_R%I_2 zZ_{Cs>@7#7ktZS)0EENs++_HHh39c*#7z#Pyifk3+e!lsET`nm%a#Zp{hflp4Vw$+ zOju*)#0tN99xzE1;G}_c;Oj@<_%Z8;SCB3P74uOYE__wpp<3HB0g0wsxZ1toEwg)5 z23F}NQwRV%3UQi)GQQt^$a%zzV8w>aIl;CkQ!6h%=n!jXPZ;sfULBWNTi1QT%V~R| zdrjBQt+%&EcrjOO0&pO(SR|R1%nis?Q}KUl75Q=`bI5TGenEMls+QNXGp;Grr-EZVy`f(ovFSmI(u6D90n zU}rWOG+9F)ioe9yO)lx~AD<~|_xP=uVs4I z6w+kccIU+(Ltf0bDM$mvJrBdPzjnQ4w#L-qTZ+S6V5l=pqj|%(!m@K!R(Sm5G<;5V zXK~r#d34;M-;>*+VXbyWbw`4vdOanA^uK`Ag&w)G;7}_OpATxWe^GjFe%&*Ocx)w7 zwt4Bs4luF3C-9V+n~E!?(W3d6$CtEn7OZ{~I`6iW|1x;QzkF49GF&d=Wg#fC2^Vn?KLfW@n~pFc4gBpg!U$uFR0 z6`f||PCJat3glNlwW|z^j;^p%9oQc82S&N+!L>xWR*UT~JbFCj)0}2J6c-rV3iVO! z`IdFp zB0H{SvHRu;zx(EM(0%j9fA`HVZ|@5Oo0EGok@w*1K*{Sg3QERYynQ|7kzI{t_?~>T zQGQ|?TPR(EZYAFen;>d7>k zc`O4jwao>J?dp~fG@8l|SBHzOE5h7?Ba_OYs%93|;KP${8}j%VGb?LRi<;yffk06& zmc)TH`g@-+zt@fG!z|MO3057>Y}ppB{w8IS2o68)NnHSA-jKa+X$k+&Klw{5Ksly#ye_HBKV&h1zbIsIT-|0XRq)zWf_~s9{=n3BOfpPy7{f5RZzL^9tdzjj zr)R?-SV}4UX;&dWNKq={6q|g;FEbIjXC}?$K%uY_ur_MF+MkJ>-c@8l1|6F7^BR4N zf%t(1oJ!m zg^z<^ddW{6+A~!=F*1he)s`5=HR&3O@tjq)pn!{ zodn}X=d$=iUh-ibxQ>PQw|#fHTLppRwXG}*HyUkLKB?Vxf>#@2_z&V#B0Cjvmfka$ znI~k?Pp)A)OXy(kdOeH7nbmp9bNb|>|e%T7Dg>BKo&y=JzU)v zs{+P#O$)wko3MOQY!bv_78@Q%uABK!ZPIi<~iCxyQ>J*D53j_;0vks;+?UxqO^ z8)9k;>&t3F)oFofc_t(0cdCn(OIM;4fePgKSw+PKcigoQR9JV_C-y`&%By+|aMjTd z;$iN6>#`KNXtG+yNhfl+PYn(#cr;Nf>DZ1mRU`A-PFI}Scq~0EgRR31c4LZcz_w!3 zU&-x*oGPQoz`-m#bYEC;V<7tHiC(wn395M}YNU9p|6@2$$6(9N_DyMjuOwT6X&Cu> zXg1{_^+%NsBhDf;)3V~J5%bl|^XVjqRgu^moR2288%NOgcLoNBkN6t5F&l2`tPvao zfAbQy!&*Ln*uWc{tVDqwT1{Q>{s19S6+;c@2e$2eZd>zL~I~M}G^8w4Y2bnyq)>=S+L6j%|@%XWqbYm%+}R z%Jg=|X7Y&0*lujN6>tzy)?{CBuT|FT#I=sU+569+)8oyIH?8?{Y{Im(PMHAGs5_GI z>1wLl+yiE$+I28-c2!jx)_?k2nIm}7iH=O{X#yL$s@}hUPf^xece9Vi{DUPRKm%@= zI4q=C$Qla?I0{;1W!^-Bt)o=r>#KNZnZPW3piq_&q`~HLF~1_^MHlt66*62}BJqzu zM;g!LlycVJ?1ohPMvFHu3^-`<`sR(iyLG`EB|;bk%3GG!#?x`m5gx zWnZm7bb@UTrR9OXVs1t)?(5a%Yqq>?ivrob2S7W|CH$C|Kscw z=5hgFRsHTTA{lDQ(a0VW8vk$By+wL4Ao<5{Br)oU$x2pMfJKrlPqr@4P$Y9Nt_7R| zCx>hhMeHtjM0mJ|?T<(EIY{^^cAiA&R=2C=g&o@6vm!E&&86BrLOf18fr==x77OBH zdyOvB1fjqxDMa5;G9@=qu?tN_vB?)=#H^qB;g*jHrr^*ISGt+pLXyWcu+bAWNk&IG zl?zGxV&+)tmQ@d~T5Yypa4*^P5t*t6C($W-Y9zknsGLXPPDR^RF~`>QcV4iB%ltJg#%JgzSOl!L!d<7;Gfa5FAv zjVdBTD(TpZ3>zF8@VbIAM{aYtDv8fh>oAmOoV`*>G_abe#aOPM+6b%!IzPP2K{>A5U*>>2+^+79)a z;+jQ03qhGCNA7Yx7^lX9Ba9FuFHNen`s{buqNeEv)$x#QoePK6M~soRL17NVafu`4RB%F$`Pl z5~X9X{(zDkw(=x-=6pOllhfSrJCozywriAokKZ^VZ?epc?F2YfOmC=V98gW?oL=*# zC!4VJtdyAXwE6cHlNoijVy3KiZxeTrjL5AO4?|IT4#6gV63bUTC!(fd*MK@3^J@F! zOg&Y}^l`KyT>$RnH8O17_%?_PVh?o(+5L|_R7c|c+R_PRXb26L8QM&z+5MaH{wtOk zn}L=^TXs*WwrBLOJ6hDKim{LKAa3?WEiRefh;#TMZ3y1zA%QAUYh={Ux!GU!o~ zQNH$+pUp$BPoB27%q zF^6BflF{;t=SZSz+GrMJ3q~ti7gQ;5SbjS`5!DFxQB8KOt1OQ(G%_V;vcdj>K_dXjNxb}0M?HyjDs(afDCVx%>+I2GAO;jMfy0Iwh$=Utfm z5snMAm4|C3O1?MDEQ%I@RL1I{SrN67(Q)b*7k&Ip+-THJr%-;ILx=v!SaW75@EH3` zUhVOn4CYZ>iZ!iaGNBq9Be`Mcq5Opf?{HZfcJM-VDr$qSCy^3Lij|O&UW{&ffZ&!( zaA9$H9_5lFs;vRx6|mmn{Ic~u%y*(_t~*m12^>%iUOQ9Ap<@`U;!iRpBZ5y=p}@B6 zSP;R6QS{hs7)q75Mgj7814d~Bae=<{A1Z5>;LN66N?m?;5pl?`*_wW1l4a8IBb4tyR6@^@^BOm`{tD6YyAv};)Te2G+K}4;<~T9 ztiHbWTlGjD1=omQ_viT9PJOR7GjZ^{`7u?a_$hGpx54G9Z4Uj-NJ+>3SA0ZSx1vXw zLxYWusP2Sm*#o~_#B)vb&lTfmtsonTnPHIvx!#}HYvp=bPcZe zcHOCWuo0{MxR+#P#Pz1PSlaT$g-HbB!hTlHpV_F!Ay^U-vb1-6W)!xh?3imeOv*Z3 z=D=Ij-4e>!J=_Q#nqT5Fkomgv(@3uQo!?=8R9Sw(0)&ni z2jsV8*xm^OAO91C)$^*!X=%ZHvh_G35URQ9mZ|{A0)E?gJcL0T$H-NA92s6VF$CYW z9RHBse3R!V%B}9#+)P1_9L@j@2VcH-GZ=N2{$k05r?kj$KxpvthW zd7m|F4Ka%sEOHJC`oN z{Q9h2$S$VYkMHBEw7ybMx&7`nIaMLI5n~s)u5f7_tg^|2p4eFF&|6C45|-}T zY2bbCicJ7u0b>nvzMSvbBTOChoOAKvC$b5)Y}lT;{a-@oZBJ!oQNfsC36M4qtjvVR zX;Qkn$Pw56!sOMyw2f6>a4-#^ zy$1D*lt}-KofQ^atUig?;uYP;un=4nq7RPpS6+7^7eT`a+9Hs&(5Wu`IyLv0kJINP zH{2$kHb`Me^3C!975F7KG!qcJ%Ot-tp1f*bJffu1KR9B1lQ=XYBq15?hlJ33*QN-~ z25i$#OI}x{k+-P3EKo3v2XVk4?t;KE4nj1dk!Zo@w6D?!o#k^~T|3?;an*{_dc}rZ zWWWrKbdBu0k$7Zn5A%~0$lei$vU1P?CE&!L*!t%`ziuxu= z$+Xt=qUvFYn;a&JSK-D!mWnDWtF|5q!R|hT$Hv!*O-Hv$ zFMd5*W#~$3AJN-2|IVd@2bWN6TIfD_0uz(~vS50vn&4k2seimRF5`Q+1IS}!NNHN| zuWuQz50#5kO>f(wTSg+{VKXLrOZR$Gm~DhS1f%%-9{FGG$s*ZrqKZL|g5VaRU11N3WB;tGWJx5jj1rPZ1}$YE7~gsu zE25FmauDeN0tjmI!T8LA_@Jktp-r4gQRI3~pz@ext*^u56U%RNNACtB2^N&i&Zkq_ z`%gV|mr`$f?Rog-De|tRlA$9w&gIG-7Zqk}`K~S#ez0!r0TA4$*?1vW^S1eRHim+x~x!Fuo?ZZGGykdj`C(v!pIX!M7^#v%t*g zcznI+6jSi4g8knZOJ2XD^*-Nu8++1xNL67@Dpa}id>w3=oC<2l|TauHqSGbyr z9Lb=M3fe$ymZM2IcIy2$WhWPLfA8YEy!~$2XHICgk})!EbwTa@re-=DC1|8#7fNFq6gJ2K}GKAX`f_@q32jY5x4yTSxUH;`}j*L?c8b@JA9D(4X1n>r5 zmjA{5zUzqX9?77@2f4TGSC#Gv z>RXD%m8Sx#GLz`?10nyLA3f`rKtm)2mp8 z2WUMD#ZK*6rx@tHUO&Z&$15&*p$9S&RarVs7nI?jWCTx!i z0n`(39&^Y>ScN)8+_K-B#JBi}jEM2qqgbCqWKx*4*ll_rs)9n)b|4=f&23 zGJ5Ub{5j_`P?1;gHXtz{3VvNPjI4v63M z7VR-O|JQRM-E&ZagmZ6Y#+`oTU{Zdpg*T>rA?e2lXyimlx-MsB_vpS!^2jDQhm%@q z{n8XwoaYQc8y7Itb%2)$a=$~0tev`)%-s+AXZ8I@XV4DuPx#4Z3^R?1Q&1e*!{+@j zwy0-{m|^s)xqlSU>jQk{owo@5+inF)-p_24DlAw`pUe~G8ATB<-h>G97|FK_kfkQlN-!Xir7CB=dF)cJj`)++W>CeZ z0KpG5Ul%&-7q_N%mRtvtM37+jS>A#7p`RadxDFCIFsAEA)28 zRc#)^^3Z1>`W_P8_n+_5l5pGfayTk_=7^k}d#ir!c>8mR4k$J+> z7$;sN^3k#e1A<-CaO6F6V7^1u(puc4hVnfPK2u$wSE_XF>^Bp?OAv{2Y8)b{(a(2LFQfe!w)T1x>k{ZpuhTF(Y6rhpZbrH!ElxM! z5seXw{2(-vFEyNn8P2QzldxYgR;$=9Va+n>oR-HQXL;u7|E|m|OuX!t) z=Y4P{a-kdSJHXaCvpi=8=DW$Bomevgq&Ys4T71MX_~k_QpcOJ7j|>5e z8fKax8KCNY#00?1+;-F_`mYl6?wiA0M9-%AWH7g{~~uALu>r1q7;w|*!aJIeE{mR8WtR@KBhs8TcC2jA=CW|Xy-ycIi>d)c7Okmo?_;IS6kWJ z(`FLRj~hxiQw>hGi`}`RB+q+jpRWZ9z114q7dyj#>yMG?n=NfcSz}CGOi5Bt#D4u( zFREX`PCs3=cqxne=H=$udT;=|-YI7ij;hPlH)3oXm z`Zikh-OIS^*V9YKw;%r4iW?YA#ppM%LKP=jnMYQ)JEBqy1t4U@E<8VwMW2U*KvaS5 zNDwVyHjTg6hvcbS>{N7lJu=~^Ut)S#sq~v9%#hIV2H~>o^9=!kEGypac0E4e6TQIW zr~+Bn`Sb4k*0*Zts;f;Vq@fsZn1hLBQyIO8W(13u0211vHK)RMC5neH4xx7?6jMVOl3i-ENH1NU{ z-FW1hXwfmWi;TOg`k_dSL1ckNlukjE5IiKg=2DaEcWG#qTCd+ts`vavz;Wye>fPE6 zy5Y~H#6~R#r29XgZcKEUWF`#TkPjT0Tb$nr`$rM*rO!0=z{AwY-%*%Y>1iy07;xo= zlqRRR7Oc25bnNStf}IG@3`}b^k0oTD!zg(19YJjRnXs}9jracK>Fw6_hgpNk9M$d_ zY;%@p@*94vn6~^S;rS|c_SBN9%41Y5CNDz~xgJ>zs5bOlC^*0Hm`3d+UdEAQlhAJ~ z9rS!JpiEjf-g5TxWc*_}=Uu;kRBG#hg)R{HVt_KfnWZwXW)vK%qN^F`Uk1yRWlJX^%Xv zrk4pFBKoY0c4V8}-7;k5jeHn#no6bE=CpUiQ*YjAXr&^e4Ji=kd5l#`F`6lq$7V{v z3HxGM@4$C!_rCJ0-}}J#b+>i@#M5T@ zDq!my3QKfc?}%tQt*O2KZN233YvPN6nJ}^KNmAv>Z%4u&!~ecZRVXA}Vl6Juc1QC% z^+u0V1RbM%wwc6J;|v%G|8k{t}#XaV3b2aS>;{E0?a{QN?D zjap1}Foj*+4gOfLe03+j+-fGX6EVmh%q%{kCs18^=Y$ttM`Ru~Sih(@mxvo*(|OHJwq(zE2(ex%#gkzo*Y14gL&0 zb&R`Soa5K^wB%jo6cc>zQGL@J1IWOVy&G6nrZ5tClv8t|5cv^+Gb2^+T0kC3kdVb= zzt>d9Y8%qhJjVP{A;^*2E;@stxE=CCM8#hlN3jEzVQ}z~l*fFX-3jF?-%dnrKMp>* z+*ojsjy{>@Jvb5ZmHokSc4fmUNZRBEvkDd^(WV&AoGicLZM&xx+F?MzT8H=FtNK9| zS}XSejv}P(R*P5=IL)L^{d8bx{SC>9DDxXj4@z-n^Hya-p}k%LC>kvh2A}eK-{n8P z{ymeI^r5$}WuJ`hTT7y&m(wGugFoqC45jML$-|3L7JDo`mbG@4AeOa9^F5Xfc~AdJ z6z*HExRMYeE;qZsGE(eCPFCa$fMk$Uzn)5Lqpt$(K3(+J)whl&sJ0{&+hDO7rV zmH=Vx#~{t)BZI;GL9NP4eoCJAPi}V8s2_pM0^Qn!dLjeT+!j52$p%MSaS9-1=VIXE zZZI?CV3-Z~UNNk|?P_bEXiaFvcS$(=j(imNA_Txz*qk*3Zt> zNTsgN3vU6G(NEuWibkSSE-gZ&wr@}`tuvHEIJGFQY)vT7_Sn%Zf>;noCdR{II*9Uy zi1DPT!QZt9edc?XCO_%vF)Vha6tK-jiPV+wdZr2-8Z+moIE4fA9Um2wrmprd`ujDw zA4$!<#8*6C%(UP!wX!r@9XeCS{UX~rhBT6- z&m5@`REID~K)qRRLN40)>Fz=?P=C-jXZA1}lMo#Lic@|(zYtC?Sr$}gjz;wX-)dH; z>kQvsjFQ|FEvL5r4GE`Vi>HJ+qxMkQH`jx)M#C81t{fBmVaUEu2p_>}$^Lp*OiKYZg_C_ycw2+?0OT`)la$oyQwx zn_edD@HInp4-Gny;i{I~SnCp_RpFSS_!Eo_CI3DYHotlBCu`)~d17BV58M;K#oqAY zMpX+Xw9;xj#wpOozs(lT<+Th^5&14m(|Q*%;z`vKh4SNgAVBe}N~g2sLPrFC2|fE< zFpnnM-xp>{8@7DssTYKd@0S%KXilVkqrjiHGyiM<4X=4ToUoPe$O?bRyn$W!y*w+D z6&Dp2t9Ct*jrJO53Vv$UzniUP=-;pr=_NhmXKlFLRkmbSfW7QwHhvWb87Y|_ zx8ovSSXKm9h{zGnW$Hh-iI?ZMHSbjn*3Sh{-$#hX$;rQovTb9bL)q_$Wc zZmKiDhCM5p5vXSn($(MVPz`Tl^8Dq9O!MXzxdIh}Yi;I?zh>o(TXxwNlF}fbbJWC- z#GcWxTx796z)2UUjk&XWZFb3^oh-r)7Kkx{urkexT2D1!HLjPN~zvz2X#hz4#kSWLV*CW#DJu#do;exLU5E*Yb2H*HhXE&}5w)`L0O>xl{F?nRCT2 z*sv_q70&aZdR}eGSdA;#MccWyIlME%-v<$!Uv*^qnA&%(krwShZthK$iyit6H#l;> zK-^@!-w;mtEMfj7rnxx}?MKV=JHn^z-cHiGPN(d-mV0j(9hnwwg#l4%su_AWn&D=e zjR-cx9)55a@TwJcUi!8R@A2vD&T99g^diZcn-!n?8)u3269>8(cQRcMciiUGO^eip z5B)0E8kXbcz#sx*&|^TUl$Lb)lb&Ip>#TdtDfUcwzE~nzmuQ7EmTjAgdgUiGuSuNa zpCb6rE6(O5o(^pW-+RuE)g@nrZK=PFeQcL58r8o>9J$FQ<9+2A1d*DBdQ!b*dT;;4 z$Xo4EWN=S2^E$tAy9hSL=6Vn#bHD2g;0=sNhjJ6d)KUocZ)+A6o6_A*qTK}$*h#RS zyk#XkuOO@^1ht8v-%9N{Y9oewzu$e7L(scb^mXW2_TiW*-y)vNyH`OadIrI^Y>*Zd zp?=ROXFoq0Kk^tpwCFt$B)QKsZPM$&nJ*fs2;Xd)FtPd@FMUTnfVUp;sJHFaw;TuBTKR%BOW_}ClL_Bhz{A0l{Qgc%@tjIWj2ys8T z-56z(;=%E*LE!6!#2)6$>Eq4>1p;7`)Z_NSc1X=l%@0`gB7usIOR#p2{Cap%H#@u+ z`w+GL;VMer0DCjGMC|TGF_;&EgwZvSq=Q8@4}X7rF+n51h%CM@hl5WX$J z1a?I~km{+qh|RA-3+BNxgHjmg>KA!Bo!rA$QbB?cckI}KdkcLRox3JZd`fkXjx#A+ z_&En<1xc&Qmnoz0c*OV_guW?$J#uUHP(jS@beks0sZ#) z21ebzv6U?Wp@^S4Wn-$u_zmK3cE*C1Mlc5xAi|J_lu9>vY@H z+=VfBpk=&5g2V=pY;m2PHSN1`4hDAzs43VInEYm~-~S`AxRI%f?TU84wXtx z=s<1xk#OUIW)~ZG_2?E}ncAz?RlZ%Nu{wqJtc71aL~G>$Y^@Cl^I zh)|w&6EwGxERMm32{6|adN{lmCnO=?!|jUP3Ws1;e!SWGzjeq)Lvs!ZTTq&ie5vo- z`1p%Yqwt8KsRfc+Zbj`#L-1}(Bwi~Ax5qO&ZU@{ejQ+Hp4mt4VPoV_VeCr(6zF z9UR1ae&+2iX+s6E2V}Lxc6ZM+-8S6$a@?&Cn^C~=sPX~d#JLm;5Qw1n%IW*&PBV?q z09O(5{}gEc5xG_jOowcjF=x4y(&YamY5r}Y`?S#80Bh&J&-}>XgL{roRVEZo{x*i~ ziq&;TCj2%^Ju@%&4lTnyhe)5-5PDrQb*+9kAHW!EOaiu61g8cl_=CS1bA@HjhP}H5 zEBJUSKy2WF;ua_T{{-d-8TdvHidCA`BXq&j4cFtL z^yXVy20#nD1@%y@Y5U4sF1MvXa8K;F7B|Z;gH>tspveGY5S|}@U_A#|Imi?6GS1f%=ROP|BEkV#WqVG3b_;n2 z;H#;^adfh%ovD>w5Gs4>tI$7iJW3x%2mWus`fl%IFZf2qhN?JgWZYM_WBdsAyZ9Ln zRkEUt($@b`?c4fgl`7mn2lzu)}t zF)QPs=rMRr?Dp9+=yMv@`)?NKswHtVMS+34S>A@W)D9NFirDEhF)P8UhG0LzO-*O0 zw~iYtAHX;-bhAs~r#R<26~a<=Te-BB1z_}yavF7s_X>@Au~8kI-fv?*ch&2-MEDeRpn$| zQs#J6{sP}E#c@zKLH{=n*1NNgxp^;34)cyq+y$_nMaXHdPefdQB&ZYuaBF&F+#jI) z5iI(HZ*=0~V#^Xg^oqt{LGBS3`Mzzz-b6=qrl1#6B|u? z)MRjg9LIM9!?@uFajP;=#Ssg@2~wUs91pUhTWF1+X;!z;#!7zZ!HA3(S&VVh0-H-7)D5Ez?jhb5*13LRK%!y+ z0JbakM=Tfr@d$}P-7SM{#QqrU2pOeg#laPR_u*ECoxGxwD+5qp7mJFAC4KD`kx<@y z!H-TwF(`nXfja!2zxynS|Kfw?Nv{=+iYwx~iR_4 zsDFPJT72Tn&;L~mWIpqIHR?q6{H5=03xogjIQ00LT=Sm?Yu??dTo^X%GTU3y3 z5U%wt^lQ~lI;@oqpCR=JSG?o&&sGC)JkTBL$iPQn)gVhj=u1Ww=)nAbnfA|CTF1W} zHDFT%X57(fTIQ+HQ=ZLM-4b?z)=H^8gSHr jqXrx`;HZHtT?79Qd=?ufS>7*000000NkvXXu0mjfyH5ns diff --git a/Drivers/STM32F1xx_HAL_Driver/_htmresc/st_logo_2020.png b/Drivers/STM32F1xx_HAL_Driver/_htmresc/st_logo_2020.png new file mode 100644 index 0000000000000000000000000000000000000000..d6cebb5ac70e0594cbe37a6b60036a80ef3bed37 GIT binary patch literal 7520 zcmcI|WmKC@*KTl!K!Z~t6qn*&DDF_CK%q#B6QmH_DHL}I6b%;K-J$eBN|2xh0+bea zmtyV5bG|?CpZBcu=iF<}z4q*xz1LhL*PcBwx;m;Pgmi=e0DweYO-UaBz)*UWZ}4#+ zCC-V!SC16}H#HLv0Dy?%--0o{5_}H;Jf%=ql7H=+dziOk_)KzUSaiQ9L<^g!49k}} z?4y$V zrsn3Ul^TY`00G_J_8;F7Sr5c3Y)f-yOYl{fS0avfKJg7R%r!y-ohcBkr6XBZBkE)( z_t+tVV2}G1_CN!)yWes*wa-AGwk31N_T1`)4COlfz+o(9S90e?6jHV4)!>`j+oRqp z)gb?rtSdw<#&c?q!OKB+Ncn!kr5JR2EYan8HAPXBw*Oh-F(6GmaC!`$p7fl!_Cdu> z5@PUMR_K5&jgevDepWqepZVdMHR$q>ga=7k0ltW$HHVn>HRa!#(+BW_jN$5rx^MtR zzWT7tNWQeFzEp+86jOYI=I)*GZYEiXlf-Mw%tJ^ptL%2)%#PmUjxC4wx@%KxQ)8kO?|7E1 zd@5gd9_$*6nx?fj*iF_EJT*PYLFP}d8*Fw>cu3@&nm%V_C}V7HMmg|Nl#1J1^#)uz zZag|X>{6j-myvL}3(H8o3resNBq_jcuJuyT!QuXnNN&zG^tG? z>y*dy1#XfwyCE#UiLT(~LYAVwp)epErJLsHBA|l0xo)kxLAPob+7tFlr{7x8(#v|O zknK}QC6|~=cTJ0;x9MWMKua;LdTKIHX>35a@7{5y0MQ|zqsP64mM~`gJ&&R{pSUBA zf3Y>k>d|xdzBFztjtO~{y%@LUdwSgzEj=69hH3-NNWx7<|49%2%lvTEeE3_|$~iDd zlktnxf|NB>Bui)yY;%TXgWA;rhODxR!-4GzxKd473I)3;j zS4-Vun<^vqZ4)HbwVzq%5%)S!>Q(Y&PkF ze1ab_oy?_$PZT-mKJ3K^;6MrB*Wc$lkYJ_460AFYEq{AjlDxm;5GRwOsm>doJy3Z;a$FSu-q`X)Hw&o~?_`Dnpx4dOj6#)bGOdZbj4hD`l|&#v~K+WrGO zpLCVQg=*h=4H1sK)D*Pxtb#p`c+g-eK65k!CEZjLIrfm}5<4@KVqZ#8(S$vs{?Xv) zN(}CKeeLR%I)W!p(l-`utKmBbJk-On{)ciqUN5%?TS8uwKU(8}Mxhsb&qHL~DDcB@qi} z4z%efV#K69a#lShPt5}*7ME@^xunFR{k;|qp z`_Hgdj_Qle?%Ydlr3f^SdRkUncIj7qTiu85tA$v`#419Nlof8tjqUjO z!Rwyq$Krfh`(@MiE+)yie&jU^crprYV&?zN!2b33S2qtW+zB$nahDhVZiQ12bmcwYBcT8KS>v`jsuI@X zy^k^7>TM5Ndp@}pSl6vmkk*u`@C`z(gq||K2>y=Y#w1i`Nk2zAP7{_^ACq;bQmT<4 z;b~K3=?mhZX#~jQnZjdU={NFp^HRr~;^PXQ*UIHzkq}Xsn!56*ZCOOEt|^ zawUwGqs;zCEGKTz&(a(@h#0sCE+@`3Y<&}9!(;Pw&`C+d#D?`##&!@*ERaH0fksrh zfk2svh3!d~h{SC6BNKN2j6(lzC>S^_*eh{@gR zP$rV4$nqV1y|zYpd;nQr-`Vlp(5sQXx9AibC?xc7pUV)v2cWfHu3{KLbfP;;;`I&)mWqLcXt6s+5fps9R?K>hGR$5;=( zo#;zzQ5!w+(99p1_gh^?F#$tpMd+4%G|K`XG_#@A>30WD2L9!0a>wRASg`M?^z#)| zifb$d^KUD&3qLsr-@}r_7p${gdmRqhy819bj?yI-v({I?0o3_8d>CZmCzqH4{{QtD z|6dvgm<^~668G`6wLw4C4y-o9E9ZG3RiH^&;rrKSBT@bMR+!TlYo*9P;?Z>xORMV3ndQp9EyNn!!~j&x&$gDVke|t#!{QoegHm+sT7cSjwSu z)jZlx1pHrrx0&YCZWJ4xC&U%r_IwfJOxnYqYMcZn&_hgnKuls z>(Y$qjIhcweo^A_VVq_#UR&urF%UbI^><5L5zbV9owMQviM*_{@i|dke!!v8a_yG! zl%#ay{(6U_N3-)yeif3tx6>aQSf1r zO~OuNW<8a~bi6Xby0@tKw0@f1R!@+3S2nf#F&j~l0mrNCtjoZdPYob?g!Vx4F-uA2 z4uS>8eR?dA9i>C|cm-m5lO0m@$f(DB6Z<9Pe07xR`l4$ks3eZ@v5}1?^YNQy-tB(` zgUNZrGVf#b~`}jew;MQG1O~VDk_i*<)p9DfFfd;vLy4QZT zMYh|DxJg3-!{szUN*uo&`&DUkzq4qG2`Lj;Ar46DYUymcviS{Unhzmx z=LwZ-Lr{t1z?9Oip%!z{j+Z%_@u?C78I`V4fC`icG1c|2;`EoLK$ z)9|wrAV&V1Vgts~tQCw0X?X{74W"NJQ zW3BP!5c~4zzHJScwQK9L_%m%L`*q{1aW_3rObki~B~=Dwp`;@w`>xZ6;L_6oR^ecEcmup`yb}lgsmv zQByrxc)Qqm(Hwmq%fLjqcrJ5QR?z_*vb~Iy~RXUY8u-D8AqTzetwNNA8~N z$j&1>#IrkSslUqXW|l}q_TlTVKAjRI@~7(GLf4M>GM!3u_)y6ORe6BQUmrQ16%OdZKo(?AYXK$u@=)TPUi1EZaLBu zuEB(5GX2vcoHS%zMUW!DZ)&xRo@mhouk|hMgHIG>cO-Ah(0AMNlq@?cPpy==-!#qR zBov7l3G?P*KM(vU;Apo-(-Bw;sdQJkh~r)W$KRQKd!#(A8M34^MhD10Ra={AqSvjy z3>PkgA}f^@Rg1$dX=jaEB_V%_vn(W<111_s!g>CYrcwJTJ63Eeg6{_C`aMQIgKctR zHMjkr+y6gK!v6=6;CGl#?PqmiX`A@dmmvZ}-X$*q8}G(xq|voo`=$YZuQAa8f9ApK z1VQiEUQC=OO{|Nc8ZrXH208X|XCzIRO?+Nb55Jt@va9hqBpv)uY6ma-csvSlJoJOC zK;w~s?#r)K@gm*;((JsWHU-KvFTF)q>AzwPq)I+}OrSpxh!-CM1VEMfw1fpfVL7p{ z)I$rNp5kPYDsvXL>8nV{#0fa*lm`Z;0Z=c^1qveY2uk&7nhMRl`0EsvUuvwdF&o)PCVN3wmFBPegWzooF6y~b} zY>X2;LO~&rbvx59?(4^aR+s1C6hI4r&x9Q9jL9);KZEw_x%TWZXaMzK6|2XG9$IU% zkEq}t^YOaa4s`%7F31X-#SfMgNp+4R=g2G|O^W)6^2fEsmkTTaVhKCip+3qWuN8?y zaSD_k6%-@Ifhm`z02=ZWA-pi5`A=7ztHWpP2K5rCW{>!wIUOYrH``#bz>qVSH76=8 zyJ!sNBxt;dMTn}yzUTCq1!w;N7pzb?WJrQ50W+`meL{k8i0VhFsPUz(07k`l` zg1Ifl1fc-^p^MQCpK~Jk&L!*mWfNA!&MSu`sPmti>K-;I5Dk00nB3vOl4!JwjEx^X zWQsIp2Ea_>`9f@%zGl4i3FAO9=e$2^b_>_I*dqiLJ=@TejStM?^yX$9dW`#ha)PEF zPr0zUJX!j-juYK*olG_9axQniXhF|E}oSTG_S)FZ3sN4T@q zy{l;!{UGc};YVaT97tx3s7P$WsW2^*I+Hy;vqndG!9S?tZtDIRif1=bBsqtW-n7$O zWy}Z%jKSkgLX#1p>|#4l-!$c+kA`++Ixv(Rm`;Ilb3q3tD|QjaPQ8)BJ=8R*15?nL zJR{yuqOG&!JrSZ${#NY#b!k)yDajQ$A}fUQhe7ueN6h2Pj3wY5eo|7$PaJD zM69(ee1qlSyLn)Ln6)o53Lj)elqG}gb^c}qd(q&$8B5N%nSvEjUIoEXO^obv=A7QGZzNzjO*H=*b2!86Wnqdy~8ePkq@1D1)Q^O)JG;fUCV z`rgD}dJ{7BUyBbgoTL91w^q-CfBpDr?0R38`L%p9&Q#%r*@=9p-Ioqy+WscLq?jq5 zfyYNkxr7w)-(!c85mt!FjNJ4UE6P8p8sc#Kb4L1N3!yaCo9@t3n8s}K)1!w8x77xU zo-NY3SR*Pgt#~7F;y^J&Y%z^+C9wu;hN|TC7dqSHOB&kE)Q)6Ad(l&+tA@$@w0bhJ z6xc6EJ6nm{=|V7Vo&qcXc4i)D?X0Uk$p7~iI#ci?#fxvM z78`u%m5S@^_F;_foidufzP z&ueh-zU1yM&8~0lmOfkio-gBex`)?hCJcI8Jv*R0c|WUqSq z?RU?Rmm=3t_2C%%UW9c*D%T{T{EjryCKnsz9-*Bs0}M*xS&-odhCK5eS_Eqi&c6J4o|f&;uUT=p7Fedw#EUl4%Jv{w zq-cCF^otBvw~~$yj6O>>;VqU)3Ml&Atm$B(Ht8=+&x2VS5aWD&t*+04{@k^Gn~yHY zWYC%@ld;g_qz=k*;Iv&xs5M85cEZCU&n2Baf>R6*bN>V|!)eF&l#C93eAMLD=ZF7= zOISFfB5P;F!ngWD3jfMJE_53F&dFc{h2TwSbT*(h6!c}_5_UFeB_*DiyCrtQ7Byr@ z-aCWVt?J}YP7-lfelbrCgZ5mdv(^W&Yf^OvpI}#NbS1Lc`r4&t#3kM!utm&#a;?GR z-1FusfX7&?a9h`%8wf-ub7UXp44xm4w04)S$}}_hPqn-#IabO^bo6$K07>?%G5Xs( zA$*lz_K>lAJ_o<;fsP-*-%~O(716KRqVq+X@=5J~Z~bba(yWL`;EN`@Mr2it&Lkgb z&I|R5!`ZSk%)xFX*FYDaAh=5qWSY@rx1Du9J$$=lh#!~NcFJM&aOv)eqg_@`i^zJCR9a%_{k_i%msw5q z*3!~#Xx3r|VaAwiG}~9M#c`=$Uk6~xe)47ymW+;0DD_lV67L#ouJBa7mF{)X^?eIvPdOMu4ksr`jUP$~{x@?ev2 zdX#ite2RMim01PEg`;qfwg^;v8nx9F!CtNCvz)V{PVgCs*;_@_Rk*oLx@f7hJ7^^1 zu66b)mb!ZMXLZ%8dj-+JCMoWS-Wji-Q-~U7Pt~UiXMej8JcNjk<6?Wk9eLBIhu&Vo^0;AH> z;Q5^a!NZhP(vDfBv&?jdnQavv#8N0E{ZEgs>|1)qYo^t5 zIV$g~`C2%g$*(z4)8hJlK2mF-MJW#3%Cs6`uAvsgRtTo8n!Et)1pZx@_9I18 zw7ER9v~DyrC*R$do9aEw5r@B)YzHOLB^-c9Eu9D!sFmI8^VljVKE89{zY_8PTSF+J b^}%0^qYmp2WD(pA|JtZ4>nPPKybJpu3@X?! literal 0 HcmV?d00001 diff --git a/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c b/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c index 0aff9f1..ca87977 100644 --- a/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c +++ b/Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c @@ -121,7 +121,7 @@ USBD_StatusTypeDef USBD_Init(USBD_HandleTypeDef *pdev, /** * @brief USBD_DeInit -* Re-Initialize the device library +* Re-Initialize th device library * @param pdev: device instance * @retval status: status */ diff --git a/Middlewares/Third_Party/FreeRTOS/License/license.txt b/Middlewares/Third_Party/FreeRTOS/License/license.txt deleted file mode 100644 index 0072310..0000000 --- a/Middlewares/Third_Party/FreeRTOS/License/license.txt +++ /dev/null @@ -1,37 +0,0 @@ -The FreeRTOS kernel is released under the MIT open source license, the text of -which is provided below. - -This license covers the FreeRTOS kernel source files, which are located in the -/FreeRTOS/Source directory of the official FreeRTOS kernel download. It also -covers most of the source files in the demo application projects, which are -located in the /FreeRTOS/Demo directory of the official FreeRTOS download. The -demo projects may also include third party software that is not part of FreeRTOS -and is licensed separately to FreeRTOS. Examples of third party software -includes header files provided by chip or tools vendors, linker scripts, -peripheral drivers, etc. All the software in subdirectories of the /FreeRTOS -directory is either open source or distributed with permission, and is free for -use. For the avoidance of doubt, refer to the comments at the top of each -source file. - - -License text: -------------- - -Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/Projects/Release_Notes.html b/Projects/Release_Notes.html new file mode 100644 index 0000000..050ffeb --- /dev/null +++ b/Projects/Release_Notes.html @@ -0,0 +1,2589 @@ + + + + + + + Release Notes for Projects of STM32CubeF1 Firmware Package + + + + + + +
                                                                    +
                                                                    +
                                                                    +

                                                                    Release Notes for Projects of STM32CubeF1 Firmware Package

                                                                    +

                                                                    Copyright © 2017 STMicroelectronics
                                                                    +

                                                                    + +
                                                                    +

                                                                    Purpose

                                                                    +

                                                                    The projects are a set of applicative tasks that aim to explain and provide use cases of the different products features based on the products hardware (Boards, STM32 Core(s) features, interconnections and peripherals) and built around the different firmware components. They can be directly used or adapted by the STM32CubeF1 Firmware Package users. They provide basic functionalities, show main features or demonstrate performance. They are provided with preconfigured projects for the main supported toolchains.

                                                                    +

                                                                    In the STM32CubeF1 Firmware Package, the projects are organized in a sequential scheme based on the following levels:

                                                                    +
                                                                      +
                                                                    • Boards : Hardware platform (evaluation, discovery, nucleo boards)
                                                                    • +
                                                                    • Project Category: +
                                                                        +
                                                                      • Applications
                                                                      • +
                                                                      • Demonstrations
                                                                      • +
                                                                      • Examples
                                                                      • +
                                                                      • Examples_LL
                                                                      • +
                                                                      • Examples_MIX
                                                                      • +
                                                                      • Templates
                                                                      • +
                                                                      • Templates_LL
                                                                      • +
                                                                    • +
                                                                    • Project Class
                                                                    • +
                                                                    • Project Subclass
                                                                    • +
                                                                    +

                                                                    The Project Class refers to the main peripherals (drivers), middleware libraries or BSP classes while the projects Subclass stands for a project specific feature within a class.

                                                                    +

                                                                    The exhaustive list of projects is provided in this table: STM32CubeProjectsList.

                                                                    +
                                                                    +
                                                                    +

                                                                    Update History

                                                                    +
                                                                    + +
                                                                    +

                                                                    Maintenance release

                                                                    +

                                                                    Main Changes

                                                                    +

                                                                    STM32F103RB-Nucleo:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • Replace hard-coded page end address by a variable in EE_VerifyPageFullyErased() to consider both PAGE 0 and PAGE 1 instead of only PAGE 0 in EEPROM emulation application.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    Contents

                                                                    +

                                                                    Projects

                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                    BoardProject categoryVersionPath
                                                                    STM32F103RB-Nucleo Applications V1.8.5Projects\STM32F103RB-Nucleo\Applications
                                                                    STM32F103RB-Nucleo Demonstrations V1.8.5Projects\STM32F103RB-Nucleo\Demonstrations
                                                                    STM32F103RB-Nucleo Examples V1.8.5Projects\STM32F103RB-Nucleo\Examples
                                                                    STM32F103RB-Nucleo Examples_LL V1.8.5Projects\STM32F103RB-Nucleo\Examples_LL
                                                                    STM32F103RB-Nucleo Examples_MIX V1.8.5Projects\STM32F103RB-Nucleo\Examples_MIX
                                                                    STM32F103RB-Nucleo Templates V1.8.5Projects\STM32F103RB-Nucleo\Templates
                                                                    STM32F103RB-Nucleo Templates_LL V1.8.5Projects\STM32F103RB-Nucleo\Templates_LL
                                                                    STM32VL-Discovery Examples V1.8.5Projects\STM32VL-Discovery\Examples
                                                                    STM32VL-Discovery Templates V1.8.5Projects\STM32VL-Discovery\Templates
                                                                    STM32VL-Discovery Templates_LL V1.8.5Projects\STM32VL-Discovery\Templates_LL
                                                                    STM3210C_EVAL Applications V1.8.5Projects\STM3210C_EVAL\Applications
                                                                    STM3210C_EVAL Examples V1.8.5Projects\STM3210C_EVAL\Examples
                                                                    STM3210C_EVAL Templates V1.8.5Projects\STM3210C_EVAL\Templates
                                                                    STM3210C_EVAL Templates_LL V1.8.5Projects\STM3210C_EVAL\Templates_LL
                                                                    STM3210E_EVAL Applications V1.8.5Projects\STM3210E_EVAL\Applications
                                                                    STM3210E_EVAL Examples V1.8.5Projects\STM3210E_EVAL\Examples
                                                                    STM3210E_EVAL Examples_LL V1.8.5Projects\STM3210E_EVAL\Examples_LL
                                                                    STM3210E_EVAL Examples_MIX V1.8.5Projects\STM3210E_EVAL\Examples_MIX
                                                                    STM3210E_EVAL Templates V1.8.5Projects\STM3210E_EVAL\Templates
                                                                    STM3210E_EVAL Templates_LL V1.8.5Projects\STM3210E_EVAL\Templates_LL
                                                                    +

                                                                    Development Toolchains and Compilers

                                                                    +
                                                                      +
                                                                    • IAR Embedded Workbench for ARM (EWARM) toolchain V8.40.2+ ST-Link
                                                                    • +
                                                                    • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.31 (or upper) + ST-LINK, pack available here: +
                                                                        +
                                                                      • www.keil.com/dd2/Pack/ (Section : STMicroelectronics STM32F1 Series Device Support)
                                                                      • +
                                                                      • Only template projects are migrated to Arm Compiler 6 with MDK-ARM 5.31 (“AC-like Warnings†mode).
                                                                      • +
                                                                    • +
                                                                    • System Workbench for STM32 (SW4STM32) (7-2018-q2-update) toolchain V2.9.0 + ST-Link
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Maintenance release

                                                                    +

                                                                    Main Changes

                                                                    +

                                                                    STM32F103RB-Nucleo:

                                                                    +
                                                                      +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Update examples and applications to avoid clearing DMA using global flag GIFx.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM3210C_EVAL:

                                                                    +
                                                                      +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Update examples and applications to avoid clearing DMA using global flag GIFx.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM3210E_EVAL:

                                                                    +
                                                                      +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Update examples and applications to avoid clearing DMA using global flag GIFx.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    Contents

                                                                    +

                                                                    Projects

                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                    BoardProject categoryVersionPath
                                                                    STM32F103RB-Nucleo Applications V1.8.4Projects\STM32F103RB-Nucleo\Applications
                                                                    STM32F103RB-Nucleo Demonstrations V1.8.4Projects\STM32F103RB-Nucleo\Demonstrations
                                                                    STM32F103RB-Nucleo Examples V1.8.4Projects\STM32F103RB-Nucleo\Examples
                                                                    STM32F103RB-Nucleo Examples_LL V1.8.4Projects\STM32F103RB-Nucleo\Examples_LL
                                                                    STM32F103RB-Nucleo Examples_MIX V1.8.4Projects\STM32F103RB-Nucleo\Examples_MIX
                                                                    STM32F103RB-Nucleo Templates V1.8.4Projects\STM32F103RB-Nucleo\Templates
                                                                    STM32F103RB-Nucleo Templates_LL V1.8.4Projects\STM32F103RB-Nucleo\Templates_LL
                                                                    STM32VL-Discovery Examples V1.8.4Projects\STM32VL-Discovery\Examples
                                                                    STM32VL-Discovery Templates V1.8.4Projects\STM32VL-Discovery\Templates
                                                                    STM32VL-Discovery Templates_LL V1.8.4Projects\STM32VL-Discovery\Templates_LL
                                                                    STM3210C_EVAL Applications V1.8.4Projects\STM3210C_EVAL\Applications
                                                                    STM3210C_EVAL Examples V1.8.4Projects\STM3210C_EVAL\Examples
                                                                    STM3210C_EVAL Templates V1.8.4Projects\STM3210C_EVAL\Templates
                                                                    STM3210C_EVAL Templates_LL V1.8.4Projects\STM3210C_EVAL\Templates_LL
                                                                    STM3210E_EVAL Applications V1.8.4Projects\STM3210E_EVAL\Applications
                                                                    STM3210E_EVAL Examples V1.8.4Projects\STM3210E_EVAL\Examples
                                                                    STM3210E_EVAL Examples_LL V1.8.4Projects\STM3210E_EVAL\Examples_LL
                                                                    STM3210E_EVAL Examples_MIX V1.8.4Projects\STM3210E_EVAL\Examples_MIX
                                                                    STM3210E_EVAL Templates V1.8.4Projects\STM3210E_EVAL\Templates
                                                                    STM3210E_EVAL Templates_LL V1.8.4Projects\STM3210E_EVAL\Templates_LL
                                                                    +

                                                                    Development Toolchains and Compilers

                                                                    +
                                                                      +
                                                                    • IAR Embedded Workbench for ARM (EWARM) toolchain V8.40.2+ ST-Link
                                                                    • +
                                                                    • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.31 + ST-LINK
                                                                    • +
                                                                    • System Workbench for STM32 (SW4STM32) toolchain V2.9 + ST-Link
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Maintenance release

                                                                    +

                                                                    Main Changes

                                                                    +
                                                                      +
                                                                    • No changes compared to previous version.
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Maintenance release

                                                                    +

                                                                    Main Changes

                                                                    +
                                                                      +
                                                                    • No changes compared to previous version.
                                                                    • +
                                                                    +

                                                                    Known Limitations

                                                                    +
                                                                      +
                                                                    • SW4STM32 projects aren’t provided for STM32VL-Discovery board because it embeds STLinv1 version that is not hardware supported by SW4STM32 toolchain.
                                                                    • +
                                                                    +

                                                                    Development Toolchains and Compilers

                                                                    +
                                                                      +
                                                                    • IAR Embedded Workbench for ARM (EWARM) toolchain V8.20.2+ ST-Link
                                                                    • +
                                                                    • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.26 + ST-LINK
                                                                    • +
                                                                    • System Workbench for STM32 (SW4STM32) toolchain V2.9 + ST-Link
                                                                    • +
                                                                    +

                                                                    Supported Devices and EVAL boards

                                                                    +
                                                                      +
                                                                    • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet Lines
                                                                    • +
                                                                    • STM3210E-Eval board RevD
                                                                    • +
                                                                    • STM3210C-Eval board RevC
                                                                    • +
                                                                    • STM32VL-Discovery board RevC
                                                                    • +
                                                                    • STM32F1xx-Nucleo board RevC
                                                                    • +
                                                                    +

                                                                    Backward Compatibility

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Dependencies

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Maintenance release

                                                                    +

                                                                    Main Changes

                                                                    +
                                                                      +
                                                                    • No changes compared to previous version.
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Maintenance release

                                                                    +

                                                                    Main Changes

                                                                    +

                                                                    STM32F103RB-Nucleo:

                                                                    +
                                                                      +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Update HAL I2C examples to be compliant with new I2C API
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM3210C_EVAL:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • Update STemWin applications to be compliant with new STemWin architecture
                                                                      • +
                                                                      • Update USB HOST projects to be compliant with USB Host Stack V3.3.3: +
                                                                          +
                                                                        • Add the following USB callback in usbh_conf.c user file: - HAL_HCD_PortEnabled_Callback() - HAL_HCD_PortDisabled_Callback()
                                                                        • +
                                                                      • +
                                                                      • Update USB Device projects for 103xx/107xx devices to be compliant with USB Device 2.5.3 +
                                                                          +
                                                                        • USB HS mode isn’t supported by these STM32 devices
                                                                        • +
                                                                      • +
                                                                      • Update USB device applications by adding a UNUSED() macro in the followings API on file usbd_desc.c files in order to avoid compilation warnings +
                                                                          +
                                                                        • USBD_DFU_DeviceDescriptor()
                                                                        • +
                                                                        • USBD_DFU_LangIDStrDescriptor()
                                                                        • +
                                                                        • USBD_DFU_ManufacturerStrDescriptor()
                                                                        • +
                                                                        • USBD_DFU_SerialStrDescriptor()
                                                                        • +
                                                                      • +
                                                                      • Remove useless setting of ep0_mps in usbd_conf.c file for USB device applications +
                                                                          +
                                                                        • usbd_conf.h: Optimize USB device string descriptor size (USBD_MAX_STR_DESC_SIZ)
                                                                        • +
                                                                      • +
                                                                      • Update HID_Standalone application available on STM3210E_EVAL board to be compliant new HAL PCD driver.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM3210E_EVAL:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • Update STemWin applications to be compliant with new STemWin architecture
                                                                      • +
                                                                      • Update USB HOST projects to be compliant with USB Host Stack V3.3.3: +
                                                                          +
                                                                        • Add the following USB callback in usbh_conf.c user file: - HAL_HCD_PortEnabled_Callback() - HAL_HCD_PortDisabled_Callback()
                                                                        • +
                                                                      • +
                                                                      • Update USB Device projects for 103xx/107xx devices to be compliant with USB Device 2.5.3 +
                                                                          +
                                                                        • USB HS mode isn’t supported by these STM32 devices
                                                                        • +
                                                                      • +
                                                                      • Update USB device applications by adding a UNUSED() macro in the followings API on file usbd_desc.c files in order to avoid compilation warnings +
                                                                          +
                                                                        • USBD_DFU_DeviceDescriptor()
                                                                        • +
                                                                        • USBD_DFU_LangIDStrDescriptor()
                                                                        • +
                                                                        • USBD_DFU_ManufacturerStrDescriptor()
                                                                        • +
                                                                        • USBD_DFU_SerialStrDescriptor()
                                                                        • +
                                                                      • +
                                                                      • Remove useless setting of ep0_mps in usbd_conf.c file for USB device applications +
                                                                          +
                                                                        • usbd_conf.h: Optimize USB device string descriptor size (USBD_MAX_STR_DESC_SIZ)
                                                                        • +
                                                                      • +
                                                                      • Update HID_Standalone application available on STM3210E_EVAL board to be compliant new HAL PCD driver.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    Contents

                                                                    +

                                                                    Projects

                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                    BoardProject categoryVersionPath
                                                                    STM32F103RB-Nucleo Applications V1.8.0Projects\STM32F103RB-Nucleo\Applications
                                                                    STM32F103RB-Nucleo Demonstrations V1.8.0Projects\STM32F103RB-Nucleo\Demonstrations
                                                                    STM32F103RB-Nucleo Examples V1.8.0Projects\STM32F103RB-Nucleo\Examples
                                                                    STM32F103RB-Nucleo Examples_LL V1.8.0Projects\STM32F103RB-Nucleo\Examples_LL
                                                                    STM32F103RB-Nucleo Examples_MIX V1.8.0Projects\STM32F103RB-Nucleo\Examples_MIX
                                                                    STM32F103RB-Nucleo Templates V1.8.0Projects\STM32F103RB-Nucleo\Templates
                                                                    STM32F103RB-Nucleo Templates_LL V1.8.0Projects\STM32F103RB-Nucleo\Templates_LL
                                                                    STM32VL-Discovery Examples V1.8.0Projects\STM32VL-Discovery\Examples
                                                                    STM32VL-Discovery Templates V1.8.0Projects\STM32VL-Discovery\Templates
                                                                    STM32VL-Discovery Templates_LL V1.8.0Projects\STM32VL-Discovery\Templates_LL
                                                                    STM3210C_EVAL Applications V1.8.0Projects\STM3210C_EVAL\Applications
                                                                    STM3210C_EVAL Examples V1.8.0Projects\STM3210C_EVAL\Examples
                                                                    STM3210C_EVAL Templates V1.8.0Projects\STM3210C_EVAL\Templates
                                                                    STM3210C_EVAL Templates_LL V1.8.0Projects\STM3210C_EVAL\Templates_LL
                                                                    STM3210E_EVAL Applications V1.8.0Projects\STM3210E_EVAL\Applications
                                                                    STM3210E_EVAL Examples V1.8.0Projects\STM3210E_EVAL\Examples
                                                                    STM3210E_EVAL Examples_LL V1.8.0Projects\STM3210E_EVAL\Examples_LL
                                                                    STM3210E_EVAL Examples_MIX V1.8.0Projects\STM3210E_EVAL\Examples_MIX
                                                                    STM3210E_EVAL Templates V1.8.0Projects\STM3210E_EVAL\Templates
                                                                    STM3210E_EVAL Templates_LL V1.8.0Projects\STM3210E_EVAL\Templates_LL
                                                                    +

                                                                    Known Limitations

                                                                    +
                                                                      +
                                                                    • SW4STM32 projects aren’t provided for STM32VL-Discovery board because it embeds STLinv1 version that is not hardware supported by SW4STM32 toolchain.
                                                                    • +
                                                                    • Register callback feature will be deployed on HAL I2C driver in next release
                                                                    • +
                                                                    +

                                                                    Development Toolchains and Compilers

                                                                    +
                                                                      +
                                                                    • IAR Embedded Workbench for ARM (EWARM) toolchain V8.20.2+ ST-Link
                                                                    • +
                                                                    • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.26 + ST-LINK
                                                                    • +
                                                                    • System Workbench for STM32 (SW4STM32) toolchain V2.9 + ST-Link
                                                                    • +
                                                                    +

                                                                    Supported Devices and EVAL boards

                                                                    +
                                                                      +
                                                                    • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet Lines
                                                                    • +
                                                                    • STM3210E-Eval board RevD
                                                                    • +
                                                                    • STM3210C-Eval board RevC
                                                                    • +
                                                                    • STM32VL-Discovery board RevC
                                                                    • +
                                                                    • STM32F1xx-Nucleo board RevC
                                                                    • +
                                                                    +

                                                                    Backward Compatibility

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Dependencies

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Maintenance release

                                                                    +

                                                                    Main Changes

                                                                    +

                                                                    STM32F103RB-Nucleo:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h files to add support to HAL CAN Legacy Module.
                                                                      • +
                                                                    • +
                                                                    • Demonstrations

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h files to add support to HAL CAN Legacy Module.
                                                                      • +
                                                                    • +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h files to add support to HAL CAN Legacy Module.
                                                                      • +
                                                                    • +
                                                                    • Examples_MIX

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h files to add support to HAL CAN Legacy Module.
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h files to add support to HAL CAN Legacy Module.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM32VL-Discovery:

                                                                    +
                                                                      +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h files to add support to HAL CAN Legacy Module.
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h files to add support to HAL CAN Legacy Module.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM3210C_EVAL:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h files to add support to HAL CAN Legacy Module.
                                                                      • +
                                                                    • +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h files to add support to HAL CAN Legacy Module.
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h files to add support to HAL CAN Legacy Module.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM3210E_EVAL:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h files to add support to HAL CAN Legacy Module.
                                                                      • +
                                                                    • +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h files to add support to HAL CAN Legacy Module.
                                                                      • +
                                                                    • +
                                                                    • Examples_MIX

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h files to add support to HAL CAN Legacy Module.
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h files to add support to HAL CAN Legacy Module.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    Contents

                                                                    +

                                                                    Projects

                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                    BoardProject categoryVersionPath
                                                                    STM32F103RB-Nucleo Applications V1.7.0Projects\STM32F103RB-Nucleo\Applications
                                                                    STM32F103RB-Nucleo Demonstrations V1.7.0Projects\STM32F103RB-Nucleo\Demonstrations
                                                                    STM32F103RB-Nucleo Examples V1.7.0Projects\STM32F103RB-Nucleo\Examples
                                                                    STM32F103RB-Nucleo Examples_LL V1.7.0Projects\STM32F103RB-Nucleo\Examples_LL
                                                                    STM32F103RB-Nucleo Examples_MIX V1.7.0Projects\STM32F103RB-Nucleo\Examples_MIX
                                                                    STM32F103RB-Nucleo Templates V1.7.0Projects\STM32F103RB-Nucleo\Templates
                                                                    STM32F103RB-Nucleo Templates_LL V1.7.0Projects\STM32F103RB-Nucleo\Templates_LL
                                                                    STM32VL-Discovery Examples V1.7.0Projects\STM32VL-Discovery\Examples
                                                                    STM32VL-Discovery Templates V1.7.0Projects\STM32VL-Discovery\Templates
                                                                    STM32VL-Discovery Templates_LL V1.7.0Projects\STM32VL-Discovery\Templates_LL
                                                                    STM3210C_EVAL Applications V1.7.0Projects\STM3210C_EVAL\Applications
                                                                    STM3210C_EVAL Examples V1.7.0Projects\STM3210C_EVAL\Examples
                                                                    STM3210C_EVAL Templates V1.7.0Projects\STM3210C_EVAL\Templates
                                                                    STM3210C_EVAL Templates_LL V1.7.0Projects\STM3210C_EVAL\Templates_LL
                                                                    STM3210E_EVAL Applications V1.7.0Projects\STM3210E_EVAL\Applications
                                                                    STM3210E_EVAL Examples V1.7.0Projects\STM3210E_EVAL\Examples
                                                                    STM3210E_EVAL Examples_LL V1.7.0Projects\STM3210E_EVAL\Examples_LL
                                                                    STM3210E_EVAL Examples_MIX V1.7.0Projects\STM3210E_EVAL\Examples_MIX
                                                                    STM3210E_EVAL Templates V1.7.0Projects\STM3210E_EVAL\Templates
                                                                    STM3210E_EVAL Templates_LL V1.7.0Projects\STM3210E_EVAL\Templates_LL
                                                                    +

                                                                    Known Limitations

                                                                    +
                                                                      +
                                                                    • SW4STM32 projects aren’t provided for STM32VL-Discovery board because it embeds STLinv1 version that is not hardware supported by SW4STM32 toolchain.
                                                                    • +
                                                                    +

                                                                    Development Toolchains and Compilers

                                                                    +
                                                                      +
                                                                    • IAR Embedded Workbench for ARM (EWARM) toolchain V7.80.4
                                                                    • +
                                                                    • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.23
                                                                    • +
                                                                    • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.5.2
                                                                    • +
                                                                    • System Workbench for STM32 (SW4STM32) toolchain V1.13
                                                                    • +
                                                                    +

                                                                    Supported Devices and EVAL boards

                                                                    +
                                                                      +
                                                                    • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet Lines
                                                                    • +
                                                                    • STM3210E-Eval board RevD
                                                                    • +
                                                                    • STM3210C-Eval board RevC
                                                                    • +
                                                                    • STM32VL-Discovery board RevC
                                                                    • +
                                                                    • STM32F1xx-Nucleo board RevC
                                                                    • +
                                                                    +

                                                                    Backward Compatibility

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Dependencies

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Maintenance release

                                                                    +

                                                                    Main Changes

                                                                    +
                                                                      +
                                                                    • No changes compared to previous version.
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Maintenance release

                                                                    +

                                                                    Main Changes

                                                                    +

                                                                    STM3210C_EVAL:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • General updates to be compliant with Linux platforms
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM3210E_EVAL:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                    • +
                                                                    • General updates to be compliant with Linux platforms

                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Update TrueSTUDIO project configuration.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    Contents

                                                                    +

                                                                    Projects

                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                    BoardProject categoryVersionPath
                                                                    STM32F103RB-Nucleo Applications V1.6.0Projects\STM32F103RB-Nucleo\Applications
                                                                    STM32F103RB-Nucleo Demonstrations V1.6.0Projects\STM32F103RB-Nucleo\Demonstrations
                                                                    STM32F103RB-Nucleo Examples V1.6.0Projects\STM32F103RB-Nucleo\Examples
                                                                    STM32F103RB-Nucleo Examples_LL V1.6.0Projects\STM32F103RB-Nucleo\Examples_LL
                                                                    STM32F103RB-Nucleo Examples_MIX V1.6.0Projects\STM32F103RB-Nucleo\Examples_MIX
                                                                    STM32F103RB-Nucleo Templates V1.6.0Projects\STM32F103RB-Nucleo\Templates
                                                                    STM32F103RB-Nucleo Templates_LL V1.6.0Projects\STM32F103RB-Nucleo\Templates_LL
                                                                    STM32VL-Discovery Examples V1.6.0Projects\STM32VL-Discovery\Examples
                                                                    STM32VL-Discovery Templates V1.6.0Projects\STM32VL-Discovery\Templates
                                                                    STM32VL-Discovery Templates_LL V1.6.0Projects\STM32VL-Discovery\Templates_LL
                                                                    STM3210C_EVAL Applications V1.6.0Projects\STM3210C_EVAL\Applications
                                                                    STM3210C_EVAL Examples V1.6.0Projects\STM3210C_EVAL\Examples
                                                                    STM3210C_EVAL Templates V1.6.0Projects\STM3210C_EVAL\Templates
                                                                    STM3210C_EVAL Templates_LL V1.6.0Projects\STM3210C_EVAL\Templates_LL
                                                                    STM3210E_EVAL Applications V1.6.0Projects\STM3210E_EVAL\Applications
                                                                    STM3210E_EVAL Examples V1.6.0Projects\STM3210E_EVAL\Examples
                                                                    STM3210E_EVAL Examples_LL V1.6.0Projects\STM3210E_EVAL\Examples_LL
                                                                    STM3210E_EVAL Examples_MIX V1.6.0Projects\STM3210E_EVAL\Examples_MIX
                                                                    STM3210E_EVAL Templates V1.6.0Projects\STM3210E_EVAL\Templates
                                                                    STM3210E_EVAL Templates_LL V1.6.0Projects\STM3210E_EVAL\Templates_LL
                                                                    +

                                                                    Known Limitations

                                                                    +
                                                                      +
                                                                    • SW4STM32 projects aren’t provided for STM32VL-Discovery board because it embeds STLinv1 version that is not hardware supported by SW4STM32 toolchain.
                                                                    • +
                                                                    +

                                                                    Development Toolchains and Compilers

                                                                    +
                                                                      +
                                                                    • IAR Embedded Workbench for ARM (EWARM) toolchain V7.80.4
                                                                    • +
                                                                    • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.23
                                                                    • +
                                                                    • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.5.2
                                                                    • +
                                                                    • System Workbench for STM32 (SW4STM32) toolchain V1.13
                                                                    • +
                                                                    +

                                                                    Supported Devices and EVAL boards

                                                                    +
                                                                      +
                                                                    • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet Lines
                                                                    • +
                                                                    • STM3210E-Eval board RevD
                                                                    • +
                                                                    • STM3210C-Eval board RevC
                                                                    • +
                                                                    • STM32VL-Discovery board RevC
                                                                    • +
                                                                    • STM32F1xx-Nucleo board RevC
                                                                    • +
                                                                    +

                                                                    Backward Compatibility

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Dependencies

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Maintenance release

                                                                    +

                                                                    Main Changes

                                                                    +

                                                                    STM32F103RB-Nucleo:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h file to be aligned with new conf_template.h
                                                                      • +
                                                                      • Update applications using FreeRTOS to use TIM HW as time base source
                                                                      • +
                                                                    • +
                                                                    • Demonstrations

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h file to be aligned with new conf_template.h
                                                                      • +
                                                                    • +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h file to be aligned with new conf_template.h
                                                                      • +
                                                                      • Update WWDG examples to be in line with latest updates done on HAL WWDG drivers +
                                                                          +
                                                                        • Remove the HAL_WWDG_Start function in the main.c file
                                                                        • +
                                                                        • Remove HAL_WWDG_MspDeInit function from stm32f1xx_hal_msp.c file
                                                                        • +
                                                                      • +
                                                                      • Update HAL examples to use TIM HW as time base source instead of Systick
                                                                      • +
                                                                      • Add 2 new HAL TimeBase examples : HAL_TimeBase_RTC_ALARM and HAL_TimeBase_RTC_WKUP
                                                                      • +
                                                                      • Add 2 new I2C examples to explore the repeat start feature: I2C_TwoBoards_RestartAdvComIT and I2C_TwoBoards_RestartComIT
                                                                      • +
                                                                      • Rework I2C_TwoBoards_AdvComIT and I2C_TwoBoards_ComIT examples following changes in latest HAL version +
                                                                          +
                                                                        • Update to allow master to restart communication when slave doesn’t acknowledge its address
                                                                        • +
                                                                      • +
                                                                      • Update I2C_TwoBoards_ComDMA example to be inline with new HAL I2C DMA model : +
                                                                          +
                                                                        • Configure and enable the I2C IRQ in HAL_I2C_MspInit() function
                                                                        • +
                                                                        • In stm32f1xx_it.c file: add a call to HAL_I2C_IRQHandler() function
                                                                        • +
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h file to be aligned with new conf_template.h
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM32VL-Discovery:

                                                                    +
                                                                      +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h file to be aligned with new conf_template.h
                                                                      • +
                                                                      • Update HAL examples to use TIM HW as time base source instead of Systick
                                                                      • +
                                                                      • Add 2 new HAL TimeBase examples : HAL_TimeBase_RTC_ALARM and HAL_TimeBase_RTC_WKUP
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h file to be aligned with new conf_template.h
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM3210C_EVAL:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h file to be aligned with new conf_template.h
                                                                      • +
                                                                      • Update applications using FreeRTOS to use TIM HW as time base source
                                                                      • +
                                                                      • Update applications related to STemWin library to support STemWin 5.32 version
                                                                      • +
                                                                      • Update LwIP Applications: +
                                                                          +
                                                                        • Add Support to DHCP server
                                                                        • +
                                                                        • Add support to LCD use
                                                                        • +
                                                                        • Update to refresh Ethernet Status
                                                                        • +
                                                                      • +
                                                                      • Update IAP Applications following modifications in HAL UART
                                                                      • +
                                                                    • +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h file to be aligned with new conf_template.h
                                                                      • +
                                                                      • General examples projects update to be aligned with new HAL SD and BSP Drivers implementation
                                                                      • +
                                                                      • Update HAL examples to use TIM HW as time base source instead of Systick
                                                                      • +
                                                                      • Add 2 new HAL TimeBase examples : HAL_TimeBase_RTC_ALARM and HAL_TimeBase_RTC_WKUP
                                                                      • +
                                                                      • Update IWDG example to be in line with latest updates done on HAL IWDG drivers +
                                                                          +
                                                                        • Remove the HAL_IWDG_Start function in the main.c file
                                                                        • +
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h file to be aligned with new conf_template.h
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM3210E_EVAL:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h file to be aligned with new conf_template.h
                                                                      • +
                                                                      • Update applications using FreeRTOS to use TIM HW as time base source
                                                                      • +
                                                                      • Update applications related to STemWin library to support STemWin 5.32 version
                                                                      • +
                                                                      • Update IAP Applications following modifications in HAL UART
                                                                      • +
                                                                    • +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h file to be aligned with new conf_template.h
                                                                      • +
                                                                      • General examples projects update to be aligned with new HAL SD and BSP Drivers implementation
                                                                      • +
                                                                      • Update HAL examples to use TIM HW as time base source instead of Systick
                                                                      • +
                                                                      • Add 2 new HAL TimeBase examples : HAL_TimeBase_RTC_ALARM and HAL_TimeBase_RTC_WKUP
                                                                      • +
                                                                      • Add 2 new I2C examples to explore the repeat start feature: I2C_TwoBoards_RestartAdvComIT and I2C_TwoBoards_RestartComIT
                                                                      • +
                                                                      • Rework I2C_TwoBoards_AdvComIT and I2C_TwoBoards_ComIT examples following changes in latest HAL version +
                                                                          +
                                                                        • Update to allow master to restart communication when slave doesn’t acknowledge its address
                                                                        • +
                                                                      • +
                                                                      • Update I2C_TwoBoards_ComDMA example to be inline with new HAL I2C DMA model : +
                                                                          +
                                                                        • Configure and enable the I2C IRQ in HAL_I2C_MspInit() function
                                                                        • +
                                                                        • In stm32f1xx_it.c file: add a call to HAL_I2C_IRQHandler() function
                                                                        • +
                                                                      • +
                                                                      • Fix wrong GPIO configuration of CAN RX in CAN_Networking example
                                                                      • +
                                                                      • Update BSP NAND Demo in BSP Example and FSMC NAND Example after HAL NAND driver rework
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Update stm32f1xx_hal_conf.h file to be aligned with new conf_template.h
                                                                      • +
                                                                    • +
                                                                    +

                                                                    Contents

                                                                    +

                                                                    Projects

                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                    BoardProject categoryVersionPath
                                                                    STM32F103RB-Nucleo Applications V1.5.0Projects\STM32F103RB-Nucleo\Applications
                                                                    STM32F103RB-Nucleo Demonstrations V1.5.0Projects\STM32F103RB-Nucleo\Demonstrations
                                                                    STM32F103RB-Nucleo Examples V1.5.0Projects\STM32F103RB-Nucleo\Examples
                                                                    STM32F103RB-Nucleo Examples_LL V1.5.0Projects\STM32F103RB-Nucleo\Examples_LL
                                                                    STM32F103RB-Nucleo Examples_MIX V1.5.0Projects\STM32F103RB-Nucleo\Examples_MIX
                                                                    STM32F103RB-Nucleo Templates V1.5.0Projects\STM32F103RB-Nucleo\Templates
                                                                    STM32F103RB-Nucleo Templates_LL V1.5.0Projects\STM32F103RB-Nucleo\Templates_LL
                                                                    STM32VL-Discovery Examples V1.5.0Projects\STM32VL-Discovery\Examples
                                                                    STM32VL-Discovery Templates V1.5.0Projects\STM32VL-Discovery\Templates
                                                                    STM32VL-Discovery Templates_LL V1.5.0Projects\STM32VL-Discovery\Templates_LL
                                                                    STM3210C_EVAL Applications V1.5.0Projects\STM3210C_EVAL\Applications
                                                                    STM3210C_EVAL Examples V1.5.0Projects\STM3210C_EVAL\Examples
                                                                    STM3210C_EVAL Templates V1.5.0Projects\STM3210C_EVAL\Templates
                                                                    STM3210C_EVAL Templates_LL V1.5.0Projects\STM3210C_EVAL\Templates_LL
                                                                    STM3210E_EVAL Applications V1.5.0Projects\STM3210E_EVAL\Applications
                                                                    STM3210E_EVAL Examples V1.5.0Projects\STM3210E_EVAL\Examples
                                                                    STM3210E_EVAL Examples_LL V1.5.0Projects\STM3210E_EVAL\Examples_LL
                                                                    STM3210E_EVAL Examples_MIX V1.5.0Projects\STM3210E_EVAL\Examples_MIX
                                                                    STM3210E_EVAL Templates V1.5.0Projects\STM3210E_EVAL\Templates
                                                                    STM3210E_EVAL Templates_LL V1.5.0Projects\STM3210E_EVAL\Templates_LL
                                                                    +

                                                                    Known Limitations

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Development Toolchains and Compilers

                                                                    +
                                                                      +
                                                                    • IAR Embedded Workbench for ARM (EWARM) toolchain V7.80.4
                                                                    • +
                                                                    • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.23
                                                                    • +
                                                                    • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.5.2
                                                                    • +
                                                                    • System Workbench for STM32 (SW4STM32) toolchain V1.13
                                                                    • +
                                                                    +

                                                                    Supported Devices and EVAL boards

                                                                    +
                                                                      +
                                                                    • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet Lines
                                                                    • +
                                                                    • STM3210E-Eval board RevD
                                                                    • +
                                                                    • STM3210C-Eval board RevC
                                                                    • +
                                                                    • STM32VL-Discovery board RevC
                                                                    • +
                                                                    • STM32F1xx-Nucleo board RevC
                                                                    • +
                                                                    +

                                                                    Backward Compatibility

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Dependencies

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Maintenance release

                                                                    +

                                                                    Main changes

                                                                    +

                                                                    STM32F103RB-Nucleo:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • Change license to “Ultimate Libertyâ€.
                                                                      • +
                                                                      • Update all the system_stm32f1xx.c with new AHBPrescTable and APBPrescTable.
                                                                      • +
                                                                    • +
                                                                    • Demonstrations

                                                                      +
                                                                        +
                                                                      • Change license to “Ultimate Libertyâ€.
                                                                      • +
                                                                      • Adapt Adafruit demonstration to support 4Gb sd cards.
                                                                      • +
                                                                    • +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Update all the system_stm32f1xx.c with new AHBPrescTable and APBPrescTable.
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Update all the system_stm32f1xx.c with new AHBPrescTable and APBPrescTable.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM32VL-Discovery:

                                                                    +
                                                                      +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Update all the system_stm32f1xx.c with new AHBPrescTable and APBPrescTable.
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Update all the system_stm32f1xx.c with new AHBPrescTable and APBPrescTable.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM3210C_EVAL:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • Change license to “Ultimate Libertyâ€.
                                                                      • +
                                                                      • Adapt Adafruit demonstration to support 4Gb sd cards.
                                                                      • +
                                                                    • +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Update all the system_stm32f1xx.c with new AHBPrescTable and APBPrescTable.
                                                                      • +
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Update all the system_stm32f1xx.c with new AHBPrescTable and APBPrescTable.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM3210E_EVAL:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • Change license to “Ultimate Libertyâ€.
                                                                      • +
                                                                      • Update all the system_stm32f1xx.c with new AHBPrescTable and APBPrescTable.
                                                                      • +
                                                                    • +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Update all the system_stm32f1xx.c with new AHBPrescTable and APBPrescTable.
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Update all the system_stm32f1xx.c with new AHBPrescTable and APBPrescTable.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    Contents

                                                                    +

                                                                    Projects

                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                    BoardProject categoryVersionPath
                                                                    STM32F103RB-Nucleo Applications V1.4.0Projects\STM32F103RB-Nucleo\Applications
                                                                    STM32F103RB-Nucleo Demonstrations V1.4.0Projects\STM32F103RB-Nucleo\Demonstrations
                                                                    STM32F103RB-Nucleo Examples V1.4.0Projects\STM32F103RB-Nucleo\Examples
                                                                    STM32F103RB-Nucleo Examples_LL V1.4.0Projects\STM32F103RB-Nucleo\Examples_LL
                                                                    STM32F103RB-Nucleo Examples_MIX V1.4.0Projects\STM32F103RB-Nucleo\Examples_MIX
                                                                    STM32F103RB-Nucleo Templates V1.4.0Projects\STM32F103RB-Nucleo\Templates
                                                                    STM32F103RB-Nucleo Templates_LL V1.4.0Projects\STM32F103RB-Nucleo\Templates_LL
                                                                    STM32VL-Discovery Examples V1.4.0Projects\STM32VL-Discovery\Examples
                                                                    STM32VL-Discovery Templates V1.4.0Projects\STM32VL-Discovery\Templates
                                                                    STM32VL-Discovery Templates_LL V1.4.0Projects\STM32VL-Discovery\Templates_LL
                                                                    STM3210C_EVAL Applications V1.4.0Projects\STM3210C_EVAL\Applications
                                                                    STM3210C_EVAL Examples V1.4.0Projects\STM3210C_EVAL\Examples
                                                                    STM3210C_EVAL Templates V1.4.0Projects\STM3210C_EVAL\Templates
                                                                    STM3210C_EVAL Templates_LL V1.4.0Projects\STM3210C_EVAL\Templates_LL
                                                                    STM3210E_EVAL Applications V1.4.0Projects\STM3210E_EVAL\Applications
                                                                    STM3210E_EVAL Examples V1.4.0Projects\STM3210E_EVAL\Examples
                                                                    STM3210E_EVAL Examples_LL V1.4.0Projects\STM3210E_EVAL\Examples_LL
                                                                    STM3210E_EVAL Examples_MIX V1.4.0Projects\STM3210E_EVAL\Examples_MIX
                                                                    STM3210E_EVAL Templates V1.4.0Projects\STM3210E_EVAL\Templates
                                                                    STM3210E_EVAL Templates_LL V1.4.0Projects\STM3210E_EVAL\Templates_LL
                                                                    +

                                                                    Known Limitations

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Development Toolchains and Compilers

                                                                    +
                                                                      +
                                                                    • IAR Embedded Workbench for ARM (EWARM) toolchain V7.20 + ST-LINK
                                                                    • +
                                                                    • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.17 + ST-LINK
                                                                    • +
                                                                    • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.1.1 + ST-LINK
                                                                    • +
                                                                    • System Workbench for STM32 (SW4STM32) toolchain V1.5.0 + ST-LINK
                                                                    • +
                                                                    +

                                                                    Supported Devices and EVAL boards

                                                                    +
                                                                      +
                                                                    • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet Lines
                                                                    • +
                                                                    • STM3210E-Eval board RevD
                                                                    • +
                                                                    • STM3210C-Eval board RevC
                                                                    • +
                                                                    • STM32VL-Discovery board RevC
                                                                    • +
                                                                    • STM32F1xx-Nucleo board RevC
                                                                    • +
                                                                    +

                                                                    Backward Compatibility

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Dependencies

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Maintenance release

                                                                    +

                                                                    Main Changes

                                                                    +
                                                                      +
                                                                    • No changes compared to previous version.
                                                                    • +
                                                                    +

                                                                    Known Limitations

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Development Toolchains and Compilers

                                                                    +
                                                                      +
                                                                    • IAR Embedded Workbench for ARM (EWARM) toolchain V7.20 + ST-LINK
                                                                    • +
                                                                    • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.17 + ST-LINK
                                                                    • +
                                                                    • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.1.1 + ST-LINK
                                                                    • +
                                                                    • System Workbench for STM32 (SW4STM32) toolchain V1.5.0 + ST-LINK
                                                                    • +
                                                                    +

                                                                    Supported Devices and EVAL boards

                                                                    +
                                                                      +
                                                                    • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet lines
                                                                    • +
                                                                    • STM3210E-Eval board RevD
                                                                    • +
                                                                    • STM3210C-Eval board RevC
                                                                    • +
                                                                    • STM32VL-Discovery board RevC
                                                                    • +
                                                                    • STM32F1xx-Nucleo board RevC
                                                                    • +
                                                                    +

                                                                    Backward Compatibility

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Dependencies

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Maintenance release

                                                                    +

                                                                    Main Changes

                                                                    +

                                                                    STM32F103RB-Nucleo:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • To ensure the full compatibility of the GPIO interfaces across all the STM32 families, the gpio speed definition have been renamed: +
                                                                          +
                                                                        • GPIO_SPEED_LOW to GPIO_SPEED_FREQ_LOW.
                                                                        • +
                                                                        • GPIO_SPEED_MEDIUM to GPIO_SPEED_FREQ_MEDIUM.
                                                                        • +
                                                                        • GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH.
                                                                        • +
                                                                        • aliases are created to keep backward compatibility.
                                                                        • +
                                                                      • +
                                                                      • Change the “Liberty†License with the new license “Ultimate Liberty†for the applications.
                                                                      • +
                                                                      • Reduce the default timeout value for the startup of the HSE form 5s to 100ms.
                                                                      • +
                                                                      • Update the Keil projects from V4 to V5.
                                                                      • +
                                                                      • Adapt the SW4STM32 projects to version 1.5.0 of the IDE.
                                                                      • +
                                                                    • +
                                                                    • Demonstrations

                                                                      +
                                                                        +
                                                                      • Change the “Liberty†License with the new license “Ultimate Liberty†for the applications.
                                                                      • +
                                                                      • Reduce the default timeout value for the startup of the HSE form 5s to 100ms.
                                                                      • +
                                                                      • Update the Keil projects from V4 to V5.
                                                                      • +
                                                                      • Adapt the SW4STM32 projects to version 1.5.0 of the IDE.
                                                                      • +
                                                                    • +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • To ensure the full compatibility of the GPIO interfaces across all the STM32 families, the gpio speed definition have been renamed: +
                                                                          +
                                                                        • GPIO_SPEED_LOW to GPIO_SPEED_FREQ_LOW
                                                                        • +
                                                                        • GPIO_SPEED_MEDIUM to GPIO_SPEED_FREQ_MEDIUM
                                                                        • +
                                                                        • GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH
                                                                        • +
                                                                        • aliases are created to keep backward compatibility
                                                                        • +
                                                                      • +
                                                                      • Change the “Liberty†License with the new license “Ultimate Liberty†for the applications.
                                                                      • +
                                                                      • Reduce the default timeout value for the startup of the HSE form 5s to 100ms.
                                                                      • +
                                                                      • Update the Keil projects from V4 to V5.
                                                                      • +
                                                                      • Adapt the SW4STM32 projects to version 1.5.0 of the IDE.
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Reduce the default timeout value for the startup of the HSE form 5s to 100ms.
                                                                      • +
                                                                      • Update the Keil projects from V4 to V5.
                                                                      • +
                                                                      • Adapt the SW4STM32 projects to version 1.5.0 of the IDE.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM32VL-Discovery:

                                                                    +
                                                                      +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • To ensure the full compatibility of the GPIO interfaces across all the STM32 families, the gpio speed definition have been renamed: +
                                                                          +
                                                                        • GPIO_SPEED_LOW to GPIO_SPEED_FREQ_LOW
                                                                        • +
                                                                        • GPIO_SPEED_MEDIUM to GPIO_SPEED_FREQ_MEDIUM
                                                                        • +
                                                                        • GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH
                                                                        • +
                                                                        • aliases are created to keep backward compatibility
                                                                        • +
                                                                      • +
                                                                      • Reduce the default timeout value for the startup of the HSE form 5s to 100ms.
                                                                      • +
                                                                      • Update the Keil projects from V4 to V5.
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Reduce the default timeout value for the startup of the HSE form 5s to 100ms.
                                                                      • +
                                                                      • Update the Keil projects from V4 to V5.
                                                                      • +
                                                                      • Adapt the SW4STM32 projects to version 1.5.0 of the IDE.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM3210C_EVAL:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • To ensure the full compatibility of the GPIO interfaces across all the STM32 families, the gpio speed definition have been renamed: +
                                                                          +
                                                                        • GPIO_SPEED_LOW to GPIO_SPEED_FREQ_LOW
                                                                        • +
                                                                        • GPIO_SPEED_MEDIUM to GPIO_SPEED_FREQ_MEDIUM
                                                                        • +
                                                                        • GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH
                                                                        • +
                                                                        • aliases are created to keep backward compatibility
                                                                        • +
                                                                      • +
                                                                      • Change the “Liberty†License with the new license “Ultimate Liberty†for the applications.
                                                                      • +
                                                                      • Reduce the default timeout value for the startup of the HSE form 5s to 100ms.
                                                                      • +
                                                                      • Update the Keil projects from V4 to V5.
                                                                      • +
                                                                      • Adapt the SW4STM32 projects to version 1.5.0 of the IDE.
                                                                      • +
                                                                    • +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • To ensure the full compatibility of the GPIO interfaces across all the STM32 families, the gpio speed definition have been renamed: +
                                                                          +
                                                                        • GPIO_SPEED_LOW to GPIO_SPEED_FREQ_LOW
                                                                        • +
                                                                        • GPIO_SPEED_MEDIUM to GPIO_SPEED_FREQ_MEDIUM
                                                                        • +
                                                                        • GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH
                                                                        • +
                                                                        • aliases are created to keep backward compatibility
                                                                        • +
                                                                      • +
                                                                      • Reduce the default timeout value for the startup of the HSE form 5s to 100ms.
                                                                      • +
                                                                      • Update the Keil projects from V4 to V5.
                                                                      • +
                                                                      • Adapt the SW4STM32 projects to version 1.5.0 of the IDE.
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Reduce the default timeout value for the startup of the HSE form 5s to 100ms.
                                                                      • +
                                                                      • Update the Keil projects from V4 to V5.
                                                                      • +
                                                                      • Adapt the SW4STM32 projects to version 1.5.0 of the IDE.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM3210E_EVAL:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • To ensure the full compatibility of the GPIO interfaces across all the STM32 families, the gpio speed definition have been renamed: +
                                                                          +
                                                                        • GPIO_SPEED_LOW to GPIO_SPEED_FREQ_LOW
                                                                        • +
                                                                        • GPIO_SPEED_MEDIUM to GPIO_SPEED_FREQ_MEDIUM
                                                                        • +
                                                                        • GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH
                                                                        • +
                                                                        • aliases are created to keep backward compatibility
                                                                        • +
                                                                      • +
                                                                      • Change the “Liberty†License with the new license “Ultimate Liberty†for the applications.
                                                                      • +
                                                                      • Reduce the default timeout value for the startup of the HSE form 5s to 100ms.
                                                                      • +
                                                                      • Update the Keil projects from V4 to V5.
                                                                      • +
                                                                      • Adapt the SW4STM32 projects to version 1.5.0 of the IDE.
                                                                      • +
                                                                    • +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • To ensure the full compatibility of the GPIO interfaces across all the STM32 families, the gpio speed definition have been renamed: +
                                                                          +
                                                                        • GPIO_SPEED_LOW to GPIO_SPEED_FREQ_LOW
                                                                        • +
                                                                        • GPIO_SPEED_MEDIUM to GPIO_SPEED_FREQ_MEDIUM
                                                                        • +
                                                                        • GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH
                                                                        • +
                                                                        • aliases are created to keep backward compatibility
                                                                        • +
                                                                      • +
                                                                      • Reduce the default timeout value for the startup of the HSE form 5s to 100ms.
                                                                      • +
                                                                      • Update the Keil projects from V4 to V5.
                                                                      • +
                                                                      • Adapt the SW4STM32 projects to version 1.5.0 of the IDE.
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Reduce the default timeout value for the startup of the HSE form 5s to 100ms.
                                                                      • +
                                                                      • Update the Keil projects from V4 to V5.
                                                                      • +
                                                                      • Adapt the SW4STM32 projects to version 1.5.0 of the IDE.
                                                                      • +
                                                                    • +
                                                                    +

                                                                    Contents

                                                                    +

                                                                    Projects

                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                    BoardProject categoryVersionPath
                                                                    STM32F103RB-Nucleo Applications V1.3.0Projects\STM32F103RB-Nucleo\Applications
                                                                    STM32F103RB-Nucleo Demonstrations V1.3.0Projects\STM32F103RB-Nucleo\Demonstrations
                                                                    STM32F103RB-Nucleo Examples V1.3.0Projects\STM32F103RB-Nucleo\Examples
                                                                    STM32F103RB-Nucleo Examples_LL V1.3.0Projects\STM32F103RB-Nucleo\Examples_LL
                                                                    STM32F103RB-Nucleo Examples_MIX V1.3.0Projects\STM32F103RB-Nucleo\Examples_MIX
                                                                    STM32F103RB-Nucleo Templates V1.3.0Projects\STM32F103RB-Nucleo\Templates
                                                                    STM32F103RB-Nucleo Templates_LL V1.3.0Projects\STM32F103RB-Nucleo\Templates_LL
                                                                    STM32VL-Discovery Examples V1.3.0Projects\STM32VL-Discovery\Examples
                                                                    STM32VL-Discovery Templates V1.3.0Projects\STM32VL-Discovery\Templates
                                                                    STM32VL-Discovery Templates_LL V1.3.0Projects\STM32VL-Discovery\Templates_LL
                                                                    STM3210C_EVAL Applications V1.3.0Projects\STM3210C_EVAL\Applications
                                                                    STM3210C_EVAL Examples V1.3.0Projects\STM3210C_EVAL\Examples
                                                                    STM3210C_EVAL Templates V1.3.0Projects\STM3210C_EVAL\Templates
                                                                    STM3210C_EVAL Templates_LL V1.3.0Projects\STM3210C_EVAL\Templates_LL
                                                                    STM3210E_EVAL Applications V1.3.0Projects\STM3210E_EVAL\Applications
                                                                    STM3210E_EVAL Examples V1.3.0Projects\STM3210E_EVAL\Examples
                                                                    STM3210E_EVAL Examples_LL V1.3.0Projects\STM3210E_EVAL\Examples_LL
                                                                    STM3210E_EVAL Examples_MIX V1.3.0Projects\STM3210E_EVAL\Examples_MIX
                                                                    STM3210E_EVAL Templates V1.3.0Projects\STM3210E_EVAL\Templates
                                                                    STM3210E_EVAL Templates_LL V1.3.0Projects\STM3210E_EVAL\Templates_LL
                                                                    +

                                                                    Known Limitations

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Development Toolchains and Compilers

                                                                    +
                                                                      +
                                                                    • IAR Embedded Workbench for ARM (EWARM) toolchain V7.20 + ST-LINK
                                                                    • +
                                                                    • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.17 + ST-LINK
                                                                    • +
                                                                    • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.1.1 + ST-LINK
                                                                    • +
                                                                    • System Workbench for STM32 (SW4STM32) toolchain V1.5.0 + ST-LINK
                                                                    • +
                                                                    +

                                                                    Supported Devices and EVAL boards

                                                                    +
                                                                      +
                                                                    • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet Lines
                                                                    • +
                                                                    • STM3210E-Eval board RevD
                                                                    • +
                                                                    • STM3210C-Eval board RevC
                                                                    • +
                                                                    • STM32VL-Discovery board RevC
                                                                    • +
                                                                    • STM32F1xx-Nucleo board RevC
                                                                    • +
                                                                    +

                                                                    Backward Compatibility

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Dependencies

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Maintenance release

                                                                    +

                                                                    Main changes

                                                                    +

                                                                    STM32F103RB-Nucleo:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • FreeRTOS: +
                                                                          +
                                                                        • Reduce heap size accordingly to the OS resources used inside the application. A margin of 10% rounded to the upper Kb is used. This permit to significantly reduce the memory usage within the following applications: +
                                                                            +
                                                                          • FreeRTOS_ThreadCreation: Reduced from 15 Kb of heap (RAM) to 2Kb. (FreeRTOSConfig.h/configTOTAL_HEAP_SIZE)
                                                                          • +
                                                                          • For more details about FreeRTOS implementation on STM32Cube, please refer to UM1722 “Developing Applications on STM32Cube with RTOSâ€.
                                                                          • +
                                                                        • +
                                                                        • Updates linked to middleware version changes: +
                                                                            +
                                                                          • Minor updates to be compliant with FreeRTOS V8.2.1.
                                                                          • +
                                                                        • +
                                                                      • +
                                                                    • +
                                                                    • Demonstrations

                                                                      +
                                                                        +
                                                                      • Updates linked to middleware version changes: +
                                                                          +
                                                                        • Minor updates to be compliant with FatFs R0.11.
                                                                        • +
                                                                      • +
                                                                    • +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • FLASH_WriteProtection: Simplify the example.
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • No Changes
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM32VL-Discovery:

                                                                    +
                                                                      +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • Removing SW4STM32 projects as not supported by SW4STM32. +
                                                                          +
                                                                        • SW4STM32 support only STLinkv2 and STLinkv2.1, not STLinkv1.
                                                                        • +
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • Removing SW4STM32 projects as not supported by SW4STM32. +
                                                                          +
                                                                        • SW4STM32 support only STLinkv2 and STLinkv2.1, not STLinkv1.
                                                                        • +
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM3210C_EVAL:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • FreeRTOS: +
                                                                          +
                                                                        • Reduce heap size accordingly to the OS resources used inside the application. A margin of 10% rounded to the upper Kb is used. This permit to significantly reduce the memory usage within the following applications: +
                                                                            +
                                                                          • FreeRTOS_ThreadCreation: Reduced from 15 Kb of heap (RAM) to 2Kb. (FreeRTOSConfig.h/configTOTAL_HEAP_SIZE)
                                                                          • +
                                                                          • For more details about FreeRTOS implementation on STM32Cube, please refer to UM1722 “Developing Applications on STM32Cube with RTOSâ€.
                                                                          • +
                                                                        • +
                                                                      • +
                                                                      • IAP: +
                                                                          +
                                                                        • Rework of the application.
                                                                        • +
                                                                      • +
                                                                      • Updates linked to middleware version changes: +
                                                                          +
                                                                        • Minor updates to be compliant with FreeRTOS V8.2.1.
                                                                        • +
                                                                        • Minor updates to be compliant with FatFs R0.11.
                                                                        • +
                                                                        • Projects configuration update to include the library STemWin528 instead of STemWin526.
                                                                        • +
                                                                      • +
                                                                    • +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • SMARTCARD_T0: Rework of the example to improve robustness.
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • No Changes
                                                                      • +
                                                                    • +
                                                                    +

                                                                    STM3210E_EVAL:

                                                                    +
                                                                      +
                                                                    • Applications

                                                                      +
                                                                        +
                                                                      • FreeRTOS: +
                                                                          +
                                                                        • Adding new projects to introduce the FreeRTOS V8.2.1 new features: +
                                                                            +
                                                                          • FreeRTOS_SignalFromISR (thread signaling from an interrupt)
                                                                          • +
                                                                          • FreeRTOS_Signal (thread signaling)
                                                                          • +
                                                                          • FreeRTOS_Mail (mail queues)
                                                                          • +
                                                                        • +
                                                                        • Reduce heap size accordingly to the OS resources used inside the application. A margin of 10% rounded to the upper Kb is used. This permit to significantly reduce the memory usage within the following applications: +
                                                                            +
                                                                          • FreeRTOS_ThreadCreation: Reduced from 15 Kb of heap (RAM) to 2Kb. (FreeRTOSConfig.h/configTOTAL_HEAP_SIZE)
                                                                          • +
                                                                          • FreeRTOS_SignalFromISR: 3Kb of heap.
                                                                          • +
                                                                          • FreeRTOS_Signal: 5kb of heap.
                                                                          • +
                                                                          • FreeRTOS_Mail: 3Kb of heap.
                                                                          • +
                                                                          • For more details about FreeRTOS implementation on STM32Cube, please refer to UM1722 “Developing Applications on STM32Cube with RTOSâ€.
                                                                          • +
                                                                        • +
                                                                      • +
                                                                      • IAP: +
                                                                          +
                                                                        • Add the IAP application with its associated led blinking project. This project demonstrates how to build an application to be loaded into Flash memory using In-Application Programming (IAP, through USART).
                                                                        • +
                                                                      • +
                                                                      • Updates linked to middleware version changes: +
                                                                          +
                                                                        • Minor updates to be compliant with FreeRTOS V8.2.1.
                                                                        • +
                                                                        • Minor updates to be compliant with FatFs R0.11.
                                                                        • +
                                                                        • Projects configuration update to include the library STemWin528 instead of STemWin526.
                                                                        • +
                                                                      • +
                                                                    • +
                                                                    • Examples

                                                                      +
                                                                        +
                                                                      • CORTEX_MPU: This example now uses the new HAL api on MPU.
                                                                      • +
                                                                      • SMARTCARD_T0: Rework of the example to improve robustness.
                                                                      • +
                                                                    • +
                                                                    • Templates

                                                                      +
                                                                        +
                                                                      • No Changes
                                                                      • +
                                                                    • +
                                                                    +

                                                                    Contents

                                                                    +

                                                                    Projects

                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                    BoardProject categoryVersionPath
                                                                    STM32F103RB-Nucleo Applications V1.2.0Projects\STM32F103RB-Nucleo\Applications
                                                                    STM32F103RB-Nucleo Demonstrations V1.2.0Projects\STM32F103RB-Nucleo\Demonstrations
                                                                    STM32F103RB-Nucleo Examples V1.2.0Projects\STM32F103RB-Nucleo\Examples
                                                                    STM32F103RB-Nucleo Examples_LL V1.2.0Projects\STM32F103RB-Nucleo\Examples_LL
                                                                    STM32F103RB-Nucleo Examples_MIX V1.2.0Projects\STM32F103RB-Nucleo\Examples_MIX
                                                                    STM32F103RB-Nucleo Templates V1.2.0Projects\STM32F103RB-Nucleo\Templates
                                                                    STM32F103RB-Nucleo Templates_LL V1.2.0Projects\STM32F103RB-Nucleo\Templates_LL
                                                                    STM32VL-Discovery Examples V1.2.0Projects\STM32VL-Discovery\Examples
                                                                    STM32VL-Discovery Templates V1.2.0Projects\STM32VL-Discovery\Templates
                                                                    STM32VL-Discovery Templates_LL V1.2.0Projects\STM32VL-Discovery\Templates_LL
                                                                    STM3210C_EVAL Applications V1.2.0Projects\STM3210C_EVAL\Applications
                                                                    STM3210C_EVAL Examples V1.2.0Projects\STM3210C_EVAL\Examples
                                                                    STM3210C_EVAL Templates V1.2.0Projects\STM3210C_EVAL\Templates
                                                                    STM3210C_EVAL Templates_LL V1.2.0Projects\STM3210C_EVAL\Templates_LL
                                                                    STM3210E_EVAL Applications V1.2.0Projects\STM3210E_EVAL\Applications
                                                                    STM3210E_EVAL Examples V1.2.0Projects\STM3210E_EVAL\Examples
                                                                    STM3210E_EVAL Examples_LL V1.2.0Projects\STM3210E_EVAL\Examples_LL
                                                                    STM3210E_EVAL Examples_MIX V1.2.0Projects\STM3210E_EVAL\Examples_MIX
                                                                    STM3210E_EVAL Templates V1.2.0Projects\STM3210E_EVAL\Templates
                                                                    STM3210E_EVAL Templates_LL V1.2.0Projects\STM3210E_EVAL\Templates_LL
                                                                    +

                                                                    Known Limitations

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Development Toolchains and Compilers

                                                                    +
                                                                      +
                                                                    • IAR Embedded Workbench for ARM (EWARM) toolchain V7.20 + ST-LINK
                                                                    • +
                                                                    • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.10 + ST-LINK +
                                                                        +
                                                                      • Important note: some of MDK-ARM projects were created with previous version like v4.73. If you are using MDK-ARM v5.10 (and later) you have to install a legacy patch to be able to open projects built with v4.73, here is the download link
                                                                      • +
                                                                    • +
                                                                    • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.1.1 + ST-LINK
                                                                    • +
                                                                    • System Workbench for STM32 (SW4STM32) toolchain V1.2.0 + ST-LINK
                                                                    • +
                                                                    +

                                                                    Supported Devices and EVAL boards

                                                                    +
                                                                      +
                                                                    • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet Lines
                                                                    • +
                                                                    • STM3210E-Eval board RevD
                                                                    • +
                                                                    • STM3210C-Eval board RevC
                                                                    • +
                                                                    • STM32VL-Discovery board RevC
                                                                    • +
                                                                    • STM32F1xx-Nucleo board RevC
                                                                    • +
                                                                    +

                                                                    Backward Compatibility

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Dependencies

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Maintenance release

                                                                    +

                                                                    Main changes

                                                                    +
                                                                      +
                                                                    • Add support of System Workbench for STM32 (SW4STM32) toolchain
                                                                    • +
                                                                    +

                                                                    Projects

                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                    BoardProject categoryVersionPath
                                                                    STM32F103RB-Nucleo Applications V1.1.0Projects\STM32F103RB-Nucleo\Applications
                                                                    STM32F103RB-Nucleo Demonstrations V1.1.0Projects\STM32F103RB-Nucleo\Demonstrations
                                                                    STM32F103RB-Nucleo Examples V1.1.0Projects\STM32F103RB-Nucleo\Examples
                                                                    STM32F103RB-Nucleo Examples_LL V1.1.0Projects\STM32F103RB-Nucleo\Examples_LL
                                                                    STM32F103RB-Nucleo Examples_MIX V1.1.0Projects\STM32F103RB-Nucleo\Examples_MIX
                                                                    STM32F103RB-Nucleo Templates V1.1.0Projects\STM32F103RB-Nucleo\Templates
                                                                    STM32F103RB-Nucleo Templates_LL V1.1.0Projects\STM32F103RB-Nucleo\Templates_LL
                                                                    STM32VL-Discovery Examples V1.1.0Projects\STM32VL-Discovery\Examples
                                                                    STM32VL-Discovery Templates V1.1.0Projects\STM32VL-Discovery\Templates
                                                                    STM32VL-Discovery Templates_LL V1.1.0Projects\STM32VL-Discovery\Templates_LL
                                                                    STM3210C_EVAL Applications V1.1.0Projects\STM3210C_EVAL\Applications
                                                                    STM3210C_EVAL Examples V1.1.0Projects\STM3210C_EVAL\Examples
                                                                    STM3210C_EVAL Templates V1.1.0Projects\STM3210C_EVAL\Templates
                                                                    STM3210C_EVAL Templates_LL V1.1.0Projects\STM3210C_EVAL\Templates_LL
                                                                    STM3210E_EVAL Applications V1.1.0Projects\STM3210E_EVAL\Applications
                                                                    STM3210E_EVAL Examples V1.1.0Projects\STM3210E_EVAL\Examples
                                                                    STM3210E_EVAL Examples_LL V1.1.0Projects\STM3210E_EVAL\Examples_LL
                                                                    STM3210E_EVAL Examples_MIX V1.1.0Projects\STM3210E_EVAL\Examples_MIX
                                                                    STM3210E_EVAL Templates V1.1.0Projects\STM3210E_EVAL\Templates
                                                                    STM3210E_EVAL Templates_LL V1.1.0Projects\STM3210E_EVAL\Templates_LL
                                                                    +

                                                                    Known Limitations

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Development Toolchains and Compilers

                                                                    +
                                                                      +
                                                                    • IAR Embedded Workbench for ARM (EWARM) toolchain V7.20 + ST-LINK
                                                                    • +
                                                                    • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.10 + ST-LINK
                                                                    • +
                                                                    • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.1.1 + ST-LINK
                                                                    • +
                                                                    • System Workbench for STM32 (SW4STM32) toolchain V1.2.0 + ST-LINK
                                                                    • +
                                                                    +

                                                                    Supported Devices and EVAL boards

                                                                    +
                                                                      +
                                                                    • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet Lines
                                                                    • +
                                                                    • STM3210E-Eval board RevD
                                                                    • +
                                                                    • STM3210C-Eval board RevC
                                                                    • +
                                                                    • STM32VL-Discovery board RevC
                                                                    • +
                                                                    • STM32F1xx-Nucleo board RevC
                                                                    • +
                                                                    +

                                                                    Backward Compatibility

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Dependencies

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Main Changes

                                                                    +

                                                                    First official release

                                                                    +

                                                                    Projects

                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                    BoardProject categoryVersionPath
                                                                    STM32F103RB-Nucleo Applications V1.0.0Projects\STM32F103RB-Nucleo\Applications
                                                                    STM32F103RB-Nucleo Demonstrations V1.0.0Projects\STM32F103RB-Nucleo\Demonstrations
                                                                    STM32F103RB-Nucleo Examples V1.0.0Projects\STM32F103RB-Nucleo\Examples
                                                                    STM32F103RB-Nucleo Examples_LL V1.0.0Projects\STM32F103RB-Nucleo\Examples_LL
                                                                    STM32F103RB-Nucleo Examples_MIX V1.0.0Projects\STM32F103RB-Nucleo\Examples_MIX
                                                                    STM32F103RB-Nucleo Templates V1.0.0Projects\STM32F103RB-Nucleo\Templates
                                                                    STM32F103RB-Nucleo Templates_LL V1.0.0Projects\STM32F103RB-Nucleo\Templates_LL
                                                                    STM32VL-Discovery Examples V1.0.0Projects\STM32VL-Discovery\Examples
                                                                    STM32VL-Discovery Templates V1.0.0Projects\STM32VL-Discovery\Templates
                                                                    STM32VL-Discovery Templates_LL V1.0.0Projects\STM32VL-Discovery\Templates_LL
                                                                    STM3210C_EVAL Applications V1.0.0Projects\STM3210C_EVAL\Applications
                                                                    STM3210C_EVAL Examples V1.0.0Projects\STM3210C_EVAL\Examples
                                                                    STM3210C_EVAL Templates V1.0.0Projects\STM3210C_EVAL\Templates
                                                                    STM3210C_EVAL Templates_LL V1.0.0Projects\STM3210C_EVAL\Templates_LL
                                                                    STM3210E_EVAL Applications V1.0.0Projects\STM3210E_EVAL\Applications
                                                                    STM3210E_EVAL Examples V1.0.0Projects\STM3210E_EVAL\Examples
                                                                    STM3210E_EVAL Examples_LL V1.0.0Projects\STM3210E_EVAL\Examples_LL
                                                                    STM3210E_EVAL Examples_MIX V1.0.0Projects\STM3210E_EVAL\Examples_MIX
                                                                    STM3210E_EVAL Templates V1.0.0Projects\STM3210E_EVAL\Templates
                                                                    STM3210E_EVAL Templates_LL V1.0.0Projects\STM3210E_EVAL\Templates_LL
                                                                    +

                                                                    Known Limitations

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Development Toolchains and Compilers

                                                                    +
                                                                      +
                                                                    • IAR Embedded Workbench for ARM (EWARM) toolchain V7.20 + ST-LINK
                                                                    • +
                                                                    • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.10 + ST-LINK
                                                                    • +
                                                                    • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.1.1 + ST-LINK
                                                                    • +
                                                                    • System Workbench for STM32 (SW4STM32) toolchain V1.2.0 + ST-LINK
                                                                    • +
                                                                    +

                                                                    Supported Devices and EVAL boards

                                                                    +
                                                                      +
                                                                    • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet Lines
                                                                    • +
                                                                    • STM3210E-Eval board RevD
                                                                    • +
                                                                    • STM3210C-Eval board RevC
                                                                    • +
                                                                    • STM32VL-Discovery board RevC
                                                                    • +
                                                                    • STM32F1xx-Nucleo board RevC
                                                                    • +
                                                                    +

                                                                    Backward Compatibility

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +

                                                                    Dependencies

                                                                    +
                                                                      +
                                                                    • None
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    +
                                                                    +
                                                                    +

                                                                    For complete documentation on STM32F1xx,visit: [www.st.com/stm32f1]

                                                                    +This release note uses up to date web standards and, for this reason, should not be opened with Internet Explorer but preferably with popular browsers such as Google Chrome, Mozilla Firefox, Opera or Microsoft Edge. +
                                                                    + + diff --git a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Inc/ffconf.h b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Inc/ffconf.h index b400973..e312522 100644 --- a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Inc/ffconf.h +++ b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Inc/ffconf.h @@ -184,7 +184,7 @@ / number is bound to the same physical drive number and only an FAT volume found on / the physical drive will be mounted. When multi-partition feature is enabled (1), / each logical drive number is bound to arbitrary physical drive and partition -/ listed in the VolToPart[]. Also f_fdisk() funciton will be available. */ +/ listed in the VolToPart[]. Also f_fdisk() function will be available. */ #define _MIN_SS 512 diff --git a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Inc/main.h b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Inc/main.h index 44b281b..cbc6690 100644 --- a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -35,5 +34,3 @@ /* Exported constants --------------------------------------------------------*/ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Inc/stm32f1xx_hal_conf.h index 81f5a17..d4a7bed 100644 --- a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Inc/stm32f1xx_it.h index 44d0bd2..255b58f 100644 --- a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -45,5 +44,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/MDK-ARM/startup_stm32f107xc.s index 44c0f55..49deb37 100644 --- a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index 861957c..090f988 100644 --- a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Src/main.c b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Src/main.c index 6a7371f..753c8fa 100644 --- a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -269,5 +268,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Src/stm32f1xx_it.c index 15129b3..d6bc4f7 100644 --- a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Src/stm32f1xx_it.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -145,5 +144,3 @@ void SysTick_Handler(void) /*void PPP_IRQHandler(void) { }*/ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/readme.txt b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/readme.txt index 48cefb1..b7cd38c 100644 --- a/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/FatFs/FatFs_uSD/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -92,5 +91,5 @@ In order to make the program work, you must do the following: - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/main.h b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/main.h index ffc20ce..7d6127a 100644 --- a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/main.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -40,6 +39,3 @@ extern "C" { #endif #endif /* __MAIN_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_hal_conf.h index 6b02851..374d1dc 100644 --- a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_it.h index 027ae48..1f58950 100644 --- a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -44,5 +43,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/MDK-ARM/startup_stm32f107xc.s index d4411d1..a175dab 100644 --- a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index 8af4a55..f1a442d 100644 --- a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/main.c b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/main.c index 6db0d95..98ab505 100644 --- a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -234,5 +233,3 @@ void assert_failed(uint8_t *file, uint32_t line) {} } #endif - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_hal_timebase_tim.c b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_hal_timebase_tim.c index 2002f8a..2d4c051 100644 --- a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_hal_timebase_tim.c +++ b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_hal_timebase_tim.c @@ -6,19 +6,18 @@ * * This file overrides the native HAL time base functions (defined as weak) * the TIM time base: - * + Intializes the TIM peripheral generate a Period elapsed Event each 1ms + * + Initializes the TIM peripheral generate a Period elapsed Event each 1ms * + HAL_IncTick is called inside HAL_TIM_PeriodElapsedCallback ie each 1ms * ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -162,5 +161,3 @@ void TIM2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_it.c index ec001ff..f55a650 100644 --- a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_it.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -126,5 +125,3 @@ void SysTick_Handler(void) /*void PPP_IRQHandler(void) { }*/ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/system_stm32f1xx.c index 94ed4bc..e6ff46b 100644 --- a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/readme.txt b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/readme.txt index 7ba718c..a50b616 100644 --- a/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -76,5 +75,5 @@ In order to make the program work, you must do the following: - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Inc/main.h b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Inc/main.h index 20c742b..cd30d58 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Inc/stm32f1xx_it.h index 6e40cfe..83eb942 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/MDK-ARM/startup_stm32f107xc.s index f8ba85c..3906efc 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index 855c122..25d913a 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Src/main.c b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Src/main.c index 95136f0..e0591ac 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -206,5 +205,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Src/stm32f1xx_it.c index f44b930..079b51c 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -146,6 +145,3 @@ void SysTick_Handler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Src/system_stm32f1xx.c index 32e219b..6caa33c 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -424,4 +423,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/readme.txt b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/readme.txt index 26f5774..35b716c 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Binary_Template/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -100,5 +99,5 @@ In order to load the SysTick example with the IAP, you must do the following: - A binary file "STM3210C_EVAL.bin" will be generated under "STM3210C_EVAL\Debug" folder. - Finally load this image with IAP application - *

                                                                    © COPYRIGHT 2016 STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/common.h b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/common.h index 63e9b65..61d22e9 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/common.h +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/common.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void Serial_PutString(uint8_t *p_string); HAL_StatusTypeDef Serial_PutByte(uint8_t param); #endif /* __COMMON_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/flash_if.h b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/flash_if.h index c296933..8d3aed6 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/flash_if.h +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/flash_if.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -200,7 +199,7 @@ enum { /* Exported macro ------------------------------------------------------------*/ -/* ABSoulute value */ +/* absolute value */ #define ABS_RETURN(x,y) (((x) < (y)) ? (y) : (x)) /* Get the number of sectors from where the user program will be loaded */ @@ -217,5 +216,3 @@ uint32_t FLASH_If_Write(uint32_t destination, uint32_t *p_source, uint32_t lengt uint32_t FLASH_If_WriteProtectionConfig(uint32_t protectionstate); #endif /* __FLASH_IF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/main.h b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/main.h index 358f85f..0923ed1 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -34,5 +33,3 @@ extern UART_HandleTypeDef UartHandle; /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/menu.h b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/menu.h index c138ca6..1e64142 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/menu.h +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/menu.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -38,5 +37,3 @@ typedef void (*pFunction)(void); void Main_Menu(void); #endif /* __MENU_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/stm32f1xx_it.h index 9dd83a2..48d3c48 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/ymodem.h b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/ymodem.h index 54ab021..2bb4246 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/ymodem.h +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Inc/ymodem.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -84,5 +83,3 @@ COM_StatusTypeDef Ymodem_Receive(uint32_t *p_size); COM_StatusTypeDef Ymodem_Transmit(uint8_t *p_buf, const uint8_t *p_file_name, uint32_t file_size); #endif /* __YMODEM_H_ */ - -/*******************(C)COPYRIGHT STMicroelectronics ********END OF FILE********/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/MDK-ARM/startup_stm32f107xc.s index b4605b6..7e33d35 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index c7608f3..b931e84 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/common.c b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/common.c index b6034ff..a88ed74 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/common.c +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/common.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ HAL_StatusTypeDef Serial_PutByte( uint8_t param ) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/flash_if.c b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/flash_if.c index b03d1e1..bed7e33 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/flash_if.c +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/flash_if.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -218,5 +217,3 @@ uint32_t FLASH_If_WriteProtectionConfig(uint32_t protectionstate) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/main.c b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/main.c index 510ae5d..2d16bcd 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -203,5 +202,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/menu.c b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/menu.c index b8f845f..372147a 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/menu.c +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/menu.c @@ -12,13 +12,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -225,5 +224,3 @@ void Main_Menu(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/stm32f1xx_it.c index 7ed66b4..c6a2a18 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -146,6 +145,3 @@ void SysTick_Handler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/system_stm32f1xx.c index 699d00a..85edca0 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/ymodem.c b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/ymodem.c index da852a2..3e1aa58 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/ymodem.c +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/Src/ymodem.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -35,7 +34,7 @@ #define CRC16_F /* activate the CRC16 integrity */ /* Private macro -------------------------------------------------------------*/ /* Private variables ---------------------------------------------------------*/ -/* @note ATTENTION - please keep this variable 32bit alligned */ +/* @note ATTENTION - please keep this variable 32bit aligned */ uint8_t aPacketData[PACKET_1K_SIZE + PACKET_DATA_INDEX + PACKET_TRAILER_SIZE]; /* Private function prototypes -----------------------------------------------*/ @@ -648,5 +647,3 @@ COM_StatusTypeDef Ymodem_Transmit (uint8_t *p_buf, const uint8_t *p_file_name, u /** * @} */ - -/*******************(C)COPYRIGHT 2016 STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/readme.txt b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/readme.txt index 747e196..196b6f2 100644 --- a/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/IAP/IAP_Main/readme.txt @@ -10,13 +10,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -161,5 +160,5 @@ Then - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Applications/LICENSE.md b/Projects/STM3210C_EVAL/Applications/LICENSE.md new file mode 100644 index 0000000..1af5233 --- /dev/null +++ b/Projects/STM3210C_EVAL/Applications/LICENSE.md @@ -0,0 +1,80 @@ +SLA0044 Rev5/February 2018 + +## Software license agreement + +### __ULTIMATE LIBERTY SOFTWARE LICENSE AGREEMENT__ + +BY INSTALLING, COPYING, DOWNLOADING, ACCESSING OR OTHERWISE USING THIS SOFTWARE +OR ANY PART THEREOF (AND THE RELATED DOCUMENTATION) FROM STMICROELECTRONICS +INTERNATIONAL N.V, SWISS BRANCH AND/OR ITS AFFILIATED COMPANIES +(STMICROELECTRONICS), THE RECIPIENT, ON BEHALF OF HIMSELF OR HERSELF, OR ON +BEHALF OF ANY ENTITY BY WHICH SUCH RECIPIENT IS EMPLOYED AND/OR ENGAGED AGREES +TO BE BOUND BY THIS SOFTWARE LICENSE AGREEMENT. + +Under STMicroelectronics’ intellectual property rights, the redistribution, +reproduction and use in source and binary forms of the software or any part +thereof, with or without modification, are permitted provided that the following +conditions are met: + +1. Redistribution of source code (modified or not) must retain any copyright +notice, this list of conditions and the disclaimer set forth below as items 10 +and 11. + +2. Redistributions in binary form, except as embedded into microcontroller or +microprocessor device manufactured by or for STMicroelectronics or a software +update for such device, must reproduce any copyright notice provided with the +binary code, this list of conditions, and the disclaimer set forth below as +items 10 and 11, in documentation and/or other materials provided with the +distribution. + +3. Neither the name of STMicroelectronics nor the names of other contributors to +this software may be used to endorse or promote products derived from this +software or part thereof without specific written permission. + +4. This software or any part thereof, including modifications and/or derivative +works of this software, must be used and execute solely and exclusively on or in +combination with a microcontroller or microprocessor device manufactured by or +for STMicroelectronics. + +5. No use, reproduction or redistribution of this software partially or totally +may be done in any manner that would subject this software to any Open Source +Terms. “Open Source Terms†shall mean any open source license which requires as +part of distribution of software that the source code of such software is +distributed therewith or otherwise made available, or open source license that +substantially complies with the Open Source definition specified at +www.opensource.org and any other comparable open source license such as for +example GNU General Public License (GPL), Eclipse Public License (EPL), Apache +Software License, BSD license or MIT license. + +6. STMicroelectronics has no obligation to provide any maintenance, support or +updates for the software. + +7. The software is and will remain the exclusive property of STMicroelectronics +and its licensors. The recipient will not take any action that jeopardizes +STMicroelectronics and its licensors' proprietary rights or acquire any rights +in the software, except the limited rights specified hereunder. + +8. The recipient shall comply with all applicable laws and regulations affecting +the use of the software or any part thereof including any applicable export +control law or regulation. + +9. Redistribution and use of this software or any part thereof other than as +permitted under this license is void and will automatically terminate your +rights under this license. + +10. THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS, WHICH ARE +DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT SHALL +STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +11. EXCEPT AS EXPRESSLY PERMITTED HEREUNDER, NO LICENSE OR OTHER RIGHTS, WHETHER +EXPRESS OR IMPLIED, ARE GRANTED UNDER ANY PATENT OR OTHER INTELLECTUAL PROPERTY +RIGHTS OF STMICROELECTRONICS OR ANY THIRD PARTY. diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/EWARM/startup_stm32f107xc.s index a66b37e..860cbff 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/app_ethernet.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/app_ethernet.h index 9816df3..2a932c8 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/app_ethernet.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/app_ethernet.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,7 +50,3 @@ void DHCP_Periodic_Handle(struct netif *netif); #endif #endif /* __APP_ETHERNET_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/ethernetif.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/ethernetif.h index 7b05e9e..f49c537 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/ethernetif.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/ethernetif.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/lcd_log_conf.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/lcd_log_conf.h index 06ef0c0..5334da3 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/lcd_log_conf.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/lcd_log_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -118,5 +117,3 @@ /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/lwipopts.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/lwipopts.h index 99b6c8b..b89ffdd 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/lwipopts.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/lwipopts.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,7 +49,7 @@ a lot of data that needs to be copied, this should be set high. */ /* MEMP_NUM_UDP_PCB: the number of UDP protocol control blocks. One per active UDP "connection". */ #define MEMP_NUM_UDP_PCB 6 -/* MEMP_NUM_TCP_PCB: the number of simulatenously active TCP +/* MEMP_NUM_TCP_PCB: the number of simultaneously active TCP connections. */ #define MEMP_NUM_TCP_PCB 20 /* MEMP_NUM_TCP_PCB_LISTEN: the number of listening TCP @@ -184,5 +183,3 @@ The STM32F1x7 allows computing and verifying the IP, UDP, TCP and ICMP checksums #define LWIP_SOCKET 0 #endif /* __LWIPOPTS_H__ */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/main.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/main.h index 6142e22..4c84d4d 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -71,6 +70,3 @@ #endif #endif /* __MAIN_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/stm32f1xx_hal_conf.h index ffc54f2..f962bf7 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -381,6 +380,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/stm32f1xx_it.h index a6597a4..caf3912 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/tcp_echoclient.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/tcp_echoclient.h index f1a774c..7bc12f3 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/tcp_echoclient.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Inc/tcp_echoclient.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -29,5 +28,3 @@ void tcp_echoclient_connect(void); #endif /* __TCP_ECHOCLIENT_H__ */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/MDK-ARM/startup_stm32f107xc.s index d4411d1..a175dab 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index 8af4a55..f1a442d 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/app_ethernet.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/app_ethernet.c index 9cb34fa..1d38230 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/app_ethernet.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/app_ethernet.c @@ -2,17 +2,16 @@ ****************************************************************************** * @file LwIP/LwIP_TCP_Echo_Client/Src/app_ethernet.c * @author MCD Application Team - * @brief Ethernet specefic module + * @brief Ethernet specific module ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -39,7 +38,7 @@ __IO uint8_t DHCP_state = DHCP_OFF; /* Private function prototypes -----------------------------------------------*/ /* Private functions ---------------------------------------------------------*/ /** - * @brief Notify the User about the nework interface config status + * @brief Notify the User about the network interface config status * @param netif: the network interface * @retval None */ @@ -237,5 +236,3 @@ void DHCP_Periodic_Handle(struct netif *netif) } } #endif - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/ethernetif.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/ethernetif.c index 1d9b6e7..cdf08c3 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/ethernetif.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/ethernetif.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -236,7 +235,7 @@ static void low_level_init(struct netif *netif) * * @note Returning ERR_MEM here if a DMA queue of your MAC is full can lead to * strange results. You might consider waiting for space in the DMA queue - * to become availale since the stack doesn't retry to send a packet + * to become available since the stack doesn't retry to send a packet * dropped because of memory failure (except for the TCP timers). */ static err_t low_level_output(struct netif *netif, struct pbuf *p) @@ -612,4 +611,3 @@ __weak void ethernetif_notify_conn_changed(struct netif *netif) when the callback is needed, */ } -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/main.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/main.c index e8bfd8b..db1210b 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -259,5 +258,3 @@ void assert_failed(uint8_t* file, uint32_t line) {} } #endif - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/stm32f1xx_it.c index e7af82d..195080a 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,6 +164,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/tcp_echoclient.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/tcp_echoclient.c index 7a5fbc0..791f51a 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/tcp_echoclient.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/Src/tcp_echoclient.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -93,7 +92,7 @@ void tcp_echoclient_connect(void) /** * @brief Function called when TCP connection established - * @param tpcb: pointer on the connection contol block + * @param tpcb: pointer on the connection control block * @param err: when connection correctly established err should be ERR_OK * @retval err_t: returned error */ @@ -103,7 +102,7 @@ static err_t tcp_echoclient_connected(void *arg, struct tcp_pcb *tpcb, err_t err if (err == ERR_OK) { - /* allocate structure es to maintain tcp connection informations */ + /* allocate structure es to maintain tcp connection information */ es = (struct echoclient *)mem_malloc(sizeof(struct echoclient)); if (es != NULL) @@ -161,7 +160,7 @@ static err_t tcp_echoclient_connected(void *arg, struct tcp_pcb *tpcb, err_t err * @param arg: argument to be passed to receive callback * @param tpcb: tcp connection control block * @param err: receive error code - * @retval err_t: retuned error + * @retval err_t: returned error */ static err_t tcp_echoclient_recv(void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err) { @@ -363,5 +362,3 @@ static void tcp_echoclient_connection_close(struct tcp_pcb *tpcb, struct echocli } #endif /* LWIP_TCP */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/readme.txt b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/readme.txt index 37a195e..2ef5726 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Client/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -102,5 +101,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the application - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/app_ethernet.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/app_ethernet.h index 9993643..6e161c2 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/app_ethernet.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/app_ethernet.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,7 +50,3 @@ void DHCP_Periodic_Handle(struct netif *netif); #endif #endif /* __APP_ETHERNET_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/ethernetif.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/ethernetif.h index 7b05e9e..f49c537 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/ethernetif.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/ethernetif.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/lcd_log_conf.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/lcd_log_conf.h index 61f3139..e1fa8d5 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/lcd_log_conf.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/lcd_log_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -118,5 +117,3 @@ /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/lwipopts.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/lwipopts.h index a6f30a7..4918ff2 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/lwipopts.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/lwipopts.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,7 +49,7 @@ a lot of data that needs to be copied, this should be set high. */ /* MEMP_NUM_UDP_PCB: the number of UDP protocol control blocks. One per active UDP "connection". */ #define MEMP_NUM_UDP_PCB 6 -/* MEMP_NUM_TCP_PCB: the number of simulatenously active TCP +/* MEMP_NUM_TCP_PCB: the number of simultaneously active TCP connections. */ #define MEMP_NUM_TCP_PCB 10 /* MEMP_NUM_TCP_PCB_LISTEN: the number of listening TCP @@ -182,5 +181,3 @@ The STM32F107 allows computing and verifying the IP, UDP, TCP and ICMP checksums #define LWIP_SOCKET 0 #endif /* __LWIPOPTS_H__ */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/main.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/main.h index 8365582..cbe358b 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -69,6 +68,3 @@ #endif #endif /* __MAIN_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/stm32f1xx_hal_conf.h index ffc54f2..f962bf7 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -381,6 +380,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/stm32f1xx_it.h index ec7d2fd..10c1c2f 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/MDK-ARM/startup_stm32f107xc.s index d4411d1..a175dab 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index 8af4a55..f1a442d 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/app_ethernet.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/app_ethernet.c index 8c6e45d..0026891 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/app_ethernet.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/app_ethernet.c @@ -2,17 +2,16 @@ ****************************************************************************** * @file LwIP/LwIP_TCP_Echo_Server/Src/app_ethernet.c * @author MCD Application Team - * @brief Ethernet specefic module + * @brief Ethernet specific module ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -37,7 +36,7 @@ __IO uint8_t DHCP_state = DHCP_OFF; /* Private function prototypes -----------------------------------------------*/ /* Private functions ---------------------------------------------------------*/ /** - * @brief Notify the User about the nework interface config status + * @brief Notify the User about the network interface config status * @param netif: the network interface * @retval None */ @@ -235,5 +234,3 @@ void DHCP_Periodic_Handle(struct netif *netif) } } #endif - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/ethernetif.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/ethernetif.c index 628fc4b..ed12a0e 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/ethernetif.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/ethernetif.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -236,7 +235,7 @@ static void low_level_init(struct netif *netif) * * @note Returning ERR_MEM here if a DMA queue of your MAC is full can lead to * strange results. You might consider waiting for space in the DMA queue - * to become availale since the stack doesn't retry to send a packet + * to become available since the stack doesn't retry to send a packet * dropped because of memory failure (except for the TCP timers). */ static err_t low_level_output(struct netif *netif, struct pbuf *p) @@ -612,4 +611,3 @@ __weak void ethernetif_notify_conn_changed(struct netif *netif) when the callback is needed, */ } -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/main.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/main.c index ab8be90..578deee 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -256,5 +255,3 @@ void assert_failed(uint8_t* file, uint32_t line) {} } #endif - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/stm32f1xx_it.c index 8ecfd51..62b89de 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -155,6 +154,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/tcp_echoserver.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/tcp_echoserver.c index 3a7c83f..34a901c 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/tcp_echoserver.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/Src/tcp_echoserver.c @@ -52,7 +52,7 @@ enum tcp_echoserver_states ES_CLOSING }; -/* structure for maintaing connection infos to be passed as argument +/* structure for maintaining connection infos to be passed as argument to LwIP callbacks*/ struct tcp_echoserver_struct { @@ -123,7 +123,7 @@ static err_t tcp_echoserver_accept(void *arg, struct tcp_pcb *newpcb, err_t err) /* set priority for the newly accepted tcp connection newpcb */ tcp_setprio(newpcb, TCP_PRIO_MIN); - /* allocate structure es to maintain tcp connection informations */ + /* allocate structure es to maintain tcp connection information */ es = (struct tcp_echoserver_struct *)mem_malloc(sizeof(struct tcp_echoserver_struct)); if (es != NULL) { @@ -252,7 +252,7 @@ static err_t tcp_echoserver_recv(void *arg, struct tcp_pcb *tpcb, struct pbuf *p } else { - /* unkown es->state, trash data */ + /* unknown es->state, trash data */ tcp_recved(tpcb, p->tot_len); es->p = NULL; pbuf_free(p); diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/readme.txt b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/readme.txt index 9fbed2e..3653d6c 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_TCP_Echo_Server/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -104,5 +103,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the application - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/EWARM/startup_stm32f107xc.s index a66b37e..860cbff 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/app_ethernet.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/app_ethernet.h index 8101dae..f4c4fc1 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/app_ethernet.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/app_ethernet.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,7 +50,3 @@ void DHCP_Periodic_Handle(struct netif *netif); #endif #endif /* __APP_ETHERNET_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/ethernetif.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/ethernetif.h index 7b05e9e..f49c537 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/ethernetif.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/ethernetif.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/lcd_log_conf.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/lcd_log_conf.h index 57b8468..2bf015d 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/lcd_log_conf.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/lcd_log_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -118,5 +117,3 @@ /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/lwipopts.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/lwipopts.h index c4ee2ad..d4bb68e 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/lwipopts.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/lwipopts.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,7 +49,7 @@ a lot of data that needs to be copied, this should be set high. */ /* MEMP_NUM_UDP_PCB: the number of UDP protocol control blocks. One per active UDP "connection". */ #define MEMP_NUM_UDP_PCB 6 -/* MEMP_NUM_TCP_PCB: the number of simulatenously active TCP +/* MEMP_NUM_TCP_PCB: the number of simultaneously active TCP connections. */ #define MEMP_NUM_TCP_PCB 10 /* MEMP_NUM_TCP_PCB_LISTEN: the number of listening TCP @@ -182,5 +181,3 @@ The STM32F1x7 allows computing and verifying the IP, UDP, TCP and ICMP checksums #define LWIP_SOCKET 0 #endif /* __LWIPOPTS_H__ */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/main.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/main.h index 6e9acbf..7edf45e 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -71,6 +70,3 @@ #endif #endif /* __MAIN_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/stm32f1xx_hal_conf.h index ffc54f2..f962bf7 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -381,6 +380,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/stm32f1xx_it.h index a6597a4..caf3912 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/udp_echoclient.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/udp_echoclient.h index 7326a23..64a5ec8 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/udp_echoclient.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Inc/udp_echoclient.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -30,6 +29,3 @@ void udp_echoclient_connect(void); void udp_echoclient_send(void); #endif /* __UDP_ECHOCLIENT_H__ */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/MDK-ARM/startup_stm32f107xc.s index d4411d1..a175dab 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index 8af4a55..f1a442d 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/app_ethernet.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/app_ethernet.c index 388fdcf..05cd89f 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/app_ethernet.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/app_ethernet.c @@ -2,17 +2,16 @@ ****************************************************************************** * @file LwIP/LwIP_UDP_Echo_Client/Src/app_ethernet.c * @author MCD Application Team - * @brief Ethernet specefic module + * @brief Ethernet specific module ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -37,7 +36,7 @@ __IO uint8_t DHCP_state = DHCP_OFF; /* Private function prototypes -----------------------------------------------*/ /* Private functions ---------------------------------------------------------*/ /** - * @brief Notify the User about the nework interface config status + * @brief Notify the User about the network interface config status * @param netif: the network interface * @retval None */ @@ -235,5 +234,3 @@ void DHCP_Periodic_Handle(struct netif *netif) } } #endif - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/ethernetif.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/ethernetif.c index c2e46bd..ddf7b5b 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/ethernetif.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/ethernetif.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -236,7 +235,7 @@ static void low_level_init(struct netif *netif) * * @note Returning ERR_MEM here if a DMA queue of your MAC is full can lead to * strange results. You might consider waiting for space in the DMA queue - * to become availale since the stack doesn't retry to send a packet + * to become available since the stack doesn't retry to send a packet * dropped because of memory failure (except for the TCP timers). */ static err_t low_level_output(struct netif *netif, struct pbuf *p) @@ -612,4 +611,3 @@ __weak void ethernetif_notify_conn_changed(struct netif *netif) when the callback is needed, */ } -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/main.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/main.c index ee9b1e4..d5205ac 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -263,5 +262,3 @@ void assert_failed(uint8_t* file, uint32_t line) {} } #endif - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/stm32f1xx_it.c index 11fc3cb..c872864 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -166,6 +165,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/udp_echoclient.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/udp_echoclient.c index 59eab21..35f8ed0 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/udp_echoclient.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/Src/udp_echoclient.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -117,5 +116,3 @@ void udp_receive_callback(void *arg, struct udp_pcb *upcb, struct pbuf *p, const /* Free receive pbuf */ pbuf_free(p); } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/readme.txt b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/readme.txt index 74fee39..634d69d 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Client/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -103,5 +102,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the application - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/EWARM/startup_stm32f107xc.s index a66b37e..860cbff 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/app_ethernet.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/app_ethernet.h index 53dcdfe..a62c516 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/app_ethernet.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/app_ethernet.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,7 +50,3 @@ void DHCP_Periodic_Handle(struct netif *netif); #endif #endif /* __APP_ETHERNET_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/ethernetif.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/ethernetif.h index 7b05e9e..f49c537 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/ethernetif.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/ethernetif.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/lcd_log_conf.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/lcd_log_conf.h index 4536222..f02daa5 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/lcd_log_conf.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/lcd_log_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -118,5 +117,3 @@ /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/lwipopts.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/lwipopts.h index 77995ce..97dfcc0 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/lwipopts.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/lwipopts.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,7 +49,7 @@ a lot of data that needs to be copied, this should be set high. */ /* MEMP_NUM_UDP_PCB: the number of UDP protocol control blocks. One per active UDP "connection". */ #define MEMP_NUM_UDP_PCB 6 -/* MEMP_NUM_TCP_PCB: the number of simulatenously active TCP +/* MEMP_NUM_TCP_PCB: the number of simultaneously active TCP connections. */ #define MEMP_NUM_TCP_PCB 10 /* MEMP_NUM_TCP_PCB_LISTEN: the number of listening TCP @@ -182,5 +181,3 @@ The STM32F1x7 allows computing and verifying the IP, UDP, TCP and ICMP checksums #define LWIP_SOCKET 0 #endif /* __LWIPOPTS_H__ */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/main.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/main.h index a7f3e0c..491a8dc 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -69,6 +68,3 @@ #endif #endif /* __MAIN_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/stm32f1xx_hal_conf.h index ffc54f2..f962bf7 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -381,6 +380,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/stm32f1xx_it.h index ec7d2fd..10c1c2f 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/MDK-ARM/startup_stm32f107xc.s index d4411d1..a175dab 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index 8af4a55..f1a442d 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/app_ethernet.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/app_ethernet.c index c162acc..9442bd9 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/app_ethernet.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/app_ethernet.c @@ -2,17 +2,16 @@ ****************************************************************************** * @file LwIP/LwIP_UDP_Echo_Server/Src/app_ethernet.c * @author MCD Application Team - * @brief Ethernet specefic module + * @brief Ethernet specific module ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -37,7 +36,7 @@ __IO uint8_t DHCP_state = DHCP_OFF; /* Private function prototypes -----------------------------------------------*/ /* Private functions ---------------------------------------------------------*/ /** - * @brief Notify the User about the nework interface config status + * @brief Notify the User about the network interface config status * @param netif: the network interface * @retval None */ @@ -235,5 +234,3 @@ void DHCP_Periodic_Handle(struct netif *netif) } } #endif - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/ethernetif.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/ethernetif.c index 9c54796..3989d47 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/ethernetif.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/ethernetif.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -236,7 +235,7 @@ static void low_level_init(struct netif *netif) * * @note Returning ERR_MEM here if a DMA queue of your MAC is full can lead to * strange results. You might consider waiting for space in the DMA queue - * to become availale since the stack doesn't retry to send a packet + * to become available since the stack doesn't retry to send a packet * dropped because of memory failure (except for the TCP timers). */ static err_t low_level_output(struct netif *netif, struct pbuf *p) @@ -612,4 +611,3 @@ __weak void ethernetif_notify_conn_changed(struct netif *netif) when the callback is needed, */ } -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/main.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/main.c index 5262a94..4633dbd 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -255,5 +254,3 @@ void assert_failed(uint8_t* file, uint32_t line) {} } #endif - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/stm32f1xx_it.c index 8ecfd51..62b89de 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -155,6 +154,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/udp_echoserver.c b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/udp_echoserver.c index 1a210e8..549d55e 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/udp_echoserver.c +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/Src/udp_echoserver.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,5 +88,3 @@ void udp_echoserver_receive_callback(void *arg, struct udp_pcb *upcb, struct pbu pbuf_free(p); } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/readme.txt b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/readme.txt index 46b54df..a9d9b4b 100644 --- a/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/LwIP/LwIP_UDP_Echo_Server/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -105,5 +104,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the application - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/main.h b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/main.h index af8c3df..f1b6452 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ void Toggle_Leds(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/stm32f1xx_hal_conf.h index 32b6f27..b3f8108 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -374,6 +373,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/stm32f1xx_it.h index b842f97..d6dbf11 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,5 +51,3 @@ void TIMx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_cdc_interface.h b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_cdc_interface.h index 59ccb62..ccaad72 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_cdc_interface.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_cdc_interface.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -72,5 +71,3 @@ extern USBD_CDC_ItfTypeDef USBD_CDC_fops; /* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ #endif /* __USBD_CDC_IF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_conf.h index d4595d4..c6b9ee5 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -71,5 +70,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __USBD_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_desc.h b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_desc.h index ec0e3f3..7f9440d 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_desc.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_desc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ extern USBD_DescriptorsTypeDef VCP_Desc; #endif /* __USBD_DESC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/MDK-ARM/startup_stm32f107xc.s index e960e65..4c75c4b 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index 1826629..e70bb11 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/main.c b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/main.c index 72feea3..3cc15ea 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -187,5 +186,3 @@ void assert_failed(uint8_t * file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/stm32f1xx_hal_msp.c index 1f8492b..9c92a0a 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -152,5 +151,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef * huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/stm32f1xx_it.c index c473d04..1288def 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -194,5 +193,3 @@ void TIMx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_cdc_interface.c b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_cdc_interface.c index 194381e..7f3dedb 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_cdc_interface.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_cdc_interface.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -424,5 +423,3 @@ static void Error_Handler(void) { /* Add your own code here */ } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_conf.c b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_conf.c index 0c12394..f0d9dcf 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_conf.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_conf.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -421,7 +420,7 @@ USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef * pdev, * @brief Returns the last transferred packet size. * @param pdev: Device handle * @param ep_addr: Endpoint Number - * @retval Recived Data Size + * @retval Received Data Size */ uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef * pdev, uint8_t ep_addr) { @@ -437,5 +436,3 @@ void USBD_LL_Delay(uint32_t Delay) { HAL_Delay(Delay); } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_desc.c b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_desc.c index 2f933f8..e29d65b 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_desc.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_desc.c @@ -2,17 +2,16 @@ ****************************************************************************** * @file USB_Device/CDC_Standalone/Src/usbd_desc.c * @author MCD Application Team - * @brief This file provides the USBD descriptors and string formating method. + * @brief This file provides the USBD descriptors and string formatting method. ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -257,6 +256,3 @@ static void IntToUnicode(uint32_t value, uint8_t * pbuf, uint8_t len) pbuf[2 * idx + 1] = 0; } } - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/readme.txt b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/readme.txt index 7bf30b1..b96a727 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CDC_Standalone/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -149,5 +148,5 @@ In order to make the program work, you must do the following : - Find out the number of the COM port assigned to the STM32 CDC device - Open a serial terminal application and start the communication - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/main.h b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/main.h index 5d704db..c9d5f29 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/stm32f1xx_hal_conf.h index b0e077a..712e283 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -374,6 +373,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/stm32f1xx_it.h index 96d3c71..1891ffa 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void DMA1_Channel1_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_conf.h index 7482561..9017a2c 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -75,5 +74,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __USBD_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_customhid_if.h b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_customhid_if.h index 5e29ec8..c92b16c 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_customhid_if.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_customhid_if.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -70,5 +69,3 @@ extern USBD_CUSTOM_HID_ItfTypeDef USBD_CustomHID_fops; #endif /* __USBD_CUSTOMHID_IF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_desc.h b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_desc.h index 82a3778..3e2825e 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_desc.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_desc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ extern USBD_DescriptorsTypeDef HID_Desc; #endif /* __USBD_DESC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/MDK-ARM/startup_stm32f107xc.s index 280efab..9c89ab6 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index 8af4a55..f1a442d 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/main.c b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/main.c index 2182c73..20840f8 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -162,5 +161,3 @@ void assert_failed(uint8_t * file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/stm32f1xx_hal_msp.c index 5604bca..73dc1cc 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/stm32f1xx_hal_msp.c @@ -6,14 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © COPYRIGHT(c) 2016 STMicroelectronics

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * All rights reserved. - * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -109,5 +107,3 @@ void HAL_ADC_MspDeInit(ADC_HandleTypeDef * hadc) /* ##-4- Disable the NVIC for DMA ########################################### */ HAL_NVIC_DisableIRQ(ADCx_DMA_IRQn); } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/stm32f1xx_it.c index f38bc3b..910f533 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -194,5 +193,3 @@ void DMA1_Channel1_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_conf.c b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_conf.c index a8018b0..f3fb675 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_conf.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_conf.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -421,7 +420,7 @@ USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef * pdev, * @brief Returns the last transferred packet size. * @param pdev: Device handle * @param ep_addr: Endpoint Number - * @retval Recived Data Size + * @retval Received Data Size */ uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef * pdev, uint8_t ep_addr) { @@ -437,5 +436,3 @@ void USBD_LL_Delay(uint32_t Delay) { HAL_Delay(Delay); } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_customhid_if.c b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_customhid_if.c index e968c3f..cae88a8 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_customhid_if.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_customhid_if.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -166,7 +165,7 @@ USBD_CUSTOM_HID_ItfTypeDef USBD_CustomHID_fops = { * @brief CustomHID_Init * Initializes the CUSTOM HID media low layer * @param None - * @retval Result of the opeartion: USBD_OK if all operations are OK else USBD_FAIL + * @retval Result of the operation: USBD_OK if all operations are OK else USBD_FAIL */ static int8_t CustomHID_Init(void) { @@ -221,7 +220,7 @@ static int8_t CustomHID_Init(void) * @brief CustomHID_DeInit * DeInitializes the CUSTOM HID media low layer * @param None - * @retval Result of the opeartion: USBD_OK if all operations are OK else USBD_FAIL + * @retval Result of the operation: USBD_OK if all operations are OK else USBD_FAIL */ static int8_t CustomHID_DeInit(void) { @@ -287,5 +286,3 @@ void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) USBD_CUSTOM_HID_SendReport(&USBD_Device, SendBuffer, 2); } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_desc.c b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_desc.c index d120b46..8348136 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_desc.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_desc.c @@ -2,17 +2,16 @@ ****************************************************************************** * @file USB_Device/CustomHID_Standalone/Src/usbd_desc.c * @author MCD Application Team - * @brief This file provides the USBD descriptors and string formating method. + * @brief This file provides the USBD descriptors and string formatting method. ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -258,5 +257,3 @@ static void IntToUnicode(uint32_t value, uint8_t * pbuf, uint8_t len) pbuf[2 * idx + 1] = 0; } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/readme.txt b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/readme.txt index db2d0ae..55b5d0b 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/CustomHID_Standalone/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -89,6 +88,5 @@ In order to make the program work, you must do the following: - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Binary/readme.txt b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Binary/readme.txt index ae97dca..2e44df2 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Binary/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Binary/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -44,5 +43,5 @@ The offset address of this binary is 0x08005000 which matches the definition in evaluation boards and can be easily tailored to any other supported device and development board. - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/main.h b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/main.h index 2d9d81d..347c551 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -35,5 +34,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/stm32f1xx_hal_conf.h index 6db88b1..2120f36 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -374,6 +373,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/stm32f1xx_it.h index 9198ba7..c93f628 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void OTG_FS_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_conf.h index 7884b5b..dfcdde4 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -79,5 +78,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __USBD_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_desc.h b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_desc.h index 1019f95..190fcbb 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_desc.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_desc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ extern USBD_DescriptorsTypeDef DFU_Desc; #endif /* __USBD_DESC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_dfu_flash.h b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_dfu_flash.h index fbda501..5a49b0a 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_dfu_flash.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_dfu_flash.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -33,5 +32,3 @@ extern USBD_DFU_MediaTypeDef USBD_DFU_Flash_fops; /* Exported functions ------------------------------------------------------- */ #endif /* __USBD_DFU_FLASH_H_ */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/MDK-ARM/startup_stm32f107xc.s index 1398c1d..b9e52c9 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index b016bd7..5bf11a9 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/main.c b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/main.c index acf674b..7af8b0b 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -76,7 +75,7 @@ int main(void) } } - /* Otherwise enters DFU mode to allow user programing his application */ + /* Otherwise enters DFU mode to allow user programming his application */ /* Init Device Library */ USBD_Init(&USBD_Device, &DFU_Desc, 0); @@ -185,5 +184,3 @@ void assert_failed(uint8_t * file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/stm32f1xx_it.c index 4548132..102e4b8 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -158,5 +157,3 @@ void OTG_FS_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_conf.c b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_conf.c index d7b70e5..d091855 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_conf.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_conf.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -421,7 +420,7 @@ USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef * pdev, * @brief Returns the last transferred packet size. * @param pdev: Device handle * @param ep_addr: Endpoint Number - * @retval Recived Data Size + * @retval Received Data Size */ uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef * pdev, uint8_t ep_addr) { @@ -437,5 +436,3 @@ void USBD_LL_Delay(uint32_t Delay) { HAL_Delay(Delay); } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_desc.c b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_desc.c index decb241..8cb268c 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_desc.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_desc.c @@ -2,17 +2,16 @@ ****************************************************************************** * @file USB_Device/DFU_Standalone/Src/usbd_desc.c * @author MCD Application Team - * @brief This file provides the USBD descriptors and string formating method. + * @brief This file provides the USBD descriptors and string formatting method. ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -257,5 +256,3 @@ static void IntToUnicode(uint32_t value, uint8_t * pbuf, uint8_t len) pbuf[2 * idx + 1] = 0; } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_dfu_flash.c b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_dfu_flash.c index 60e26fa..82df255 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_dfu_flash.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_dfu_flash.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -182,5 +181,3 @@ uint16_t Flash_If_GetStatus(uint32_t Add, uint8_t Cmd, uint8_t * buffer) } return 0; } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/readme.txt b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/readme.txt index 07629f5..26e3235 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/DFU_Standalone/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -134,5 +133,5 @@ In order to make the program work, you must do the following : - To run the downloaded application, execute the command "leave the DFU mode" or simply reset the board. - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/main.h b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/main.h index 9897774..d4e4948 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ void Toggle_Leds(void); void SystemClock_Config(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_hal_conf.h index 3106b82..dfc6d1d 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -374,6 +373,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_it.h index 2c89e79..80f5837 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void EXTI9_5_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/usbd_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/usbd_conf.h index c7b16b2..6a6aceb 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/usbd_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/usbd_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -71,5 +70,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __USBD_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/usbd_desc.h b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/usbd_desc.h index 4003fb8..bdd3ce8 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/usbd_desc.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Inc/usbd_desc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ extern USBD_DescriptorsTypeDef HID_Desc; #endif /* __USBD_DESC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/MDK-ARM/startup_stm32f107xc.s index 280efab..9c89ab6 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index 8af4a55..f1a442d 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/main.c b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/main.c index 1e2b418..89ce892 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -193,5 +192,3 @@ void assert_failed(uint8_t * file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/stm32f1xx_it.c index 76cec8f..a3fad96 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -254,6 +253,3 @@ static void GetPointerData(uint8_t * pbuf) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/usbd_conf.c b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/usbd_conf.c index 491a2b3..971f685 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/usbd_conf.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/usbd_conf.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -457,7 +456,7 @@ USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef * pdev, * @brief Returns the last transferred packet size. * @param pdev: Device handle * @param ep_addr: Endpoint Number - * @retval Recived Data Size + * @retval Received Data Size */ uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef * pdev, uint8_t ep_addr) { @@ -555,5 +554,3 @@ void USBD_LL_Delay(uint32_t Delay) { HAL_Delay(Delay); } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/usbd_desc.c b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/usbd_desc.c index 51cb604..56a3aef 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/usbd_desc.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/Src/usbd_desc.c @@ -2,17 +2,16 @@ ****************************************************************************** * @file USB_Device/HID_Standalone/Src/usbd_desc.c * @author MCD Application Team - * @brief This file provides the USBD descriptors and string formating method. + * @brief This file provides the USBD descriptors and string formatting method. ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -257,5 +256,3 @@ static void IntToUnicode(uint32_t value, uint8_t * pbuf, uint8_t len) pbuf[2 * idx + 1] = 0; } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/readme.txt b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/readme.txt index de66d19..8fdc5a5 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/HID_Standalone/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -95,6 +94,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/main.h b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/main.h index 3155845..f9094bc 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -37,5 +36,3 @@ void Toggle_Leds(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/stm32f1xx_hal_conf.h index b13c22d..b71fed8 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -374,6 +373,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/stm32f1xx_it.h index 46e2929..29d5513 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void SDIO_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_conf.h index 49f05f5..a263dfb 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -74,5 +73,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __USBD_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_desc.h b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_desc.h index 809463e..12e93b1 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_desc.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_desc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ extern USBD_DescriptorsTypeDef MSC_Desc; #endif /* __USBD_DESC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_storage.h b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_storage.h index 0f554d3..b3810c1 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_storage.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_storage.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ extern USBD_StorageTypeDef USBD_DISK_fops; #endif /* __USBD_STORAGE_H_ */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/MDK-ARM/startup_stm32f107xc.s index e960e65..4c75c4b 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index 3825124..608e033 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/main.c b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/main.c index b6d8ad2..d94e105 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -187,5 +186,3 @@ void assert_failed(uint8_t * file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/stm32f1xx_it.c index 3e69935..fbef649 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -159,5 +158,3 @@ void OTG_FS_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_conf.c b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_conf.c index d712c5d..752a9cb 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_conf.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_conf.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -422,7 +421,7 @@ USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef * pdev, * @brief Returns the last transferred packet size. * @param pdev: Device handle * @param ep_addr: Endpoint Number - * @retval Recived Data Size + * @retval Received Data Size */ uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef * pdev, uint8_t ep_addr) { @@ -438,5 +437,3 @@ void USBD_LL_Delay(uint32_t Delay) { HAL_Delay(Delay); } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_desc.c b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_desc.c index 0a085de..a803702 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_desc.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_desc.c @@ -2,17 +2,16 @@ ****************************************************************************** * @file USB_Device/MSC_Standalone/Src/usbd_desc.c * @author MCD Application Team - * @brief This file provides the USBD descriptors and string formating method. + * @brief This file provides the USBD descriptors and string formatting method. ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -258,5 +257,3 @@ static void IntToUnicode(uint32_t value, uint8_t * pbuf, uint8_t len) pbuf[2 * idx + 1] = 0; } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_storage.c b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_storage.c index 1379bc7..c4034ed 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_storage.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_storage.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -72,7 +71,7 @@ USBD_StorageTypeDef USBD_DISK_fops = { /* Private functions --------------------------------------------------------- */ /** - * @brief Initailizes the storage unit (medium) + * @brief Initializes the storage unit (medium) * @param lun: Logical unit number * @retval Status (0 : Ok / -1 : Error) */ @@ -196,6 +195,3 @@ int8_t STORAGE_GetMaxLun(void) { return (STORAGE_LUN_NBR - 1); } - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/readme.txt b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/readme.txt index 826d883..06da4a4 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/USB_Device/MSC_Standalone/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -83,5 +82,5 @@ In order to make the program work, you must do the following: - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/ffconf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/ffconf.h index 3ca52cc..261d1cb 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/ffconf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/ffconf.h @@ -185,7 +185,7 @@ / number is bound to the same physical drive number and only an FAT volume found on / the physical drive will be mounted. When multi-partition feature is enabled (1), / each logical drive number is bound to arbitrary physical drive and partition -/ listed in the VolToPart[]. Also f_fdisk() funciton will be available. */ +/ listed in the VolToPart[]. Also f_fdisk() function will be available. */ #define _MIN_SS 512 diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/lcd_log_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/lcd_log_conf.h index fb584a8..e512c5d 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/lcd_log_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/lcd_log_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -65,5 +64,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __LCD_LOG_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/main.h b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/main.h index c52e2db..7147dd3 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -150,5 +149,3 @@ void LCD_ClearTextZone(void); void GetDefaultConfiguration(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/stm32f1xx_hal_conf.h index d99842c..d260890 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -379,6 +378,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/stm32f1xx_it.h index 89e7e75..cbf1118 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,5 +51,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/usbh_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/usbh_conf.h index 8d9f87a..8115e69 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/usbh_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Inc/usbh_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -76,5 +75,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __USBH_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/MDK-ARM/startup_stm32f107xc.s index e960e65..4c75c4b 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index 1826629..e70bb11 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/cdc_configuration.c b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/cdc_configuration.c index 95e95d2..2d0c7a2 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/cdc_configuration.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/cdc_configuration.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -158,7 +157,7 @@ static void ReturnFromConfigurationMenu(void) } /** - * @brief Initiliazes Configuration Menu. + * @brief Initializes Configuration Menu. * @param None * @retval None */ @@ -181,7 +180,7 @@ static void ConfigurationMenu_Init(void) } /** - * @brief Sets the CDC demo intial values. + * @brief Sets the CDC demo initial values. * @param None * @retval None */ @@ -649,5 +648,3 @@ void USBH_CDC_LineCodingChanged(USBH_HandleTypeDef * phost) { LCD_DbgLog("New CDC Settings applied!\n"); } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/cdc_receive.c b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/cdc_receive.c index 9519a01..728b6d0 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/cdc_receive.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/cdc_receive.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -196,5 +195,3 @@ static void DumpReceivedData(void) } } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/cdc_send.c b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/cdc_send.c index 4ed8247..3f1a59b 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/cdc_send.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/cdc_send.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -334,5 +333,3 @@ void USBH_CDC_TransmitCallback(USBH_HandleTypeDef * phost) LCD_DbgLog(">> Data sent\n"); } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/explorer.c b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/explorer.c index f25253b..f9fdb37 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/explorer.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/explorer.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -123,5 +122,3 @@ FRESULT SD_StorageParse(void) f_closedir(&dir); return res; } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/main.c b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/main.c index 1eeec3b..f2b7035 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -286,5 +285,3 @@ void assert_failed(uint8_t * file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/menu.c b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/menu.c index 2170887..409bc01 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/menu.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/menu.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -432,5 +431,3 @@ void LCD_ClearTextZone(void) BSP_LCD_ClearStringLine(i + 3); } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/stm32f1xx_it.c index 8f961f8..3348b23 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -179,6 +178,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/usbh_conf.c b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/usbh_conf.c index 9e5b0b3..567bde9 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/usbh_conf.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/Src/usbh_conf.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -442,5 +441,3 @@ void USBH_Delay(uint32_t Delay) { HAL_Delay(Delay); } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/readme.txt b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/readme.txt index be4acb9..2826c92 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/CDC_Standalone/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -118,5 +117,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/lcd_log_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/lcd_log_conf.h index 4c8b5b1..422450b 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/lcd_log_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/lcd_log_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -66,5 +65,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __LCD_LOG_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/main.h b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/main.h index 9eb7ef5..006f417 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -90,5 +89,3 @@ void USR_MOUSE_ProcessData(HID_MOUSE_Info_TypeDef *data); void USR_KEYBRD_ProcessData(uint8_t data); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/stm32f1xx_hal_conf.h index 26969a1..22cb3b8 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -379,6 +378,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/stm32f1xx_it.h index ee7df25..cb836b5 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/usbh_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/usbh_conf.h index 8cd0011..2bdf55d 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/usbh_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Inc/usbh_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -83,5 +82,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __USBH_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/MDK-ARM/startup_stm32f107xc.s index 9c84544..374eb40 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index bb1028b..16487af 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/keyboard.c b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/keyboard.c index ec3bc1b..e2dbf02 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/keyboard.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/keyboard.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -137,7 +136,7 @@ void USR_KEYBRD_ProcessData(uint8_t data) } else if (data == '\r') { - /* Manage deletion of character and upadte cursor location */ + /* Manage deletion of character and update cursor location */ if (KeybrdCharYpos == KYBRD_FIRST_COLUMN) { /* First character of first line to be deleted */ @@ -183,5 +182,3 @@ void USR_KEYBRD_ProcessData(uint8_t data) } } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/main.c b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/main.c index 2cc73d1..8e8a1f8 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -317,5 +316,3 @@ void assert_failed(uint8_t * file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/menu.c b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/menu.c index 5dc187b..5f2f2d7 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/menu.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/menu.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -378,5 +377,3 @@ static void USBH_KeybdDemo(USBH_HandleTypeDef * phost) } } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/mouse.c b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/mouse.c index 771633d..fbd12c7 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/mouse.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/mouse.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -168,8 +167,8 @@ void USR_MOUSE_ProcessData(HID_MOUSE_Info_TypeDef * data) /** * @brief Handles mouse scroll to update the mouse position on display window. - * @param x: USB HID Mouse X co-ordinate - * @param y: USB HID Mouse Y co-ordinate + * @param x: USB HID Mouse X coordinate + * @param y: USB HID Mouse Y coordinate * @retval None */ static void HID_MOUSE_UpdatePosition(int8_t x, int8_t y) @@ -278,5 +277,3 @@ void HID_MOUSE_ButtonReleased(uint8_t button_idx) break; } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/stm32f1xx_hal_timebase_tim.c b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/stm32f1xx_hal_timebase_tim.c index 2002f8a..2d4c051 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/stm32f1xx_hal_timebase_tim.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/stm32f1xx_hal_timebase_tim.c @@ -6,19 +6,18 @@ * * This file overrides the native HAL time base functions (defined as weak) * the TIM time base: - * + Intializes the TIM peripheral generate a Period elapsed Event each 1ms + * + Initializes the TIM peripheral generate a Period elapsed Event each 1ms * + HAL_IncTick is called inside HAL_TIM_PeriodElapsedCallback ie each 1ms * ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -162,5 +161,3 @@ void TIM2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/stm32f1xx_it.c index 698a766..9cefdbc 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -150,6 +149,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/usbh_conf.c b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/usbh_conf.c index 50da9d9..af739b8 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/usbh_conf.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/Src/usbh_conf.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -445,5 +444,3 @@ void USBH_Delay(uint32_t Delay) { HAL_Delay(Delay); } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/readme.txt b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/readme.txt index 1736f59..8d8903c 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_RTOS/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -119,5 +118,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/lcd_log_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/lcd_log_conf.h index 1ca749b..7f006e0 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/lcd_log_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/lcd_log_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -65,5 +64,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __LCD_LOG_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/main.h b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/main.h index 443d862..90dece1 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -90,5 +89,3 @@ void USR_MOUSE_ProcessData(HID_MOUSE_Info_TypeDef *data); void USR_KEYBRD_ProcessData(uint8_t data); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/stm32f1xx_hal_conf.h index c1daf3c..a67335c 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -379,6 +378,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/stm32f1xx_it.h index bf65228..74a7674 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/usbh_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/usbh_conf.h index 6ebe05f..4ccf136 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/usbh_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Inc/usbh_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -76,5 +75,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __USBH_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/MDK-ARM/startup_stm32f107xc.s index 280efab..9c89ab6 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index 8af4a55..f1a442d 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/keyboard.c b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/keyboard.c index 7bbc8d6..b643e11 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/keyboard.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/keyboard.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -182,5 +181,3 @@ void USR_KEYBRD_ProcessData(uint8_t data) } } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/main.c b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/main.c index 70692e5..886aaf9 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -270,5 +269,3 @@ void assert_failed(uint8_t * file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/menu.c b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/menu.c index 5a55b21..19a489c 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/menu.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/menu.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -329,5 +328,3 @@ static void USBH_KeybdDemo(USBH_HandleTypeDef * phost) } } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/mouse.c b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/mouse.c index 6faf9a7..442112c 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/mouse.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/mouse.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -167,8 +166,8 @@ void USR_MOUSE_ProcessData(HID_MOUSE_Info_TypeDef * data) /** * @brief Handles mouse scroll to update the mouse position on display window. - * @param x: USB HID Mouse X co-ordinate - * @param y: USB HID Mouse Y co-ordinate + * @param x: USB HID Mouse X coordinate + * @param y: USB HID Mouse Y coordinate * @retval None */ static void HID_MOUSE_UpdatePosition(int8_t x, int8_t y) @@ -277,5 +276,3 @@ void HID_MOUSE_ButtonReleased(uint8_t button_idx) break; } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/stm32f1xx_it.c index 847e347..07ac576 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -168,6 +167,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/usbh_conf.c b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/usbh_conf.c index 55ce17b..2668b4a 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/usbh_conf.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/Src/usbh_conf.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -441,5 +440,3 @@ void USBH_Delay(uint32_t Delay) { HAL_Delay(Delay); } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/readme.txt b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/readme.txt index da336c3..85c7c60 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/HID_Standalone/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -107,5 +106,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/ffconf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/ffconf.h index 33c7a4c..d6760cf 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/ffconf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/ffconf.h @@ -185,7 +185,7 @@ / number is bound to the same physical drive number and only an FAT volume found on / the physical drive will be mounted. When multi-partition feature is enabled (1), / each logical drive number is bound to arbitrary physical drive and partition -/ listed in the VolToPart[]. Also f_fdisk() funciton will be available. */ +/ listed in the VolToPart[]. Also f_fdisk() function will be available. */ #define _MIN_SS 512 diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/lcd_log_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/lcd_log_conf.h index 5ceff25..b3ece3d 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/lcd_log_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/lcd_log_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -66,5 +65,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __LCD_LOG_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/main.h b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/main.h index 7e4551e..24e3d89 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -66,5 +65,3 @@ void Menu_Init(void); void MSC_MenuProcess(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/stm32f1xx_hal_conf.h index aa8fa09..c67783b 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -379,6 +378,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/stm32f1xx_it.h index a46774c..7a5fffa 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/usbh_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/usbh_conf.h index c0c9acd..dd690a3 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/usbh_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Inc/usbh_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -83,5 +82,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __USBH_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/MDK-ARM/startup_stm32f107xc.s index 9c84544..374eb40 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index bb1028b..16487af 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/explorer.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/explorer.c index 953c23b..0f49f5b 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/explorer.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/explorer.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -111,5 +110,3 @@ FRESULT Explore_Disk(char *path, uint8_t recu_level) } return res; } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/file_operations.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/file_operations.c index d0691e3..b375390 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/file_operations.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/file_operations.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -97,5 +96,3 @@ void MSC_File_Operations(void) } } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/main.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/main.c index fb1ccb7..d738e80 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -325,5 +324,3 @@ void assert_failed(uint8_t * file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/menu.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/menu.c index 8a82ae9..6dc1d17 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/menu.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/menu.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -257,5 +256,3 @@ void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) osSemaphoreRelease(MenuEvent); } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/stm32f1xx_hal_timebase_tim.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/stm32f1xx_hal_timebase_tim.c index 2002f8a..2d4c051 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/stm32f1xx_hal_timebase_tim.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/stm32f1xx_hal_timebase_tim.c @@ -6,19 +6,18 @@ * * This file overrides the native HAL time base functions (defined as weak) * the TIM time base: - * + Intializes the TIM peripheral generate a Period elapsed Event each 1ms + * + Initializes the TIM peripheral generate a Period elapsed Event each 1ms * + HAL_IncTick is called inside HAL_TIM_PeriodElapsedCallback ie each 1ms * ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -162,5 +161,3 @@ void TIM2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/stm32f1xx_it.c index c853c11..4e77409 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -150,6 +149,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/usbh_conf.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/usbh_conf.c index 80b2d27..37c3c21 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/usbh_conf.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/usbh_conf.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -445,5 +444,3 @@ void USBH_Delay(uint32_t Delay) { HAL_Delay(Delay); } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/usbh_diskio.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/usbh_diskio.c index bf965f3..491112f 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/usbh_diskio.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/Src/usbh_diskio.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -269,5 +268,3 @@ DWORD get_fattime(void) { return 0; } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/readme.txt b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/readme.txt index bacda1b..8c35aea 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_RTOS/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -119,5 +118,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/ffconf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/ffconf.h index 3ca52cc..261d1cb 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/ffconf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/ffconf.h @@ -185,7 +185,7 @@ / number is bound to the same physical drive number and only an FAT volume found on / the physical drive will be mounted. When multi-partition feature is enabled (1), / each logical drive number is bound to arbitrary physical drive and partition -/ listed in the VolToPart[]. Also f_fdisk() funciton will be available. */ +/ listed in the VolToPart[]. Also f_fdisk() function will be available. */ #define _MIN_SS 512 diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/lcd_log_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/lcd_log_conf.h index a265cdb..c7c2c31 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/lcd_log_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/lcd_log_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -65,5 +64,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __LCD_LOG_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/main.h b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/main.h index de4649e..997973b 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/main.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -64,5 +63,3 @@ void Menu_Init(void); void MSC_MenuProcess(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/stm32f1xx_hal_conf.h index 5776344..1daa904 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -379,6 +378,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/stm32f1xx_it.h index e20ba28..607201d 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/usbh_conf.h b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/usbh_conf.h index 7fc327f..3a9ad20 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/usbh_conf.h +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Inc/usbh_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -76,5 +75,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __USBH_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/MDK-ARM/startup_stm32f107xc.s index 8bea852..93c63ee 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index f8a37a5..4971588 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/explorer.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/explorer.c index d865582..200e428 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/explorer.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/explorer.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -113,5 +112,3 @@ FRESULT Explore_Disk(char *path, uint8_t recu_level) } return res; } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/file_operations.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/file_operations.c index 07a4bdf..9b63c35 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/file_operations.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/file_operations.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -97,5 +96,3 @@ void MSC_File_Operations(void) } } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/main.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/main.c index fd07fad..da4dca0 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/main.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -284,5 +283,3 @@ void assert_failed(uint8_t * file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/menu.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/menu.c index 7269f2f..d469cfb 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/menu.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/menu.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -230,5 +229,3 @@ void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) BSP_IO_ITClear(JOY_ALL_PINS); } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/stm32f1xx_it.c index 7edec14..faf5a35 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -168,6 +167,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/usbh_conf.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/usbh_conf.c index e6b4ab9..6f1e415 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/usbh_conf.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/usbh_conf.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -442,5 +441,3 @@ void USBH_Delay(uint32_t Delay) { HAL_Delay(Delay); } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/usbh_diskio.c b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/usbh_diskio.c index bd2e36c..1e20fc7 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/usbh_diskio.c +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/Src/usbh_diskio.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -268,5 +267,3 @@ DWORD get_fattime(void) { return 0; } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/readme.txt b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/readme.txt index eda25d2..a673757 100644 --- a/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/readme.txt +++ b/Projects/STM3210C_EVAL/Applications/USB_Host/MSC_Standalone/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -105,5 +104,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Inc/main.h b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Inc/main.h index a3f9237..0e2a977 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -154,5 +153,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Inc/stm32f1xx_hal_conf.h index 7473d51..339ba3b 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Inc/stm32f1xx_it.h index e1186f6..17a431c 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -55,5 +54,3 @@ void DACx_CHANNELa_DMA_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index d7550ee..7ef0ac5 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Src/main.c b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Src/main.c index 47f53f0..43927f6 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -686,5 +685,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Src/stm32f1xx_hal_msp.c index fd6ec36..445d80a 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -338,5 +337,3 @@ void HAL_DAC_MspDeInit(DAC_HandleTypeDef *hdac) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Src/stm32f1xx_it.c index 184453c..79693bd 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -218,5 +217,3 @@ void DACx_CHANNELa_DMA_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/readme.txt b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/readme.txt index aaf4da8..3ca7e41 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_DualModeInterleaved/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -60,7 +59,7 @@ ADC conversion results: - ADC slave results in the 16 MSB [31:16] (with ADC resolution 12 bits, bits effectively used are [27:16]) - DMA are configured to operate continuously, in circular mode. - Data is transfered by words every ADC1+ADC2 conversions. + Data is transferred by words every ADC1+ADC2 conversions. When DMA transfer half-buffer and complete buffer length are reached, callbacks HAL_ADC_ConvCpltCallback() and HAL_ADC_ConvCpltCallback() are called. @@ -118,5 +117,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Inc/main.h b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Inc/main.h index 2a723c7..f18942a 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,5 +87,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Inc/stm32f1xx_hal_conf.h index 2fb6308..d07a425 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Inc/stm32f1xx_it.h index d2d95a2..32337c4 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void ADCx_DMA_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index d7550ee..7ef0ac5 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Src/main.c b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Src/main.c index e3f1c52..7ae9035 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Src/main.c @@ -10,13 +10,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -579,5 +578,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Src/stm32f1xx_hal_msp.c index 2f922ff..fb1fc97 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -241,5 +240,3 @@ void HAL_DAC_MspDeInit(DAC_HandleTypeDef *hdac) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Src/stm32f1xx_it.c index f6b5147..7319485 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -198,5 +197,3 @@ void ADCx_DMA_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/readme.txt b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/readme.txt index ef68ede..a891bb8 100644 --- a/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/ADC/ADC_Regular_injected_groups/readme.txt @@ -14,13 +14,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -101,5 +100,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/BSP/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/BSP/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/Inc/lcd_log_conf.h b/Projects/STM3210C_EVAL/Examples/BSP/Inc/lcd_log_conf.h index 81275de..52bd5c9 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/Inc/lcd_log_conf.h +++ b/Projects/STM3210C_EVAL/Examples/BSP/Inc/lcd_log_conf.h @@ -12,13 +12,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -124,5 +123,3 @@ /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/Inc/main.h b/Projects/STM3210C_EVAL/Examples/BSP/Inc/main.h index 3e8411d..9d2b07c 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/BSP/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -73,5 +72,3 @@ uint8_t CheckForUserInput(void); void Toggle_Leds(void); void Error_Handler(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/BSP/Inc/stm32f1xx_hal_conf.h index 297b0b5..7bbbdb5 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/BSP/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/BSP/Inc/stm32f1xx_it.h index 69fedd4..3182f4d 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/BSP/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void I2SOUT_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/BSP/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/BSP/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/BSP/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/BSP/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index d7550ee..7ef0ac5 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/BSP/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/BSP/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/BSP/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/BSP/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/Src/audio_play.c b/Projects/STM3210C_EVAL/Examples/BSP/Src/audio_play.c index fb9fa0e..ebc4ed6 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/Src/audio_play.c +++ b/Projects/STM3210C_EVAL/Examples/BSP/Src/audio_play.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -236,7 +235,7 @@ static void AudioPlay_SetHint(void) /** * @brief Display audio play demo hint - * @param format : structure containing informations of the file + * @param format : structure containing information of the file * @retval None */ static void AudioPlay_DisplayInfos(WAVE_FormatTypeDef * format) @@ -338,4 +337,3 @@ void BSP_AUDIO_OUT_Error_CallBack(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/Src/eeprom.c b/Projects/STM3210C_EVAL/Examples/BSP/Src/eeprom.c index 448f4bb..732f774 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/Src/eeprom.c +++ b/Projects/STM3210C_EVAL/Examples/BSP/Src/eeprom.c @@ -12,13 +12,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -292,4 +291,3 @@ static TestStatus Buffercmp(uint8_t* pBuffer1, uint8_t* pBuffer2, uint16_t Buffe /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/Src/joystick.c b/Projects/STM3210C_EVAL/Examples/BSP/Src/joystick.c index 755a938..f18f4ab 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/Src/joystick.c +++ b/Projects/STM3210C_EVAL/Examples/BSP/Src/joystick.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ static void Joystick_SetHint(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/Src/lcd.c b/Projects/STM3210C_EVAL/Examples/BSP/Src/lcd.c index ca66660..031af84 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/Src/lcd.c +++ b/Projects/STM3210C_EVAL/Examples/BSP/Src/lcd.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -181,4 +180,3 @@ static void LCD_Show_Feature(uint8_t feature) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/Src/log.c b/Projects/STM3210C_EVAL/Examples/BSP/Src/log.c index 93129d0..9451a48 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/Src/log.c +++ b/Projects/STM3210C_EVAL/Examples/BSP/Src/log.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -106,5 +105,3 @@ void Log_demo(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/Src/main.c b/Projects/STM3210C_EVAL/Examples/BSP/Src/main.c index 3410b66..c31076e 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/BSP/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -350,5 +349,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/Src/mems.c b/Projects/STM3210C_EVAL/Examples/BSP/Src/mems.c index 17cca7f..e5b5d43 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/Src/mems.c +++ b/Projects/STM3210C_EVAL/Examples/BSP/Src/mems.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -188,4 +187,3 @@ static void ACCELERO_ReadAcc(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/Src/sd.c b/Projects/STM3210C_EVAL/Examples/BSP/Src/sd.c index 194918a..0a7397d 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/Src/sd.c +++ b/Projects/STM3210C_EVAL/Examples/BSP/Src/sd.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -244,5 +243,3 @@ static uint8_t Buffercmp(uint32_t* pBuffer1, uint32_t* pBuffer2, uint16_t Buffer /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/BSP/Src/stm32f1xx_it.c index 2182478..8ca69da 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/BSP/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -196,5 +195,3 @@ void I2SOUT_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/BSP/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/BSP/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/Src/touchscreen.c b/Projects/STM3210C_EVAL/Examples/BSP/Src/touchscreen.c index d0a665f..9fd4613 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/Src/touchscreen.c +++ b/Projects/STM3210C_EVAL/Examples/BSP/Src/touchscreen.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -252,5 +251,3 @@ static void Touchscreen_DrawBackground (uint8_t state) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/Src/ts_calibration.c b/Projects/STM3210C_EVAL/Examples/BSP/Src/ts_calibration.c index d894b80..ab30467 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/Src/ts_calibration.c +++ b/Projects/STM3210C_EVAL/Examples/BSP/Src/ts_calibration.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -208,5 +207,3 @@ uint8_t IsCalibrationDone(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/BSP/readme.txt b/Projects/STM3210C_EVAL/Examples/BSP/readme.txt index ac0d48c..3b56575 100644 --- a/Projects/STM3210C_EVAL/Examples/BSP/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/BSP/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -108,5 +107,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Inc/main.h b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Inc/main.h index f16d51e..9d42780 100644 --- a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h index 55d1f55..8ca6cad 100644 --- a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Inc/stm32f1xx_it.h index 8ebbd79..9fd779f 100644 --- a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index d7550ee..7ef0ac5 100644 --- a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Src/main.c b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Src/main.c index 84d8176..d2c6e51 100644 --- a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -231,5 +230,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Src/stm32f1xx_hal_msp.c index d469ebe..4944b9f 100644 --- a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -77,5 +76,3 @@ void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Src/stm32f1xx_it.c index 665e4ac..46ea078 100644 --- a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/readme.txt b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/readme.txt index e4f8cb7..b9f4cda 100644 --- a/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/CRC/CRC_Example/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -41,7 +40,7 @@ Once calculated, the CRC value is compared to the CRC expected value. STM32 Eval board's LEDs can be used to monitor the example status: - LED1 (GREEN) is ON when a correct CRC value is calculated - - LED3 (RED) is ON when an uncorrect CRC value is calculated or when there is an initialization error. + - LED3 (RED) is ON when an incorrect CRC value is calculated or when there is an initialization error. @note Care must be taken when using HAL_Delay(), this function provides accurate delay (in milliseconds) based on variable incremented in SysTick ISR. This implies that if HAL_Delay() is called from @@ -78,6 +77,5 @@ In order to make the program work, you must do the following: - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Inc/main.h b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Inc/main.h index 341138d..d97aff1 100644 --- a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -57,5 +56,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Inc/stm32f1xx_hal_conf.h index 09848bf..2c6db7c 100644 --- a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Inc/stm32f1xx_it.h index 61ce2cd..3dafeb1 100644 --- a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void EXTI9_5_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index d7550ee..7ef0ac5 100644 --- a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Src/main.c b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Src/main.c index 04711d5..8616bf7 100644 --- a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -337,5 +336,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Src/stm32f1xx_hal_msp.c index 3262618..88ece2b 100644 --- a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -157,5 +156,3 @@ void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef *htim) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Src/stm32f1xx_it.c index 3628120..d91df98 100644 --- a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -170,6 +169,3 @@ void EXTI9_5_IRQHandler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/readme.txt b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/readme.txt index 05587ff..ece9d51 100644 --- a/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/DAC/DAC_SignalsGeneration/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -70,6 +69,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ + */ diff --git a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/main.h b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/main.h index 83ccf8d..c07c2b7 100644 --- a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h index 4fd1fbf..c5aaccd 100644 --- a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h index 22ef964..f912c9c 100644 --- a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index d7550ee..7ef0ac5 100644 --- a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Src/main.c b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Src/main.c index 265e84f..d36bc26 100644 --- a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -196,5 +195,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c index 3d502fd..bcdb981 100644 --- a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/readme.txt b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/readme.txt index 3946f57..b25dd20 100644 --- a/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/GPIO/GPIO_IOToggle/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -63,5 +62,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h index df38efc..66298c1 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_hal_conf.h index e4d3eef..1a57708 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h index 4a82423..a643f45 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,4 +47,3 @@ void EXTI9_5_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/MDK-ARM/startup_stm32f107xc.s index d4411d1..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index 8af4a55..f1a442d 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/main.c b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/main.c index dc262ae..3c42dd1 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -177,5 +176,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_hal_timebase_rtc_alarm.c b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_hal_timebase_rtc_alarm.c index 9eb6885..3bb4d5b 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_hal_timebase_rtc_alarm.c +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_hal_timebase_rtc_alarm.c @@ -6,7 +6,7 @@ * * This file override the native HAL time base functions (defined as weak) * to use the RTC ALARM for time base generation: - * + Intializes the RTC peripheral to increment the seconds registers each 1ms + * + Initializes the RTC peripheral to increment the seconds registers each 1ms * + The alarm is configured to assert an interrupt when the RTC reaches 1ms * + HAL_IncTick is called at each Alarm event and the time is reset to 00:00:00 * + HSE (default), LSE or LSI can be selected as RTC clock source @@ -32,13 +32,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -91,19 +90,19 @@ HAL_StatusTypeDef HAL_InitTick (uint32_t TickPriority) RCC_PeriphCLKInitTypeDef PeriphClkInitStruct; #ifdef RTC_CLOCK_SOURCE_LSE - /* Configue LSE as RTC clock soucre */ + /* Configure LSE as RTC clock source */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSE; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; RCC_OscInitStruct.LSEState = RCC_LSE_ON; PeriphClkInitStruct.RTCClockSelection = RCC_RTCCLKSOURCE_LSE; #elif defined (RTC_CLOCK_SOURCE_LSI) - /* Configue LSI as RTC clock soucre */ + /* Configure LSI as RTC clock source */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSI; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; RCC_OscInitStruct.LSIState = RCC_LSI_ON; PeriphClkInitStruct.RTCClockSelection = RCC_RTCCLKSOURCE_LSI; #elif defined (RTC_CLOCK_SOURCE_HSE) - /* Configue HSE as RTC clock soucre */ + /* Configure HSE as RTC clock source */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; RCC_OscInitStruct.HSEState = RCC_HSE_ON; @@ -285,5 +284,3 @@ void RTC_Alarm_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c index 48bb90f..b8c37ee 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -169,5 +168,3 @@ void EXTI9_5_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/readme.txt b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/readme.txt index 473415f..dd2ea9d 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -89,5 +88,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/main.h b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/main.h index faa6311..e216361 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h index 6b02851..374d1dc 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h index cb20db2..66686f6 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void EXTI9_5_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/MDK-ARM/startup_stm32f107xc.s index d4411d1..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index 8af4a55..f1a442d 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/main.c b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/main.c index 809a78e..9091489 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -204,5 +203,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_hal_timebase_tim.c b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_hal_timebase_tim.c index 0941182..55f1283 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_hal_timebase_tim.c +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_hal_timebase_tim.c @@ -6,19 +6,18 @@ * * This file overrides the native HAL time base functions (defined as weak) * the TIM time base: - * + Intializes the TIM peripheral generate a Period elapsed Event each 1ms + * + Initializes the TIM peripheral generate a Period elapsed Event each 1ms * + HAL_IncTick is called inside HAL_TIM_PeriodElapsedCallback ie each 1ms * ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void TIM2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c index d87514c..3d7fcd1 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -172,5 +171,3 @@ void EXTI9_5_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/readme.txt b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/readme.txt index 44d7f87..a660ead 100644 --- a/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/HAL/HAL_TimeBase_TIM/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -85,5 +84,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Inc/main.h b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Inc/main.h index 83a19d1..1936030 100644 --- a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -35,5 +34,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Inc/stm32f1xx_hal_conf.h index a850321..a7714f6 100644 --- a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Inc/stm32f1xx_it.h index fb355bc..393307e 100644 --- a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void I2SOUT_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index d7550ee..7ef0ac5 100644 --- a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Src/main.c b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Src/main.c index 522cf36..8ee8019 100644 --- a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -453,7 +452,7 @@ static void AudioPlay_SetHint(void) /** * @brief Display audio file and control information - * @param format : structure containing informations of the audio file + * @param format : structure containing information of the audio file * @retval None */ static void AudioPlay_DisplayInfos(WAVE_FormatTypeDef * format) @@ -604,5 +603,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Src/stm32f1xx_hal_msp.c index ce57a4c..2cd71b6 100644 --- a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Src/stm32f1xx_it.c index 4d81122..dfd0d7a 100644 --- a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void I2SOUT_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Src/system_stm32f1xx.c index d6b10bf..a2aa086 100644 --- a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/readme.txt b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/readme.txt index da2f376..d1a1b7e 100644 --- a/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/I2S/I2S_Audio/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -100,6 +99,5 @@ In order to make the program work, you must do the following : loaded audio file at address 0x0800E300 by limiting the application end address to 0x0803FFFF. This is already done for the example project - Connect a headphone or a speaker to the audio jack connector (CN7). - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ + */ diff --git a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Inc/main.h b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Inc/main.h index d3a8710..cf3bc88 100644 --- a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -42,5 +41,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Inc/stm32f1xx_hal_conf.h index 9cbf24e..185da42 100644 --- a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Inc/stm32f1xx_it.h index 04042dd..9f34a45 100644 --- a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void TIM5_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index d7550ee..7ef0ac5 100644 --- a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Src/main.c b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Src/main.c index 66508a8..4b9220e 100644 --- a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -354,5 +353,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Src/stm32f1xx_hal_msp.c index 4532077..a116af0 100644 --- a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -70,5 +69,3 @@ void HAL_TIM_IC_MspInit(TIM_HandleTypeDef *htim) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Src/stm32f1xx_it.c index c747a94..c541659 100644 --- a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -180,5 +179,3 @@ void TIM5_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/readme.txt b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/readme.txt index ba6f196..d928677 100644 --- a/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/IWDG/IWDG_Example/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -108,5 +107,5 @@ In order to make the program work, you must do the following : - Load project image: Project->Download and Debug - Run program: Debug->Go(F5) - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Examples/LICENSE.md b/Projects/STM3210C_EVAL/Examples/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Projects/STM3210C_EVAL/Examples/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Inc/main.h b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Inc/main.h index ac62ab8..9d864f7 100644 --- a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h index 4fd1fbf..c5aaccd 100644 --- a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h index c7b8139..21828d9 100644 --- a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void EXTI9_5_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index d7550ee..7ef0ac5 100644 --- a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Src/main.c b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Src/main.c index 14ded74..f6a7461 100644 --- a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -375,5 +374,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Src/stm32f1xx_it.c index 0b6b90c..f113074 100644 --- a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void EXTI9_5_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/readme.txt b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/readme.txt index 7f9c383..0684d3d 100644 --- a/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/RCC/RCC_ClockConfig/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -87,5 +86,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Inc/main.h b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Inc/main.h index 188e05d..95fd36d 100644 --- a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -35,5 +34,3 @@ void Error_Handler(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Inc/stm32f1xx_hal_conf.h index eacab9e..224685b 100644 --- a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Inc/stm32f1xx_it.h index f0f10ec..ade5a2b 100644 --- a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void TIM5_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index d7550ee..7ef0ac5 100644 --- a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Src/main.c b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Src/main.c index 26ccde0..1b8ff19 100644 --- a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -356,5 +355,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Src/stm32f1xx_hal_msp.c index ec173f9..e4824f0 100644 --- a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -55,7 +54,7 @@ void HAL_RTC_MspInit(RTC_HandleTypeDef *hrtc) RCC_OscInitTypeDef RCC_OscInitStruct; RCC_PeriphCLKInitTypeDef PeriphClkInitStruct; - /*##-1- Configue LSI as RTC clock soucre ###################################*/ + /*##-1- Configure LSI as RTC clock source ###################################*/ HAL_RCC_GetOscConfig(&RCC_OscInitStruct); RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSI | RCC_OSCILLATORTYPE_LSE; @@ -146,5 +145,3 @@ void HAL_TIM_IC_MspDeInit(TIM_HandleTypeDef *htim) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Src/stm32f1xx_it.c index b434a41..6a03025 100644 --- a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -180,5 +179,3 @@ void TIM5_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/readme.txt b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/readme.txt index de51850..4ca8364 100644 --- a/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/RTC/RTC_LSI/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -94,5 +93,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/main.h b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/main.h index dba84fd..fbf434f 100644 --- a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/platform_config.h b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/platform_config.h index fb15f9f..7b576bb 100644 --- a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/platform_config.h +++ b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/platform_config.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -42,7 +41,7 @@ #define SC_USART_CK_CLK_ENABLE() __HAL_RCC_GPIOD_CLK_ENABLE() -/* Smartcard Inteface GPIO pins */ +/* Smartcard Interface GPIO pins */ #define SC_3_5V_PIN GPIO_PIN_0 #define SC_3_5V_GPIO_PORT GPIOC #define SC_3_5V_CLK_ENABLE() __HAL_RCC_GPIOC_CLK_ENABLE() @@ -66,5 +65,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __PLATFORM_CONFIG_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/smartcard.h b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/smartcard.h index 02f87b3..f3ee1e4 100644 --- a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/smartcard.h +++ b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/smartcard.h @@ -7,19 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © COPYRIGHT(c) 2017 STMicroelectronics

                                                                    > + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); - * You may not use this file except in compliance with the License. - * You may obtain a copy of the License at: - * - * http://www.st.com/software_license_agreement_liberty_v2 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -150,5 +143,3 @@ void SC_ParityErrorHandler(void); void SC_PTSConfig(void); #endif /* __SMARTCARD_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_hal_conf.h index 49f9c15..649d5b5 100644 --- a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_it.h index ea84251..367d47c 100644 --- a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void SC_OFF_EXTI_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld index 8af4a55..f1a442d 100644 --- a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/SW4STM32/STM3210C_EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/main.c b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/main.c index ce9a003..a7d7234 100644 --- a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -719,5 +718,3 @@ int fgetc(FILE * f) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/smartcard.c b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/smartcard.c index 7652691..c53567f 100644 --- a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/smartcard.c +++ b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/smartcard.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -673,5 +672,3 @@ static uint8_t SC_Detect(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_hal_msp.c index 556002d..68fabd8 100644 --- a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -108,5 +107,3 @@ void HAL_SMARTCARD_MspDeInit(SMARTCARD_HandleTypeDef *hsmartcard) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_it.c index 1df987e..1aed868 100644 --- a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -185,5 +184,3 @@ void SC_OFF_EXTI_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/system_stm32f1xx.c index 699d00a..85edca0 100644 --- a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/readme.txt b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/readme.txt index d4e8472..7d03f9b 100644 --- a/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/SMARTCARD/SMARTCARD_T0/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -98,5 +97,5 @@ In order to make the program work, you must do the following : to Hypterminal to follow test progress. - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Inc/main.h b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Inc/main.h index 7bab06e..bb38c51 100644 --- a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -43,5 +42,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h index 6b02851..374d1dc 100644 --- a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h index cf5669e..19ee689 100644 --- a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void TIMx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index 25954c9..ec6e498 100644 --- a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Src/main.c b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Src/main.c index 9192252..7d2740c 100644 --- a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -241,5 +240,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c index 082f724..8b463e2 100644 --- a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -74,5 +73,3 @@ void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_it.c index 3c1d567..20ffda6 100644 --- a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void TIMx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/readme.txt b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/readme.txt index d73bf00..23eafbd 100644 --- a/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/TIM/TIM_TimeBase/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -87,5 +86,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Inc/main.h b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Inc/main.h index 5781f16..72e3536 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -59,7 +58,7 @@ #define USARTx_IRQn USART2_IRQn #define USARTx_IRQHandler USART2_IRQHandler -/* Size of Trasmission buffer */ +/* Size of Transmission buffer */ #define TXBUFFERSIZE (COUNTOF(aTxBuffer) - 1) /* Size of Reception buffer */ #define RXBUFFERSIZE 10 @@ -69,5 +68,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_it.h index ed5347d..9ebbd4e 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void USARTx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index d7550ee..7ef0ac5 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Src/main.c b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Src/main.c index b17ca34..e7e8059 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -290,5 +289,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_hal_msp.c index 915687f..c8be444 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -176,5 +175,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_it.c index 13a9e9f..baa0a8f 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -200,5 +199,3 @@ void USARTx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/readme.txt b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/readme.txt index 5f90cdb..ef98996 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_HyperTerminal_DMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -131,5 +130,5 @@ In order to make the program work, you must do the following : - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Inc/main.h b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Inc/main.h index bc22c7d..28af206 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Inc/stm32f1xx_it.h index 1ec692f..d7b83c7 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -45,5 +44,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index d7550ee..7ef0ac5 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Src/main.c b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Src/main.c index cba3f79..a3108e0 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -221,5 +220,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Src/stm32f1xx_hal_msp.c index 905ede7..ade6f8b 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -112,5 +111,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Src/stm32f1xx_it.c index a7e0882..616979a 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/readme.txt b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/readme.txt index fe14f16..2c3bc5b 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_Printf/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -98,5 +97,5 @@ In order to make the program work, you must do the following : - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Inc/main.h b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Inc/main.h index 19a473b..a0d997c 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -60,7 +59,7 @@ #define USARTx_IRQn USART2_IRQn #define USARTx_IRQHandler USART2_IRQHandler -/* Size of Trasmission buffer */ +/* Size of Transmission buffer */ #define TXBUFFERSIZE (COUNTOF(aTxBuffer) - 1) /* Size of Reception buffer */ #define RXBUFFERSIZE TXBUFFERSIZE @@ -70,5 +69,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_it.h index 2104a3e..40dbce6 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void USARTx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index d7550ee..7ef0ac5 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Src/main.c b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Src/main.c index 78d0a13..c4aac03 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -279,7 +278,7 @@ void SystemClock_Config(void) */ void HAL_UART_TxCpltCallback(UART_HandleTypeDef *UartHandle) { - /* Set transmission flag: trasfer complete*/ + /* Set transmission flag: transfer complete*/ UartReady = SET; /* Turn LED1 on: Transfer in transmission process is correct */ @@ -296,7 +295,7 @@ void HAL_UART_TxCpltCallback(UART_HandleTypeDef *UartHandle) */ void HAL_UART_RxCpltCallback(UART_HandleTypeDef *UartHandle) { - /* Set transmission flag: trasfer complete*/ + /* Set transmission flag: transfer complete*/ UartReady = SET; /* Turn LED3 on: Transfer in reception process is correct */ @@ -396,5 +395,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c index 0cc8cde..14cadec 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -179,5 +178,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_it.c index e2b9890..e6dea4c 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -212,5 +211,3 @@ void EXTI9_5_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Src/system_stm32f1xx.c index 699d00a..85edca0 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/readme.txt b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/readme.txt index 77f6f34..c20a452 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComDMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -133,5 +132,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Inc/main.h b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Inc/main.h index f23db6e..dd28e20 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,7 +47,7 @@ #define USARTx_IRQn USART2_IRQn #define USARTx_IRQHandler USART2_IRQHandler -/* Size of Trasmission buffer */ +/* Size of Transmission buffer */ #define TXBUFFERSIZE (COUNTOF(aTxBuffer) - 1) /* Size of Reception buffer */ #define RXBUFFERSIZE TXBUFFERSIZE @@ -58,5 +57,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_it.h index e64d768..7378263 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void EXTI9_5_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index d7550ee..7ef0ac5 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Src/main.c b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Src/main.c index 94807d8..4b6beed 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,5 +391,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c index c03815d..8ca7275 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -119,5 +118,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_it.c index 96a99c9..4641160 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -188,5 +187,3 @@ void EXTI9_5_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/readme.txt b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/readme.txt index 231e671..f510d57 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -131,5 +130,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Inc/main.h b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Inc/main.h index c2aaeec..37a26f0 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Inc/main.h +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -44,7 +43,7 @@ #define USARTx_RX_PIN GPIO_PIN_6 #define USARTx_RX_GPIO_PORT GPIOD -/* Size of Trasmission buffer */ +/* Size of Transmission buffer */ #define TXBUFFERSIZE (COUNTOF(aTxBuffer) - 1) /* Size of Reception buffer */ #define RXBUFFERSIZE TXBUFFERSIZE @@ -54,5 +53,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_it.h index 3e32c83..a93f7f6 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void EXTI9_5_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/MDK-ARM/startup_stm32f107xc.s index 89cfe19..a175dab 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index d7550ee..7ef0ac5 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Src/main.c b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Src/main.c index 8c58932..d0a577d 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Src/main.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -335,5 +334,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c index 79563ce..b05ae21 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -110,5 +109,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_it.c index 11155f7..418ffd0 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -174,5 +173,3 @@ void EXTI9_5_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/readme.txt b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/readme.txt index 851701e..e2ca001 100644 --- a/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/readme.txt +++ b/Projects/STM3210C_EVAL/Examples/UART/UART_TwoBoards_ComPolling/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -130,5 +129,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Templates/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Templates/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Templates/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Templates/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates/Inc/main.h b/Projects/STM3210C_EVAL/Templates/Inc/main.h index 5ac18c6..a816ef3 100644 --- a/Projects/STM3210C_EVAL/Templates/Inc/main.h +++ b/Projects/STM3210C_EVAL/Templates/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -30,5 +29,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210C_EVAL/Templates/Inc/stm32f1xx_hal_conf.h index 036ec27..03cb7e6 100644 --- a/Projects/STM3210C_EVAL/Templates/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210C_EVAL/Templates/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Templates/Inc/stm32f1xx_it.h index db9ad60..83e5750 100644 --- a/Projects/STM3210C_EVAL/Templates/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Templates/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates/LICENSE.md b/Projects/STM3210C_EVAL/Templates/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Projects/STM3210C_EVAL/Templates/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Projects/STM3210C_EVAL/Templates/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Templates/MDK-ARM/startup_stm32f107xc.s index 280efab..9c89ab6 100644 --- a/Projects/STM3210C_EVAL/Templates/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Templates/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Templates/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld b/Projects/STM3210C_EVAL/Templates/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld index d7550ee..7ef0ac5 100644 --- a/Projects/STM3210C_EVAL/Templates/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Templates/SW4STM32/STM3210C_EVAL/STM32F107RCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Templates/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Templates/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Templates/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Templates/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates/Src/main.c b/Projects/STM3210C_EVAL/Templates/Src/main.c index 0fb0662..cad889b 100644 --- a/Projects/STM3210C_EVAL/Templates/Src/main.c +++ b/Projects/STM3210C_EVAL/Templates/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -157,5 +156,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates/Src/stm32f1xx_hal_msp.c b/Projects/STM3210C_EVAL/Templates/Src/stm32f1xx_hal_msp.c index 895071e..68226eb 100644 --- a/Projects/STM3210C_EVAL/Templates/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210C_EVAL/Templates/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -86,5 +85,3 @@ void HAL_MspDeInit(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Templates/Src/stm32f1xx_it.c index 9565c77..070ddc8 100644 --- a/Projects/STM3210C_EVAL/Templates/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Templates/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Templates/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210C_EVAL/Templates/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Templates/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates/readme.txt b/Projects/STM3210C_EVAL/Templates/readme.txt index 9cfb5df..6108733 100644 --- a/Projects/STM3210C_EVAL/Templates/readme.txt +++ b/Projects/STM3210C_EVAL/Templates/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -63,5 +62,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210C_EVAL/Templates_LL/EWARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Templates_LL/EWARM/startup_stm32f107xc.s index 6602b13..563cbfe 100644 --- a/Projects/STM3210C_EVAL/Templates_LL/EWARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Templates_LL/EWARM/startup_stm32f107xc.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -506,4 +505,3 @@ OTG_FS_IRQHandler B OTG_FS_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates_LL/Inc/main.h b/Projects/STM3210C_EVAL/Templates_LL/Inc/main.h index 2da98b2..c907d1d 100644 --- a/Projects/STM3210C_EVAL/Templates_LL/Inc/main.h +++ b/Projects/STM3210C_EVAL/Templates_LL/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -146,5 +145,3 @@ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates_LL/Inc/stm32_assert.h b/Projects/STM3210C_EVAL/Templates_LL/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM3210C_EVAL/Templates_LL/Inc/stm32_assert.h +++ b/Projects/STM3210C_EVAL/Templates_LL/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates_LL/Inc/stm32f1xx_it.h b/Projects/STM3210C_EVAL/Templates_LL/Inc/stm32f1xx_it.h index d3a479e..ccf4d71 100644 --- a/Projects/STM3210C_EVAL/Templates_LL/Inc/stm32f1xx_it.h +++ b/Projects/STM3210C_EVAL/Templates_LL/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates_LL/LICENSE.md b/Projects/STM3210C_EVAL/Templates_LL/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Projects/STM3210C_EVAL/Templates_LL/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Projects/STM3210C_EVAL/Templates_LL/MDK-ARM/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Templates_LL/MDK-ARM/startup_stm32f107xc.s index d4411d1..a175dab 100644 --- a/Projects/STM3210C_EVAL/Templates_LL/MDK-ARM/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Templates_LL/MDK-ARM/startup_stm32f107xc.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -364,5 +363,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210C_EVAL/Templates_LL/SW4STM32/STM3210C-EVAL/STM32F107VCTx_FLASH.ld b/Projects/STM3210C_EVAL/Templates_LL/SW4STM32/STM3210C-EVAL/STM32F107VCTx_FLASH.ld index 8af4a55..f1a442d 100644 --- a/Projects/STM3210C_EVAL/Templates_LL/SW4STM32/STM3210C-EVAL/STM32F107VCTx_FLASH.ld +++ b/Projects/STM3210C_EVAL/Templates_LL/SW4STM32/STM3210C-EVAL/STM32F107VCTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210C_EVAL/Templates_LL/SW4STM32/startup_stm32f107xc.s b/Projects/STM3210C_EVAL/Templates_LL/SW4STM32/startup_stm32f107xc.s index f2f314a..ec45694 100644 --- a/Projects/STM3210C_EVAL/Templates_LL/SW4STM32/startup_stm32f107xc.s +++ b/Projects/STM3210C_EVAL/Templates_LL/SW4STM32/startup_stm32f107xc.s @@ -12,15 +12,15 @@ * calls main()). * After Reset the Cortex-M3 processor is in Thread mode, * priority is Privileged, and the Stack is set to Main. + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +89,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -465,5 +465,3 @@ g_pfnVectors: .weak OTG_FS_IRQHandler .thumb_set OTG_FS_IRQHandler ,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates_LL/Src/main.c b/Projects/STM3210C_EVAL/Templates_LL/Src/main.c index 0ea417c..20ca0b2 100644 --- a/Projects/STM3210C_EVAL/Templates_LL/Src/main.c +++ b/Projects/STM3210C_EVAL/Templates_LL/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -147,5 +146,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates_LL/Src/stm32f1xx_it.c b/Projects/STM3210C_EVAL/Templates_LL/Src/stm32f1xx_it.c index 6c7d21e..9a82fc1 100644 --- a/Projects/STM3210C_EVAL/Templates_LL/Src/stm32f1xx_it.c +++ b/Projects/STM3210C_EVAL/Templates_LL/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -155,5 +154,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates_LL/Src/system_stm32f1xx.c b/Projects/STM3210C_EVAL/Templates_LL/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210C_EVAL/Templates_LL/Src/system_stm32f1xx.c +++ b/Projects/STM3210C_EVAL/Templates_LL/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210C_EVAL/Templates_LL/readme.txt b/Projects/STM3210C_EVAL/Templates_LL/readme.txt index aef5ead..6ab0ecf 100644 --- a/Projects/STM3210C_EVAL/Templates_LL/readme.txt +++ b/Projects/STM3210C_EVAL/Templates_LL/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -84,5 +83,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Inc/ffconf.h b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Inc/ffconf.h index 6a0d566..66063e6 100644 --- a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Inc/ffconf.h +++ b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Inc/ffconf.h @@ -184,7 +184,7 @@ / number is bound to the same physical drive number and only an FAT volume found on / the physical drive will be mounted. When multi-partition feature is enabled (1), / each logical drive number is bound to arbitrary physical drive and partition -/ listed in the VolToPart[]. Also f_fdisk() funciton will be available. */ +/ listed in the VolToPart[]. Also f_fdisk() function will be available. */ #define _MIN_SS 512 diff --git a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Inc/main.h b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Inc/main.h index b40df48..d852b6d 100644 --- a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Inc/main.h +++ b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -35,5 +34,3 @@ /* Exported constants --------------------------------------------------------*/ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Inc/stm32f1xx_hal_conf.h index d718092..11b8392 100644 --- a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Inc/stm32f1xx_it.h index 44d0bd2..255b58f 100644 --- a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -45,5 +44,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/MDK-ARM/startup_stm32f103xg.s index 1e9c2c6..fa2cf58 100644 --- a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 3a9cd07..86e85c0 100644 --- a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Src/main.c b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Src/main.c index b699d33..5a5d502 100644 --- a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Src/main.c +++ b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -259,5 +258,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Src/stm32f1xx_it.c index 15129b3..d6bc4f7 100644 --- a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Src/stm32f1xx_it.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -145,5 +144,3 @@ void SysTick_Handler(void) /*void PPP_IRQHandler(void) { }*/ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/readme.txt b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/readme.txt index faf7fae..2c5eb5d 100644 --- a/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/readme.txt +++ b/Projects/STM3210E_EVAL/Applications/FatFs/FatFs_uSD/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -92,5 +91,5 @@ In order to make the program work, you must do the following: - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Inc/main.h b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Inc/main.h index 67d6dd4..b8d0968 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Inc/main.h +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Inc/main.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -41,7 +40,3 @@ #endif #endif /* __MAIN_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Inc/stm32f1xx_hal_conf.h index 09d52bf..bf3da6d 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Inc/stm32f1xx_it.h index 3e43e18..10a7812 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -44,5 +43,3 @@ void DebugMon_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/MDK-ARM/startup_stm32f103xg.s index a9d4a74..ff4d13e 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Src/main.c b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Src/main.c index 5396b93..6c0dc26 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Src/main.c +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -252,5 +251,3 @@ void assert_failed(uint8_t* file, uint32_t line) {} } #endif - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Src/stm32f1xx_hal_timebase_tim.c b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Src/stm32f1xx_hal_timebase_tim.c index 2002f8a..2d4c051 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Src/stm32f1xx_hal_timebase_tim.c +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Src/stm32f1xx_hal_timebase_tim.c @@ -6,19 +6,18 @@ * * This file overrides the native HAL time base functions (defined as weak) * the TIM time base: - * + Intializes the TIM peripheral generate a Period elapsed Event each 1ms + * + Initializes the TIM peripheral generate a Period elapsed Event each 1ms * + HAL_IncTick is called inside HAL_TIM_PeriodElapsedCallback ie each 1ms * ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -162,5 +161,3 @@ void TIM2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Src/stm32f1xx_it.c index c9221f1..8d27a87 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -128,5 +127,3 @@ void SysTick_Handler(void) /*void PPP_IRQHandler(void) { }*/ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Src/system_stm32f1xx.c index 94ed4bc..e6ff46b 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/readme.txt b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/readme.txt index 8b7a55b..61d7e48 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/readme.txt +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Mail/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -83,5 +82,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Inc/main.h b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Inc/main.h index a1cf220..e06c801 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Inc/main.h +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Inc/main.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -41,7 +40,3 @@ #endif #endif /* __MAIN_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Inc/stm32f1xx_hal_conf.h index 09d52bf..bf3da6d 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Inc/stm32f1xx_it.h index f033f13..a8ddb7a 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -44,5 +43,3 @@ void DebugMon_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/MDK-ARM/startup_stm32f103xg.s index a9d4a74..ff4d13e 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Src/main.c b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Src/main.c index c238150..83bcc4e 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Src/main.c +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -216,5 +215,3 @@ void assert_failed(uint8_t* file, uint32_t line) {} } #endif - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Src/stm32f1xx_hal_timebase_tim.c b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Src/stm32f1xx_hal_timebase_tim.c index 2002f8a..2d4c051 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Src/stm32f1xx_hal_timebase_tim.c +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Src/stm32f1xx_hal_timebase_tim.c @@ -6,19 +6,18 @@ * * This file overrides the native HAL time base functions (defined as weak) * the TIM time base: - * + Intializes the TIM peripheral generate a Period elapsed Event each 1ms + * + Initializes the TIM peripheral generate a Period elapsed Event each 1ms * + HAL_IncTick is called inside HAL_TIM_PeriodElapsedCallback ie each 1ms * ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -162,5 +161,3 @@ void TIM2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Src/stm32f1xx_it.c index 472d45e..1480256 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -128,5 +127,3 @@ void SysTick_Handler(void) /*void PPP_IRQHandler(void) { }*/ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Src/system_stm32f1xx.c index 94ed4bc..e6ff46b 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/readme.txt b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/readme.txt index 528c3aa..0f2ed6d 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/readme.txt +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_Signal/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -83,5 +82,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Inc/main.h b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Inc/main.h index 3a27761..4cc8a6c 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Inc/main.h +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Inc/main.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -41,7 +40,3 @@ #endif #endif /* __MAIN_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Inc/stm32f1xx_hal_conf.h index 09d52bf..bf3da6d 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Inc/stm32f1xx_it.h index 9b9e3ee..014b4c7 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -45,5 +44,3 @@ void Toggle_Leds(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/MDK-ARM/startup_stm32f103xg.s index a9d4a74..ff4d13e 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Src/main.c b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Src/main.c index fb65234..0c41183 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Src/main.c +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -185,5 +184,3 @@ void assert_failed(uint8_t* file, uint32_t line) {} } #endif - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Src/stm32f1xx_hal_timebase_tim.c b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Src/stm32f1xx_hal_timebase_tim.c index 2002f8a..2d4c051 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Src/stm32f1xx_hal_timebase_tim.c +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Src/stm32f1xx_hal_timebase_tim.c @@ -6,19 +6,18 @@ * * This file overrides the native HAL time base functions (defined as weak) * the TIM time base: - * + Intializes the TIM peripheral generate a Period elapsed Event each 1ms + * + Initializes the TIM peripheral generate a Period elapsed Event each 1ms * + HAL_IncTick is called inside HAL_TIM_PeriodElapsedCallback ie each 1ms * ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -162,5 +161,3 @@ void TIM2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Src/stm32f1xx_it.c index 2786a88..e5324b4 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -129,5 +128,3 @@ void SysTick_Handler(void) /*void PPP_IRQHandler(void) { }*/ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Src/system_stm32f1xx.c index 94ed4bc..e6ff46b 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/readme.txt b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/readme.txt index 63b0156..beb2981 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/readme.txt +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_SignalFromISR/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -75,5 +74,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/main.h b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/main.h index 6d3c7de..875ded1 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/main.h +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/main.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -40,6 +39,3 @@ extern "C" { #endif #endif /* __MAIN_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_hal_conf.h index 09d52bf..bf3da6d 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_it.h index 027ae48..1f58950 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -44,5 +43,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/MDK-ARM/startup_stm32f103xg.s index a9d4a74..ff4d13e 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/main.c b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/main.c index d366590..441e583 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/main.c +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -224,5 +223,3 @@ void assert_failed(uint8_t *file, uint32_t line) {} } #endif - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_hal_timebase_tim.c b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_hal_timebase_tim.c index 2002f8a..2d4c051 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_hal_timebase_tim.c +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_hal_timebase_tim.c @@ -6,19 +6,18 @@ * * This file overrides the native HAL time base functions (defined as weak) * the TIM time base: - * + Intializes the TIM peripheral generate a Period elapsed Event each 1ms + * + Initializes the TIM peripheral generate a Period elapsed Event each 1ms * + HAL_IncTick is called inside HAL_TIM_PeriodElapsedCallback ie each 1ms * ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -162,5 +161,3 @@ void TIM2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_it.c index ec001ff..f55a650 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_it.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -126,5 +125,3 @@ void SysTick_Handler(void) /*void PPP_IRQHandler(void) { }*/ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/system_stm32f1xx.c index 94ed4bc..e6ff46b 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/readme.txt b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/readme.txt index 75cc482..dae0d3e 100644 --- a/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/readme.txt +++ b/Projects/STM3210E_EVAL/Applications/FreeRTOS/FreeRTOS_ThreadCreation/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -76,5 +75,5 @@ In order to make the program work, you must do the following: - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Inc/main.h b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Inc/main.h index 286b1f0..d02cd7f 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Inc/main.h +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Inc/stm32f1xx_hal_conf.h index 6c7be28..1f412d6 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Inc/stm32f1xx_it.h index 6e40cfe..83eb942 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/MDK-ARM/startup_stm32f103xg.s index d3435fd..75895f1 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index d46f056..c1803cd 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Src/main.c b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Src/main.c index fa91239..1c7fffa 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Src/main.c +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -196,5 +195,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Src/stm32f1xx_it.c index f44b930..079b51c 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -146,6 +145,3 @@ void SysTick_Handler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Src/system_stm32f1xx.c index 8f8e94e..c31d08f 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/readme.txt b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/readme.txt index 9111ec0..ae59a2e 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/readme.txt +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Binary_Template/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -100,5 +99,5 @@ In order to load the SysTick example with the IAP, you must do the following: - A binary file "STM3210E_EVAL.bin" will be generated under "STM3210E_EVAL\Debug" folder. - Finally load this image with IAP application - *

                                                                    © COPYRIGHT 2016 STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/common.h b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/common.h index 724e3ff..9ead298 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/common.h +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/common.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void Serial_PutString(uint8_t *p_string); HAL_StatusTypeDef Serial_PutByte(uint8_t param); #endif /* __COMMON_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/flash_if.h b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/flash_if.h index 711ccbe..4a809c0 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/flash_if.h +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/flash_if.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -203,7 +202,7 @@ enum { /* Exported macro ------------------------------------------------------------*/ -/* ABSoulute value */ +/* absolute value */ #define ABS_RETURN(x,y) (((x) < (y)) ? (y) : (x)) /* Get the number of sectors from where the user program will be loaded */ @@ -220,5 +219,3 @@ uint32_t FLASH_If_Write(uint32_t destination, uint32_t *p_source, uint32_t lengt uint32_t FLASH_If_WriteProtectionConfig(uint32_t protectionstate); #endif /* __FLASH_IF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/main.h b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/main.h index 055035d..892ba7f 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/main.h +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -34,5 +33,3 @@ extern UART_HandleTypeDef UartHandle; /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/menu.h b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/menu.h index c138ca6..1e64142 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/menu.h +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/menu.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -38,5 +37,3 @@ typedef void (*pFunction)(void); void Main_Menu(void); #endif /* __MENU_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/stm32f1xx_hal_conf.h index 6c7be28..1f412d6 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/stm32f1xx_it.h index 9dd83a2..48d3c48 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/ymodem.h b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/ymodem.h index 54ab021..2bb4246 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/ymodem.h +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Inc/ymodem.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -84,5 +83,3 @@ COM_StatusTypeDef Ymodem_Receive(uint32_t *p_size); COM_StatusTypeDef Ymodem_Transmit(uint8_t *p_buf, const uint8_t *p_file_name, uint32_t file_size); #endif /* __YMODEM_H_ */ - -/*******************(C)COPYRIGHT STMicroelectronics ********END OF FILE********/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/MDK-ARM/startup_stm32f103xg.s index b7f06bc..7c4df93 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 4ff5b99..abf9584 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/common.c b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/common.c index b6034ff..a88ed74 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/common.c +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/common.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ HAL_StatusTypeDef Serial_PutByte( uint8_t param ) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/flash_if.c b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/flash_if.c index aa07cea..29ae850 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/flash_if.c +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/flash_if.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -236,5 +235,3 @@ uint32_t FLASH_If_WriteProtectionConfig(uint32_t protectionstate) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/main.c b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/main.c index cf9bf82..75f2b23 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/main.c +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -193,5 +192,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/menu.c b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/menu.c index b8f845f..372147a 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/menu.c +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/menu.c @@ -12,13 +12,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -225,5 +224,3 @@ void Main_Menu(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/stm32f1xx_it.c index 7ed66b4..c6a2a18 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -146,6 +145,3 @@ void SysTick_Handler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/system_stm32f1xx.c index 699d00a..85edca0 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/ymodem.c b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/ymodem.c index da852a2..3e1aa58 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/ymodem.c +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/Src/ymodem.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -35,7 +34,7 @@ #define CRC16_F /* activate the CRC16 integrity */ /* Private macro -------------------------------------------------------------*/ /* Private variables ---------------------------------------------------------*/ -/* @note ATTENTION - please keep this variable 32bit alligned */ +/* @note ATTENTION - please keep this variable 32bit aligned */ uint8_t aPacketData[PACKET_1K_SIZE + PACKET_DATA_INDEX + PACKET_TRAILER_SIZE]; /* Private function prototypes -----------------------------------------------*/ @@ -648,5 +647,3 @@ COM_StatusTypeDef Ymodem_Transmit (uint8_t *p_buf, const uint8_t *p_file_name, u /** * @} */ - -/*******************(C)COPYRIGHT 2016 STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/readme.txt b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/readme.txt index 7f248d1..3fbd317 100644 --- a/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/readme.txt +++ b/Projects/STM3210E_EVAL/Applications/IAP/IAP_Main/readme.txt @@ -10,13 +10,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -165,5 +164,5 @@ Then - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Applications/LICENSE.md b/Projects/STM3210E_EVAL/Applications/LICENSE.md new file mode 100644 index 0000000..1af5233 --- /dev/null +++ b/Projects/STM3210E_EVAL/Applications/LICENSE.md @@ -0,0 +1,80 @@ +SLA0044 Rev5/February 2018 + +## Software license agreement + +### __ULTIMATE LIBERTY SOFTWARE LICENSE AGREEMENT__ + +BY INSTALLING, COPYING, DOWNLOADING, ACCESSING OR OTHERWISE USING THIS SOFTWARE +OR ANY PART THEREOF (AND THE RELATED DOCUMENTATION) FROM STMICROELECTRONICS +INTERNATIONAL N.V, SWISS BRANCH AND/OR ITS AFFILIATED COMPANIES +(STMICROELECTRONICS), THE RECIPIENT, ON BEHALF OF HIMSELF OR HERSELF, OR ON +BEHALF OF ANY ENTITY BY WHICH SUCH RECIPIENT IS EMPLOYED AND/OR ENGAGED AGREES +TO BE BOUND BY THIS SOFTWARE LICENSE AGREEMENT. + +Under STMicroelectronics’ intellectual property rights, the redistribution, +reproduction and use in source and binary forms of the software or any part +thereof, with or without modification, are permitted provided that the following +conditions are met: + +1. Redistribution of source code (modified or not) must retain any copyright +notice, this list of conditions and the disclaimer set forth below as items 10 +and 11. + +2. Redistributions in binary form, except as embedded into microcontroller or +microprocessor device manufactured by or for STMicroelectronics or a software +update for such device, must reproduce any copyright notice provided with the +binary code, this list of conditions, and the disclaimer set forth below as +items 10 and 11, in documentation and/or other materials provided with the +distribution. + +3. Neither the name of STMicroelectronics nor the names of other contributors to +this software may be used to endorse or promote products derived from this +software or part thereof without specific written permission. + +4. This software or any part thereof, including modifications and/or derivative +works of this software, must be used and execute solely and exclusively on or in +combination with a microcontroller or microprocessor device manufactured by or +for STMicroelectronics. + +5. No use, reproduction or redistribution of this software partially or totally +may be done in any manner that would subject this software to any Open Source +Terms. “Open Source Terms†shall mean any open source license which requires as +part of distribution of software that the source code of such software is +distributed therewith or otherwise made available, or open source license that +substantially complies with the Open Source definition specified at +www.opensource.org and any other comparable open source license such as for +example GNU General Public License (GPL), Eclipse Public License (EPL), Apache +Software License, BSD license or MIT license. + +6. STMicroelectronics has no obligation to provide any maintenance, support or +updates for the software. + +7. The software is and will remain the exclusive property of STMicroelectronics +and its licensors. The recipient will not take any action that jeopardizes +STMicroelectronics and its licensors' proprietary rights or acquire any rights +in the software, except the limited rights specified hereunder. + +8. The recipient shall comply with all applicable laws and regulations affecting +the use of the software or any part thereof including any applicable export +control law or regulation. + +9. Redistribution and use of this software or any part thereof other than as +permitted under this license is void and will automatically terminate your +rights under this license. + +10. THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS, WHICH ARE +DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT SHALL +STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +11. EXCEPT AS EXPRESSLY PERMITTED HEREUNDER, NO LICENSE OR OTHER RIGHTS, WHETHER +EXPRESS OR IMPLIED, ARE GRANTED UNDER ANY PATENT OR OTHER INTELLECTUAL PROPERTY +RIGHTS OF STMICROELECTRONICS OR ANY THIRD PARTY. diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/main.h b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/main.h index 0b476a0..ea34d5f 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/main.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -38,5 +37,3 @@ void Toggle_Leds(void); void Error_Handler(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/stm32f1xx_hal_conf.h index 773e8a5..18c85b4 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -379,6 +378,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/stm32f1xx_it.h index 0a95087..4fab1b5 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,5 +51,3 @@ void TIMx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_cdc_interface.h b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_cdc_interface.h index 3465766..9f0fb3a 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_cdc_interface.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_cdc_interface.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -77,5 +76,3 @@ extern USBD_CDC_ItfTypeDef USBD_CDC_fops; /* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ #endif /* __USBD_CDC_IF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_conf.h b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_conf.h index 83dbcc6..7d14403 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_conf.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -82,5 +81,3 @@ void USBD_static_free(void *p); /* Exported functions ------------------------------------------------------- */ #endif /* __USBD_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_desc.h b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_desc.h index df6f346..6ab60db 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_desc.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Inc/usbd_desc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -37,5 +36,3 @@ extern USBD_DescriptorsTypeDef VCP_Desc; #endif /* __USBD_DESC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/main.c b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/main.c index 2bb1d52..3611afd 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/main.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -199,5 +198,3 @@ void assert_failed(uint8_t * file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/stm32f1xx_hal_msp.c index 7a583d0..fc6edff 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -156,5 +155,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef * huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/stm32f1xx_it.c index f8967bf..76a48d9 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -194,6 +193,3 @@ void TIMx_IRQHandler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_cdc_interface.c b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_cdc_interface.c index 203faa0..45ecd34 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_cdc_interface.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_cdc_interface.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -84,7 +83,7 @@ USBD_CDC_ItfTypeDef USBD_CDC_fops = { * @brief CDC_Itf_Init * Initializes the CDC media low layer * @param None - * @retval Result of the opeartion: USBD_OK if all operations are OK else USBD_FAIL + * @retval Result of the operation: USBD_OK if all operations are OK else USBD_FAIL */ static int8_t CDC_Itf_Init(void) { @@ -137,7 +136,7 @@ static int8_t CDC_Itf_Init(void) * @brief CDC_Itf_DeInit * DeInitializes the CDC media low layer * @param None - * @retval Result of the opeartion: USBD_OK if all operations are OK else USBD_FAIL + * @retval Result of the operation: USBD_OK if all operations are OK else USBD_FAIL */ static int8_t CDC_Itf_DeInit(void) { @@ -156,7 +155,7 @@ static int8_t CDC_Itf_DeInit(void) * @param Cmd: Command code * @param Buf: Buffer containing command data (request parameters) * @param Len: Number of data to be sent (in bytes) - * @retval Result of the opeartion: USBD_OK if all operations are OK else USBD_FAIL + * @retval Result of the operation: USBD_OK if all operations are OK else USBD_FAIL */ static int8_t CDC_Itf_Control(uint8_t cmd, uint8_t * pbuf, uint16_t length) { @@ -284,7 +283,7 @@ void HAL_UART_RxCpltCallback(UART_HandleTypeDef * huart) * through this function. * @param Buf: Buffer of data to be transmitted * @param Len: Number of data received (in bytes) - * @retval Result of the opeartion: USBD_OK if all operations are OK else USBD_FAIL + * @retval Result of the operation: USBD_OK if all operations are OK else USBD_FAIL */ static int8_t CDC_Itf_Receive(uint8_t * Buf, uint32_t * Len) { @@ -432,5 +431,3 @@ void HAL_UART_ErrorCallback(UART_HandleTypeDef * UartHandle) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_conf.c b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_conf.c index 03b2a00..aa13e51 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_conf.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_conf.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -410,7 +409,7 @@ USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef * pdev, * @brief Returns the last transferred packet size. * @param pdev: Device handle * @param ep_addr: Endpoint Number - * @retval Recived Data Size + * @retval Received Data Size */ uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef * pdev, uint8_t ep_addr) { @@ -467,5 +466,3 @@ void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef * hpcd, uint8_t state) HAL_GPIO_WritePin(GPIOB, GPIO_PIN_14, GPIO_PIN_SET); } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_desc.c b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_desc.c index 2f933f8..e29d65b 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_desc.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/Src/usbd_desc.c @@ -2,17 +2,16 @@ ****************************************************************************** * @file USB_Device/CDC_Standalone/Src/usbd_desc.c * @author MCD Application Team - * @brief This file provides the USBD descriptors and string formating method. + * @brief This file provides the USBD descriptors and string formatting method. ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -257,6 +256,3 @@ static void IntToUnicode(uint32_t value, uint8_t * pbuf, uint8_t len) pbuf[2 * idx + 1] = 0; } } - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/readme.txt b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/readme.txt index 4f0f977..aafecd8 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/readme.txt +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CDC_Standalone/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -151,5 +150,5 @@ In order to make the program work, you must do the following : - Find out the number of the COM port assigned to the STM32 CDC device - Open a serial terminal application and start the communication - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/main.h b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/main.h index f9f62eb..80b4338 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/main.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/stm32f1xx_hal_conf.h index 65a3699..aaa062b 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -379,6 +378,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/stm32f1xx_it.h index 7bd8696..b0d8a8f 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void EXTI9_5_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_conf.h b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_conf.h index 98b7b71..2c9fdb3 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_conf.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -86,5 +85,3 @@ void USBD_static_free(void *p); /* Exported functions ------------------------------------------------------- */ #endif /* __USBD_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_customhid_if.h b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_customhid_if.h index 4720f05..31af049 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_customhid_if.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_customhid_if.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -70,5 +69,3 @@ extern USBD_CUSTOM_HID_ItfTypeDef USBD_CustomHID_fops; #endif /* __USBD_CUSTOMHID_IF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_desc.h b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_desc.h index 3f97eb6..0d8ce0b 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_desc.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Inc/usbd_desc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ extern USBD_DescriptorsTypeDef HID_Desc; #endif /* __USBD_DESC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/main.c b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/main.c index 3e0f8c8..9ed4b35 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/main.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -181,5 +180,3 @@ void assert_failed(uint8_t * file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/stm32f1xx_hal_msp.c index 35fa79e..8d19f84 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -113,5 +112,3 @@ void HAL_ADC_MspDeInit(ADC_HandleTypeDef * hadc) /* Disable the NVIC configuration for DMA interrupt */ HAL_NVIC_DisableIRQ(ADCx_DMA_IRQn); } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/stm32f1xx_it.c index 48cbfe9..04240de 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -192,6 +191,3 @@ void DMA1_Channel1_IRQHandler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_conf.c b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_conf.c index ee5a62d..e5c2861 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_conf.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_conf.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -408,7 +407,7 @@ USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef * pdev, * @brief Returns the last transferred packet size. * @param pdev: Device handle * @param ep_addr: Endpoint Number - * @retval Recived Data Size + * @retval Received Data Size */ uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef * pdev, uint8_t ep_addr) { @@ -465,5 +464,3 @@ void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef * hpcd, uint8_t state) HAL_GPIO_WritePin(GPIOB, GPIO_PIN_14, GPIO_PIN_SET); } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_customhid_if.c b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_customhid_if.c index c9667c0..f85b896 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_customhid_if.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_customhid_if.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,7 +164,7 @@ USBD_CUSTOM_HID_ItfTypeDef USBD_CustomHID_fops = { * @brief CustomHID_Init * Initializes the CUSTOM HID media low layer * @param None - * @retval Result of the opeartion: USBD_OK if all operations are OK else USBD_FAIL + * @retval Result of the operation: USBD_OK if all operations are OK else USBD_FAIL */ static int8_t CustomHID_Init(void) { @@ -221,7 +220,7 @@ static int8_t CustomHID_Init(void) * @brief CustomHID_DeInit * DeInitializes the CUSTOM HID media low layer * @param None - * @retval Result of the opeartion: USBD_OK if all operations are OK else USBD_FAIL + * @retval Result of the operation: USBD_OK if all operations are OK else USBD_FAIL */ static int8_t CustomHID_DeInit(void) { @@ -287,5 +286,3 @@ void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) USBD_CUSTOM_HID_SendReport(&USBD_Device, SendBuffer, 2); } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_desc.c b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_desc.c index d120b46..8348136 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_desc.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/Src/usbd_desc.c @@ -2,17 +2,16 @@ ****************************************************************************** * @file USB_Device/CustomHID_Standalone/Src/usbd_desc.c * @author MCD Application Team - * @brief This file provides the USBD descriptors and string formating method. + * @brief This file provides the USBD descriptors and string formatting method. ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -258,5 +257,3 @@ static void IntToUnicode(uint32_t value, uint8_t * pbuf, uint8_t len) pbuf[2 * idx + 1] = 0; } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/readme.txt b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/readme.txt index 6b004d4..4ebb8dd 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/readme.txt +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/CustomHID_Standalone/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -92,6 +91,5 @@ In order to make the program work, you must do the following: - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Binary/readme.txt b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Binary/readme.txt index 170b953..666339b 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Binary/readme.txt +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Binary/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -44,5 +43,5 @@ The offset address of this binary is 0x08005000 which matches the definition in evaluation boards and can be easily tailored to any other supported device and development board. - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/main.h b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/main.h index b954f37..c5e97d2 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/main.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/stm32f1xx_hal_conf.h index 5dd2790..9a9a2d5 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -379,6 +378,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/stm32f1xx_it.h index e44dd4e..19f7654 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void USB_LP_CAN1_RX0_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_conf.h b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_conf.h index ad50a54..ce82ab7 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_conf.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -87,5 +86,3 @@ void USBD_static_free(void *p); /* Exported functions ------------------------------------------------------- */ #endif /* __USBD_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_desc.h b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_desc.h index 277b17d..bbb5b65 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_desc.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_desc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ extern USBD_DescriptorsTypeDef DFU_Desc; #endif /* __USBD_DESC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_dfu_flash.h b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_dfu_flash.h index fbda501..5a49b0a 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_dfu_flash.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Inc/usbd_dfu_flash.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -33,5 +32,3 @@ extern USBD_DFU_MediaTypeDef USBD_DFU_Flash_fops; /* Exported functions ------------------------------------------------------- */ #endif /* __USBD_DFU_FLASH_H_ */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/main.c b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/main.c index a4cfef4..51700bf 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/main.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -198,5 +197,3 @@ void assert_failed(uint8_t * file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/stm32f1xx_it.c index 5747734..7a1692d 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -157,5 +156,3 @@ void USB_LP_CAN1_RX0_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_conf.c b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_conf.c index cf9e683..bf40172 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_conf.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_conf.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -407,7 +406,7 @@ USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef * pdev, * @brief Returns the last transferred packet size. * @param pdev: Device handle * @param ep_addr: Endpoint Number - * @retval Recived Data Size + * @retval Received Data Size */ uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef * pdev, uint8_t ep_addr) { @@ -464,5 +463,3 @@ void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef * hpcd, uint8_t state) HAL_GPIO_WritePin(GPIOB, GPIO_PIN_14, GPIO_PIN_SET); } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_desc.c b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_desc.c index aef5a21..cf0503e 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_desc.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_desc.c @@ -2,17 +2,16 @@ ****************************************************************************** * @file USB_Device/DFU_Standalone/Src/usbd_desc.c * @author MCD Application Team - * @brief This file provides the USBD descriptors and string formating method. + * @brief This file provides the USBD descriptors and string formatting method. ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -257,5 +256,3 @@ static void IntToUnicode(uint32_t value, uint8_t * pbuf, uint8_t len) pbuf[2 * idx + 1] = 0; } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_dfu_flash.c b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_dfu_flash.c index 65f0b3c..3bae2ce 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_dfu_flash.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/Src/usbd_dfu_flash.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -178,5 +177,3 @@ uint16_t Flash_If_GetStatus(uint32_t Add, uint8_t Cmd, uint8_t * buffer) } return 0; } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/readme.txt b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/readme.txt index 5cc72df..60f96a8 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/readme.txt +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/DFU_Standalone/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -137,5 +136,5 @@ In order to make the program work, you must do the following : - To run the downloaded application, execute the command "leave the DFU mode" or simply reset the board. - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/main.h b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/main.h index ae8b325..c975850 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/main.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ void Toggle_Leds(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_hal_conf.h index 3b6b9a0..83883f8 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -379,6 +378,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_it.h index b8e3db6..409e072 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void EXTI9_5_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/usbd_conf.h b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/usbd_conf.h index 7d0b5ce..8312db5 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/usbd_conf.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/usbd_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -82,5 +81,3 @@ void USBD_static_free(void *p); /* Exported functions ------------------------------------------------------- */ #endif /* __USBD_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/usbd_desc.h b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/usbd_desc.h index cada810..6ae98c2 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/usbd_desc.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Inc/usbd_desc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ extern USBD_DescriptorsTypeDef HID_Desc; #endif /* __USBD_DESC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/main.c b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/main.c index d4cd858..24e3736 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/main.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -203,5 +202,3 @@ void assert_failed(uint8_t * file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/stm32f1xx_it.c index 088a9e6..7113316 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -235,6 +234,3 @@ static void GetPointerData(uint8_t * pbuf) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/usbd_conf.c b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/usbd_conf.c index d5c0e32..6747e7a 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/usbd_conf.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/usbd_conf.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -446,7 +445,7 @@ USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef * pdev, * @brief Returns the last transferred packet size. * @param pdev: Device handle * @param ep_addr: Endpoint Number - * @retval Recived Data Size + * @retval Received Data Size */ uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef * pdev, uint8_t ep_addr) { @@ -578,5 +577,3 @@ void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) } } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/usbd_desc.c b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/usbd_desc.c index 559657e..b67664e 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/usbd_desc.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/Src/usbd_desc.c @@ -2,17 +2,16 @@ ****************************************************************************** * @file USB_Device/HID_Standalone/Src/usbd_desc.c * @author MCD Application Team - * @brief This file provides the USBD descriptors and string formating method. + * @brief This file provides the USBD descriptors and string formatting method. ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -257,5 +256,3 @@ static void IntToUnicode(uint32_t value, uint8_t * pbuf, uint8_t len) pbuf[2 * idx + 1] = 0; } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/readme.txt b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/readme.txt index 6a0a38f..6635e7f 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/readme.txt +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/HID_Standalone/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -97,5 +96,5 @@ In order to make the program work, you must do the following: - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/main.h b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/main.h index 760e728..4bceb38 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/main.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -38,5 +37,3 @@ void Toggle_Leds(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/stm32f1xx_hal_conf.h index c73dab4..fb67ac7 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -379,6 +378,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/stm32f1xx_it.h index 77aa33a..b8d90fe 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void SD_DMAx_Rx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_conf.h b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_conf.h index 6eb7546..5db8512 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_conf.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -83,5 +82,3 @@ void USBD_static_free(void *p); /* Exported functions ------------------------------------------------------- */ #endif /* __USBD_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_desc.h b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_desc.h index 88f8ba8..f400207 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_desc.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_desc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ extern USBD_DescriptorsTypeDef MSC_Desc; #endif /* __USBD_DESC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_storage.h b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_storage.h index 40c6887..ffbe6be 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_storage.h +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Inc/usbd_storage.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ extern USBD_StorageTypeDef USBD_DISK_fops; #endif /* __USBD_STORAGE_H_ */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/main.c b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/main.c index e02d7b6..e2c4149 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/main.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -200,5 +199,3 @@ void assert_failed(uint8_t * file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/stm32f1xx_it.c index 1a4d59e..0f70bd6 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -190,5 +189,3 @@ void SD_DMAx_Rx_IRQHandler(void) * @param None * @retval None */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/system_stm32f1xx.c index f33ecb7..d90038e 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_conf.c b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_conf.c index e29b187..a0193c4 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_conf.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_conf.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -409,7 +408,7 @@ USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef * pdev, * @brief Returns the last transferred packet size. * @param pdev: Device handle * @param ep_addr: Endpoint Number - * @retval Recived Data Size + * @retval Received Data Size */ uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef * pdev, uint8_t ep_addr) { @@ -466,5 +465,3 @@ void HAL_PCDEx_SetConnectionState(PCD_HandleTypeDef * hpcd, uint8_t state) HAL_GPIO_WritePin(GPIOB, GPIO_PIN_14, GPIO_PIN_SET); } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_desc.c b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_desc.c index 0a085de..a803702 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_desc.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_desc.c @@ -2,17 +2,16 @@ ****************************************************************************** * @file USB_Device/MSC_Standalone/Src/usbd_desc.c * @author MCD Application Team - * @brief This file provides the USBD descriptors and string formating method. + * @brief This file provides the USBD descriptors and string formatting method. ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -258,5 +257,3 @@ static void IntToUnicode(uint32_t value, uint8_t * pbuf, uint8_t len) pbuf[2 * idx + 1] = 0; } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_storage.c b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_storage.c index a7777a7..c2e3a33 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_storage.c +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/Src/usbd_storage.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -74,7 +73,7 @@ USBD_StorageTypeDef USBD_DISK_fops = { /* Private functions --------------------------------------------------------- */ /** - * @brief Initailizes the storage unit (medium) + * @brief Initializes the storage unit (medium) * @param lun: Logical unit number * @retval Status (0 : Ok / -1 : Error) */ @@ -227,5 +226,3 @@ void BSP_SD_ReadCpltCallback(void) { readstatus = 1; } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/readme.txt b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/readme.txt index f97a990..c17c826 100644 --- a/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/readme.txt +++ b/Projects/STM3210E_EVAL/Applications/USB_Device/MSC_Standalone/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -86,5 +85,5 @@ In order to make the program work, you must do the following: - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Inc/main.h b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Inc/main.h index 562e801..164f4f7 100644 --- a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -95,5 +94,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Inc/stm32f1xx_hal_conf.h index 8b38e26..b800cdf 100644 --- a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Inc/stm32f1xx_it.h index f44c8d4..269a0c6 100644 --- a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void ADCx_DMA_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Src/main.c b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Src/main.c index a7cfb69..db16797 100644 --- a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Src/main.c @@ -10,13 +10,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -533,5 +532,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Src/stm32f1xx_hal_msp.c index e967cb2..4a86d7d 100644 --- a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -216,5 +215,3 @@ void HAL_DAC_MspDeInit(DAC_HandleTypeDef *hdac) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Src/stm32f1xx_it.c index bf3e155..6fd71c3 100644 --- a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -200,5 +199,3 @@ void ADCx_DMA_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/readme.txt b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/readme.txt index 753a3be..b487c57 100644 --- a/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/ADC/ADC_Sequencer/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -108,5 +107,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/BSP/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/BSP/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Inc/lcd_log_conf.h b/Projects/STM3210E_EVAL/Examples/BSP/Inc/lcd_log_conf.h index c847f17..1013c59 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Inc/lcd_log_conf.h +++ b/Projects/STM3210E_EVAL/Examples/BSP/Inc/lcd_log_conf.h @@ -12,13 +12,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -124,5 +123,3 @@ /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Inc/main.h b/Projects/STM3210E_EVAL/Examples/BSP/Inc/main.h index 6e9c2f1..6fb50d2 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/BSP/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -72,5 +71,3 @@ uint8_t CheckForUserInput(void); void Toggle_Leds(void); void Error_Handler(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/BSP/Inc/stm32f1xx_hal_conf.h index 25594da..e49280b 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/BSP/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/BSP/Inc/stm32f1xx_it.h index 29b1096..052e884 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/BSP/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void I2SOUT_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/BSP/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/BSP/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/BSP/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/BSP/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/BSP/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/BSP/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/BSP/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/BSP/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Src/audio_play.c b/Projects/STM3210E_EVAL/Examples/BSP/Src/audio_play.c index 3414056..af265c8 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Src/audio_play.c +++ b/Projects/STM3210E_EVAL/Examples/BSP/Src/audio_play.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -259,7 +258,7 @@ static void AudioPlay_SetHint(void) /** * @brief Display audio play demo hint - * @param format : structure containing informations of the file + * @param format : structure containing information of the file * @retval None */ static void AudioPlay_DisplayInfos(WAVE_FormatTypeDef * format) @@ -361,4 +360,3 @@ void BSP_AUDIO_OUT_Error_CallBack(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Src/flash.c b/Projects/STM3210E_EVAL/Examples/BSP/Src/flash.c index 20ca9f3..f063c5e 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Src/flash.c +++ b/Projects/STM3210E_EVAL/Examples/BSP/Src/flash.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -201,17 +200,17 @@ void FLASH_demo(void) /* Check the SPI Flash ID */ if (FlashID == FLASH_SPI_M25P64_ID) { - /* Initialization OK as BSP_SERIAL_FLASH_ReadID return the righ value */ + /* Initialization OK as BSP_SERIAL_FLASH_ReadID return the right value */ BSP_LCD_DisplayStringAt(20, 100, (uint8_t*)"FLASH Initialization : OK.", LEFT_MODE); /* Perform a write in the Flash followed by an erase of the written data */ - /* Write Tx_Buffer data to SPI FLASH memory at begining of Sector12*/ + /* Write Tx_Buffer data to SPI FLASH memory at beginning of Sector12*/ BSP_SERIAL_FLASH_WritePage(FLASH_WriteSector12, Tx_Buffer, BufferSize); /* Erase SPI FLASH Sector12 by giving an Addr inside range of Sector12 Addr */ BSP_SERIAL_FLASH_EraseSector(FLASH_AddrSector12); - /* Read Erase data from SPI FLASH memory, shal be 0xFF */ + /* Read Erase data from SPI FLASH memory, shall be 0xFF */ BSP_SERIAL_FLASH_ReadData(FLASH_WriteSector12, Rx_Buffer, BufferSize); /* Check the correctness of erasing operation data */ @@ -357,4 +356,3 @@ static void Flush_Rx_Buffers(uint8_t* pBuffer, uint16_t BufferLength) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Src/joystick.c b/Projects/STM3210E_EVAL/Examples/BSP/Src/joystick.c index 0d0d68e..5fafddb 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Src/joystick.c +++ b/Projects/STM3210E_EVAL/Examples/BSP/Src/joystick.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -155,5 +154,3 @@ static void Joystick_SetHint(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Src/lcd.c b/Projects/STM3210E_EVAL/Examples/BSP/Src/lcd.c index 3cbb7d3..18fbcdd 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Src/lcd.c +++ b/Projects/STM3210E_EVAL/Examples/BSP/Src/lcd.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -184,4 +183,3 @@ static void LCD_Show_Feature(uint8_t feature) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Src/log.c b/Projects/STM3210E_EVAL/Examples/BSP/Src/log.c index 93129d0..9451a48 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Src/log.c +++ b/Projects/STM3210E_EVAL/Examples/BSP/Src/log.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -106,5 +105,3 @@ void Log_demo(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Src/main.c b/Projects/STM3210E_EVAL/Examples/BSP/Src/main.c index 1270aa1..724109a 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/BSP/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -340,5 +339,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Src/nand.c b/Projects/STM3210E_EVAL/Examples/BSP/Src/nand.c index a9e7493..437f000 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Src/nand.c +++ b/Projects/STM3210E_EVAL/Examples/BSP/Src/nand.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -266,4 +265,3 @@ static NAND_AddressTypeDef NAND_GetAddress (uint32_t Address) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Src/nor.c b/Projects/STM3210E_EVAL/Examples/BSP/Src/nor.c index 6219d9e..29fcac2 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Src/nor.c +++ b/Projects/STM3210E_EVAL/Examples/BSP/Src/nor.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -244,4 +243,3 @@ static uint8_t Buffercmp(uint16_t* pBuffer1, uint16_t* pBuffer2, uint16_t Buffer /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Src/sd.c b/Projects/STM3210E_EVAL/Examples/BSP/Src/sd.c index f164985..c93ad2f 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Src/sd.c +++ b/Projects/STM3210E_EVAL/Examples/BSP/Src/sd.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -255,5 +254,3 @@ static uint8_t Buffercmp(uint32_t* pBuffer1, uint32_t* pBuffer2, uint16_t Buffer /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Src/sram.c b/Projects/STM3210E_EVAL/Examples/BSP/Src/sram.c index c869a63..3fa1c09 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Src/sram.c +++ b/Projects/STM3210E_EVAL/Examples/BSP/Src/sram.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -201,4 +200,3 @@ static uint8_t Buffercmp(uint16_t* pBuffer1, uint16_t* pBuffer2, uint16_t Buffer /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/BSP/Src/stm32f1xx_it.c index 843b5c4..f8b65fd 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/BSP/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -202,5 +201,3 @@ void I2SOUT_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/BSP/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/BSP/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/Src/temperature_sensor.c b/Projects/STM3210E_EVAL/Examples/BSP/Src/temperature_sensor.c index 33934b6..290f4e6 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/Src/temperature_sensor.c +++ b/Projects/STM3210E_EVAL/Examples/BSP/Src/temperature_sensor.c @@ -11,13 +11,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -184,4 +183,3 @@ static void TSENSOR_Display_Temperature(uint16_t temperature) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/BSP/readme.txt b/Projects/STM3210E_EVAL/Examples/BSP/readme.txt index 0a500f5..3407a9a 100644 --- a/Projects/STM3210E_EVAL/Examples/BSP/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/BSP/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -122,5 +121,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Inc/main.h b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Inc/main.h index 75ffa64..7e1d4de 100644 --- a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -55,5 +54,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Inc/stm32f1xx_hal_conf.h index ba9ce6b..575d045 100644 --- a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -398,6 +397,3 @@ void assert_failed(uint8_t* file, uint32_t line); #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Inc/stm32f1xx_it.h index 90e57ff..4fba4be 100644 --- a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void CANx_RX_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Src/main.c b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Src/main.c index a3ad632..eb8de3c 100644 --- a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -344,5 +343,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Src/stm32f1xx_hal_msp.c index 9348575..1dd2337 100644 --- a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -119,5 +118,3 @@ void HAL_CAN_MspDeInit(CAN_HandleTypeDef *hcan) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Src/stm32f1xx_it.c index 2c3819f..3bbd9d3 100644 --- a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -162,6 +161,3 @@ void CANx_RX_IRQHandler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Src/system_stm32f1xx.c index 5324e4c..ea5f9a7 100644 --- a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/readme.txt b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/readme.txt index 1a63c3e..daca73e 100644 --- a/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -91,6 +90,5 @@ In order to make the program work, you must do the following: - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ + */ diff --git a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Inc/main.h b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Inc/main.h index 20f7803..edc5c13 100644 --- a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h index 7a7962c..63efd3e 100644 --- a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Inc/stm32f1xx_it.h index 8ebbd79..9fd779f 100644 --- a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Src/main.c b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Src/main.c index e782cab..d9212c8 100644 --- a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -221,5 +220,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Src/stm32f1xx_hal_msp.c index d469ebe..4944b9f 100644 --- a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -77,5 +76,3 @@ void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Src/stm32f1xx_it.c index 665e4ac..46ea078 100644 --- a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/readme.txt b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/readme.txt index 36a3426..dde44e1 100644 --- a/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/CRC/CRC_Example/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -41,7 +40,7 @@ Once calculated, the CRC value is compared to the CRC expected value. STM32 Eval board's LEDs can be used to monitor the example status: - LED1 (GREEN) is ON when a correct CRC value is calculated - - LED3 (RED) is ON when an uncorrect CRC value is calculated or when there is an initialization error. + - LED3 (RED) is ON when an incorrect CRC value is calculated or when there is an initialization error. @note Care must be taken when using HAL_Delay(), this function provides accurate delay (in milliseconds) based on variable incremented in SysTick ISR. This implies that if HAL_Delay() is called from @@ -78,6 +77,5 @@ In order to make the program work, you must do the following: - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Inc/main.h b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Inc/main.h index c94869f..f8179ef 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -32,5 +31,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Inc/stm32_mpu.h b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Inc/stm32_mpu.h index cbf19b3..62e8c84 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Inc/stm32_mpu.h +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Inc/stm32_mpu.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void MPU_Config(void); void MPU_AccessPermConfig(void); #endif /* __STM32_MPU_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Inc/stm32f1xx_hal_conf.h index 7609f3d..7ea0452 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Inc/stm32f1xx_it.h index 7005a6b..0cd6f1c 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Src/main.c b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Src/main.c index 01d535f..5fd3841 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -159,5 +158,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Src/stm32_mpu.c b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Src/stm32_mpu.c index 4fe2b38..22f7c5b 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Src/stm32_mpu.c +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Src/stm32_mpu.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -145,5 +144,3 @@ void MPU_AccessPermConfig(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Src/stm32f1xx_it.c index 3fa6ffb..7f4bfe5 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -162,5 +161,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Src/system_stm32f1xx.c index 94ed4bc..e6ff46b 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/readme.txt b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/readme.txt index 21a570e..bb1130c 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_MPU/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -70,5 +69,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Inc/main.h b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Inc/main.h index 199bf6c..e4fab46 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Inc/stm32f1xx_hal_conf.h index 7609f3d..7ea0452 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Inc/stm32f1xx_it.h index eec323f..322660c 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Src/main.c b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Src/main.c index 8822f66..671cef3 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -254,5 +253,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Src/stm32f1xx_it.c index a2ff191..c77ab34 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -169,5 +168,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/readme.txt b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/readme.txt index 16e5fe5..da30319 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_ModePrivilege/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -68,5 +67,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Inc/main.h b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Inc/main.h index 3c5e904..1e90596 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Inc/stm32f1xx_hal_conf.h index 03b5371..5b4fd5f 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Inc/stm32f1xx_it.h index c7f62b6..dc4b15b 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Src/main.c b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Src/main.c index 3feb0ff..924e8f8 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -192,5 +191,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Src/stm32f1xx_it.c index a1cc571..95fad73 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -159,5 +158,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/readme.txt b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/readme.txt index 6459681..eb4ee0f 100644 --- a/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/Cortex/CORTEXM_SysTick/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -59,5 +58,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Inc/main.h b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Inc/main.h index 30af8f9..6766d2a 100644 --- a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Inc/stm32f1xx_hal_conf.h index 6f0d1c3..397c34b 100644 --- a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Inc/stm32f1xx_it.h index f14156d..a48858e 100644 --- a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Src/main.c b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Src/main.c index efffe0d..1d8de54 100644 --- a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -198,5 +197,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Src/stm32f1xx_hal_msp.c index 4d8581c..83a5782 100644 --- a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -91,5 +90,3 @@ void HAL_DAC_MspDeInit(DAC_HandleTypeDef *hdac) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Src/stm32f1xx_it.c index 330ab16..530a286 100644 --- a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -159,6 +158,3 @@ void SysTick_Handler(void) /** * @} */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/readme.txt b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/readme.txt index 677e2b3..1ce395d 100644 --- a/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/DAC/DAC_SimpleConversion/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -68,6 +67,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ + */ diff --git a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Inc/main.h b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Inc/main.h index bc37d6c..49e4f1c 100644 --- a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -41,5 +40,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Inc/stm32f1xx_hal_conf.h index 7609f3d..7ea0452 100644 --- a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Inc/stm32f1xx_it.h index 5ed524e..a73addd 100644 --- a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void DMA_INSTANCE_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Src/main.c b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Src/main.c index df54b25..0c9edd7 100644 --- a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -286,5 +285,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Src/stm32f1xx_it.c index 061f34b..09e52bb 100644 --- a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -167,5 +166,3 @@ void DMA_INSTANCE_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/readme.txt b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/readme.txt index 35791db..a307cbe 100644 --- a/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/DMA/DMA_FLASHToRAM/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -84,5 +83,5 @@ In order to make the program work, you must do the following : - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Inc/main.h b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Inc/main.h index 910b986..1d00997 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -34,5 +33,3 @@ typedef enum {FAILED = 0, PASSED = !FAILED} TestStatus; #define NAND_TIMEOUT ((uint32_t)0xFFFF) #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Inc/stm32f1xx_hal_conf.h index 0b51b48..d59c42b 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Inc/stm32f1xx_it.h index e11f98f..0b0df21 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Src/main.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Src/main.c index 422196a..7156feb 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -334,5 +333,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Src/stm32f1xx_hal_msp.c index 40919a1..ddd8129 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -97,5 +96,3 @@ void HAL_NAND_MspInit(NAND_HandleTypeDef *hnand) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Src/stm32f1xx_it.c index 1d53a97..4994a49 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/readme.txt b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/readme.txt index 50fd276..4a3c8d3 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NAND/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -78,5 +77,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Inc/main.h b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Inc/main.h index 030e90b..328bbc0 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -29,5 +28,3 @@ typedef enum {FAILED = 0, PASSED = !FAILED} TestStatus; #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Inc/stm32f1xx_hal_conf.h index 0419c5a..5ab2e1c 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Inc/stm32f1xx_it.h index 7a421ba..9c32b68 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Src/main.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Src/main.c index 7d29f38..21bd9f8 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -349,5 +348,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Src/stm32f1xx_hal_msp.c index 15e9e79..7a3dba6 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -100,5 +99,3 @@ void HAL_NOR_MspInit(NOR_HandleTypeDef *hsram) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Src/stm32f1xx_it.c index daed582..f5caceb 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/readme.txt b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/readme.txt index 66eca84..50f80ea 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -77,5 +76,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Inc/main.h b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Inc/main.h index 4985465..77d8a91 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ typedef enum {FAILED = 0, PASSED = !FAILED} TestStatus; /* Exported constants --------------------------------------------------------*/ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Inc/stm32f1xx_hal_conf.h index 0419c5a..5ab2e1c 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Inc/stm32f1xx_it.h index 3d31fab..f34a5f9 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Src/main.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Src/main.c index a05f9f2..b170970 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -217,5 +216,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Src/stm32f1xx_hal_msp.c index 6c58051..5392b9e 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -117,5 +116,3 @@ void HAL_NOR_MspInit(NOR_HandleTypeDef *hsram) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Src/stm32f1xx_it.c index a4ff27b..d3c6fc4 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/readme.txt b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/readme.txt index dab7526..20dac6d 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_NOR_CodeExecute/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -76,5 +75,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Inc/main.h b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Inc/main.h index c0f136a..0ef38bb 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -37,5 +36,3 @@ typedef enum {FAILED = 0, PASSED = !FAILED} TestStatus; #define SRAM_TIMEOUT ((uint32_t)0xFFFF) #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Inc/stm32f1xx_hal_conf.h index 6b9e6da..f8291c7 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Inc/stm32f1xx_it.h index d6931a4..604f223 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Src/main.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Src/main.c index 522cc91..a870071 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -290,5 +289,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Src/stm32f1xx_hal_msp.c index e3d95bd..cc42b0e 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -115,5 +114,3 @@ void HAL_SRAM_MspInit(SRAM_HandleTypeDef *hsram) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Src/stm32f1xx_it.c index b0c5ea7..a3177f3 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/readme.txt b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/readme.txt index ee29f30..128d7dc 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -80,5 +79,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/EWARM/startup_stm32f103xg.s index 6497599..549d464 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -494,5 +493,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Inc/main.h b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Inc/main.h index 8457c45..386782f 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -28,5 +27,3 @@ /* Exported constants --------------------------------------------------------*/ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Inc/stm32f1xx_hal_conf.h index 03b5371..5b4fd5f 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Inc/stm32f1xx_it.h index 956fb78..e796e6a 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/MDK-ARM/startup_stm32f103xg.s index 90cbd17..c1e3b1b 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -355,5 +354,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index b877979..bd95b0a 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Src/main.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Src/main.c index 3058eba..7166a35 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -160,5 +159,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Src/stm32f1xx_it.c index 469b04e..0d78caf 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Src/system_stm32f1xx.c index 49e9acf..66783a2 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/readme.txt b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/readme.txt index 85aed33..2db3570 100644 --- a/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/FSMC/FSMC_SRAM_DataMemory/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -80,5 +79,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/main.h b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/main.h index d3afce8..b0f7725 100644 --- a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h index 03b5371..5b4fd5f 100644 --- a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h index 22ef964..f912c9c 100644 --- a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Src/main.c b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Src/main.c index 73f3612..ff39023 100644 --- a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -183,5 +182,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c index 3d502fd..bcdb981 100644 --- a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/readme.txt b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/readme.txt index 5bf99fb..e300265 100644 --- a/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/GPIO/GPIO_IOToggle/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -63,5 +62,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h index cd4bf90..a3cb5d8 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_hal_conf.h index db8e546..ed7313d 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h index 4a82423..a643f45 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,4 +47,3 @@ void EXTI9_5_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/MDK-ARM/startup_stm32f103xg.s index a9d4a74..ff4d13e 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/main.c b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/main.c index a5dc49f..1eaf1a3 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -167,5 +166,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_hal_timebase_rtc_alarm.c b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_hal_timebase_rtc_alarm.c index 9eb6885..3bb4d5b 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_hal_timebase_rtc_alarm.c +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_hal_timebase_rtc_alarm.c @@ -6,7 +6,7 @@ * * This file override the native HAL time base functions (defined as weak) * to use the RTC ALARM for time base generation: - * + Intializes the RTC peripheral to increment the seconds registers each 1ms + * + Initializes the RTC peripheral to increment the seconds registers each 1ms * + The alarm is configured to assert an interrupt when the RTC reaches 1ms * + HAL_IncTick is called at each Alarm event and the time is reset to 00:00:00 * + HSE (default), LSE or LSI can be selected as RTC clock source @@ -32,13 +32,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -91,19 +90,19 @@ HAL_StatusTypeDef HAL_InitTick (uint32_t TickPriority) RCC_PeriphCLKInitTypeDef PeriphClkInitStruct; #ifdef RTC_CLOCK_SOURCE_LSE - /* Configue LSE as RTC clock soucre */ + /* Configure LSE as RTC clock source */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSE; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; RCC_OscInitStruct.LSEState = RCC_LSE_ON; PeriphClkInitStruct.RTCClockSelection = RCC_RTCCLKSOURCE_LSE; #elif defined (RTC_CLOCK_SOURCE_LSI) - /* Configue LSI as RTC clock soucre */ + /* Configure LSI as RTC clock source */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSI; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; RCC_OscInitStruct.LSIState = RCC_LSI_ON; PeriphClkInitStruct.RTCClockSelection = RCC_RTCCLKSOURCE_LSI; #elif defined (RTC_CLOCK_SOURCE_HSE) - /* Configue HSE as RTC clock soucre */ + /* Configure HSE as RTC clock source */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; RCC_OscInitStruct.HSEState = RCC_HSE_ON; @@ -285,5 +284,3 @@ void RTC_Alarm_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c index 48bb90f..b8c37ee 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -169,5 +168,3 @@ void EXTI9_5_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/readme.txt b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/readme.txt index fdbe73d..ece819d 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_RTC_ALARM/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -89,5 +88,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/main.h b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/main.h index a41427a..0e57148 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h index 09d52bf..bf3da6d 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h index cb20db2..66686f6 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void EXTI9_5_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/MDK-ARM/startup_stm32f103xg.s index a9d4a74..ff4d13e 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/main.c b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/main.c index e1a64b7..e8785c6 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -193,5 +192,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_hal_timebase_tim.c b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_hal_timebase_tim.c index 0941182..55f1283 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_hal_timebase_tim.c +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_hal_timebase_tim.c @@ -6,19 +6,18 @@ * * This file overrides the native HAL time base functions (defined as weak) * the TIM time base: - * + Intializes the TIM peripheral generate a Period elapsed Event each 1ms + * + Initializes the TIM peripheral generate a Period elapsed Event each 1ms * + HAL_IncTick is called inside HAL_TIM_PeriodElapsedCallback ie each 1ms * ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void TIM2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c index d87514c..3d7fcd1 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -172,5 +171,3 @@ void EXTI9_5_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/readme.txt b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/readme.txt index e871d15..f7f380d 100644 --- a/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/HAL/HAL_TimeBase_TIM/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -85,5 +84,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/main.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/main.h index 7ed9723..11d49ad 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,5 +60,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_hal_conf.h index fb78505..73955e0 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_it.h index 97fffe8..d30994e 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void I2Cx_ER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/main.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/main.c index 8c59520..ce06992 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -543,5 +542,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/stm32f1xx_hal_msp.c index 9ffcb14..f11a7b4 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -118,5 +117,3 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/stm32f1xx_it.c index 30f9bed..d41329d 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -187,5 +186,3 @@ void I2Cx_ER_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/readme.txt b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/readme.txt index 9bc6a7e..439a855 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_AdvComIT/readme.txt @@ -10,13 +10,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -150,5 +149,5 @@ In order to make the program work, you must do the following : o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/main.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/main.h index cb5828c..c57df87 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -72,5 +71,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h index fb78505..73955e0 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/stm32f1xx_it.h index bdc4a03..c49bf5c 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void I2Cx_ER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Src/main.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Src/main.c index e3d5415..ee0d258 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -394,5 +393,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c index e284150..c6dd0e8 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -180,5 +179,3 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f1xx_it.c index 8e41b5e..733e5dd 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -212,5 +211,3 @@ void I2Cx_DMA_TX_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/readme.txt b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/readme.txt index 9587606..d7093d4 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComDMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -135,5 +134,5 @@ In order to make the program work, you must do the following : o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Inc/main.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Inc/main.h index 8d19778..9a25f08 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,5 +60,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h index fb78505..73955e0 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Inc/stm32f1xx_it.h index c7135c1..988ccd2 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void I2Cx_ER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Src/main.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Src/main.c index d1ca17d..ffa92c3 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -398,5 +397,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c index 2d8692f..617ecd4 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -118,5 +117,3 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Src/stm32f1xx_it.c index 6be5750..b10d737 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -187,5 +186,3 @@ void I2Cx_ER_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/readme.txt b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/readme.txt index 3c4a603..d9a4d10 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -135,5 +134,5 @@ In order to make the program work, you must do the following : o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/main.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/main.h index d4e4305..447294a 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -55,5 +54,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h index fb78505..73955e0 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/stm32f1xx_it.h index cb79e08..de58c7e 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Src/main.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Src/main.c index 615a145..7146b33 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -335,5 +334,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c index b47dfaa..8e7bd19 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -107,5 +106,3 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Src/stm32f1xx_it.c index 4515f66..6f63b17 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/readme.txt b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/readme.txt index 08cb313..4410bfb 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_ComPolling/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -132,5 +131,5 @@ In order to make the program work, you must do the following : o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/main.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/main.h index eb22056..e24a906 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -58,5 +57,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/stm32f1xx_hal_conf.h index fb78505..73955e0 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/stm32f1xx_it.h index 808aa9a..9495b4e 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void I2Cx_ER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/MDK-ARM/startup_stm32f103xg.s index a9d4a74..ff4d13e 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/main.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/main.c index 8f326b4..35873c6 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/main.c @@ -10,13 +10,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -441,7 +440,7 @@ void HAL_I2C_SlaveRxCpltCallback(I2C_HandleTypeDef *I2cHandle) /* Check Command code receive previously */ /* If data received match with a Internal Command Code, set the associated index */ - /* Which will use for Tranmission process if requested by Master */ + /* Which will use for Transmission process if requested by Master */ if(strcmp((char *)(aSlaveReceiveBuffer), (char *)(aCommandCode[0][0])) == 0) { ubSlaveInfoIndex = SLAVE_CHIP_NAME; @@ -604,5 +603,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/stm32f1xx_hal_msp.c index bed001a..00786a9 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -114,5 +113,3 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/stm32f1xx_it.c index 6117039..8e7f8cc 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -187,5 +186,3 @@ void I2Cx_ER_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/readme.txt b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/readme.txt index f5c1bd3..74db413 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -45,7 +44,7 @@ in interrupt mode and with restart condition. This example shows how to configure GPIO, DMA and I2C peripherals using -two STM3210E_EVAL RevD boards for exchanging some datas +two STM3210E_EVAL RevD boards for exchanging some data between an I2C Master device using Interrupt mode and an I2C Slave device using Interrupt mode through the STM32F1xx I2C HAL API. @@ -63,7 +62,7 @@ The User push-button is used to initiate a communication between Master device t User can initiate a new communication after each previous transfer completed. The I2C communication is then initiated. -The project is splitted in two parts the Master Board and the Slave Board +The project is split in two parts the Master Board and the Slave Board - Master Board The HAL_I2C_Master_Sequential_Transmit_IT() and the HAL_I2C_Master_Sequential_Receive_IT() functions allow respectively the transmission and the reception of a predefined data buffer @@ -83,7 +82,7 @@ On Master board side: This action initiate a write request by Master through HAL_I2C_Master_Sequential_Transmit_IT() or a write then read request through HAL_I2C_Master_Sequential_Transmit_IT() then HAL_I2C_Master_Sequential_Receive_IT() routine depends on Command Code type. -Initialy at power on Slave device through Interrupt "Listen" the I2C bus to perform an acknowledge of Match Address when necessary. +Initially at power on Slave device through Interrupt "Listen" the I2C bus to perform an acknowledge of Match Address when necessary. This "Listen" action is initiated by calling HAL_I2C_EnableListen_IT(). Command code type is decomposed in two categories : @@ -156,7 +155,7 @@ I2C1 IRQ Handler routine is then calling HAL_I2C_AddrCallback() which check Addr to call the correct HAL_I2C_Slave_Sequential_Receive_IT() function. This will allow Slave to enter in receiver mode and then acknowledge Master to send the Command code bytes through Interrupt. The Command code data is received and treated byte per byte through HAL_I2C_SlaveRxCpltCallback() in Slave side. -If data received match with a Internal Command Code, set the associated index, which will use for Tranmission process when requested by Master +If data received match with a Internal Command Code, set the associated index, which will use for Transmission process when requested by Master And so in Master side, each time the Slave acknowledge the byte received, Master transfer the next data from flash memory buffer to I2C1 TXDR register until "Request Command code" transfer completed. @@ -248,5 +247,5 @@ In order to make the program work, you must do the following : o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/main.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/main.h index 7fd35a5..644c3c6 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,5 +60,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/stm32f1xx_hal_conf.h index fb78505..73955e0 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/stm32f1xx_it.h index 112bbad..49974d9 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void I2Cx_ER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/MDK-ARM/startup_stm32f103xg.s index a9d4a74..ff4d13e 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/main.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/main.c index bf16052..4e11db3 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/main.c @@ -10,13 +10,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -457,5 +456,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/stm32f1xx_hal_msp.c index e6dff9e..e55e3a8 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -114,5 +113,3 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/stm32f1xx_it.c index 3606014..1185fc6 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -187,5 +186,3 @@ void I2Cx_ER_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/readme.txt b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/readme.txt index 5fb91c3..c418e3d 100644 --- a/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/I2C/I2C_TwoBoards_RestartComIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -58,7 +57,7 @@ the configuration of the needed I2C resources according to the used hardware (CL GPIO and NVIC). You may update this function to change I2C configuration. The I2C communication is then initiated. -The project is splitted in two parts the Master Board and the Slave Board +The project is split in two parts the Master Board and the Slave Board - Master Board The HAL_I2C_Master_Sequential_Transmit_IT() and the HAL_I2C_Master_Sequential_Receive_IT() functions allow respectively the transmission and the reception of a predefined data buffer @@ -145,5 +144,5 @@ In order to make the program work, you must do the following : o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/LICENSE.md b/Projects/STM3210E_EVAL/Examples/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Projects/STM3210E_EVAL/Examples/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Inc/main.h b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Inc/main.h index 0e70966..e5ba05d 100644 --- a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Inc/stm32f1xx_hal_conf.h index 03b5371..5b4fd5f 100644 --- a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Inc/stm32f1xx_it.h index 4045447..adc7ba5 100644 --- a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void PVD_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Src/main.c b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Src/main.c index 5a63a11..da01ee6 100644 --- a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -210,5 +209,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Src/stm32f1xx_it.c index 3f384b9..8d3910c 100644 --- a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -164,5 +163,3 @@ void PVD_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/readme.txt b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/readme.txt index 5d3edab..bed367e 100644 --- a/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/PWR/PWR_PVD/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -76,5 +75,5 @@ In order to make the program work, you must do the following : - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Inc/main.h b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Inc/main.h index 21e7d48..b1491a5 100644 --- a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h index 03b5371..5b4fd5f 100644 --- a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h index c7b8139..21828d9 100644 --- a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void EXTI9_5_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Src/main.c b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Src/main.c index 9621084..a4f6552 100644 --- a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -357,5 +356,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Src/stm32f1xx_it.c index 0b6b90c..f113074 100644 --- a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void EXTI9_5_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/readme.txt b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/readme.txt index e6e11f2..c8de153 100644 --- a/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/RCC/RCC_ClockConfig/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -87,5 +86,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Inc/main.h b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Inc/main.h index 2d9c672..92b94a8 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -35,5 +34,3 @@ void Error_Handler(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Inc/stm32f1xx_hal_conf.h index db8e546..ed7313d 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Inc/stm32f1xx_it.h index 218ae29..30063e2 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Src/main.c b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Src/main.c index fe6b679..5776886 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -275,5 +274,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Src/stm32f1xx_hal_msp.c index a4cb05c..aee289b 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -70,7 +69,7 @@ void HAL_RTC_MspInit(RTC_HandleTypeDef *hrtc) /* Enable BKP CLK for backup registers */ __HAL_RCC_BKP_CLK_ENABLE(); - /*##-2- Configue LSE as RTC clock soucre ###################################*/ + /*##-2- Configure LSE as RTC clock source ###################################*/ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSE; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; RCC_OscInitStruct.LSEState = RCC_LSE_ON; @@ -122,5 +121,3 @@ void HAL_RTC_MspDeInit(RTC_HandleTypeDef *hrtc) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Src/stm32f1xx_it.c index 6071e5d..51a3ba3 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -164,5 +163,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/readme.txt b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/readme.txt index d1879a3..a1a88e7 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Calendar/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -53,7 +52,7 @@ The program behaves as follows: - BKP_DR1 value correct: this means that the RTC is configured and the time and date are displayed on Debugger. -2. When a reset (exept power on reset) occurs the BKP domain is not reset and the RTC +2. When a reset (except power on reset) occurs the BKP domain is not reset and the RTC configuration is not lost. LED4 is ON. 3. When power on reset occurs: @@ -108,5 +107,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Inc/main.h b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Inc/main.h index 51d7d06..412b6a5 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,7 +30,7 @@ #define BACKUP_COUNT RTC_BKP_NUMBER /* Defines related to Clock configuration */ -/* Uncomment to enable the adaquate Clock Source */ +/* Uncomment to enable the adequate Clock Source */ #define RTC_CLOCK_SOURCE_LSI /*#define RTC_CLOCK_SOURCE_LSE*/ @@ -50,5 +49,3 @@ void Error_Handler(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Inc/stm32f1xx_hal_conf.h index db8e546..ed7313d 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Inc/stm32f1xx_it.h index 55fef3e..a0e4298 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void TAMPER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Src/main.c b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Src/main.c index 65579e4..c250281 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -274,5 +273,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Src/stm32f1xx_hal_msp.c index 612e99a..67cac87 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -70,7 +69,7 @@ void HAL_RTC_MspInit(RTC_HandleTypeDef *hrtc) /* Enable BKP CLK enable for backup registers */ __HAL_RCC_BKP_CLK_ENABLE(); - /*##-2- Configue LSE/LSI as RTC clock soucre ###############################*/ + /*##-2- Configure LSE/LSI as RTC clock source ###############################*/ #ifdef RTC_CLOCK_SOURCE_LSE RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSI | RCC_OSCILLATORTYPE_LSE; @@ -141,5 +140,3 @@ void HAL_RTC_MspDeInit(RTC_HandleTypeDef *hrtc) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Src/stm32f1xx_it.c index 8428860..1a4e196 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -181,5 +180,3 @@ void TAMPER_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/readme.txt b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/readme.txt index 94b72e6..92ad7a3 100644 --- a/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/RTC/RTC_Tamper/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -94,6 +93,5 @@ In order to make the program work, you must do the following : - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/main.h b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/main.h index 799f16a..a3e2005 100644 --- a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/platform_config.h b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/platform_config.h index bd46d93..1a6a9ff 100644 --- a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/platform_config.h +++ b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/platform_config.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -42,7 +41,7 @@ #define SC_USART_CK_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE() -/* Smartcard Inteface GPIO pins */ +/* Smartcard Interface GPIO pins */ #define SC_3_5V_PIN GPIO_PIN_0 #define SC_3_5V_GPIO_PORT GPIOB #define SC_3_5V_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE() @@ -66,5 +65,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __PLATFORM_CONFIG_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/smartcard.h b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/smartcard.h index 02f87b3..f3ee1e4 100644 --- a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/smartcard.h +++ b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/smartcard.h @@ -7,19 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © COPYRIGHT(c) 2017 STMicroelectronics

                                                                    > + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); - * You may not use this file except in compliance with the License. - * You may obtain a copy of the License at: - * - * http://www.st.com/software_license_agreement_liberty_v2 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -150,5 +143,3 @@ void SC_ParityErrorHandler(void); void SC_PTSConfig(void); #endif /* __SMARTCARD_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_hal_conf.h index 7070944..80e04a8 100644 --- a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_it.h index ea84251..367d47c 100644 --- a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void SC_OFF_EXTI_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/main.c b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/main.c index 0465b15..486c1ad 100644 --- a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -704,5 +703,3 @@ int fgetc(FILE * f) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/smartcard.c b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/smartcard.c index 7652691..c53567f 100644 --- a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/smartcard.c +++ b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/smartcard.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -673,5 +672,3 @@ static uint8_t SC_Detect(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_hal_msp.c index a7d6461..f925b05 100644 --- a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -105,5 +104,3 @@ void HAL_SMARTCARD_MspDeInit(SMARTCARD_HandleTypeDef *hsmartcard) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_it.c index 1df987e..1aed868 100644 --- a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -185,5 +184,3 @@ void SC_OFF_EXTI_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/system_stm32f1xx.c index 699d00a..85edca0 100644 --- a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/readme.txt b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/readme.txt index bec71cb..fa741e2 100644 --- a/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/SMARTCARD/SMARTCARD_T0/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -97,5 +96,5 @@ In order to make the program work, you must do the following : to Hypterminal to follow test progress. - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Inc/main.h b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Inc/main.h index 05613c8..c0b8456 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Inc/stm32f1xx_hal_conf.h index 417cccc..1c0025a 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Inc/stm32f1xx_it.h index be43891..a99dc57 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -45,5 +44,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Src/main.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Src/main.c index 406bd99..a585a33 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -330,5 +329,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Src/stm32f1xx_hal_msp.c index 2b05b87..6ab706c 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -109,5 +108,3 @@ void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef *htim) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Src/stm32f1xx_it.c index eba35ec..7df79a2 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/readme.txt b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/readme.txt index aa9dd77..5e24c79 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_ComplementarySignals/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -39,7 +38,7 @@ The channel 3 duty cycle is set to 12.5% so channel 3N is set to 87.5%. The Timer pulse is calculated as follows: - ChannelxPulse = DutyCycle * (TIM1_Period - 1) / 100 -A dead time equal to 100/SystemCoreClock (arround 2.1us) is inserted between +A dead time equal to 100/SystemCoreClock (around 2.1us) is inserted between the different complementary signals, and the Lock level 1 is selected. - The OCx output signal is the same as the reference signal except for the rising edge, which is delayed relative to the reference rising edge. @@ -104,5 +103,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Inc/main.h b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Inc/main.h index c52104c..fa03508 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -56,5 +55,3 @@ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Inc/stm32f1xx_hal_conf.h index 417cccc..1c0025a 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Inc/stm32f1xx_it.h index 40c6fa2..51654ec 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void TIMx_DMA_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/main.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/main.c index fc0f726..6bc6fa8 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -80,7 +79,7 @@ int main(void) /* Configure LED3 */ BSP_LED_Init(LED3); - /* Compute the value of ARR regiter to generate signal frequency at 17.57 Khz */ + /* Compute the value of ARR register to generate signal frequency at 17.57 Khz */ uwTimerPeriod = (uint32_t)((SystemCoreClock / 17570) - 1); /* Compute CCR1 value to generate a duty cycle at 75% */ aCCValue_Buffer[0] = (uint32_t)(((uint32_t) 75 * (uwTimerPeriod - 1)) / 100); @@ -106,7 +105,7 @@ int main(void) and a variable duty cycle that is changed by the DMA after a specific number of Update DMA request. - The number of this repetitive requests is defined by the TIM1 Repetion counter, + The number of this repetitive requests is defined by the TIM1 Repetition counter, each 4 Update Requests, the TIM1 Channel 3 Duty Cycle changes to the next new value defined by the aCCValue_Buffer. @@ -261,5 +260,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/stm32f1xx_hal_msp.c index 1d394f0..8974c6b 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -110,5 +109,3 @@ void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef *htim) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/stm32f1xx_it.c index 89cd59c..e0ae57c 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -175,5 +174,3 @@ void TIMx_DMA_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/readme.txt b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/readme.txt index 75a1bdc..4b2c302 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_DMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -28,7 +27,7 @@ to transfer data from memory to TIMER Capture Compare Register 3 (TIM1_CCR3). The following configuration values are used in this example: - TIM1CLK = SystemCoreClock - - Counter repetion = 3 + - Counter repetition = 3 - Prescaler = 0 - TIM1 counter clock = SystemCoreClock - SystemCoreClock is set to 72 MHz for STM32F1xx @@ -83,5 +82,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Inc/main.h b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Inc/main.h index c98d948..916e359 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Inc/stm32f1xx_hal_conf.h index 09d52bf..bf3da6d 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Inc/stm32f1xx_it.h index e459cc2..24b0b8e 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void TIMx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Src/main.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Src/main.c index 5b943c8..9452fec 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -269,5 +268,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Src/stm32f1xx_hal_msp.c index 03a9504..dba937d 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -87,5 +86,3 @@ void HAL_TIM_IC_MspInit(TIM_HandleTypeDef *htim) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Src/stm32f1xx_it.c index 71aeb5d..9873652 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -166,5 +165,3 @@ void TIMx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Src/system_stm32f1xx.c index 699d00a..85edca0 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/readme.txt b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/readme.txt index 2ec1cb2..79fde2d 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_InputCapture/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -83,5 +82,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Inc/main.h b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Inc/main.h index e506d49..2c10fa1 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,5 +51,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Inc/stm32f1xx_hal_conf.h index 09d52bf..bf3da6d 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Inc/stm32f1xx_it.h index faaa03c..1034413 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -45,5 +44,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Src/main.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Src/main.c index c319932..118f3e7 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -301,5 +300,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Src/stm32f1xx_hal_msp.c index 391a261..b84ce88 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -92,5 +91,3 @@ void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef *htim) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Src/stm32f1xx_it.c index dcff6a8..bd442d1 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/readme.txt b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/readme.txt index 6f96dd8..4aafe6a 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_PWMOutput/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -92,5 +91,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Inc/main.h b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Inc/main.h index 692dae8..42b9517 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -43,5 +42,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h index 09d52bf..bf3da6d 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h index cf5669e..19ee689 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void TIMx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Src/main.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Src/main.c index b961ba5..23e0d3e 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -231,5 +230,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c index 082f724..8b463e2 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -74,5 +73,3 @@ void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_it.c index 3c1d567..20ffda6 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void TIMx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/readme.txt b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/readme.txt index 54278a7..55b9e85 100644 --- a/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/TIM/TIM_TimeBase/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -87,5 +86,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Inc/main.h b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Inc/main.h index 5889ffa..00d9803 100644 --- a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Inc/stm32f1xx_hal_conf.h index 6c7be28..1f412d6 100644 --- a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Inc/stm32f1xx_it.h index 1ec692f..d7b83c7 100644 --- a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -45,5 +44,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/MDK-ARM/startup_stm32f103xg.s index 902b864..f58991e 100644 --- a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Src/main.c b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Src/main.c index 282f2fb..606fd29 100644 --- a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -211,5 +210,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Src/stm32f1xx_hal_msp.c index 917cba7..e0a3c78 100644 --- a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -110,5 +109,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Src/stm32f1xx_it.c index a7e0882..616979a 100644 --- a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/readme.txt b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/readme.txt index 66e5b0a..cc7f518 100644 --- a/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/readme.txt +++ b/Projects/STM3210E_EVAL/Examples/UART/UART_Printf/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -97,5 +96,5 @@ In order to make the program work, you must do the following : - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/EWARM/startup_stm32f103xg.s index 9389f40..525225e 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/EWARM/startup_stm32f103xg.s @@ -15,10 +15,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Inc/main.h b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Inc/main.h index 3a60730..ed561f4 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -100,5 +99,3 @@ void MemManage_Callback(void); void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Inc/stm32_assert.h b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Inc/stm32_assert.h +++ b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Inc/stm32f1xx_it.h index 57d28eb..4db422e 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void USER_BUTTON_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/MDK-ARM/startup_stm32f103xg.s index a9d4a74..ff4d13e 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Src/main.c b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Src/main.c index 36221ea..f577f50 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -347,5 +346,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Src/stm32f1xx_it.c index 5c1d77c..0e197c7 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -169,5 +168,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/readme.txt b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/readme.txt index cfa1db3..e1646a6 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/readme.txt +++ b/Projects/STM3210E_EVAL/Examples_LL/CORTEX/CORTEX_MPU/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -57,5 +56,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/EWARM/startup_stm32f103xg.s index 9389f40..525225e 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/EWARM/startup_stm32f103xg.s @@ -15,10 +15,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Inc/main.h b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Inc/main.h index bbb8c9d..a1f966f 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -77,5 +76,3 @@ /* IRQ Handler treatment */ void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Inc/stm32_assert.h b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Inc/stm32_assert.h +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Inc/stm32f1xx_it.h index c9e6eca..a16c342 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void USER_BUTTON_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/MDK-ARM/startup_stm32f103xg.s index a9d4a74..ff4d13e 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Src/main.c b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Src/main.c index 943db1c..ac79c26 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -449,5 +448,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Src/stm32f1xx_it.c index 3baffd6..c9c93ff 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -173,5 +172,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/readme.txt b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/readme.txt index fa1e6c4..05c2328 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/readme.txt +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateConstantSignal_TriggerSW/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -76,5 +75,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/EWARM/startup_stm32f103xg.s index 9389f40..525225e 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/EWARM/startup_stm32f103xg.s @@ -15,10 +15,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Inc/main.h b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Inc/main.h index 1fd3c92..c344c50 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -77,5 +76,3 @@ void UserButton_Callback(void); void DacDmaTransferError_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Inc/stm32_assert.h b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Inc/stm32_assert.h +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Inc/stm32f1xx_it.h index 68e9baf..84a42ed 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,5 +51,3 @@ void DMA2_Channel3_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/MDK-ARM/startup_stm32f103xg.s index a9d4a74..ff4d13e 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Src/main.c b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Src/main.c index 85d7749..bf6f979 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Src/main.c @@ -3,19 +3,18 @@ * @file Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Src/main.c * @author MCD Application Team * @brief This example describes how to use the DAC peripheral to generate - * a voltage waveform from digital data stream transfered by DMA. + * a voltage waveform from digital data stream transferred by DMA. * This example is based on the STM32F1xx DAC LL API; * Peripheral initialization done using LL unitary services functions. ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -231,7 +230,7 @@ void Configure_DMA(void) LL_DMA_CHANNEL_3); /* Note: In this example, the only DMA interruption activated is */ - /* tranfer error. */ + /* transfer error. */ /* If needed, DMA interruptions of half of transfer */ /* and transfer complete can be activated. */ /* Refer to DMA examples. */ @@ -625,5 +624,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Src/stm32f1xx_it.c index 7b409b2..7776261 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -191,5 +190,3 @@ void DMA2_Channel3_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/readme.txt b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/readme.txt index 4b6bd0d..ffd3ea1 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/readme.txt +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -23,7 +22,7 @@ @par Example Description How to use the DAC peripheral to generate a voltage waveform from a digital data -stream transfered by DMA. This example is based on the STM32F1xx DAC +stream transferred by DMA. This example is based on the STM32F1xx DAC LL API. The peripheral initialization uses LL unitary service functions for optimization purposes (performance and size). @@ -81,5 +80,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/EWARM/startup_stm32f103xg.s index 9389f40..525225e 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/EWARM/startup_stm32f103xg.s @@ -15,10 +15,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Inc/main.h b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Inc/main.h index b9e5b53..5649f21 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -77,5 +76,3 @@ void UserButton_Callback(void); void DacDmaTransferError_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Inc/stm32_assert.h b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Inc/stm32_assert.h +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Inc/stm32f1xx_it.h index db680ee..15f3260 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,5 +51,3 @@ void DMA2_Channel3_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/MDK-ARM/startup_stm32f103xg.s index a9d4a74..ff4d13e 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Src/main.c b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Src/main.c index 1c5ebbc..591e31a 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Src/main.c @@ -3,19 +3,18 @@ * @file Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Src/main.c * @author MCD Application Team * @brief This example describes how to use the DAC peripheral to generate - * a voltage waveform from digital data stream transfered by DMA. + * a voltage waveform from digital data stream transferred by DMA. * This example is based on the STM32F1xx DAC LL API; * Peripheral initialization done using LL initialization function. ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -230,7 +229,7 @@ void Configure_DMA(void) LL_DMA_CHANNEL_3); /* Note: In this example, the only DMA interruption activated is */ - /* tranfer error. */ + /* transfer error. */ /* If needed, DMA interruptions of half of transfer */ /* and transfer complete can be activated. */ /* Refer to DMA examples. */ @@ -628,5 +627,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Src/stm32f1xx_it.c index 8f8d528..5d8f621 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -191,5 +190,3 @@ void DMA2_Channel3_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/readme.txt b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/readme.txt index 963cc9a..52787ca 100644 --- a/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/readme.txt +++ b/Projects/STM3210E_EVAL/Examples_LL/DAC/DAC_GenerateWaveform_TriggerHW_Init/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -23,7 +22,7 @@ @par Example Description How to use the DAC peripheral to generate a voltage waveform from a digital data -stream transfered by DMA. This example is based on the STM32F1xx +stream transferred by DMA. This example is based on the STM32F1xx DAC LL API. The peripheral initialization uses LL initialization functions to demonstrate LL init usage. @@ -82,5 +81,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples_LL/LICENSE.md b/Projects/STM3210E_EVAL/Examples_LL/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Projects/STM3210E_EVAL/Examples_LL/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/EWARM/startup_stm32f103xg.s index 9389f40..525225e 100644 --- a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/EWARM/startup_stm32f103xg.s @@ -15,10 +15,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/main.h b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/main.h index 43ead57..869a18d 100644 --- a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/main.h +++ b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -94,5 +93,3 @@ /* IRQ Handler treatment */ void AdcGrpRegularUnitaryConvComplete_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/stm32f1xx_hal_conf.h index 4ca9734..ac9e047 100644 --- a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -393,6 +392,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/stm32f1xx_it.h index 3e262ee..c56bbf5 100644 --- a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -58,5 +57,3 @@ void ADC1_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/MDK-ARM/startup_stm32f103xg.s index a9d4a74..ff4d13e 100644 --- a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Src/main.c b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Src/main.c index d6e2435..9743407 100644 --- a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Src/main.c +++ b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Src/main.c @@ -12,13 +12,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -202,7 +201,7 @@ int main(void) /* Start ADC group regular conversion */ /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -614,5 +613,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Src/stm32f1xx_hal_msp.c index 57343ff..3ba1fa6 100644 --- a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -186,5 +185,3 @@ void HAL_DAC_MspDeInit(DAC_HandleTypeDef *hdac) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Src/stm32f1xx_it.c index 79c41fd..9116633 100644 --- a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -186,7 +185,7 @@ void ADC1_IRQHandler(void) /* Check whether ADC group regular end of unitary conversion caused */ /* the ADC interruption. */ - /* Note: On this STM32 serie, there is no flag of group regular */ + /* Note: On this STM32 series, there is no flag of group regular */ /* end of unitary conversion. Therefore, flag of group regular */ /* end of sequence conversions is used (equivalent when there is */ /* only 1 rank in group regular sequencer). */ @@ -208,5 +207,3 @@ void ADC1_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Src/system_stm32f1xx.c index 96e88de..1337027 100644 --- a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/readme.txt b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/readme.txt index 629623d..325ee3e 100644 --- a/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/readme.txt +++ b/Projects/STM3210E_EVAL/Examples_MIX/ADC/ADC_SingleConversion_TriggerSW_IT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -100,5 +99,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Examples_MIX/LICENSE.md b/Projects/STM3210E_EVAL/Examples_MIX/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Projects/STM3210E_EVAL/Examples_MIX/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Projects/STM3210E_EVAL/Templates/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Templates/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Templates/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Templates/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates/Inc/main.h b/Projects/STM3210E_EVAL/Templates/Inc/main.h index 4b9baf5..25ed5f7 100644 --- a/Projects/STM3210E_EVAL/Templates/Inc/main.h +++ b/Projects/STM3210E_EVAL/Templates/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -30,5 +29,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates/Inc/stm32f1xx_hal_conf.h b/Projects/STM3210E_EVAL/Templates/Inc/stm32f1xx_hal_conf.h index ab1f86f..7c8ffab 100644 --- a/Projects/STM3210E_EVAL/Templates/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM3210E_EVAL/Templates/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,6 +395,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Templates/Inc/stm32f1xx_it.h index db9ad60..83e5750 100644 --- a/Projects/STM3210E_EVAL/Templates/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Templates/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates/LICENSE.md b/Projects/STM3210E_EVAL/Templates/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Projects/STM3210E_EVAL/Templates/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Projects/STM3210E_EVAL/Templates/MDK-ARM/Project.uvoptx b/Projects/STM3210E_EVAL/Templates/MDK-ARM/Project.uvoptx index 6c0b093..044015d 100644 --- a/Projects/STM3210E_EVAL/Templates/MDK-ARM/Project.uvoptx +++ b/Projects/STM3210E_EVAL/Templates/MDK-ARM/Project.uvoptx @@ -101,6 +101,8 @@ 0 0 1 + 0 + 0 6 @@ -191,6 +193,7 @@ 1 + 0 0 2 10000000 @@ -278,6 +281,8 @@ 0 0 1 + 0 + 0 6 @@ -368,6 +373,7 @@ 1 + 0 0 2 10000000 diff --git a/Projects/STM3210E_EVAL/Templates/MDK-ARM/Project.uvprojx b/Projects/STM3210E_EVAL/Templates/MDK-ARM/Project.uvprojx index bbcb065..8701394 100644 --- a/Projects/STM3210E_EVAL/Templates/MDK-ARM/Project.uvprojx +++ b/Projects/STM3210E_EVAL/Templates/MDK-ARM/Project.uvprojx @@ -184,6 +184,8 @@ 0 0 0 + 0 + 0 0 0 8 @@ -324,6 +326,7 @@ 0 0 1 + 0 0 1 1 @@ -349,7 +352,7 @@ 0 0 0 - 0 + 4 @@ -910,6 +913,8 @@ 0 0 0 + 0 + 0 0 0 8 @@ -1037,7 +1042,7 @@ 1 - 4 + 7 0 0 1 @@ -1050,8 +1055,9 @@ 0 0 0 + 0 0 - 5 + 3 3 1 1 @@ -1075,7 +1081,7 @@ 0 0 0 - 0 + 4 diff --git a/Projects/STM3210E_EVAL/Templates/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Templates/MDK-ARM/startup_stm32f103xg.s index a9d4a74..ff4d13e 100644 --- a/Projects/STM3210E_EVAL/Templates/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Templates/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Templates/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Templates/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Templates/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Templates/SW4STM32/STM3210E_EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Templates/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Templates/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Templates/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Templates/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates/Src/main.c b/Projects/STM3210E_EVAL/Templates/Src/main.c index fa791a3..6581994 100644 --- a/Projects/STM3210E_EVAL/Templates/Src/main.c +++ b/Projects/STM3210E_EVAL/Templates/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -147,5 +146,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates/Src/stm32f1xx_hal_msp.c b/Projects/STM3210E_EVAL/Templates/Src/stm32f1xx_hal_msp.c index 895071e..68226eb 100644 --- a/Projects/STM3210E_EVAL/Templates/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM3210E_EVAL/Templates/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -86,5 +85,3 @@ void HAL_MspDeInit(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Templates/Src/stm32f1xx_it.c index 9565c77..070ddc8 100644 --- a/Projects/STM3210E_EVAL/Templates/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Templates/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Templates/Src/system_stm32f1xx.c index 699d00a..85edca0 100644 --- a/Projects/STM3210E_EVAL/Templates/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Templates/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates/readme.txt b/Projects/STM3210E_EVAL/Templates/readme.txt index 8c3ee42..97c8a3c 100644 --- a/Projects/STM3210E_EVAL/Templates/readme.txt +++ b/Projects/STM3210E_EVAL/Templates/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -63,5 +62,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM3210E_EVAL/Templates_LL/EWARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Templates_LL/EWARM/startup_stm32f103xg.s index 20820fb..ded34c2 100644 --- a/Projects/STM3210E_EVAL/Templates_LL/EWARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Templates_LL/EWARM/startup_stm32f103xg.s @@ -12,13 +12,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -491,5 +490,3 @@ DMA2_Channel4_5_IRQHandler END - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates_LL/Inc/main.h b/Projects/STM3210E_EVAL/Templates_LL/Inc/main.h index 5fed69a..3330ffc 100644 --- a/Projects/STM3210E_EVAL/Templates_LL/Inc/main.h +++ b/Projects/STM3210E_EVAL/Templates_LL/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -226,5 +225,3 @@ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates_LL/Inc/stm32_assert.h b/Projects/STM3210E_EVAL/Templates_LL/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM3210E_EVAL/Templates_LL/Inc/stm32_assert.h +++ b/Projects/STM3210E_EVAL/Templates_LL/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates_LL/Inc/stm32f1xx_it.h b/Projects/STM3210E_EVAL/Templates_LL/Inc/stm32f1xx_it.h index d3a479e..ccf4d71 100644 --- a/Projects/STM3210E_EVAL/Templates_LL/Inc/stm32f1xx_it.h +++ b/Projects/STM3210E_EVAL/Templates_LL/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates_LL/LICENSE.md b/Projects/STM3210E_EVAL/Templates_LL/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Projects/STM3210E_EVAL/Templates_LL/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Projects/STM3210E_EVAL/Templates_LL/MDK-ARM/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Templates_LL/MDK-ARM/startup_stm32f103xg.s index a9d4a74..ff4d13e 100644 --- a/Projects/STM3210E_EVAL/Templates_LL/MDK-ARM/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Templates_LL/MDK-ARM/startup_stm32f103xg.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -352,5 +351,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM3210E_EVAL/Templates_LL/SW4STM32/STM3210E-EVAL/STM32F103ZGHx_FLASH.ld b/Projects/STM3210E_EVAL/Templates_LL/SW4STM32/STM3210E-EVAL/STM32F103ZGHx_FLASH.ld index 5d62270..eee11d6 100644 --- a/Projects/STM3210E_EVAL/Templates_LL/SW4STM32/STM3210E-EVAL/STM32F103ZGHx_FLASH.ld +++ b/Projects/STM3210E_EVAL/Templates_LL/SW4STM32/STM3210E-EVAL/STM32F103ZGHx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM3210E_EVAL/Templates_LL/SW4STM32/startup_stm32f103xg.s b/Projects/STM3210E_EVAL/Templates_LL/SW4STM32/startup_stm32f103xg.s index 92c1f1d..78b713f 100644 --- a/Projects/STM3210E_EVAL/Templates_LL/SW4STM32/startup_stm32f103xg.s +++ b/Projects/STM3210E_EVAL/Templates_LL/SW4STM32/startup_stm32f103xg.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -89,7 +88,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -460,5 +459,3 @@ g_pfnVectors: .weak DMA2_Channel4_5_IRQHandler .thumb_set DMA2_Channel4_5_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates_LL/Src/main.c b/Projects/STM3210E_EVAL/Templates_LL/Src/main.c index a4b144b..6f8ea5f 100644 --- a/Projects/STM3210E_EVAL/Templates_LL/Src/main.c +++ b/Projects/STM3210E_EVAL/Templates_LL/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -139,5 +138,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates_LL/Src/stm32f1xx_it.c b/Projects/STM3210E_EVAL/Templates_LL/Src/stm32f1xx_it.c index 6c7d21e..9a82fc1 100644 --- a/Projects/STM3210E_EVAL/Templates_LL/Src/stm32f1xx_it.c +++ b/Projects/STM3210E_EVAL/Templates_LL/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -155,5 +154,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates_LL/Src/system_stm32f1xx.c b/Projects/STM3210E_EVAL/Templates_LL/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM3210E_EVAL/Templates_LL/Src/system_stm32f1xx.c +++ b/Projects/STM3210E_EVAL/Templates_LL/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM3210E_EVAL/Templates_LL/readme.txt b/Projects/STM3210E_EVAL/Templates_LL/readme.txt index 8f67f98..5342920 100644 --- a/Projects/STM3210E_EVAL/Templates_LL/readme.txt +++ b/Projects/STM3210E_EVAL/Templates_LL/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -84,5 +83,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32CubeProjectsList.html b/Projects/STM32CubeProjectsList.html index 8154eef..2e486a0 100644 --- a/Projects/STM32CubeProjectsList.html +++ b/Projects/STM32CubeProjectsList.html @@ -21,7 +21,7 @@
                                                                    - +

                                                                    The STM32CubeF1 Firmware package comes with a rich set of examples running on STMicroelectronics boards, organized by board and provided with preconfigured projects for the main supported toolchains.

                                                                    @@ -931,7 +931,7 @@ initialization uses LL unitary service functions for optimization purposes

                                                                    DAC_GenerateWaveform_TriggerHW

                                                                    How to use the DAC peripheral to generate a voltage waveform from a digital data -stream transfered by DMA. This example is based on the STM32F1xx DAC +stream transferred by DMA. This example is based on the STM32F1xx DAC LL API. The peripheral initialization uses LL unitary service functions for optimization purposes (performance and size). @@ -944,7 +944,7 @@ functions for optimization purposes (performance and size).

                                                                    DAC_GenerateWaveform_TriggerHW_Init

                                                                    How to use the DAC peripheral to generate a voltage waveform from a digital data -stream transfered by DMA. This example is based on the STM32F1xx +stream transferred by DMA. This example is based on the STM32F1xx DAC LL API. The peripheral initialization uses LL initialization functions to demonstrate LL init usage. @@ -1721,7 +1721,7 @@ the STM32F1xx UART HAL and LL API, the LL API being used for performance improve

                                                                    Applications

                                                                    EEPROM

                                                                    EEPROM_Emulation

                                                                    - Please refer to AN2594 for futher details regarding this application. + Please refer to AN2594 for further details regarding this application. - X diff --git a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/EWARM/startup_stm32f103xb.s index 7b23118..7568718 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Inc/eeprom.h b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Inc/eeprom.h index d276e89..f7f1ec3 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Inc/eeprom.h +++ b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Inc/eeprom.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -201,5 +200,3 @@ uint16_t EE_ReadVariable(uint16_t VirtAddress, uint16_t* Data); uint16_t EE_WriteVariable(uint16_t VirtAddress, uint16_t Data); #endif /* __EEPROM_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Inc/stm32f1xx_hal_conf.h index 3c74be0..fa59471 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Inc/stm32f1xx_it.h index dcddb8c..ab1b66b 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Src/eeprom.c b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Src/eeprom.c index a95dd32..d42025d 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Src/eeprom.c +++ b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Src/eeprom.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -395,7 +394,7 @@ uint16_t EE_ReadVariable(uint16_t VirtAddress, uint16_t* Data) } /** - * @brief Writes/upadtes variable data in EEPROM. + * @brief Writes/updates variable data in EEPROM. * @param VirtAddress: Variable virtual address * @param Data: 16 bit data to be written * @retval Success or error status: @@ -426,7 +425,7 @@ uint16_t EE_WriteVariable(uint16_t VirtAddress, uint16_t Data) * @brief Erases PAGE and PAGE1 and writes VALID_PAGE header to PAGE * @param None * @retval Status of the last operation (Flash write or erase) done during - * EEPROM formating + * EEPROM formatting */ static HAL_StatusTypeDef EE_Format(void) { @@ -572,7 +571,7 @@ static uint16_t EE_VerifyPageFullWriteVariable(uint16_t VirtAddress, uint16_t Da /* Get the valid Page end address */ pageendaddress = (uint32_t)((EEPROM_START_ADDRESS - 1) + (uint32_t)((validpage + 1) * PAGE_SIZE)); - /* Check each active page address starting from begining */ + /* Check each active page address starting from beginning */ while (address < pageendaddress) { /* Verify if address and address+2 contents are 0xFFFFFFFF */ @@ -710,5 +709,3 @@ static uint16_t EE_PageTransfer(uint16_t VirtAddress, uint16_t Data) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Src/main.c b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Src/main.c index b116e39..5dd3f13 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -189,5 +188,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Src/stm32f1xx_it.c index 33199cc..54eebcd 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -162,5 +161,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/readme.txt b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/readme.txt index 85e25ff..e3e0853 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Applications/EEPROM/EEPROM_Emulation/readme.txt @@ -9,19 +9,18 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @par Application Description -Please refer to AN2594 for futher details regarding this application. +Please refer to AN2594 for further details regarding this application. @note Take care, to work well, memory shall be erase before using this application. @@ -60,5 +59,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/main.h b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/main.h index 9e9bf5c..87fdaec 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/main.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -40,6 +39,3 @@ extern "C" { #endif #endif /* __MAIN_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_hal_conf.h index 6b02851..374d1dc 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_it.h index 027ae48..1f58950 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -44,5 +43,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/STM32F103RB_Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/STM32F103RB_Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/STM32F103RB_Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/STM32F103RB_Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/main.c b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/main.c index d1b1d23..11d9760 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -225,5 +224,3 @@ void assert_failed(uint8_t *file, uint32_t line) {} } #endif - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_hal_timebase_tim.c b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_hal_timebase_tim.c index 2002f8a..2d4c051 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_hal_timebase_tim.c +++ b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_hal_timebase_tim.c @@ -6,19 +6,18 @@ * * This file overrides the native HAL time base functions (defined as weak) * the TIM time base: - * + Intializes the TIM peripheral generate a Period elapsed Event each 1ms + * + Initializes the TIM peripheral generate a Period elapsed Event each 1ms * + HAL_IncTick is called inside HAL_TIM_PeriodElapsedCallback ie each 1ms * ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -162,5 +161,3 @@ void TIM2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_it.c index ec001ff..f55a650 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/stm32f1xx_it.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -126,5 +125,3 @@ void SysTick_Handler(void) /*void PPP_IRQHandler(void) { }*/ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/system_stm32f1xx.c index 94ed4bc..e6ff46b 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/readme.txt b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/readme.txt index 593b1f5..5c61f21 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Applications/FreeRTOS/FreeRTOS_ThreadCreation/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -70,5 +69,5 @@ In order to make the program work, you must do the following: - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Applications/LICENSE.md b/Projects/STM32F103RB-Nucleo/Applications/LICENSE.md new file mode 100644 index 0000000..1af5233 --- /dev/null +++ b/Projects/STM32F103RB-Nucleo/Applications/LICENSE.md @@ -0,0 +1,80 @@ +SLA0044 Rev5/February 2018 + +## Software license agreement + +### __ULTIMATE LIBERTY SOFTWARE LICENSE AGREEMENT__ + +BY INSTALLING, COPYING, DOWNLOADING, ACCESSING OR OTHERWISE USING THIS SOFTWARE +OR ANY PART THEREOF (AND THE RELATED DOCUMENTATION) FROM STMICROELECTRONICS +INTERNATIONAL N.V, SWISS BRANCH AND/OR ITS AFFILIATED COMPANIES +(STMICROELECTRONICS), THE RECIPIENT, ON BEHALF OF HIMSELF OR HERSELF, OR ON +BEHALF OF ANY ENTITY BY WHICH SUCH RECIPIENT IS EMPLOYED AND/OR ENGAGED AGREES +TO BE BOUND BY THIS SOFTWARE LICENSE AGREEMENT. + +Under STMicroelectronics’ intellectual property rights, the redistribution, +reproduction and use in source and binary forms of the software or any part +thereof, with or without modification, are permitted provided that the following +conditions are met: + +1. Redistribution of source code (modified or not) must retain any copyright +notice, this list of conditions and the disclaimer set forth below as items 10 +and 11. + +2. Redistributions in binary form, except as embedded into microcontroller or +microprocessor device manufactured by or for STMicroelectronics or a software +update for such device, must reproduce any copyright notice provided with the +binary code, this list of conditions, and the disclaimer set forth below as +items 10 and 11, in documentation and/or other materials provided with the +distribution. + +3. Neither the name of STMicroelectronics nor the names of other contributors to +this software may be used to endorse or promote products derived from this +software or part thereof without specific written permission. + +4. This software or any part thereof, including modifications and/or derivative +works of this software, must be used and execute solely and exclusively on or in +combination with a microcontroller or microprocessor device manufactured by or +for STMicroelectronics. + +5. No use, reproduction or redistribution of this software partially or totally +may be done in any manner that would subject this software to any Open Source +Terms. “Open Source Terms†shall mean any open source license which requires as +part of distribution of software that the source code of such software is +distributed therewith or otherwise made available, or open source license that +substantially complies with the Open Source definition specified at +www.opensource.org and any other comparable open source license such as for +example GNU General Public License (GPL), Eclipse Public License (EPL), Apache +Software License, BSD license or MIT license. + +6. STMicroelectronics has no obligation to provide any maintenance, support or +updates for the software. + +7. The software is and will remain the exclusive property of STMicroelectronics +and its licensors. The recipient will not take any action that jeopardizes +STMicroelectronics and its licensors' proprietary rights or acquire any rights +in the software, except the limited rights specified hereunder. + +8. The recipient shall comply with all applicable laws and regulations affecting +the use of the software or any part thereof including any applicable export +control law or regulation. + +9. Redistribution and use of this software or any part thereof other than as +permitted under this license is void and will automatically terminate your +rights under this license. + +10. THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS, WHICH ARE +DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT SHALL +STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +11. EXCEPT AS EXPRESSLY PERMITTED HEREUNDER, NO LICENSE OR OTHER RIGHTS, WHETHER +EXPRESS OR IMPLIED, ARE GRANTED UNDER ANY PATENT OR OTHER INTELLECTUAL PROPERTY +RIGHTS OF STMICROELECTRONICS OR ANY THIRD PARTY. diff --git a/Projects/STM32F103RB-Nucleo/Applications/Release_Notes.html b/Projects/STM32F103RB-Nucleo/Applications/Release_Notes.html index 34319c0..a11b0ef 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/Release_Notes.html +++ b/Projects/STM32F103RB-Nucleo/Applications/Release_Notes.html @@ -675,7 +675,9 @@ Notes for STM32F103RB-Nucleo Applications -

                                                                    Update History

                                                                    V1.7.0 +

                                                                    Update History

                                                                    V1.8.5 +/ 07-April-2023

                                                                    Main +Changes

                                                                    • Replace hard-coded page end address by a variable in EE_VerifyPageFullyErased() to consider both PAGE 0 and PAGE 1 instead of only PAGE 0 in EEPROM emulation application.

                                                                    V1.7.0 / 09-October-2018

                                                                    Main Changes

                                                                    • Update stm32f1xx_hal_conf.h files to add support to HAL CAN Legacy Module.

                                                                    V1.5.0 / 14-April-2017

                                                                    Main diff --git a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/main.h b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/main.h index a6fc91f..ce16ee6 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ void Toggle_Leds(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_hal_conf.h index a4a3f30..8e92614 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_hal_conf.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -374,6 +373,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_it.h index 3c6c666..0ea23e2 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/usbd_conf.h b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/usbd_conf.h index a274290..bc009b2 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/usbd_conf.h +++ b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/usbd_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -82,5 +81,3 @@ void USBD_static_free(void *p); /* Exported functions ------------------------------------------------------- */ #endif /* __USBD_CONF_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/usbd_desc.h b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/usbd_desc.h index 3a1cfb6..57512d0 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/usbd_desc.h +++ b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Inc/usbd_desc.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -36,5 +35,3 @@ extern USBD_DescriptorsTypeDef HID_Desc; #endif /* __USBD_DESC_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/main.c b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/main.c index f34e850..1549cb8 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -206,5 +205,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/stm32f1xx_it.c index c801828..b6bde41 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -180,5 +179,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/usbd_conf.c b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/usbd_conf.c index fe43a50..a3f6d5d 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/usbd_conf.c +++ b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/usbd_conf.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -441,7 +440,7 @@ USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef *pdev, * @brief Returns the last transferred packet size. * @param pdev: Device handle * @param ep_addr: Endpoint Number - * @retval Recived Data Size + * @retval Received Data Size */ uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef *pdev, uint8_t ep_addr) { @@ -568,5 +567,3 @@ void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) } } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/usbd_desc.c b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/usbd_desc.c index d36c8e7..9c6166f 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/usbd_desc.c +++ b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/Src/usbd_desc.c @@ -2,17 +2,16 @@ ****************************************************************************** * @file USB_Device/HID_Standalone/Src/usbd_desc.c * @author MCD Application Team - * @brief This file provides the USBD descriptors and string formating method. + * @brief This file provides the USBD descriptors and string formatting method. ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2015 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2015 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -243,5 +242,3 @@ static void IntToUnicode (uint32_t value , uint8_t *pbuf , uint8_t len) pbuf[ 2* idx + 1] = 0; } } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/readme.txt b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/readme.txt index ca8a3e6..f4c0ffb 100644 --- a/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Applications/USB_Device/HID_Standalone/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -104,5 +103,5 @@ In order to make the program work, you must do the following: - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/fatfs_storage.h b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/fatfs_storage.h index 6032c8a..ef63dbe 100644 --- a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/fatfs_storage.h +++ b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/fatfs_storage.h @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -78,5 +77,3 @@ uint8_t Buffercmp(uint8_t *pBuffer1, uint8_t *pBuffer2, uint16_t BufferLength); /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/ffconf.h b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/ffconf.h index d498354..4c64e7c 100644 --- a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/ffconf.h +++ b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/ffconf.h @@ -185,7 +185,7 @@ / number is bound to the same physical drive number and only an FAT volume found on / the physical drive will be mounted. When multi-partition feature is enabled (1), / each logical drive number is bound to arbitrary physical drive and partition -/ listed in the VolToPart[]. Also f_fdisk() funciton will be available. */ +/ listed in the VolToPart[]. Also f_fdisk() function will be available. */ #define _MIN_SS 512 diff --git a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/main.h b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/main.h index ea96fbd..1d94caa 100644 --- a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -39,5 +38,3 @@ #define MAX_BMP_FILE_NAME 11 #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/stm32f1xx_hal_conf.h index b939de6..fb61c99 100644 --- a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/stm32f1xx_it.h index b6b9183..0c730d6 100644 --- a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/MDK-ARM/startup_stm32f103xb.s index 2d75549..693f3a9 100644 --- a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 93a0c01..89c456c 100644 --- a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Src/fatfs_storage.c b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Src/fatfs_storage.c index 4b0edd5..2f69585 100644 --- a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Src/fatfs_storage.c +++ b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Src/fatfs_storage.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -78,16 +77,16 @@ uint32_t Storage_OpenReadFile(uint8_t Xpoz, uint16_t Ypoz, const char *BmpName) /* Get the number of bytes which can be stored inside the buffer */ nbbytetoread = MIN(size,nbline*pbmpheader->w*2); - /* Adapt the total size of the bitmap, stored inside the header, to this chunck */ + /* Adapt the total size of the bitmap, stored inside the header, to this chunk */ pbmpheader->fsize = pbmpheader->offset + nbbytetoread; - /* Adapt the number of line, stored inside the header, to this chunck */ + /* Adapt the number of line, stored inside the header, to this chunk */ pbmpheader->h = nbbytetoread/(pbmpheader->w*2); /* Start reading at the end of the file */ f_lseek(&bmpfile, pbmpheader->offset + size - nbbytetoread); - /* Store this chunck (or the entire part if possible) of the file inside a buffer */ + /* Store this chunk (or the entire part if possible) of the file inside a buffer */ f_read(&bmpfile, aBuffer + pbmpheader->offset, nbbytetoread, &BytesRead); /* Draw the bitmap */ @@ -232,5 +231,3 @@ uint8_t Buffercmp(uint8_t* pBuffer1, uint8_t* pBuffer2, uint16_t BufferLength) return ret; } - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Src/main.c b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Src/main.c index 42ff9d5..1984868 100644 --- a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -645,5 +644,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Src/stm32f1xx_it.c index 3c6f1e7..e835d41 100644 --- a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -157,5 +156,3 @@ void EXTI15_10_IRQHandler(void) /*void PPP_IRQHandler(void) { }*/ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Src/system_stm32f1xx.c index 699d00a..85edca0 100644 --- a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/readme.txt b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/readme.txt index cbdf61a..9ac6b2b 100644 --- a/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Demonstrations/Adafruit_LCD_1_8_SD_Joystick/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -129,5 +128,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Demonstrations/LICENSE.md b/Projects/STM32F103RB-Nucleo/Demonstrations/LICENSE.md new file mode 100644 index 0000000..1af5233 --- /dev/null +++ b/Projects/STM32F103RB-Nucleo/Demonstrations/LICENSE.md @@ -0,0 +1,80 @@ +SLA0044 Rev5/February 2018 + +## Software license agreement + +### __ULTIMATE LIBERTY SOFTWARE LICENSE AGREEMENT__ + +BY INSTALLING, COPYING, DOWNLOADING, ACCESSING OR OTHERWISE USING THIS SOFTWARE +OR ANY PART THEREOF (AND THE RELATED DOCUMENTATION) FROM STMICROELECTRONICS +INTERNATIONAL N.V, SWISS BRANCH AND/OR ITS AFFILIATED COMPANIES +(STMICROELECTRONICS), THE RECIPIENT, ON BEHALF OF HIMSELF OR HERSELF, OR ON +BEHALF OF ANY ENTITY BY WHICH SUCH RECIPIENT IS EMPLOYED AND/OR ENGAGED AGREES +TO BE BOUND BY THIS SOFTWARE LICENSE AGREEMENT. + +Under STMicroelectronics’ intellectual property rights, the redistribution, +reproduction and use in source and binary forms of the software or any part +thereof, with or without modification, are permitted provided that the following +conditions are met: + +1. Redistribution of source code (modified or not) must retain any copyright +notice, this list of conditions and the disclaimer set forth below as items 10 +and 11. + +2. Redistributions in binary form, except as embedded into microcontroller or +microprocessor device manufactured by or for STMicroelectronics or a software +update for such device, must reproduce any copyright notice provided with the +binary code, this list of conditions, and the disclaimer set forth below as +items 10 and 11, in documentation and/or other materials provided with the +distribution. + +3. Neither the name of STMicroelectronics nor the names of other contributors to +this software may be used to endorse or promote products derived from this +software or part thereof without specific written permission. + +4. This software or any part thereof, including modifications and/or derivative +works of this software, must be used and execute solely and exclusively on or in +combination with a microcontroller or microprocessor device manufactured by or +for STMicroelectronics. + +5. No use, reproduction or redistribution of this software partially or totally +may be done in any manner that would subject this software to any Open Source +Terms. “Open Source Terms†shall mean any open source license which requires as +part of distribution of software that the source code of such software is +distributed therewith or otherwise made available, or open source license that +substantially complies with the Open Source definition specified at +www.opensource.org and any other comparable open source license such as for +example GNU General Public License (GPL), Eclipse Public License (EPL), Apache +Software License, BSD license or MIT license. + +6. STMicroelectronics has no obligation to provide any maintenance, support or +updates for the software. + +7. The software is and will remain the exclusive property of STMicroelectronics +and its licensors. The recipient will not take any action that jeopardizes +STMicroelectronics and its licensors' proprietary rights or acquire any rights +in the software, except the limited rights specified hereunder. + +8. The recipient shall comply with all applicable laws and regulations affecting +the use of the software or any part thereof including any applicable export +control law or regulation. + +9. Redistribution and use of this software or any part thereof other than as +permitted under this license is void and will automatically terminate your +rights under this license. + +10. THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS, WHICH ARE +DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT SHALL +STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +11. EXCEPT AS EXPRESSLY PERMITTED HEREUNDER, NO LICENSE OR OTHER RIGHTS, WHETHER +EXPRESS OR IMPLIED, ARE GRANTED UNDER ANY PATENT OR OTHER INTELLECTUAL PROPERTY +RIGHTS OF STMICROELECTRONICS OR ANY THIRD PARTY. diff --git a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Inc/main.h index 27dbe0b..7df6e1a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,5 +87,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Inc/stm32f1xx_hal_conf.h index 7473d51..339ba3b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Inc/stm32f1xx_it.h index a863695..c7fce73 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void ADCx_DMA_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Src/main.c index fc47ad6..6b387ad 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Src/main.c @@ -6,17 +6,16 @@ * peripheral to perform conversions with analog watchdog and * interruptions. Other peripherals used: DMA, TIM (ADC group regular * conversions triggered by TIM, ADC group regular conversion data - * transfered by DMA). + * transferred by DMA). ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -520,5 +519,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Src/stm32f1xx_hal_msp.c index be28e30..acc76dd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -197,5 +196,3 @@ void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef *htim) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Src/stm32f1xx_it.c index d88cc63..111b756 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -200,5 +199,3 @@ void ADCx_DMA_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/readme.txt index abefd77..121286c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/ADC/ADC_AnalogWatchdog/readme.txt @@ -11,13 +11,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -113,5 +112,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Inc/main.h index bfe8d20..fd1c3f3 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h index 55d1f55..8ca6cad 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Inc/stm32f1xx_it.h index 8ebbd79..9fd779f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Src/main.c index 6d7bdf4..30e0619 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -224,5 +223,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Src/stm32f1xx_hal_msp.c index d469ebe..4944b9f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -77,5 +76,3 @@ void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Src/stm32f1xx_it.c index 6239dd0..c38ac7b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -164,5 +163,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/readme.txt index 2c88c13..fd2786a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/CRC/CRC_Example/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -41,7 +40,7 @@ Once calculated, the CRC value is compared to the CRC expected value. STM32 Eval board's LED can be used to monitor the example status: - LED2 is ON when a correct CRC value is calculated - - LED2 is slowly blinking (1 sec. period) when an uncorrect CRC value is calculated or when there is an initialization error. + - LED2 is slowly blinking (1 sec. period) when an incorrect CRC value is calculated or when there is an initialization error. @note Care must be taken when using HAL_Delay(), this function provides accurate delay (in milliseconds) based on variable incremented in SysTick ISR. This implies that if HAL_Delay() is called from @@ -78,6 +77,5 @@ In order to make the program work, you must do the following: - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Inc/main.h index 13477b8..62ceec6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -162,5 +161,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Inc/stm32f1xx_it.h index 2e2f459..fc50e6e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Src/main.c index fb0b8da..6f0ff26 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -253,5 +252,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Src/stm32f1xx_it.c index a1a5e58..1957744 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/readme.txt index 08eb0ac..af56b21 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_EraseProgram/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -45,7 +44,7 @@ in the Flash memory. The written data is then read back and checked. The STM32F103RB-Nucleo board LEDs can be used to monitor the transfer status: - LED2 is ON when there are no errors detected after programmation - - LED2 is blinking with a 1s period when there are errors dectected after programmation + - LED2 is blinking with a 1s period when there are errors detected after programmation - LED2 is blinking (100ms on, 2s off) when there is an issue during erase or program procedure @note Care must be taken when using HAL_Delay(), this function provides accurate delay (in milliseconds) @@ -81,5 +80,5 @@ In order to make the program work, you must do the following: - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Inc/main.h index 8dbf0f4..ed09cd8 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -160,5 +159,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Inc/stm32f1xx_hal_conf.h index 4fd1fbf..c5aaccd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Inc/stm32f1xx_it.h index 8efa8ae..672bef4 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Src/main.c index ef71d63..897f1db 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -370,5 +369,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Src/stm32f1xx_it.c index 9a26d9f..126b9f0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Src/stm32f1xx_it.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -161,5 +160,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Src/system_stm32f1xx.c index 699d00a..85edca0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/readme.txt index fb4b29a..72a753f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/FLASH/FLASH_WriteProtection/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -92,5 +91,5 @@ In order to make the program work, you must do the following: - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Inc/main.h index 35f347e..5872160 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h index 9601ddf..e65edaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h index 22ef964..f912c9c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Src/main.c index 48074e0..a6493e4 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c index 3d502fd..bcdb981 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/readme.txt index 7493f4a..e87e6e3 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/GPIO/GPIO_IOToggle/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -63,5 +62,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h index c284c6e..c542d79 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_hal_conf.h index e4d3eef..1a57708 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h index 3832d2e..b4fbb1f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,4 +47,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/STM32F103RB_Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/STM32F103RB_Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/STM32F103RB_Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/STM32F103RB_Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/main.c index f76423f..99aeae6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -171,5 +170,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_hal_timebase_rtc_alarm.c b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_hal_timebase_rtc_alarm.c index 9eb6885..3bb4d5b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_hal_timebase_rtc_alarm.c +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_hal_timebase_rtc_alarm.c @@ -6,7 +6,7 @@ * * This file override the native HAL time base functions (defined as weak) * to use the RTC ALARM for time base generation: - * + Intializes the RTC peripheral to increment the seconds registers each 1ms + * + Initializes the RTC peripheral to increment the seconds registers each 1ms * + The alarm is configured to assert an interrupt when the RTC reaches 1ms * + HAL_IncTick is called at each Alarm event and the time is reset to 00:00:00 * + HSE (default), LSE or LSI can be selected as RTC clock source @@ -32,13 +32,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -91,19 +90,19 @@ HAL_StatusTypeDef HAL_InitTick (uint32_t TickPriority) RCC_PeriphCLKInitTypeDef PeriphClkInitStruct; #ifdef RTC_CLOCK_SOURCE_LSE - /* Configue LSE as RTC clock soucre */ + /* Configure LSE as RTC clock source */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSE; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; RCC_OscInitStruct.LSEState = RCC_LSE_ON; PeriphClkInitStruct.RTCClockSelection = RCC_RTCCLKSOURCE_LSE; #elif defined (RTC_CLOCK_SOURCE_LSI) - /* Configue LSI as RTC clock soucre */ + /* Configure LSI as RTC clock source */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSI; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; RCC_OscInitStruct.LSIState = RCC_LSI_ON; PeriphClkInitStruct.RTCClockSelection = RCC_RTCCLKSOURCE_LSI; #elif defined (RTC_CLOCK_SOURCE_HSE) - /* Configue HSE as RTC clock soucre */ + /* Configure HSE as RTC clock source */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; RCC_OscInitStruct.HSEState = RCC_HSE_ON; @@ -285,5 +284,3 @@ void RTC_Alarm_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c index d67cc5e..f9407d7 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -169,5 +168,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/readme.txt index 893470c..aa888a5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_RTC_ALARM/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -88,5 +87,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Inc/main.h index c2d53eb..862fb32 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h index 6b02851..374d1dc 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h index 2617634..4eb24fa 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/STM32F103RB_Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/STM32F103RB_Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/STM32F103RB_Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/STM32F103RB_Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Src/main.c index 0395c1e..747e229 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -184,5 +183,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_hal_timebase_tim.c b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_hal_timebase_tim.c index 0941182..55f1283 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_hal_timebase_tim.c +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_hal_timebase_tim.c @@ -6,19 +6,18 @@ * * This file overrides the native HAL time base functions (defined as weak) * the TIM time base: - * + Intializes the TIM peripheral generate a Period elapsed Event each 1ms + * + Initializes the TIM peripheral generate a Period elapsed Event each 1ms * + HAL_IncTick is called inside HAL_TIM_PeriodElapsedCallback ie each 1ms * ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void TIM2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c index 370cbca..a7876d2 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -172,5 +171,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/readme.txt index 8c69719..94d9846 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/HAL/HAL_TimeBase_TIM/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -85,5 +84,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/main.h index df3b728..1bd061e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,5 +60,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_hal_conf.h index 2c353ea..811fa18 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_it.h index 97fffe8..d30994e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void I2Cx_ER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/main.c index 4d009c3..d2d8e99 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -544,5 +543,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/stm32f1xx_hal_msp.c index 9ffcb14..f11a7b4 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -118,5 +117,3 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/stm32f1xx_it.c index 30f9bed..d41329d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -187,5 +186,3 @@ void I2Cx_ER_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/readme.txt index 98bf385..4a3c442 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_AdvComIT/readme.txt @@ -10,13 +10,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -150,5 +149,5 @@ In order to make the program work, you must do the following : o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/main.h index c7dc3b0..5e0acc2 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -72,5 +71,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h index 2c353ea..811fa18 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/stm32f1xx_it.h index bdc4a03..c49bf5c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void I2Cx_ER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/main.c index 0b314f8..6e2627c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -396,5 +395,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c index cf193ec..acd265b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -181,5 +180,3 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f1xx_it.c index 8e41b5e..733e5dd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -212,5 +211,3 @@ void I2Cx_DMA_TX_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/readme.txt index ae2fc50..ffaee89 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -136,5 +135,5 @@ In order to make the program work, you must do the following : o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Inc/main.h index 5e46993..a2eb956 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,5 +60,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h index 2c353ea..811fa18 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Inc/stm32f1xx_it.h index c7135c1..988ccd2 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void I2Cx_ER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Src/main.c index 61402a4..f5145fb 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -400,5 +399,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c index 2d8692f..617ecd4 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -118,5 +117,3 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Src/stm32f1xx_it.c index 6be5750..b10d737 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -187,5 +186,3 @@ void I2Cx_ER_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/readme.txt index 26b49e3..47377dc 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -136,5 +135,5 @@ In order to make the program work, you must do the following : o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/main.h index b938553..4c75a6a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -55,5 +54,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h index 2c353ea..811fa18 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/stm32f1xx_it.h index cb79e08..de58c7e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Src/main.c index 7ff94cb..9c55672 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -337,5 +336,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c index b47dfaa..8e7bd19 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -107,5 +106,3 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Src/stm32f1xx_it.c index 4515f66..6f63b17 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/readme.txt index e50ee70..894d30a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_ComPolling/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -135,5 +134,5 @@ In order to make the program work, you must do the following : o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/main.h index 77d3a3a..e857bbd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -58,5 +57,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/stm32f1xx_hal_conf.h index 2c353ea..811fa18 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/stm32f1xx_it.h index 808aa9a..9495b4e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void I2Cx_ER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/main.c index 1eb42d8..403daf3 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/main.c @@ -10,13 +10,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -439,7 +438,7 @@ void HAL_I2C_SlaveRxCpltCallback(I2C_HandleTypeDef *I2cHandle) /* Check Command code receive previously */ /* If data received match with a Internal Command Code, set the associated index */ - /* Which will use for Tranmission process if requested by Master */ + /* Which will use for Transmission process if requested by Master */ if(strcmp((char *)(aSlaveReceiveBuffer), (char *)(aCommandCode[0][0])) == 0) { ubSlaveInfoIndex = SLAVE_CHIP_NAME; @@ -593,5 +592,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/stm32f1xx_hal_msp.c index 60a97cf..7868fc4 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -118,5 +117,3 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/stm32f1xx_it.c index 6117039..8e7f8cc 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -187,5 +186,3 @@ void I2Cx_ER_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/readme.txt index 95f0488..a930cce 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartAdvComIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -45,7 +44,7 @@ in interrupt mode and with restart condition. This example shows how to configure GPIO, DMA and I2C peripherals using -two STM32F103RB_NUCLEO boards for exchanging some datas +two STM32F103RB_NUCLEO boards for exchanging some data between an I2C Master device using Interrupt mode and an I2C Slave device using Interrupt mode through the STM32F1xx I2C HAL API. @@ -63,7 +62,7 @@ The User push-button is used to initiate a communication between Master device t User can initiate a new communication after each previous transfer completed. The I2C communication is then initiated. -The project is splitted in two parts the Master Board and the Slave Board +The project is split in two parts the Master Board and the Slave Board - Master Board The HAL_I2C_Master_Sequential_Transmit_IT() and the HAL_I2C_Master_Sequential_Receive_IT() functions allow respectively the transmission and the reception of a predefined data buffer @@ -83,7 +82,7 @@ On Master board side: This action initiate a write request by Master through HAL_I2C_Master_Sequential_Transmit_IT() or a write then read request through HAL_I2C_Master_Sequential_Transmit_IT() then HAL_I2C_Master_Sequential_Receive_IT() routine depends on Command Code type. -Initialy at power on Slave device through Interrupt "Listen" the I2C bus to perform an acknowledge of Match Address when necessary. +Initially at power on Slave device through Interrupt "Listen" the I2C bus to perform an acknowledge of Match Address when necessary. This "Listen" action is initiated by calling HAL_I2C_EnableListen_IT(). Command code type is decomposed in two categories : @@ -154,7 +153,7 @@ I2C1 IRQ Handler routine is then calling HAL_I2C_AddrCallback() which check Addr to call the correct HAL_I2C_Slave_Sequential_Receive_IT() function. This will allow Slave to enter in receiver mode and then acknowledge Master to send the Command code bytes through Interrupt. The Command code data is received and treated byte per byte through HAL_I2C_SlaveRxCpltCallback() in Slave side. -If data received match with a Internal Command Code, set the associated index, which will use for Tranmission process when requested by Master +If data received match with a Internal Command Code, set the associated index, which will use for Transmission process when requested by Master And so in Master side, each time the Slave acknowledge the byte received, Master transfer the next data from flash memory buffer to I2C1 TXDR register until "Request Command code" transfer completed. @@ -248,5 +247,5 @@ In order to make the program work, you must do the following : o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/main.h index 7a21ae1..b409d7b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -61,5 +60,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/stm32f1xx_hal_conf.h index 2c353ea..811fa18 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/stm32f1xx_it.h index 112bbad..49974d9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void I2Cx_ER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/main.c index ace96bc..7959f7e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/main.c @@ -10,13 +10,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -491,5 +490,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/stm32f1xx_hal_msp.c index 3c26e41..38859ef 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -118,5 +117,3 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/stm32f1xx_it.c index 3606014..1185fc6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -187,5 +186,3 @@ void I2Cx_ER_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/readme.txt index f64e813..8ede76e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/I2C/I2C_TwoBoards_RestartComIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -58,7 +57,7 @@ the configuration of the needed I2C resources according to the used hardware (CL GPIO and NVIC). You may update this function to change I2C configuration. The I2C communication is then initiated. -The project is splitted in two parts the Master Board and the Slave Board +The project is split in two parts the Master Board and the Slave Board - Master Board The HAL_I2C_Master_Sequential_Transmit_IT() and the HAL_I2C_Master_Sequential_Receive_IT() functions allow respectively the transmission and the reception of a predefined data buffer @@ -147,5 +146,5 @@ In order to make the program work, you must do the following : o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/LICENSE.md b/Projects/STM32F103RB-Nucleo/Examples/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Projects/STM32F103RB-Nucleo/Examples/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Inc/main.h index 36c3287..eb0132b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void Error_Handler(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Inc/stm32f1xx_hal_conf.h index 4fd1fbf..c5aaccd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Inc/stm32f1xx_it.h index b340b07..9c6a1e5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Src/main.c index e94c5af..abe1b47 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -207,5 +206,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Src/stm32f1xx_it.c index b5c6697..c7f249b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -164,5 +163,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/readme.txt index 2f535a8..241e317 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/PWR/PWR_STANDBY/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -86,5 +85,5 @@ In order to make the program work, you must do the following : - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/EWARM/startup_stm32f103xb.s index b9fa669..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Inc/main.h index 1baffa0..79454f4 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h index 9601ddf..e65edaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h index bdd9477..13a67f9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/MDK-ARM/startup_stm32f103xb.s index b91d6a0..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/MDK-ARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Src/main.c index d9bfced..d6192f9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -359,5 +358,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Src/stm32f1xx_it.c index 0b8094f..df8f3fa 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/readme.txt index 0788f70..71aaa97 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/RCC/RCC_ClockConfig/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -92,5 +91,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Inc/main.h index 4b11efe..7ca3ef5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -29,7 +28,7 @@ /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ /* Defines related to Clock configuration */ -/* Uncomment to enable the adaquate Clock Source */ +/* Uncomment to enable the adequate Clock Source */ #define RTC_CLOCK_SOURCE_LSI /*#define RTC_CLOCK_SOURCE_LSE*/ @@ -38,5 +37,3 @@ void Error_Handler(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Inc/stm32f1xx_hal_conf.h index e4d3eef..1a57708 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Inc/stm32f1xx_it.h index 5bac261..f3bcf50 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void RTC_Alarm_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Src/main.c index af8874c..3b6870a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -272,5 +271,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Src/stm32f1xx_hal_msp.c index 35c5b22..c759bce 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -67,7 +66,7 @@ void HAL_RTC_MspInit(RTC_HandleTypeDef *hrtc) __HAL_RCC_PWR_CLK_ENABLE(); HAL_PWR_EnableBkUpAccess(); - /*##-2- Configue LSE/LSI as RTC clock soucre ###############################*/ + /*##-2- Configure LSE/LSI as RTC clock source ###############################*/ #ifdef RTC_CLOCK_SOURCE_LSE RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSI | RCC_OSCILLATORTYPE_LSE; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; @@ -137,5 +136,3 @@ void HAL_RTC_MspDeInit(RTC_HandleTypeDef *hrtc) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Src/stm32f1xx_it.c index 563e47a..1ad1967 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -177,5 +176,3 @@ void RTC_Alarm_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/readme.txt index fca0eb5..c2bb1fa 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/RTC/RTC_Alarm/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -92,6 +91,5 @@ In order to make the program work, you must do the following : - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/main.h index e947f3e..ef19f39 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -64,5 +63,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/stm32f1xx_hal_conf.h index 6a534d1..e24c172 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/stm32f1xx_it.h index 6a412f4..e4c3ca8 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void SPIx_DMA_TX_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Src/main.c index 8cd762a..9b7d0e6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -258,7 +257,7 @@ static void Error_Handler(void) BSP_LED_Off(LED2); while(1) { - /* Toogle LED2 for error */ + /* Toggle LED2 for error */ BSP_LED_Toggle(LED2); HAL_Delay(1000); } @@ -313,5 +312,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Src/stm32f1xx_hal_msp.c index 40a7c82..74bfc2f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -170,5 +169,3 @@ void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Src/stm32f1xx_it.c index 7bd4d3d..2234514 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -183,5 +182,3 @@ void SPIx_DMA_TX_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/readme.txt index df44f1c..a2d5a8a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComDMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -77,7 +76,7 @@ Finally, aRxBuffer and aTxBuffer are compared through Buffercmp() in order to check buffers correctness. STM32 board's LEDs can be used to monitor the transfer status: - - LED2 toggles quicly on master board waiting user button to be pressed. + - LED2 toggles quickly on master board waiting user button to be pressed. - LED2 turns ON if transmission/reception is complete and OK. - LED2 toggle slowly when there is a timeout or an error in transmission/reception process. @@ -128,6 +127,5 @@ In order to make the program work, you must do the following: o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Inc/main.h index 967ee84..128b5f1 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -55,5 +54,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Inc/stm32f1xx_hal_conf.h index 6a534d1..e24c172 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Inc/stm32f1xx_it.h index f3cbcc7..761696f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void SPIx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Src/main.c index 93240b0..dbc5898 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -312,5 +311,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Src/stm32f1xx_hal_msp.c index 6cf15c6..1ddcee2 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -122,5 +121,3 @@ void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Src/stm32f1xx_it.c index ecc05ff..68650e5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -176,5 +175,3 @@ void SPIx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/readme.txt index 62afeb0..6cce57d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -77,7 +76,7 @@ Finally, aRxBuffer and aTxBuffer are compared through Buffercmp() in order to check buffers correctness. STM32 board's LEDs can be used to monitor the transfer status: - - LED2 toggles quicly on master board waiting user button to be pressed. + - LED2 toggles quickly on master board waiting user button to be pressed. - LED2 turns ON if transmission/reception is complete and OK. - LED2 toggle slowly when there is a timeout or an error in transmission/reception process. @@ -128,6 +127,5 @@ In order to make the program work, you must do the following: o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/main.h index 4d9cc9c..9ccae0b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_hal_conf.h index 6a534d1..e24c172 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_it.h index e6219f2..7eebb2a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Src/main.c index e174841..80ed6b3 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,7 +164,7 @@ static void Error_Handler(void) { while(1) { - /* Toogle LED2 for error */ + /* Toggle LED2 for error */ BSP_LED_Toggle(LED2); HAL_Delay(1000); } @@ -272,5 +271,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_hal_msp.c index cfadf1b..30a6488 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -112,5 +111,3 @@ void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_it.c index 9ae0829..7ca4624 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/readme.txt index b2c9d80..0154ea4 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/SPI/SPI_FullDuplex_ComPolling/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -77,7 +76,7 @@ Finally, aRxBuffer and aTxBuffer are compared through Buffercmp() in order to check buffers correctness. STM32 board's LEDs can be used to monitor the transfer status: - - LED2 toggles quicly on master board waiting user button to be pressed. + - LED2 toggles quickly on master board waiting user button to be pressed. - LED2 turns ON if transmission/reception is complete and OK. - LED2 toggle slowly when there is a timeout or an error in transmission/reception process. @@ -132,6 +131,5 @@ In order to make the program work, you must do the following: o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Inc/main.h index 36fcc7b..60365a3 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -56,5 +55,3 @@ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Inc/stm32f1xx_hal_conf.h index 1a67ed1..eacff44 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Inc/stm32f1xx_it.h index 40c6fa2..51654ec 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void TIMx_DMA_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Src/main.c index 2c1b9b3..a735b62 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -80,7 +79,7 @@ int main(void) /* Configure LED2 */ BSP_LED_Init(LED2); - /* Compute the value of ARR regiter to generate signal frequency at 17.57 Khz */ + /* Compute the value of ARR register to generate signal frequency at 17.57 Khz */ uwTimerPeriod = (uint32_t)((SystemCoreClock / 17570) - 1); /* Compute CCR1 value to generate a duty cycle at 75% */ aCCValue_Buffer[0] = (uint32_t)(((uint32_t) 75 * (uwTimerPeriod - 1)) / 100); @@ -106,7 +105,7 @@ int main(void) and a variable duty cycle that is changed by the DMA after a specific number of Update DMA request. - The number of this repetitive requests is defined by the TIM1 Repetion counter, + The number of this repetitive requests is defined by the TIM1 Repetition counter, each 4 Update Requests, the TIM1 Channel 3 Duty Cycle changes to the next new value defined by the aCCValue_Buffer. @@ -264,5 +263,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Src/stm32f1xx_hal_msp.c index 1d394f0..8974c6b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -110,5 +109,3 @@ void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef *htim) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Src/stm32f1xx_it.c index 89cd59c..e0ae57c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -175,5 +174,3 @@ void TIMx_DMA_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/readme.txt index 44bbbda..a1061b6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_DMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -83,5 +82,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Inc/main.h index 96ac667..88a2b99 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -43,5 +42,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h index 9d6fab0..8dc66bf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h index cf5669e..19ee689 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void TIMx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Src/main.c index 6b6166c..16bb752 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -231,5 +230,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c index 082f724..8b463e2 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -74,5 +73,3 @@ void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_it.c index 3c1d567..20ffda6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void TIMx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/readme.txt index 8da2ca5..bab5fa5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/TIM/TIM_TimeBase/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -86,5 +85,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Inc/main.h index df6ed96..07ec005 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -62,7 +61,7 @@ #define USARTx_IRQn USART1_IRQn #define USARTx_IRQHandler USART1_IRQHandler -/* Size of Trasmission buffer */ +/* Size of Transmission buffer */ #define TXBUFFERSIZE (COUNTOF(aTxBuffer) - 1) /* Size of Reception buffer */ @@ -73,5 +72,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_it.h index ed5347d..9ebbd4e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void USARTx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Src/main.c index 828ad4b..8925256 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -212,7 +211,7 @@ void SystemClock_Config(void) */ static void Error_Handler(void) { - /* Toogle LED2 for error */ + /* Toggle LED2 for error */ while(1) { BSP_LED_Toggle(LED2); @@ -229,7 +228,7 @@ static void Error_Handler(void) */ void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart) { - /* Toogle LED2 : Transfer in transmission process is correct */ + /* Toggle LED2 : Transfer in transmission process is correct */ BSP_LED_On(LED2); } @@ -286,5 +285,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_hal_msp.c index eeb7e4a..3837d0d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -175,5 +174,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_it.c index bf22592..a87f639 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -200,5 +199,3 @@ void USARTx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Src/system_stm32f1xx.c index 699d00a..85edca0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/readme.txt index 0109de5..2f79498 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_HyperTerminal_DMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -131,5 +130,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Inc/main.h index 74d5a04..0bd53e0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Inc/stm32f1xx_it.h index 1ec692f..d7b83c7 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -45,5 +44,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Src/main.c index d38291a..7232de6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -215,5 +214,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Src/stm32f1xx_hal_msp.c index 917cba7..e0a3c78 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -110,5 +109,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Src/stm32f1xx_it.c index a7e0882..616979a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Src/system_stm32f1xx.c index 699d00a..85edca0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/readme.txt index 5100c58..31c092e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_Printf/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -100,5 +99,5 @@ In order to make the program work, you must do the following : - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Inc/main.h index 0799ba2..b673c61 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -60,7 +59,7 @@ #define USARTx_IRQn USART1_IRQn #define USARTx_IRQHandler USART1_IRQHandler -/* Size of Trasmission buffer */ +/* Size of Transmission buffer */ #define TXBUFFERSIZE (COUNTOF(aTxBuffer) - 1) /* Size of Reception buffer */ #define RXBUFFERSIZE TXBUFFERSIZE @@ -70,5 +69,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_it.h index 7c71489..e0bf733 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Src/main.c index b9ac8f1..54eb495 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -271,7 +270,7 @@ void SystemClock_Config(void) */ void HAL_UART_TxCpltCallback(UART_HandleTypeDef *UartHandle) { - /* Set transmission flag: trasfer complete*/ + /* Set transmission flag: transfer complete*/ UartReady = SET; @@ -286,7 +285,7 @@ void HAL_UART_TxCpltCallback(UART_HandleTypeDef *UartHandle) */ void HAL_UART_RxCpltCallback(UART_HandleTypeDef *UartHandle) { - /* Set transmission flag: trasfer complete*/ + /* Set transmission flag: transfer complete*/ UartReady = SET; @@ -386,5 +385,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c index c1058fd..7a6e73d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -177,5 +176,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_it.c index 8d6f42c..ce9b4b0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -212,5 +211,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Src/system_stm32f1xx.c index 699d00a..85edca0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/readme.txt index 8db53f6..c33701d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComDMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -130,5 +129,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Inc/main.h index 6eadf77..09f248f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,7 +47,7 @@ #define USARTx_IRQn USART1_IRQn #define USARTx_IRQHandler USART1_IRQHandler -/* Size of Trasmission buffer */ +/* Size of Transmission buffer */ #define TXBUFFERSIZE (COUNTOF(aTxBuffer) - 1) /* Size of Reception buffer */ #define RXBUFFERSIZE TXBUFFERSIZE @@ -58,5 +57,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_it.h index aca2ee5..a0563ca 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Src/main.c index 100454d..3dc49a6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -381,5 +380,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c index 5f57f70..c650e2b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -117,5 +116,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_it.c index 746952c..0702a88 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -187,5 +186,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Src/system_stm32f1xx.c index 699d00a..85edca0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/readme.txt index 0c8afd1..815e121 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -131,5 +130,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Inc/main.h index ca20506..fe3f2a9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -44,7 +43,7 @@ #define USARTx_RX_PIN GPIO_PIN_10 #define USARTx_RX_GPIO_PORT GPIOA -/* Size of Trasmission buffer */ +/* Size of Transmission buffer */ #define TXBUFFERSIZE (COUNTOF(aTxBuffer) - 1) /* Size of Reception buffer */ #define RXBUFFERSIZE TXBUFFERSIZE @@ -54,5 +53,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_it.h index ba4a52a..fd425b0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Src/main.c index 27de26b..cc8102e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -320,5 +319,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c index 5d777ed..8af087f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -108,5 +107,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_it.c index 85e6ed1..7145a5c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -173,5 +172,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Src/system_stm32f1xx.c index 699d00a..85edca0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/readme.txt index 59d7615..8293a95 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/UART/UART_TwoBoards_ComPolling/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -129,5 +128,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Inc/main.h index 7eecf60..ac9ca56 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -32,5 +31,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Inc/stm32f1xx_hal_conf.h index 9a489ac..6f791fb 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Inc/stm32f1xx_it.h index 88e3467..d7ba8cf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Src/main.c index 7ec6983..2997494 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -254,5 +253,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Src/stm32f1xx_hal_msp.c index eccd318..6216781 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -65,5 +64,3 @@ void HAL_WWDG_MspInit(WWDG_HandleTypeDef *hwwdg) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Src/stm32f1xx_it.c index 0327ddc..04c251b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -167,5 +166,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/readme.txt b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/readme.txt index 0323393..854cce7 100644 --- a/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples/WWDG/WWDG_Example/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -96,6 +95,5 @@ In order to make the program work, you must do the following : - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Inc/main.h index 9ef5395..0561a2f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -79,5 +78,3 @@ void UserButton_Callback(void); void AdcAnalogWatchdog1_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Inc/stm32f1xx_it.h index 9285e67..a515108 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,5 +51,3 @@ void ADC1_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Src/main.c index 528d873..01d4aeb 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Src/main.c @@ -10,13 +10,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -141,7 +140,7 @@ int main(void) /* Start ADC group regular conversion */ /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -191,7 +190,7 @@ int main(void) * the setting of these parameters is bypassed without error * reporting: * it can be the expected behavior in case of recall of this - * function to update only a few parameters (which update fullfills + * function to update only a few parameters (which update fulfills * the ADC state). * Otherwise, it is up to the user to set the appropriate error * reporting in user application. @@ -227,7 +226,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -262,7 +261,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -286,7 +285,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -305,7 +304,7 @@ void Configure_ADC(void) // LL_ADC_REG_SetDMATransfer(ADC1, LL_ADC_REG_DMA_TRANSFER_NONE); /* Set ADC group regular sequencer */ - /* Note: On this STM32 serie, ADC group regular sequencer is */ + /* Note: On this STM32 series, ADC group regular sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -326,7 +325,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -346,7 +345,7 @@ void Configure_ADC(void) // LL_ADC_INJ_SetTrigAuto(ADC1, LL_ADC_INJ_TRIG_INDEPENDENT); /* Set ADC group injected sequencer */ - /* Note: On this STM32 serie, ADC group injected sequencer is */ + /* Note: On this STM32 series, ADC group injected sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -367,7 +366,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -389,7 +388,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: analog watchdog ###############*/ - /* Note: On this STM32 serie, there is only 1 analog watchdog available. */ + /* Note: On this STM32 series, there is only 1 analog watchdog available. */ /* Set ADC analog watchdog: channels to be monitored */ LL_ADC_SetAnalogWDMonitChannels(ADC1, LL_ADC_AWD_ALL_CHANNELS_REG); @@ -401,7 +400,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: oversampling ##################*/ - /* Note: Feature not available on this STM32 serie */ + /* Note: Feature not available on this STM32 series */ /*## Configuration of ADC interruptions ####################################*/ @@ -437,7 +436,7 @@ void Activate_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -717,5 +716,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Src/stm32f1xx_it.c index b14ee42..0ca8735 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -191,5 +190,3 @@ void ADC1_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/readme.txt index b2e8c29..3c3f6a1 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_AnalogWatchdog/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -86,5 +85,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Inc/main.h index e35d624..b56f4bd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -77,5 +76,3 @@ /* IRQ Handler treatment */ void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Inc/stm32f1xx_it.h index 15dc5a8..5d787f5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void USER_BUTTON_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Src/main.c index bc3c3f0..9f75742 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -242,7 +241,7 @@ int main(void) * the setting of these parameters is bypassed without error * reporting: * it can be the expected behavior in case of recall of this - * function to update only a few parameters (which update fullfills + * function to update only a few parameters (which update fulfills * the ADC state). * Otherwise, it is up to the user to set the appropriate error * reporting in user application. @@ -278,7 +277,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -313,7 +312,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -337,7 +336,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -356,7 +355,7 @@ void Configure_ADC(void) // LL_ADC_REG_SetDMATransfer(ADC1, LL_ADC_REG_DMA_TRANSFER_NONE); /* Set ADC group regular sequencer */ - /* Note: On this STM32 serie, ADC group regular sequencer is */ + /* Note: On this STM32 series, ADC group regular sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -377,7 +376,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -397,7 +396,7 @@ void Configure_ADC(void) // LL_ADC_INJ_SetTrigAuto(ADC1, LL_ADC_INJ_TRIG_INDEPENDENT); /* Set ADC group injected sequencer */ - /* Note: On this STM32 serie, ADC group injected sequencer is */ + /* Note: On this STM32 series, ADC group injected sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -418,7 +417,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -435,7 +434,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: analog watchdog ###############*/ - /* Note: On this STM32 serie, there is only 1 analog watchdog available. */ + /* Note: On this STM32 series, there is only 1 analog watchdog available. */ /* Set ADC analog watchdog: channels to be monitored */ // LL_ADC_SetAnalogWDMonitChannels(ADC1, LL_ADC_AWD_DISABLE); @@ -447,7 +446,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: oversampling ##################*/ - /* Note: Feature not available on this STM32 serie */ + /* Note: Feature not available on this STM32 series */ /*## Configuration of ADC interruptions ####################################*/ @@ -482,7 +481,7 @@ void Activate_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -564,7 +563,7 @@ void ConversionStartPoll_ADC_GrpRegular(void) /* Start ADC group regular conversion */ /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -801,5 +800,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Src/stm32f1xx_it.c index edac417..57b1366 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -174,5 +173,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/readme.txt index 201ce58..7d9aefe 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -82,5 +81,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Inc/main.h index 9cbf28c..1b31f57 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -77,5 +76,3 @@ /* IRQ Handler treatment */ void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Inc/stm32f1xx_it.h index d329391..7d33538 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void USER_BUTTON_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Src/main.c index 59a02c4..ae6e39b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -242,7 +241,7 @@ int main(void) * the setting of these parameters is bypassed without error * reporting: * it can be the expected behavior in case of recall of this - * function to update only a few parameters (which update fullfills + * function to update only a few parameters (which update fulfills * the ADC state). * Otherwise, it is up to the user to set the appropriate error * reporting in user application. @@ -280,7 +279,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -315,7 +314,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -339,7 +338,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -356,7 +355,7 @@ void Configure_ADC(void) /* initialization structure. */ LL_ADC_REG_Init(ADC1, &ADC_REG_InitStruct); - /* Note: On this STM32 serie, ADC group regular sequencer is */ + /* Note: On this STM32 series, ADC group regular sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -371,7 +370,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -391,7 +390,7 @@ void Configure_ADC(void) // LL_ADC_INJ_SetTrigAuto(ADC1, LL_ADC_INJ_TRIG_INDEPENDENT); /* Set ADC group injected sequencer */ - /* Note: On this STM32 serie, ADC group injected sequencer is */ + /* Note: On this STM32 series, ADC group injected sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -412,7 +411,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -429,7 +428,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: analog watchdog ###############*/ - /* Note: On this STM32 serie, there is only 1 analog watchdog available. */ + /* Note: On this STM32 series, there is only 1 analog watchdog available. */ /* Set ADC analog watchdog: channels to be monitored */ // LL_ADC_SetAnalogWDMonitChannels(ADC1, LL_ADC_AWD_DISABLE); @@ -441,7 +440,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: oversampling ##################*/ - /* Note: Feature not available on this STM32 serie */ + /* Note: Feature not available on this STM32 series */ /*## Configuration of ADC interruptions ####################################*/ @@ -476,7 +475,7 @@ void Activate_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -558,7 +557,7 @@ void ConversionStartPoll_ADC_GrpRegular(void) /* Start ADC group regular conversion */ /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -794,5 +793,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Src/stm32f1xx_it.c index adaca7f..a2aa7fa 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -174,5 +173,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/readme.txt index 57012af..797c690 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_ContinuousConversion_TriggerSW_Init/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -82,5 +81,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Inc/main.h index 7fb33db..dfe5cb3 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -84,5 +83,3 @@ void AdcDmaTransferError_Callback(void); void AdcGrpInjectedUnitaryConvComplete_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Inc/stm32f1xx_it.h index 850faf0..7497562 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -53,5 +52,3 @@ void ADC1_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Src/main.c index 66c481d..ec0b9b0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Src/main.c @@ -14,13 +14,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -179,7 +178,7 @@ int main(void) /* Start ADC group regular conversion */ /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -386,7 +385,7 @@ void Configure_TIM_TimeBase_ADC_trigger(void) * the setting of these parameters is bypassed without error * reporting: * it can be the expected behavior in case of recall of this - * function to update only a few parameters (which update fullfills + * function to update only a few parameters (which update fulfills * the ADC state). * Otherwise, it is up to the user to set the appropriate error * reporting in user application. @@ -422,7 +421,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -457,7 +456,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -481,7 +480,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -500,7 +499,7 @@ void Configure_ADC(void) LL_ADC_REG_SetDMATransfer(ADC1, LL_ADC_REG_DMA_TRANSFER_UNLIMITED); /* Set ADC group regular sequencer */ - /* Note: On this STM32 serie, ADC group regular sequencer is */ + /* Note: On this STM32 series, ADC group regular sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -521,7 +520,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -541,7 +540,7 @@ void Configure_ADC(void) // LL_ADC_INJ_SetTrigAuto(ADC1, LL_ADC_INJ_TRIG_INDEPENDENT); /* Set ADC group injected sequencer */ - /* Note: On this STM32 serie, ADC group injected sequencer is */ + /* Note: On this STM32 series, ADC group injected sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -562,7 +561,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -589,7 +588,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: analog watchdog ###############*/ - /* Note: On this STM32 serie, there is only 1 analog watchdog available. */ + /* Note: On this STM32 series, there is only 1 analog watchdog available. */ /* Set ADC analog watchdog: channels to be monitored */ // LL_ADC_SetAnalogWDMonitChannels(ADC1, LL_ADC_AWD_DISABLE); @@ -601,12 +600,12 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: oversampling ##################*/ - /* Note: Feature not available on this STM32 serie */ + /* Note: Feature not available on this STM32 series */ /*## Configuration of ADC interruptions ####################################*/ /* Enable interruption ADC group injected end of sequence conversions */ - /* Note: On this STM32 serie, there is no flag of group injected */ + /* Note: On this STM32 series, there is no flag of group injected */ /* end of unitary conversion. Therefore, flag of group injected */ /* end of sequence conversions is used (equivalent when there is */ /* only 1 rank in group injected sequencer). */ @@ -645,7 +644,7 @@ void Activate_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -866,7 +865,7 @@ void UserButton_Callback(void) LED_Off(); /* Reset status variable of ADC group injected unitary conversion before */ - /* peforming a new ADC group injected conversion start. */ + /* performinga new ADC group injected conversion start. */ /* Note: Optionally, for this example purpose, check ADC unitary */ /* conversion status before starting another ADC conversion. */ @@ -887,7 +886,7 @@ void UserButton_Callback(void) /* Start ADC group injected conversion */ /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -1001,5 +1000,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Src/stm32f1xx_it.c index 3d07ffa..bf2d13e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -175,7 +174,7 @@ void ADC1_IRQHandler(void) { /* Check whether ADC group injected end of unitary conversion caused */ /* the ADC interruption. */ - /* Note: On this STM32 serie, there is no flag of group injected */ + /* Note: On this STM32 series, there is no flag of group injected */ /* end of unitary conversion. Therefore, flag of group injected */ /* end of sequence conversions is used (equivalent when there is */ /* only 1 rank in group injected sequencer). */ @@ -236,5 +235,3 @@ void DMA1_Channel1_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/readme.txt index cd6501b..84c1908 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_GroupsRegularInjected/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -101,5 +100,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Inc/main.h index 7508f58..07415df 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -85,5 +84,3 @@ void UserButton_Callback(void); void AdcDmaTransferComplete_Callback(void); void AdcDmaTransferError_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Inc/stm32f1xx_it.h index a9b8d08..c19865b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -53,5 +52,3 @@ void DMA1_Channel1_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Src/main.c index d7b6a69..83bd76d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Src/main.c @@ -10,13 +10,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -100,7 +99,7 @@ __IO uint8_t ubDmaTransferStatus = 2; /* Variable set into DMA interruption call /* Variables for ADC conversion data computation to physical values */ __IO uint16_t uhADCxConvertedData_VoltageGPIO_mVolt = 0; /* Value of voltage on GPIO pin (on which is mapped ADC channel) calculated from ADC conversion data (unit: mV) */ __IO uint16_t uhADCxConvertedData_VrefInt_mVolt = 0; /* Value of internal voltage reference VrefInt calculated from ADC conversion data (unit: mV) */ -__IO int16_t hADCxConvertedData_Temperature_DegreeCelsius = 0; /* Value of temperature calculated from ADC conversion data (unit: degree Celcius) */ +__IO int16_t hADCxConvertedData_Temperature_DegreeCelsius = 0; /* Value of temperature calculated from ADC conversion data (unit: degree Celsius) */ /* Private function prototypes -----------------------------------------------*/ void SystemClock_Config(void); @@ -277,7 +276,7 @@ void Configure_DMA(void) * the setting of these parameters is bypassed without error * reporting: * it can be the expected behavior in case of recall of this - * function to update only a few parameters (which update fullfills + * function to update only a few parameters (which update fulfills * the ADC state). * Otherwise, it is up to the user to set the appropriate error * reporting in user application. @@ -315,7 +314,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -365,7 +364,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -389,7 +388,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -408,7 +407,7 @@ void Configure_ADC(void) LL_ADC_REG_SetDMATransfer(ADC1, LL_ADC_REG_DMA_TRANSFER_UNLIMITED); /* Set ADC group regular sequencer */ - /* Note: On this STM32 serie, ADC group regular sequencer is */ + /* Note: On this STM32 series, ADC group regular sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -431,7 +430,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -451,7 +450,7 @@ void Configure_ADC(void) // LL_ADC_INJ_SetTrigAuto(ADC1, LL_ADC_INJ_TRIG_INDEPENDENT); /* Set ADC group injected sequencer */ - /* Note: On this STM32 serie, ADC group injected sequencer is */ + /* Note: On this STM32 series, ADC group injected sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -472,7 +471,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -500,7 +499,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: analog watchdog ###############*/ - /* Note: On this STM32 serie, there is only 1 analog watchdog available. */ + /* Note: On this STM32 series, there is only 1 analog watchdog available. */ /* Set ADC analog watchdog: channels to be monitored */ // LL_ADC_SetAnalogWDMonitChannels(ADC1, LL_ADC_AWD_DISABLE); @@ -512,7 +511,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: oversampling ##################*/ - /* Note: Feature not available on this STM32 serie */ + /* Note: Feature not available on this STM32 series */ /*## Configuration of ADC interruptions ####################################*/ @@ -554,7 +553,7 @@ void Activate_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -796,7 +795,7 @@ void UserButton_Callback(void) /* Start ADC group regular conversion */ /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -873,5 +872,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Src/stm32f1xx_it.c index 0631bc4..b227101 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -209,5 +208,3 @@ void DMA1_Channel1_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/readme.txt index 9e51eb1..c4895fc 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultiChannelSingleConversion/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -55,7 +54,7 @@ ADC conversions raw data are computed to physical values using LL ADC driver helper macro: - Value of voltage on GPIO pin (on which is mapped ADC channel) (unit: mV) - Value of internal voltage reference VrefInt (unit: mV) - - Value of temperature (unit: degree Celcius) + - Value of temperature (unit: degree Celsius) - Value of analog reference voltage (Vref+), connected to analog voltage supply Vdda (unit: mV) For debug: variables to monitor with debugger watch window: @@ -63,7 +62,7 @@ For debug: variables to monitor with debugger watch window: - "ubDmaTransferStatus": status of DMA transfer of ADC group regular conversions - "uhADCxConvertedData_VoltageGPIO_mVolt": Value of voltage on GPIO pin (on which is mapped ADC channel) (unit: mV) - "uhADCxConvertedData_VrefInt_mVolt": Value of internal voltage reference VrefInt (unit: mV) - - "hADCxConvertedData_Temperature_DegreeCelsius": Value of temperature (unit: degree Celcius) + - "hADCxConvertedData_Temperature_DegreeCelsius": Value of temperature (unit: degree Celsius) Connection needed: Use an external power supply, adjust supply voltage and connect it to analog input pin (cf pin below). @@ -99,5 +98,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Inc/main.h index 26e7293..09ffab9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -81,5 +80,3 @@ void AdcDmaTransferComplete_Callback(void); void AdcDmaTransferHalf_Callback(void); void AdcDmaTransferError_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Inc/stm32f1xx_it.h index c044df1..7015cab 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,5 +51,3 @@ void DMA1_Channel1_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Src/main.c index 364d91b..498de17 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Src/main.c @@ -15,13 +15,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -283,7 +282,7 @@ void Configure_DMA(void) * the setting of these parameters is bypassed without error * reporting: * it can be the expected behavior in case of recall of this - * function to update only a few parameters (which update fullfills + * function to update only a few parameters (which update fulfills * the ADC state). * Otherwise, it is up to the user to set the appropriate error * reporting in user application. @@ -319,7 +318,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -349,7 +348,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -373,7 +372,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -396,7 +395,7 @@ void Configure_ADC(void) /* and ADC DMA transfer is managed by ADC1 instance. */ LL_ADC_REG_SetDMATransfer(ADC1, LL_ADC_REG_DMA_TRANSFER_UNLIMITED); /* Set ADC group regular sequencer */ - /* Note: On this STM32 serie, ADC group regular sequencer is */ + /* Note: On this STM32 series, ADC group regular sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -417,7 +416,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -437,7 +436,7 @@ void Configure_ADC(void) // LL_ADC_INJ_SetTrigAuto(ADC1, LL_ADC_INJ_TRIG_INDEPENDENT); /* Set ADC group injected sequencer */ - /* Note: On this STM32 serie, ADC group injected sequencer is */ + /* Note: On this STM32 series, ADC group injected sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -458,7 +457,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -480,7 +479,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: analog watchdog ###############*/ - /* Note: On this STM32 serie, there is only 1 analog watchdog available. */ + /* Note: On this STM32 series, there is only 1 analog watchdog available. */ /* Set ADC analog watchdog: channels to be monitored */ // LL_ADC_SetAnalogWDMonitChannels(ADC1, LL_ADC_AWD_DISABLE); @@ -492,7 +491,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: oversampling ##################*/ - /* Note: Feature not available on this STM32 serie */ + /* Note: Feature not available on this STM32 series */ /*## Configuration of ADC interruptions ####################################*/ @@ -531,7 +530,7 @@ void Configure_ADC(void) * the setting of these parameters is bypassed without error * reporting: * it can be the expected behavior in case of recall of this - * function to update only a few parameters (which update fullfills + * function to update only a few parameters (which update fulfills * the ADC state). * Otherwise, it is up to the user to set the appropriate error * reporting in user application. @@ -571,7 +570,7 @@ void Configure_ADC_slave(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -595,7 +594,7 @@ void Configure_ADC_slave(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -620,7 +619,7 @@ void Configure_ADC_slave(void) LL_ADC_REG_SetDMATransfer(ADC2, LL_ADC_REG_DMA_TRANSFER_NONE); /* Set ADC group regular sequencer */ - /* Note: On this STM32 serie, ADC group regular sequencer is */ + /* Note: On this STM32 series, ADC group regular sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -641,7 +640,7 @@ void Configure_ADC_slave(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -661,7 +660,7 @@ void Configure_ADC_slave(void) // LL_ADC_INJ_SetTrigAuto(ADC2, LL_ADC_INJ_TRIG_INDEPENDENT); /* Set ADC group injected sequencer */ - /* Note: On this STM32 serie, ADC group injected sequencer is */ + /* Note: On this STM32 series, ADC group injected sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -686,7 +685,7 @@ void Configure_ADC_slave(void) /*## Configuration of ADC transversal scope: analog watchdog ###############*/ - /* Note: On this STM32 serie, there is only 1 analog watchdog available. */ + /* Note: On this STM32 series, there is only 1 analog watchdog available. */ /* Set ADC analog watchdog: channels to be monitored */ // LL_ADC_SetAnalogWDMonitChannels(ADC2, LL_ADC_AWD_DISABLE); @@ -698,7 +697,7 @@ void Configure_ADC_slave(void) /*## Configuration of ADC transversal scope: oversampling ##################*/ - /* Note: Feature not available on this STM32 serie */ + /* Note: Feature not available on this STM32 series */ /*## Configuration of ADC interruptions ####################################*/ @@ -738,7 +737,7 @@ void Activate_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -825,7 +824,7 @@ void Activate_ADC_slave(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -1050,7 +1049,7 @@ void UserButton_Callback(void) /* Start ADC group regular conversion */ /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -1191,5 +1190,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Src/stm32f1xx_it.c index 5fd3ac3..0b363df 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -212,5 +211,3 @@ void DMA1_Channel1_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/readme.txt index 616c60d..73df57d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_MultimodeDualInterleaved/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -104,5 +103,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Inc/main.h index c854493..06261cd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -77,5 +76,3 @@ /* IRQ Handler treatment */ void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Inc/stm32f1xx_it.h index 727456d..8271df7 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void USER_BUTTON_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Src/main.c index 8260191..d2c5d6a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Src/main.c @@ -12,13 +12,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -229,7 +228,7 @@ int main(void) * the setting of these parameters is bypassed without error * reporting: * it can be the expected behavior in case of recall of this - * function to update only a few parameters (which update fullfills + * function to update only a few parameters (which update fulfills * the ADC state). * Otherwise, it is up to the user to set the appropriate error * reporting in user application. @@ -265,7 +264,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -300,7 +299,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -324,7 +323,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -343,7 +342,7 @@ void Configure_ADC(void) // LL_ADC_REG_SetDMATransfer(ADC1, LL_ADC_REG_DMA_TRANSFER_NONE); /* Set ADC group regular sequencer */ - /* Note: On this STM32 serie, ADC group regular sequencer is */ + /* Note: On this STM32 series, ADC group regular sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -364,7 +363,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -384,7 +383,7 @@ void Configure_ADC(void) // LL_ADC_INJ_SetTrigAuto(ADC1, LL_ADC_INJ_TRIG_INDEPENDENT); /* Set ADC group injected sequencer */ - /* Note: On this STM32 serie, ADC group injected sequencer is */ + /* Note: On this STM32 series, ADC group injected sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -405,7 +404,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -422,7 +421,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: analog watchdog ###############*/ - /* Note: On this STM32 serie, there is only 1 analog watchdog available. */ + /* Note: On this STM32 series, there is only 1 analog watchdog available. */ /* Set ADC analog watchdog: channels to be monitored */ // LL_ADC_SetAnalogWDMonitChannels(ADC1, LL_ADC_AWD_DISABLE); @@ -434,7 +433,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: oversampling ##################*/ - /* Note: Feature not available on this STM32 serie */ + /* Note: Feature not available on this STM32 series */ /*## Configuration of ADC interruptions ####################################*/ @@ -472,7 +471,7 @@ void Activate_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -554,7 +553,7 @@ void ConversionStartPoll_ADC_GrpRegular(void) /* Start ADC group regular conversion */ /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -790,5 +789,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Src/stm32f1xx_it.c index 3a123b7..61c0c65 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -174,5 +173,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/readme.txt index 6204c70..6478fb4 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -76,5 +75,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Inc/main.h index 888a405..735154b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -81,5 +80,3 @@ void AdcDmaTransferComplete_Callback(void); void AdcDmaTransferHalf_Callback(void); void AdcDmaTransferError_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Inc/stm32f1xx_it.h index c874fd7..52b41e8 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,5 +51,3 @@ void DMA1_Channel1_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Src/main.c index 004ace3..063092b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Src/main.c @@ -12,13 +12,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -267,7 +266,7 @@ void Configure_DMA(void) * the setting of these parameters is bypassed without error * reporting: * it can be the expected behavior in case of recall of this - * function to update only a few parameters (which update fullfills + * function to update only a few parameters (which update fulfills * the ADC state). * Otherwise, it is up to the user to set the appropriate error * reporting in user application. @@ -303,7 +302,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -338,7 +337,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -362,7 +361,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -381,7 +380,7 @@ void Configure_ADC(void) LL_ADC_REG_SetDMATransfer(ADC1, LL_ADC_REG_DMA_TRANSFER_UNLIMITED); /* Set ADC group regular sequencer */ - /* Note: On this STM32 serie, ADC group regular sequencer is */ + /* Note: On this STM32 series, ADC group regular sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -402,7 +401,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -422,7 +421,7 @@ void Configure_ADC(void) // LL_ADC_INJ_SetTrigAuto(ADC1, LL_ADC_INJ_TRIG_INDEPENDENT); /* Set ADC group injected sequencer */ - /* Note: On this STM32 serie, ADC group injected sequencer is */ + /* Note: On this STM32 series, ADC group injected sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -443,7 +442,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -465,7 +464,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: analog watchdog ###############*/ - /* Note: On this STM32 serie, there is only 1 analog watchdog available. */ + /* Note: On this STM32 series, there is only 1 analog watchdog available. */ /* Set ADC analog watchdog: channels to be monitored */ // LL_ADC_SetAnalogWDMonitChannels(ADC1, LL_ADC_AWD_DISABLE); @@ -477,7 +476,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: oversampling ##################*/ - /* Note: Feature not available on this STM32 serie */ + /* Note: Feature not available on this STM32 series */ /*## Configuration of ADC interruptions ####################################*/ @@ -516,7 +515,7 @@ void Activate_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -745,7 +744,7 @@ void UserButton_Callback(void) /* Start ADC group regular conversion */ /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -859,5 +858,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Src/stm32f1xx_it.c index 24e452f..2735d0a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -219,5 +218,3 @@ void DMA1_Channel1_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/readme.txt index df0c3dc..ff1d642 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_DMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -86,5 +85,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/main.h index 3dd3a07..70f31ae 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -78,5 +77,3 @@ void UserButton_Callback(void); void AdcGrpRegularUnitaryConvComplete_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/stm32f1xx_it.h index 8395277..046a824 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,5 +51,3 @@ void ADC1_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Src/main.c index f08c9a6..8c8708f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Src/main.c @@ -12,13 +12,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -186,7 +185,7 @@ int main(void) * the setting of these parameters is bypassed without error * reporting: * it can be the expected behavior in case of recall of this - * function to update only a few parameters (which update fullfills + * function to update only a few parameters (which update fulfills * the ADC state). * Otherwise, it is up to the user to set the appropriate error * reporting in user application. @@ -222,7 +221,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -257,7 +256,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -281,7 +280,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -300,7 +299,7 @@ void Configure_ADC(void) // LL_ADC_REG_SetDMATransfer(ADC1, LL_ADC_REG_DMA_TRANSFER_NONE); /* Set ADC group regular sequencer */ - /* Note: On this STM32 serie, ADC group regular sequencer is */ + /* Note: On this STM32 series, ADC group regular sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -321,7 +320,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -341,7 +340,7 @@ void Configure_ADC(void) // LL_ADC_INJ_SetTrigAuto(ADC1, LL_ADC_INJ_TRIG_INDEPENDENT); /* Set ADC group injected sequencer */ - /* Note: On this STM32 serie, ADC group injected sequencer is */ + /* Note: On this STM32 series, ADC group injected sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -362,7 +361,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -383,7 +382,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: analog watchdog ###############*/ - /* Note: On this STM32 serie, there is only 1 analog watchdog available. */ + /* Note: On this STM32 series, there is only 1 analog watchdog available. */ /* Set ADC analog watchdog: channels to be monitored */ // LL_ADC_SetAnalogWDMonitChannels(ADC1, LL_ADC_AWD_DISABLE); @@ -395,7 +394,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: oversampling ##################*/ - /* Note: Feature not available on this STM32 serie */ + /* Note: Feature not available on this STM32 series */ /*## Configuration of ADC interruptions ####################################*/ @@ -431,7 +430,7 @@ void Activate_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -673,7 +672,7 @@ void UserButton_Callback(void) /* Start ADC group regular conversion */ /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -747,5 +746,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Src/stm32f1xx_it.c index d453da4..60d328a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -175,7 +174,7 @@ void ADC1_IRQHandler(void) { /* Check whether ADC group regular end of unitary conversion caused */ /* the ADC interruption. */ - /* Note: On this STM32 serie, there is no flag of group regular */ + /* Note: On this STM32 series, there is no flag of group regular */ /* end of unitary conversion. Therefore, flag of group regular */ /* end of sequence conversions is used (equivalent when there is */ /* only 1 rank in group regular sequencer). */ @@ -197,5 +196,3 @@ void ADC1_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/readme.txt index 0523c63..b4d5f8f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerSW_IT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -77,5 +76,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Inc/main.h index 69dfa95..0f0d239 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -82,5 +81,3 @@ void AdcDmaTransferComplete_Callback(void); void AdcDmaTransferHalf_Callback(void); void AdcDmaTransferError_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Inc/stm32f1xx_it.h index 9b00841..3dc61b2 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,5 +51,3 @@ void DMA1_Channel1_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Src/main.c index 69160d0..55e3bb1 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Src/main.c @@ -12,13 +12,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -358,7 +357,7 @@ void Configure_TIM_TimeBase_ADC_trigger(void) * the setting of these parameters is bypassed without error * reporting: * it can be the expected behavior in case of recall of this - * function to update only a few parameters (which update fullfills + * function to update only a few parameters (which update fulfills * the ADC state). * Otherwise, it is up to the user to set the appropriate error * reporting in user application. @@ -394,7 +393,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -429,7 +428,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -453,7 +452,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -472,7 +471,7 @@ void Configure_ADC(void) LL_ADC_REG_SetDMATransfer(ADC1, LL_ADC_REG_DMA_TRANSFER_UNLIMITED); /* Set ADC group regular sequencer */ - /* Note: On this STM32 serie, ADC group regular sequencer is */ + /* Note: On this STM32 series, ADC group regular sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -493,7 +492,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -513,7 +512,7 @@ void Configure_ADC(void) // LL_ADC_INJ_SetTrigAuto(ADC1, LL_ADC_INJ_TRIG_INDEPENDENT); /* Set ADC group injected sequencer */ - /* Note: On this STM32 serie, ADC group injected sequencer is */ + /* Note: On this STM32 series, ADC group injected sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -534,7 +533,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -556,7 +555,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: analog watchdog ###############*/ - /* Note: On this STM32 serie, there is only 1 analog watchdog available. */ + /* Note: On this STM32 series, there is only 1 analog watchdog available. */ /* Set ADC analog watchdog: channels to be monitored */ // LL_ADC_SetAnalogWDMonitChannels(ADC1, LL_ADC_AWD_DISABLE); @@ -568,7 +567,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: oversampling ##################*/ - /* Note: Feature not available on this STM32 serie */ + /* Note: Feature not available on this STM32 series */ /*## Configuration of ADC interruptions ####################################*/ @@ -607,7 +606,7 @@ void Activate_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -833,7 +832,7 @@ void UserButton_Callback(void) /* Start ADC group regular conversion */ /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -948,5 +947,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Src/stm32f1xx_it.c index d7b3ea3..857e849 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -212,5 +211,3 @@ void DMA1_Channel1_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/readme.txt index e1d5f0f..5a47540 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_SingleConversion_TriggerTimer_DMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -83,5 +82,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Inc/main.h index bed1032..921c45c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -82,5 +81,3 @@ /* IRQ Handler treatment */ void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Inc/stm32f1xx_it.h index aa307ea..11e014a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void USER_BUTTON_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Src/main.c index 2e82d81..c7cb17e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Src/main.c @@ -13,13 +13,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -98,7 +97,7 @@ __IO uint32_t ubUserButtonPressed = 0; __IO uint16_t uhADCxConvertedData = VAR_CONVERTED_DATA_INIT_VALUE; /* ADC group regular conversion data */ /* Variables for ADC conversion data computation to physical values */ -__IO uint16_t hADCxConvertedData_Temperature_DegreeCelsius = 0; /* Value of temperature calculated from ADC conversion data (unit: degree Celcius) */ +__IO uint16_t hADCxConvertedData_Temperature_DegreeCelsius = 0; /* Value of temperature calculated from ADC conversion data (unit: degree Celsius) */ /* Variable to report status of ADC group regular unitary conversion */ /* 0: ADC group regular unitary conversion is not completed */ @@ -215,7 +214,7 @@ int main(void) /* Note: Temperature from ADC internal temperature sensor is stored into */ /* into variable */ /* "hADCxConvertedData_Temperature_DegreeCelsius". */ - /* (unit: degree Celcius) */ + /* (unit: degree Celsius) */ /* (for debug: see variable content into watch window). */ } } @@ -239,7 +238,7 @@ int main(void) * the setting of these parameters is bypassed without error * reporting: * it can be the expected behavior in case of recall of this - * function to update only a few parameters (which update fullfills + * function to update only a few parameters (which update fulfills * the ADC state). * Otherwise, it is up to the user to set the appropriate error * reporting in user application. @@ -277,7 +276,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -327,7 +326,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -351,7 +350,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -370,7 +369,7 @@ void Configure_ADC(void) // LL_ADC_REG_SetDMATransfer(ADC1, LL_ADC_REG_DMA_TRANSFER_NONE); /* Set ADC group regular sequencer */ - /* Note: On this STM32 serie, ADC group regular sequencer is */ + /* Note: On this STM32 series, ADC group regular sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -391,7 +390,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, ADC state is checked anyway with standard requirements */ /* (refer to description of this function). */ @@ -411,7 +410,7 @@ void Configure_ADC(void) // LL_ADC_INJ_SetTrigAuto(ADC1, LL_ADC_INJ_TRIG_INDEPENDENT); /* Set ADC group injected sequencer */ - /* Note: On this STM32 serie, ADC group injected sequencer is */ + /* Note: On this STM32 series, ADC group injected sequencer is */ /* fully configurable: sequencer length and each rank */ /* affectation to a channel are configurable. */ /* Refer to description of function */ @@ -432,7 +431,7 @@ void Configure_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -453,7 +452,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: analog watchdog ###############*/ - /* Note: On this STM32 serie, there is only 1 analog watchdog available. */ + /* Note: On this STM32 series, there is only 1 analog watchdog available. */ /* Set ADC analog watchdog: channels to be monitored */ // LL_ADC_SetAnalogWDMonitChannels(ADC1, LL_ADC_AWD_DISABLE); @@ -465,7 +464,7 @@ void Configure_ADC(void) /*## Configuration of ADC transversal scope: oversampling ##################*/ - /* Note: Feature not available on this STM32 serie */ + /* Note: Feature not available on this STM32 series */ /*## Configuration of ADC interruptions ####################################*/ @@ -503,7 +502,7 @@ void Activate_ADC(void) /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -585,7 +584,7 @@ void ConversionStartPoll_ADC_GrpRegular(void) /* Start ADC group regular conversion */ /* Note: Hardware constraint (refer to description of the functions */ /* below): */ - /* On this STM32 serie, setting of these features are not */ + /* On this STM32 series, setting of these features are not */ /* conditioned to ADC state. */ /* However, in order to be compliant with other STM32 series */ /* and to show the best practice usages, ADC state is checked. */ @@ -821,5 +820,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Src/stm32f1xx_it.c index e87c0ac..f053a7e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -174,5 +173,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/readme.txt index fb6ad4d..4f19157 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/ADC/ADC_TemperatureSensor/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -44,11 +43,11 @@ from ADC data register and stores it into a variable, LED2 is turned on. ADC conversions raw data are computed to physical values using LL ADC driver helper macro: - - Value of temperature (unit: degree Celcius) + - Value of temperature (unit: degree Celsius) For debug: variables to monitor with debugger watch window: - "uhADCxConvertedData": ADC group regular conversion data - - "hADCxConvertedData_Temperature_DegreeCelsius": Value of temperature (unit: degree Celcius) + - "hADCxConvertedData_Temperature_DegreeCelsius": Value of temperature (unit: degree Celsius) Connection needed: None. @@ -82,5 +81,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Inc/main.h index 0973d30..fc503b7 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -56,5 +55,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Inc/stm32f1xx_it.h index 97a7808..fc0de3f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/SW4STM32/STM32F103RB-Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/SW4STM32/STM32F103RB-Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/SW4STM32/STM32F103RB-Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/SW4STM32/STM32F103RB-Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Src/main.c index f24ff61..4a136ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -276,5 +275,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Src/stm32f1xx_it.c index e5170de..8b0ee23 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -154,5 +153,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/readme.txt index aff85fa..8f2ff48 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/CRC/CRC_CalculateAndCheck/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -64,6 +63,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Inc/main.h index bff2f51..f2e5c3e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -60,5 +59,3 @@ void TransferComplete(void); void TransferError(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Inc/stm32f1xx_it.h index af39759..d646d6c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void DMA1_Channel1_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Src/main.c index 185c4e8..0afd8ff 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -75,7 +74,7 @@ int main(void) /* Configure DMA1 Channel 1 */ /* Enable DMA1 clock */ - /* Configure the DMA functionnal parameters : */ + /* Configure the DMA functional parameters : */ /* - Transfer memory word to memory word in normal mode */ /* - Memory and Periph increment mode */ /* Configure NVIC for DMA transfer complete/error interrupts */ @@ -96,7 +95,7 @@ int main(void) * Flash memory(aSRC_Const_Buffer) to Internal SRAM(aDST_Buffer). * @note This function is used to : * -1- Enable DMA1 clock - * -2- Configure the DMA functionnal parameters + * -2- Configure the DMA functional parameters * -3- Configure NVIC for DMA transfer complete/error interrupts * @note Peripheral configuration is minimal configuration from reset values. * Thus, some useless LL unitary functions calls below are provided as @@ -109,7 +108,7 @@ void Configure_DMA(void) /* (1) Enable the clock of DMA1 */ LL_AHB1_GRP1_EnableClock(LL_AHB1_GRP1_PERIPH_DMA1); - /* (2) Configure the DMA functionnal parameters */ + /* (2) Configure the DMA functional parameters */ /* Configuration of the DMA parameters can be done using unitary functions or using the specific configure function */ /* Unitary Functions */ @@ -274,14 +273,14 @@ void SystemClock_Config(void) void TransferComplete() { /* DMA transfer completed */ - /* Verify the data transfered */ + /* Verify the data transferred */ if (Buffercmp((uint32_t*)aSRC_Const_Buffer, (uint32_t*)aDST_Buffer, BUFFER_SIZE) == 1) { - /* DMA data transfered not consistency */ + /* DMA data transferred not consistency */ LED_Blinking(LED_BLINK_ERROR); } - /* DMA data transfered consistency */ + /* DMA data transferred consistency */ LED_On(); } @@ -325,5 +324,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Src/stm32f1xx_it.c index 8bda706..dddec60 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -170,5 +169,3 @@ void DMA1_Channel1_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/readme.txt index aae65a9..7027194 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -72,5 +71,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Inc/main.h index 18c11c0..17c225b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -59,5 +58,3 @@ void TransferComplete(void); void TransferError(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Inc/stm32f1xx_it.h index be5fdf6..1d68855 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void DMA1_Channel1_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Src/main.c index a7d9acc..2ae84b1 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -75,7 +74,7 @@ int main(void) /* Configure DMA1 Channel 1 */ /* Enable DMA1 clock */ - /* Configure the DMA functionnal parameters : */ + /* Configure the DMA functional parameters : */ /* - Transfer memory word to memory word in normal mode */ /* - Memory and Periph increment mode */ /* Configure NVIC for DMA transfer complete/error interrupts */ @@ -96,7 +95,7 @@ int main(void) * Flash memory(aSRC_Const_Buffer) to Internal SRAM(aDST_Buffer). * @note This function is used to : * -1- Enable DMA1 clock - * -2- Configure the DMA functionnal parameters + * -2- Configure the DMA functional parameters * -3- Configure NVIC for DMA transfer complete/error interrupts * @param None * @retval None @@ -108,7 +107,7 @@ void Configure_DMA(void) /* (1) Enable the clock of DMA1 */ LL_AHB1_GRP1_EnableClock(LL_AHB1_GRP1_PERIPH_DMA1); - /* (2) Configure the DMA functionnal parameters */ + /* (2) Configure the DMA functional parameters */ /* Reset DMA1 data registers */ if (LL_DMA_DeInit(DMA1, LL_DMA_CHANNEL_1) != SUCCESS) @@ -120,7 +119,7 @@ void Configure_DMA(void) /* Set fields of initialization structure: * - Source base address: aSRC_Const_Buffer * - Destination base address: aDST_Buffer - * - Tranfer direction : Memory to memory + * - Transfer direction : Memory to memory * - Source increment mode: Increment mode Enable * - Destination increment mode: Increment mode Enable * - Source data alignment: Word alignment @@ -287,14 +286,14 @@ void SystemClock_Config(void) void TransferComplete() { /* DMA transfer completed */ - /* Verify the data transfered */ + /* Verify the data transferred */ if (Buffercmp((uint32_t*)aSRC_Const_Buffer, (uint32_t*)aDST_Buffer, BUFFER_SIZE) == 1) { - /* DMA data transfered not consistency */ + /* DMA data transferred not consistency */ LED_Blinking(LED_BLINK_ERROR); } - /* DMA data transfered consistency */ + /* DMA data transferred consistency */ LED_On(); } @@ -338,5 +337,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Src/stm32f1xx_it.c index 78cbeb3..55299a1 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -171,5 +170,3 @@ void DMA1_Channel1_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/readme.txt index ecf51cd..0180dd2 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/DMA/DMA_CopyFromFlashToMemory_Init/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -72,5 +71,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Inc/main.h index 99cd39b..7a1fb19 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -66,5 +65,3 @@ void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Inc/stm32f1xx_it.h index 4bb5d33..2b639d0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void USER_BUTTON_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/SW4STM32/STM32F103RB-Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/SW4STM32/STM32F103RB-Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/SW4STM32/STM32F103RB-Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/SW4STM32/STM32F103RB-Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Src/main.c index 3cc3d31..f4a22e6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -199,5 +198,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Src/stm32f1xx_it.c index 6c7dd64..4ef446d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -170,5 +169,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/readme.txt index 3eb59c9..fb4ee30 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -64,5 +63,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Inc/main.h index bdf6050..2ef51e1 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -66,5 +65,3 @@ void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Inc/stm32f1xx_it.h index 750cf18..44525c8 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void USER_BUTTON_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Src/main.c index 581af83..543d2a7 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -206,5 +205,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Src/stm32f1xx_it.c index 120cbc6..e3326c2 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -170,5 +169,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/readme.txt index fdc8555..b280b57 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/EXTI/EXTI_ToggleLedOnIT_Init/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -63,5 +62,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Inc/main.h index 1d47ea7..e1d2c3c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -45,5 +44,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Inc/stm32f1xx_it.h index d3882a2..ae4246f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Src/main.c index 6bf44b5..9006aab 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -168,5 +167,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Src/stm32f1xx_it.c index 3100ce1..68aabce 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -153,5 +152,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/readme.txt index 64a60de..94ed35c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -58,5 +57,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Inc/main.h index 48f970a..cb763c3 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Inc/stm32f1xx_it.h index 7b4e95e..951d8bf 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Src/main.c index 555f79d..2acafa2 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -176,5 +175,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Src/stm32f1xx_it.c index 0aabd4d..d9caaf4 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -153,5 +152,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/readme.txt index 038a697..d654345 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/GPIO/GPIO_InfiniteLedToggling_Init/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -57,5 +56,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Inc/main.h index baef660..9327402 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -102,5 +101,3 @@ void Transfer_Complete_Callback(void); void Transfer_Error_Callback(void); void Error_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Inc/stm32f1xx_it.h index 7eafa77..15ac367 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -55,5 +54,3 @@ void DMA1_Channel5_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Src/main.c index afeb782..7136c87 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -1037,5 +1036,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Src/stm32f1xx_it.c index c2b56af..dc1b265 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -371,5 +370,3 @@ void DMA1_Channel5_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/readme.txt index cc3ebe9..41dc28d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_AdvCommunication_DMAAndIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -41,7 +40,7 @@ through Handle_I2C_Master_TransmitReceive() routine depends on Command Code type Command code type is decomposed in two categories : 1- Action Command code - a. Type of command which need an action from Slave Device without send any specific anwser) + a. Type of command which need an action from Slave Device without send any specific answer) b. I2C sequence is composed like that : _____________________________________________________________________________________ |_START_|_Slave_Address_|_Wr_|_A_|_Command_Code_BYTE_1_|_A_|_Command_Code_BYTE_2_|_A_|.... @@ -165,5 +164,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Inc/main.h index 2a1d222..a0da3a1 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -99,5 +98,3 @@ void Transfer_Complete_Callback(void); void Transfer_Error_Callback(void); void Error_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Inc/stm32f1xx_it.h index bc5aa21..0ded990 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -54,5 +53,3 @@ void DMA1_Channel4_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Src/main.c index 531a015..6cffb0e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Src/main.c @@ -5,16 +5,15 @@ * @brief This example describes how to send/receive bytes over I2C IP using * the STM32F1xx I2C LL API. * Peripheral initialization done using LL unitary services functions. -****************************************************************************** + ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -143,7 +142,7 @@ int main(void) * @note This function is used to : * -1- Enable DMA1 clock * -2- Configure NVIC for DMA1. - * -3- Configure the DMA1 functionnal parameters. + * -3- Configure the DMA1 functional parameters. * -4- Enable DMA1 interrupts complete/error. * @param None * @retval None @@ -157,7 +156,7 @@ void Configure_DMA(void) NVIC_SetPriority(DMA1_Channel4_IRQn, 0); NVIC_EnableIRQ(DMA1_Channel4_IRQn); - /* (3) Configure the DMA1 functionnal parameters */ + /* (3) Configure the DMA1 functional parameters */ LL_DMA_ConfigTransfer(DMA1, LL_DMA_CHANNEL_4, LL_DMA_DIRECTION_MEMORY_TO_PERIPH | \ LL_DMA_PRIORITY_HIGH | \ LL_DMA_MODE_NORMAL | \ @@ -542,7 +541,7 @@ void Handle_I2C_Slave(void) * -2- Prepare acknowledge for Master data reception. * -3- Initiate a Start condition to the Slave device. * -4- Loop until end of transfer completed (DMA TC raised). - * -5- End of tranfer, Data consistency are checking into Slave process. + * -5- End of transfer, Data consistency are checking into Slave process. * @param None * @retval None */ @@ -579,7 +578,7 @@ void Handle_I2C_Master(void) #endif /* USE_TIMEOUT */ } - /* (5) End of tranfer, Data consistency are checking into Slave process *****/ + /* (5) End of transfer, Data consistency are checking into Slave process *****/ } /** @@ -669,7 +668,7 @@ void Slave_Reception_Callback(void) */ void Slave_Complete_Callback(void) { - /* Check if datas request to turn on the LED2 */ + /* Check if data request to turn on the LED2 */ if(Buffercmp8((uint8_t*)aReceiveBuffer, (uint8_t*)aLedOn, (ubReceiveIndex-1)) == 0) { /* Turn LED2 On: @@ -759,5 +758,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Src/stm32f1xx_it.c index 7c57a0c..492e0b6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -284,5 +283,3 @@ void DMA1_Channel4_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/readme.txt index a693f75..89b6691 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_DMAAndIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -95,5 +94,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Inc/main.h index a6dfc0c..5d12ad2 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -94,5 +93,3 @@ void Master_Reception_Callback(void); void Master_Complete_Callback(void); void Error_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Inc/stm32f1xx_it.h index 169b06e..8dc2f6c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -53,5 +52,3 @@ void I2C1_ER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Src/main.c index d0c8a5b..a8a5d27 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -747,5 +746,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Src/stm32f1xx_it.c index 4c54044..61387dd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -305,5 +304,3 @@ void I2C1_ER_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/readme.txt index 1d92ed4..667a754 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -93,5 +92,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Inc/main.h index 82f6a8d..b394892 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -94,5 +93,3 @@ void Master_Reception_Callback(void); void Master_Complete_Callback(void); void Error_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Inc/stm32f1xx_it.h index f29c399..e5d20da 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -53,5 +52,3 @@ void I2C1_ER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Src/main.c index 963fb82..c7b8b31 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -797,5 +796,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Src/stm32f1xx_it.c index 8243842..2d97425 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -305,5 +304,3 @@ void I2C1_ER_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/readme.txt index 3981a7c..ebf9860 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_IT_Init/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -94,5 +93,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Inc/main.h index fafe267..d3f79ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -96,5 +95,3 @@ void Slave_Complete_Callback(void); void UserButton_Callback(void); void Error_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Inc/stm32f1xx_it.h index 0499142..0b641e5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void I2C2_ER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Src/main.c index 4303750..e62b465 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -483,7 +482,7 @@ void Handle_I2C_Slave(void) * -5- Loop until Address Acknowledgement received (ADDR flag raised). * -6- Clear ADDR flag and loop until end of transfer (ubNbDataToTransmit == 0). * -6.1 Transmit data (TXE flag raised). - * -7- End of tranfer, Data consistency are checking into Slave process. + * -7- End of transfer, Data consistency are checking into Slave process. * @param None * @retval None */ @@ -584,7 +583,7 @@ void Handle_I2C_Master(void) #endif /* USE_TIMEOUT */ } - /* (7) End of tranfer, Data consistency are checking into Slave process *****/ + /* (7) End of transfer, Data consistency are checking into Slave process *****/ /* Generate Stop condition */ LL_I2C_GenerateStopCondition(I2C1); @@ -677,7 +676,7 @@ void Slave_Reception_Callback(void) */ void Slave_Complete_Callback(void) { - /* Check if datas request to turn on the LED2 */ + /* Check if data request to turn on the LED2 */ if(Buffercmp8((uint8_t*)aReceiveBuffer, (uint8_t*)aLedOn, (ubReceiveIndex-1)) == 0) { /* Turn LED2 On */ @@ -737,5 +736,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Src/stm32f1xx_it.c index f57e987..d1c3f26 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -232,5 +231,3 @@ void I2C2_ER_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/readme.txt index f97be3b..1207de6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_OneBoard_Communication_PollingAndIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -94,5 +93,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Inc/main.h index b0d052f..9f67f84 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -100,5 +99,3 @@ void Master_Complete_Callback(void); void UserButton_Callback(void); void Error_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Inc/stm32f1xx_it.h index 133e671..f181019 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -55,5 +54,3 @@ void I2C1_ER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Src/main.c index 0ef1b11..d5d93b6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -773,5 +772,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Src/stm32f1xx_it.c index 0497241..93cf417 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -309,5 +308,3 @@ void I2C1_ER_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/readme.txt index dd8a9a1..554e255 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterRx_SlaveTx_IT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -51,7 +50,7 @@ A pull-up resistor must be connected on one I2C SCL pin | USER GND|_____________________|GND USER | |___STM32F1xx_Nucleo___| |___STM32F1xx_Nucleo___| -The project is splitted in two parts the Master Board and the Slave Board +The project is split in two parts the Master Board and the Slave Board - Master Board I2C1 Peripheral is configured in Master mode with EXTI (Fast Mode @400kHz). And GPIO associated to User push-button is linked with EXTI. @@ -66,7 +65,7 @@ in the "main.h" file: LED2 blinks quickly on both BOARD to wait for user-button press. Example execution: -To perform this example, two steps are necessary to prevent a wrong start/stop detection due to the initialization of the oposite GPIO board. +To perform this example, two steps are necessary to prevent a wrong start/stop detection due to the initialization of the opposite GPIO board. So at first step, press the User push-button on BOARD SLAVE to activate Slave peripheral and then prepare acknowledge for Slave address reception. At second step, press the User push-button on BOARD MASTER to activate Slave peripheral and then to initiate a read request by Master. @@ -129,5 +128,5 @@ In order to make the program work, you must do the following : o Uncomment "#define SLAVE_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Inc/main.h index c5440ff..2419178 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -97,5 +96,3 @@ void UserButton_Callback(void); void Error_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Inc/stm32f1xx_it.h index 8579e1a..a82ad23 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void USER_BUTTON_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Src/main.c index c091f58..7fab178 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -528,7 +527,7 @@ void Handle_I2C_Slave(void) /* End of I2C_SlaveReceiver_MasterTransmitter_DMA Process */ LL_I2C_ClearFlag_STOP(I2C1); - /* Check if datas request to turn on the LED2 */ + /* Check if data request to turn on the LED2 */ if(Buffercmp8((uint8_t*)aReceiveBuffer, (uint8_t*)aLedOn, (ubReceiveIndex-1)) == 0) { /* Turn LED2 On: @@ -580,7 +579,7 @@ uint8_t Buffercmp8(uint8_t* pBuffer1, uint8_t* pBuffer2, uint8_t BufferLength) * -5- Loop until Address Acknowledgement received (ADDR flag raised). * -6- Clear ADDR flag and loop until end of transfer (ubNbDataToTransmit == 0). * -6.1 Transmit data (TXE flag raised). - * -7- End of tranfer, Data consistency are checking into Slave process. + * -7- End of transfer, Data consistency are checking into Slave process. * @param None * @retval None */ @@ -681,7 +680,7 @@ void Handle_I2C_Master(void) #endif /* USE_TIMEOUT */ } - /* (7) End of tranfer, Data consistency are checking into Slave process *****/ + /* (7) End of transfer, Data consistency are checking into Slave process *****/ /* Generate Stop condition */ LL_I2C_GenerateStopCondition(I2C1); @@ -797,5 +796,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Src/stm32f1xx_it.c index 3b7fb87..6275cb4 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -170,5 +169,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/readme.txt index 63143fa..6011a0f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -50,7 +49,7 @@ A pull-up resistor must be connected on one I2C SCL pin | USER GND|_____________________|GND USER | |___STM32F1xx_Nucleo___| |___STM32F1xx_Nucleo___| -The project is splitted in two parts the Master Board and the Slave Board +The project is split in two parts the Master Board and the Slave Board - Master Board I2C1 Peripheral is configured in Master mode (Clock 400Khz). And GPIO associated to User push-button is linked with EXTI. @@ -66,7 +65,7 @@ A first program launch, BOARD SLAVE waiting Address Match code through Handle_I2 LED2 blinks quickly on both BOARD to wait for user-button press. Example execution: -To perform this example, two steps are necessary to prevent a wrong start/stop detection due to the initialization of the oposite GPIO board. +To perform this example, two steps are necessary to prevent a wrong start/stop detection due to the initialization of the opposite GPIO board. So at first step, press the User push-button on BOARD SLAVE to activate Slave peripheral and then prepare acknowledge for Slave address reception. At second step, press the User push-button on BOARD MASTER to activate Master peripheral and then to initiate a write request by Master. @@ -129,5 +128,5 @@ In order to make the program work, you must do the following : o Uncomment "#define SLAVE_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Inc/main.h index d0189d4..c05cfe9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -105,5 +104,3 @@ void DMA1_Transfer_Error_Callback(void); #endif /* SLAVE_BOARD */ void Error_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Inc/stm32f1xx_it.h index b045952..2171b6b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -56,5 +55,3 @@ void DMA1_Channel6_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Src/main.c index 4bf114f..21cc249 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -185,7 +184,7 @@ void Configure_DMA(void) NVIC_EnableIRQ(DMA1_Channel6_IRQn); - /* (3) Configure the DMA1 functionnal parameters */ + /* (3) Configure the DMA1 functional parameters */ LL_DMA_ConfigTransfer(DMA1, LL_DMA_CHANNEL_7, LL_DMA_DIRECTION_PERIPH_TO_MEMORY | \ LL_DMA_PRIORITY_HIGH | \ LL_DMA_MODE_NORMAL | \ @@ -196,7 +195,7 @@ void Configure_DMA(void) LL_DMA_SetDataLength(DMA1, LL_DMA_CHANNEL_7, ubNbDataToTransmit); LL_DMA_ConfigAddresses(DMA1, LL_DMA_CHANNEL_7, (uint32_t)LL_I2C_DMA_GetRegAddr(I2C1), (uint32_t)&(aReceiveBuffer), LL_DMA_GetDataTransferDirection(DMA1, LL_DMA_CHANNEL_7)); - /* (4) Configure the DMA1_Channel6 functionnal parameters */ + /* (4) Configure the DMA1_Channel6 functional parameters */ LL_DMA_ConfigTransfer(DMA1, LL_DMA_CHANNEL_6, LL_DMA_DIRECTION_MEMORY_TO_PERIPH | \ LL_DMA_PRIORITY_HIGH | \ LL_DMA_MODE_NORMAL | \ @@ -595,7 +594,7 @@ void Handle_I2C_Slave(void) /* End of I2C_SlaveReceiver_MasterTransmitter_DMA Process */ LL_I2C_ClearFlag_STOP(I2C1); - /* Check if datas request to turn on the LED2 */ + /* Check if data request to turn on the LED2 */ if(Buffercmp8((uint8_t*)aReceiveBuffer, (uint8_t*)aLedOn, (ubNbDataToReceive-1)) == 0) { /* Turn LED2 On: @@ -934,5 +933,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Src/stm32f1xx_it.c index 38fe7eb..25940f4 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -209,5 +208,3 @@ void DMA1_Channel6_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/readme.txt index c59c711..f48398a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/I2C/I2C_TwoBoards_MasterTx_SlaveRx_DMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -50,7 +49,7 @@ A pull-up resistor must be connected on one I2C SCL pin | USER GND|_____________________|GND USER | |___STM32F1xx_Nucleo___| |___STM32F1xx_Nucleo___| -The project is splitted in two parts the Master Board and the Slave Board +The project is split in two parts the Master Board and the Slave Board - Master Board I2C1 Peripheral is configured in Master mode with DMA (Clock 400Khz). And GPIO associated to User push-button is linked with EXTI. @@ -66,7 +65,7 @@ A first program launch, BOARD SLAVE waiting Address Match code through Handle_I2 LED2 blinks quickly on both BOARD to wait for user-button press. Example execution: -To perform this example, two steps are necessary to prevent a wrong start/stop detection due to the initialization of the oposite GPIO board. +To perform this example, two steps are necessary to prevent a wrong start/stop detection due to the initialization of the opposite GPIO board. So at first step, press the User push-button on BOARD SLAVE to activate Slave peripheral and then prepare acknowledge for Slave address reception. At second step, press the User push-button on BOARD MASTER to activate Master peripheral and then to initiate a write request by Master. @@ -131,5 +130,5 @@ In order to make the program work, you must do the following : o Uncomment "#define SLAVE_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Inc/main.h index d660f46..db064e7 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -76,5 +75,3 @@ void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Inc/stm32f1xx_it.h index b23ae23..68a94b7 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void USER_BUTTON_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Src/main.c index 7b4f9b6..4d5a05d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -295,5 +294,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Src/stm32f1xx_it.c index 2787749..87b1f38 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -171,5 +170,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/readme.txt index 46e341b..94ddfb3 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/IWDG/IWDG_RefreshUntilUserEvent/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -65,5 +64,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/LICENSE.md b/Projects/STM32F103RB-Nucleo/Examples_LL/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Inc/main.h index 025f454..6c9778a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -78,5 +77,3 @@ void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Inc/stm32f1xx_it.h index b90f3a7..8f1d506 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void USER_BUTTON_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Src/main.c index 63f6ae0..65ce43f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -323,5 +322,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Src/stm32f1xx_it.c index 88ad760..f42f68b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -170,5 +169,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/readme.txt index 6852218..8ca72ce 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStandbyMode/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -87,5 +86,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Inc/main.h index 2b11ec6..b6c9dfe 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Inc/stm32f1xx_it.h index 1844b48..0ceaf88 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void USER_BUTTON_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Src/main.c index d854428..6333c58 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -262,5 +261,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Src/stm32f1xx_it.c index 427e509..6b141aa 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -146,5 +145,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/readme.txt index cd608e6..48733c4 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/PWR/PWR_EnterStopMode/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -65,5 +64,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Inc/main.h index 1df4147..28046a3 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -65,5 +64,3 @@ void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Inc/stm32f1xx_it.h index 0ac52fa..2e4141e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void USER_BUTTON_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Src/main.c index 985d8e4..e064c05 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -240,5 +239,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Src/stm32f1xx_it.c index a67a3dd..9338b8b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -170,5 +169,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/readme.txt index 7c705a7..30e11cd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_OutputSystemClockOnMCO/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -65,5 +64,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Inc/main.h index 5db5ec6..5a5737d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -71,5 +70,3 @@ void HSEReady_Callback(void); void HSEFailureDetection_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Inc/stm32f1xx_it.h index 87027b3..e1d0135 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void RCC_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Src/main.c index 73b648e..e03aa40 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -239,5 +238,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Src/stm32f1xx_it.c index 943f9fa..c20dfae 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -180,5 +179,3 @@ void RCC_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/readme.txt index 8e64f17..a568d5b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSEasSystemClock/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -63,5 +62,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Inc/main.h index bbfeb5c..a38113b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -79,5 +78,3 @@ void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Inc/stm32f1xx_it.h index f0c7458..21a6afd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void USER_BUTTON_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Src/main.c index 3d512bc..2883567 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -263,7 +262,7 @@ uint32_t ChangePLL_HSI_Config(void) } /** - * @brief Fonction to change Main PLL configuration + * @brief Function to change Main PLL configuration #error * @retval RCC_ERROR_NONE if no error */ @@ -491,5 +490,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Src/stm32f1xx_it.c index 975a264..4edb9d5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -170,5 +169,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/readme.txt index 9dab667..79bed01 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RCC/RCC_UseHSI_PLLasSystemClock/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -64,5 +63,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/EWARM/startup_stm32f103xb.s index 90ca1be..77b7e4c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Inc/main.h index 52eacd0..bb0933a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -66,5 +65,3 @@ /* IRQ Handler treatment. */ void Alarm_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Inc/stm32_assert.h index a314336..7676540 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Inc/stm32f1xx_it.h index b29a29c..7821d04 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void RTC_Alarm_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Src/main.c index 6106800..bba2766 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -610,5 +609,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Src/stm32f1xx_it.c index bc29dab..6271a52 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -177,5 +176,3 @@ void RTC_Alarm_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/readme.txt index d442f0c..9570058 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -86,5 +85,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/EWARM/startup_stm32f103xb.s index 90ca1be..77b7e4c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Inc/main.h index f0f33ae..019bbf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -66,5 +65,3 @@ /* IRQ Handler treatment. */ void Alarm_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Inc/stm32_assert.h index a314336..7676540 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Inc/stm32f1xx_it.h index a72b739..99cee02 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void RTC_Alarm_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Src/main.c index 36fa0c1..47f85c8 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -626,5 +625,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Src/stm32f1xx_it.c index cefe0e5..d18c73b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -174,5 +173,3 @@ void RTC_Alarm_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/readme.txt index 8cb763b..7e318db 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Alarm_Init/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -84,5 +83,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/EWARM/startup_stm32f103xb.s index 90ca1be..77b7e4c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Inc/main.h index 9bba2d8..3d7bde5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -66,5 +65,3 @@ /* IRQ Handler treatment. */ void Calendar_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Inc/stm32_assert.h index a314336..7676540 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Inc/stm32f1xx_it.h index de26c26..fddbb5a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void RTC_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Src/main.c index fb7507a..1ded85a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -637,5 +636,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Src/stm32f1xx_it.c index 82693cd..a6006a5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -171,5 +170,3 @@ void RTC_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/readme.txt index 5285518..17533de 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Calendar/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -83,5 +82,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/EWARM/startup_stm32f103xb.s index 90ca1be..77b7e4c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Inc/main.h index 3a4331c..9f08ce1 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -65,5 +64,3 @@ /* IRQ Handler treatment. */ void Tamper_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Inc/stm32_assert.h index a314336..7676540 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Inc/stm32f1xx_it.h index 3e4cc9a..eb29e84 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void TAMPER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Src/main.c index c76002f..b9a4d27 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -328,5 +327,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Src/stm32f1xx_it.c index 6754a00..a0b9015 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -178,5 +177,3 @@ void TAMPER_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/readme.txt index 4b32da0..02817cd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/RTC/RTC_Tamper/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -67,5 +66,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Inc/main.h index 97a0207..d587ac9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -76,5 +75,3 @@ void DMA1_ReceiveComplete_Callback(void); void SPI_TransferError_Callback(void); void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Inc/stm32f1xx_it.h index e1c1b81..9dbcf6e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void DMA1_Channel4_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Src/main.c index 381ff38..67cd219 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -586,5 +585,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Src/stm32f1xx_it.c index 7c76b00..652f4d7 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -174,7 +173,7 @@ void DMA1_Channel3_IRQHandler(void) if(LL_DMA_IsActiveFlag_TC3(DMA1)) { LL_DMA_ClearFlag_TC3(DMA1); - /* Call function Tranmission complete Callback */ + /* Call function Transmission complete Callback */ DMA1_TransmitComplete_Callback(); } else if(LL_DMA_IsActiveFlag_TE3(DMA1)) @@ -210,5 +209,3 @@ void DMA1_Channel4_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/readme.txt index 1664f50..6ae3fb8 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -82,5 +81,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Inc/main.h index 165ca3f..271ec88 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -76,5 +75,3 @@ void DMA1_ReceiveComplete_Callback(void); void SPI_TransferError_Callback(void); void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Inc/stm32f1xx_it.h index 5e930aa..43e9d79 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void DMA1_Channel4_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Src/main.c index 9f46335..7819f48 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -599,5 +598,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Src/stm32f1xx_it.c index e92c4c4..37445a5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -174,7 +173,7 @@ void DMA1_Channel3_IRQHandler(void) if(LL_DMA_IsActiveFlag_TC3(DMA1)) { LL_DMA_ClearFlag_TC3(DMA1); - /* Call function Tranmission complete Callback */ + /* Call function Transmission complete Callback */ DMA1_TransmitComplete_Callback(); } else if(LL_DMA_IsActiveFlag_TE3(DMA1)) @@ -210,5 +209,3 @@ void DMA1_Channel4_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/readme.txt index 17c8951..7efc4f0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_DMA_Init/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -82,5 +81,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Inc/main.h index af07c30..abb5685 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -75,5 +74,3 @@ void SPI2_Rx_Callback(void); void SPI_TransferError_Callback(void); void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Inc/stm32f1xx_it.h index 333af6f..99fd135 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void SPI2_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Src/main.c index 78b2978..3a56c1a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -539,5 +538,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Src/stm32f1xx_it.c index e204451..f29ec4c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -205,5 +204,3 @@ void SPI2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/readme.txt index 0c0ffd2..5fc4931 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_OneBoard_HalfDuplex_IT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -77,5 +76,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Inc/main.h index 6b9d856..205acd1 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -76,5 +75,3 @@ void DMA1_TransmitComplete_Callback(void); void SPI2_TransferError_Callback(void); void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Inc/stm32f1xx_it.h index 801d85a..8227be7 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void DMA1_Channel5_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Src/main.c index af201d4..f197d5c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -532,5 +531,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Src/stm32f1xx_it.c index 53693f4..720db7f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -212,5 +211,3 @@ void DMA1_Channel5_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/readme.txt index 53aaf46..e2d61f3 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_DMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -48,7 +47,7 @@ The communication is done with 2 boards through SPI. This example shows how to configure GPIO and SPI peripherals to use a Full-Duplex communication using DMA Transfer mode through the STM32F1xx SPI LL API. -The project is splitted in two parts the Master Board and the Slave Board: +The project is split in two parts the Master Board and the Slave Board: - Master Board SPI2 Peripheral is configured in Master mode. @@ -110,5 +109,5 @@ In order to make the program work, you must do the following : o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Inc/main.h index 453181a..7faf75f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -75,5 +74,3 @@ void SPI2_Tx_Callback(void); void SPI2_TransferError_Callback(void); void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Inc/stm32f1xx_it.h index bf8b917..f6060ea 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void SPI2_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Src/main.c index 5953341..6f59fec 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -484,5 +483,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Src/stm32f1xx_it.c index a37c4ef..bdcb99d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -197,5 +196,3 @@ void SPI2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Src/system_stm32f1xx.c index 96e88de..1337027 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/readme.txt index 4189210..5daeb8e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/SPI/SPI_TwoBoards_FullDuplex_IT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -48,7 +47,7 @@ The communication is done with 2 boards through SPI. This example shows how to configure GPIO and SPI peripherals to use a Full-Duplex communication using IT mode through the STM32F1xx COM_INSTANCE1_TYPE LL API. -The project is splitted in two parts the Master Board and the Slave Board: +The project is split in two parts the Master Board and the Slave Board: - Master Board SPI1 Peripheral is configured in Master mode. @@ -112,5 +111,5 @@ In order to make the program work, you must do the following : o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Inc/main.h index 835b084..01b68f3 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -38,5 +37,3 @@ /* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Inc/stm32f1xx_it.h index dba0ee0..860b0c2 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Src/main.c index 8f2c608..385ace1 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Src/main.c @@ -10,13 +10,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -325,5 +324,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Src/stm32f1xx_it.c index d0c4841..ae23344 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -156,5 +155,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/readme.txt index f3f19ab..d0746b4 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_BreakAndDeadtime/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -92,6 +91,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Inc/main.h index d3c4d36..7ea2f1f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -58,5 +57,3 @@ void TransferComplete_Callback(void); void TransferError_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Inc/stm32f1xx_it.h index 0009418..07cb14d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void DMA1_Channel2_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Src/main.c index 776f14c..972d81a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -399,5 +398,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Src/stm32f1xx_it.c index d449344..a34b3da 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -190,5 +189,3 @@ void DMA1_Channel2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/readme.txt index 5894af4..22aede6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_DMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -79,5 +78,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Inc/main.h index 8dda92e..ff422aa 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -84,5 +83,3 @@ void UserButton_Callback(void); void TimerCaptureCompare_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Inc/stm32f1xx_it.h index e9ebd78..6657436 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void TIM3_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Src/main.c index 14a34ff..2512e3e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -502,5 +501,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Src/stm32f1xx_it.c index d59d1c6..1e85b84 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -186,5 +185,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/readme.txt index b973035..b224ff3 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_InputCapture/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -77,5 +76,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Inc/main.h index c7c82d9..22312d9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -68,5 +67,3 @@ void UserButton_Callback(void); void TimerCaptureCompare_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Inc/stm32f1xx_it.h index 4ae7725..b7b5736 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void TIM3_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Src/main.c index 1a37c91..eac086d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -400,5 +399,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Src/stm32f1xx_it.c index 2800901..315bcd1 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -188,5 +187,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/readme.txt index 1fa9f9a..8290291 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OnePulse/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -97,5 +96,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Inc/main.h index b25c504..b9eff50 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -63,5 +62,3 @@ void UserButton_Callback(void); void TimerCaptureCompare_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Inc/stm32f1xx_it.h index 67510b8..126edf6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void TIM2_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Src/main.c index bc1c4d3..0839a36 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -346,5 +345,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Src/stm32f1xx_it.c index 5728d80..e8d303f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -187,5 +186,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/readme.txt index 422df11..4b4558a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_OutputCompare/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -51,7 +50,7 @@ Generally speaking this delay is calculated as follows: CC1_delay = TIM2 counter clock / CCR1 The timer output channel is mapped on the pin PA.00. You can connect it to -an oscilliscope to monitor the waveform. +an oscilloscope to monitor the waveform. User push-button can be used to change the output compare mode: - When the output channel is configured in output compare toggle: The output @@ -91,5 +90,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Inc/main.h index 4823497..453d641 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -63,5 +62,3 @@ void UserButton_Callback(void); void TimerCaptureCompare_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Inc/stm32f1xx_it.h index 22c9dc5..f3db0c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void TIM2_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Src/main.c index aa13514..c28c4f6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -342,5 +341,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Src/stm32f1xx_it.c index bb9a88d..70856ca 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -187,5 +186,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/readme.txt index b479e75..603672b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -51,7 +50,7 @@ Generally speaking this duty cycle is calculated as follows: Duty cycle = (CCR1 / ARR) * 100 The timer output channel is mapped on the pin PA.00. You can connect it to -an oscilliscope to monitor the waveform. +an oscilloscope to monitor the waveform. User push-button can be used to change the duty cycle from 0% up to 100% by steps of 10%. Duty cycle is periodically measured. It can be observed through @@ -87,5 +86,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Inc/main.h index 6e657c3..d267558 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -62,5 +61,3 @@ void UserButton_Callback(void); void TimerCaptureCompare_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Inc/stm32f1xx_it.h index 662d9a3..1484cb7 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void TIM2_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Src/main.c index dd80d65..73451bc 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -349,5 +348,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Src/stm32f1xx_it.c index 78427f1..095e4fc 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -187,5 +186,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/readme.txt index 345aa61..fa9694a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_PWMOutput_Init/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -51,7 +50,7 @@ Generally speaking this duty cycle is calculated as follows: Duty cycle = (CCR1 / ARR) * 100 The timer output channel is mapped on the pin PA.00. You can connect it to -an oscilliscope to monitor the waveform. +an oscilloscope to monitor the waveform. User push-button can be used to change the duty cycle from 0% up to 100% by steps of 10%. Duty cycle is periodically measured. It can be observed through @@ -87,5 +86,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Inc/main.h index 77a059d..26afa3d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -73,5 +72,3 @@ void UserButton_Callback(void); void TimerUpdate_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h index 49cddfb..aee61df 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void TIM2_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Src/main.c index cd2fbf0..0e16eb5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -295,5 +294,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Src/stm32f1xx_it.c index d162e9e..c155410 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -186,5 +185,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/readme.txt index e96452d..778a1ce 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/TIM/TIM_TimeBase/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -82,5 +81,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Inc/main.h index 8827d3b..a4bd526 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -127,5 +126,3 @@ void USART_CharReception_Callback(void); void Error_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Inc/stm32f1xx_it.h index 0ef2d98..2f70145 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void USARTx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Src/main.c index aa86477..d7be9bb 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -385,5 +384,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Src/stm32f1xx_it.c index 1529fca..12b2759 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -193,5 +192,3 @@ void USARTx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/readme.txt index b98b2c1..03f4982 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -84,5 +83,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Inc/main.h index d3bc548..c025a94 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -122,5 +121,3 @@ void USART_CharReception_Callback(void); void Error_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Inc/stm32f1xx_it.h index 1e6b6d3..baa56ca 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void USARTx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Src/main.c index 809343d..2eb0a62 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -508,5 +507,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Src/stm32f1xx_it.c index 63b5d88..51a1514 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -191,5 +190,3 @@ void USARTx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/readme.txt index a8f493e..4bc4db7 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Continuous/readme.txt @@ -1,5 +1,5 @@ /** - @page USART_Communication_Rx_IT_Continuous USART Receiver example (IT Mode, Continous reception) + @page USART_Communication_Rx_IT_Continuous USART Receiver example (IT Mode, Continuous reception) @verbatim ******************** (C) COPYRIGHT 2016 STMicroelectronics ******************* @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -88,5 +87,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Inc/main.h index 85c0717..79c7fb9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -125,5 +124,3 @@ void USART_CharReception_Callback(void); void Error_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Inc/stm32f1xx_it.h index 3d3d1b7..7a80293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void USARTx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Src/main.c index b4fb9f9..bd21c1a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -381,5 +380,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Src/stm32f1xx_it.c index 7857617..19b2f22 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -193,5 +192,3 @@ void USARTx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/readme.txt index 9915052..4cf44aa 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Rx_IT_Init/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -84,5 +83,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Inc/main.h index 809886d..9c5f50a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -131,5 +130,3 @@ void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Inc/stm32f1xx_it.h index 79fd024..c37a2c5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void USER_BUTTON_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Src/main.c index d88d319..a9c5f2a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -424,5 +423,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Src/stm32f1xx_it.c index f430e5d..04c81dd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -171,5 +170,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/readme.txt index c7d6f6c..3c3a572 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -86,5 +85,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Inc/main.h index b9099a1..aa519be 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -85,5 +84,3 @@ void DMA1_ReceiveComplete_Callback(void); void USART_TransferError_Callback(void); void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Inc/stm32f1xx_it.h index a223b82..78f738b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ void DMA1_Channel6_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Src/main.c index 7df7d85..12c6d64 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -541,5 +540,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Src/stm32f1xx_it.c index 684dffe..0bb17f8 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -211,5 +210,3 @@ void DMA1_Channel6_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/readme.txt index ac4c685..f4a4ac4 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_TxRx_DMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -73,5 +72,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Inc/main.h index 7310714..2be1218 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under Ultimate Liberty license - * SLA0044, the "License"; You may not use this file except in compliance with - * the License. You may obtain a copy of the License at: - * www.st.com/SLA0044 + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -130,5 +129,3 @@ void USART_CharTransmitComplete_Callback(void); void Error_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Inc/stm32f1xx_it.h index 8c91e12..b7f2ed6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void USARTx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Src/main.c index a61e291..a024d5b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -406,5 +405,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Src/stm32f1xx_it.c index 971f93d..61bb07f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -184,7 +183,7 @@ void USARTx_IRQHandler(void) /* Clear TC flag */ LL_USART_ClearFlag_TC(USARTx_INSTANCE); /* Call function in charge of handling end of transmission of sent character - and prepare next charcater transmission */ + and prepare next character transmission */ USART_CharTransmitComplete_Callback(); } @@ -203,5 +202,3 @@ void USARTx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/readme.txt index fb84bc0..5cd314f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_Communication_Tx_IT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -88,5 +87,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Inc/main.h index 75c44a2..01ca03a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -78,5 +77,3 @@ void USART_CharReception_Callback(void); void Error_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Inc/stm32f1xx_it.h index 7a45a31..66f576f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void USART1_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Src/main.c index 808d1e9..f5723c2 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -39,7 +38,7 @@ __IO uint8_t ubButtonPress = 0; /** - * @brief Variables used for character tranmission to PC Com port + * @brief Variables used for character transmission to PC Com port */ __IO uint8_t ubSend = 0; const uint8_t aStringToSend[] = "STM32F1xx USART LL API Example : TX/RX in IT mode\r\nConfiguration UART 115200 bps, 8 data bit/1 stop bit/No parity/HW flow control enabled.\r\nEnter any character (S or s will end program).\r\n"; @@ -515,5 +514,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Src/stm32f1xx_it.c index 4293f23..793f9fe 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -191,7 +190,7 @@ void USART1_IRQHandler(void) /* Clear TC flag */ LL_USART_ClearFlag_TC(USART1); /* Call function in charge of handling end of transmission of sent character - and prepare next charcater transmission */ + and prepare next character transmission */ USART_CharTransmitComplete_Callback(); } @@ -209,5 +208,3 @@ void USART1_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/readme.txt index 791204a..6e12011 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_HardwareFlowControl/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -88,5 +87,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Inc/main.h index da69125..139e706 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -80,5 +79,3 @@ void USART_TransferError_Callback(void); void SPI_TransferError_Callback(void); void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Inc/stm32f1xx_it.h index b013481..73a0077 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -53,5 +52,3 @@ void DMA1_Channel2_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Src/main.c index 07b743e..a4fc430 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -767,5 +766,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Src/stm32f1xx_it.c index 54279af..22bba24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -252,5 +251,3 @@ void DMA1_Channel2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/readme.txt index e3fc655..ff37d6a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -80,5 +79,5 @@ In order to make the program work, you must do the following : - Run the example - Launch the program. Press on User push button on board to initiate data transfers. - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Inc/main.h index ca4584a..9d55f08 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -81,5 +80,3 @@ void USART_TransferError_Callback(void); void SPI_TransferError_Callback(void); void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Inc/stm32f1xx_it.h index 1b7511f..9001d1f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,5 +51,3 @@ void DMA1_Channel2_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Src/main.c index 5f09a3d..81fb354 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -740,5 +739,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Src/stm32f1xx_it.c index 7a20f8e..463fbe1 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -191,7 +190,7 @@ void USART1_IRQHandler(void) /* Clear TC flag */ LL_USART_ClearFlag_TC(USART1); /* Call function in charge of handling end of transmission of sent character - and prepare next charcater transmission */ + and prepare next character transmission */ USART_CharTransmitComplete_Callback(); } @@ -214,7 +213,7 @@ void DMA1_Channel3_IRQHandler(void) if(LL_DMA_IsActiveFlag_TC3(DMA1)) { LL_DMA_ClearFlag_TC3(DMA1); - /* Call function Tranmission complete Callback */ + /* Call function Transmission complete Callback */ SPI1_DMA1_TransmitComplete_Callback(); } else if(LL_DMA_IsActiveFlag_TE3(DMA1)) @@ -251,5 +250,3 @@ void DMA1_Channel2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/readme.txt index b30ce4c..66ed533 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/USART/USART_SyncCommunication_FullDuplex_IT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -81,5 +80,5 @@ In order to make the program work, you must do the following : - Run the example - Launch the program. Press on User push button on board to initiate data transfers. - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Inc/main.h index 837c4f5..e8f1ac4 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Inc/stm32f1xx_it.h index eed000f..251c300 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Src/main.c index 319d406..f1503fe 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -154,5 +153,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Src/stm32f1xx_it.c index f4e43f9..4a0ae81 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -155,5 +154,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/readme.txt index b3678d7..191bfed 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ConfigureSystemClock/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -63,5 +62,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Inc/main.h index e2c33fe..6d37888 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -32,5 +31,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Inc/stm32f1xx_it.h index 196396a..faa60ec 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Src/main.c index a2ead28..4c6fed5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -94,5 +93,3 @@ void GetMCUInfo(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Src/stm32f1xx_it.c index 5037606..a088a98 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -155,5 +154,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/readme.txt index a7aebd0..2ea10d3 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/UTILS/UTILS_ReadDeviceInfo/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -57,5 +56,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Inc/main.h index 709ef8d..4183d65 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -76,5 +75,3 @@ void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Inc/stm32f1xx_it.h index f65f56d..257bf3b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void USER_BUTTON_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Src/main.c index 57e56ff..7034b1c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -274,5 +273,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Src/stm32f1xx_it.c index 8505cfd..6182830 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -171,5 +170,3 @@ void USER_BUTTON_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/readme.txt index abb4e73..d554e31 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_LL/WWDG/WWDG_RefreshUntilUserEvent/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -60,5 +59,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Inc/main.h index fa81d86..1052177 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Inc/stm32f1xx_hal_conf.h index fbf1fc4..894e0bb 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -389,6 +388,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Inc/stm32f1xx_it.h index a9dfad3..81db434 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Src/main.c index ae03fc0..da1e3b6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -233,5 +232,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Src/stm32f1xx_hal_msp.c index 6350649..ad2ad7a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -83,5 +82,3 @@ void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Src/stm32f1xx_it.c index 084a078..ca2ce46 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/readme.txt index b345e94..970c369 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/CRC/CRC_CalculateAndCheck/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -83,6 +82,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Inc/main.h index 537b866..6b463a5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void TransferError(DMA_HandleTypeDef *DmaHandle); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Inc/stm32f1xx_hal_conf.h index 92aaf20..fe71659 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Inc/stm32f1xx_it.h index 6542d2b..b1c81bd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void DMA_INSTANCE_IRQHANDLER(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Src/main.c index ac08ae8..fa2f5b6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -301,5 +300,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Src/stm32f1xx_it.c index 56f7718..23c6841 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -186,5 +185,3 @@ void DMA_INSTANCE_IRQHANDLER(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/readme.txt index c8dcf62..a04b73e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/DMA/DMA_FLASHToRAM/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -82,5 +81,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Inc/main.h index bac640e..082a215 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -87,5 +86,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Inc/stm32f1xx_hal_conf.h index 2c353ea..811fa18 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Inc/stm32f1xx_it.h index 350fa89..d65758e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void I2Cx_SLAVE_ER_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Src/main.c index b7451b2..b46cf4c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -478,5 +477,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Src/stm32f1xx_hal_msp.c index a6569dc..f2bded8 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -172,5 +171,3 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Src/stm32f1xx_it.c index 231d28e..4a27f1e 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -200,5 +199,3 @@ void I2Cx_SLAVE_ER_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/readme.txt index 5b9e921..618f0da 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/I2C/I2C_OneBoard_ComSlave7_10bits_IT/readme.txt @@ -11,13 +11,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -148,5 +147,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/LICENSE.md b/Projects/STM32F103RB-Nucleo/Examples_MIX/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Inc/main.h index a281bab..b010299 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -43,5 +42,3 @@ void Error_Handler(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Inc/stm32f1xx_hal_conf.h index 5dbbe3a..39ac6cc 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -389,6 +388,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Inc/stm32f1xx_it.h index 4c13b78..68fa106 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Src/main.c index da1cda8..0d03787 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -305,5 +304,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Src/stm32f1xx_hal_msp.c index a289c2e..b5ccc4c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Src/stm32f1xx_it.c index 244063e..3719ff2 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/readme.txt index 40bc444..bf2ce7d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/PWR/PWR_STOP/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -94,5 +93,5 @@ In order to make the program work, you must do the following : - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Inc/main.h index d9fe2f6..5de4d24 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -53,5 +52,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_hal_conf.h index bb3e333..b92cb81 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -389,6 +388,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_it.h index 9493835..109e5c7 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/main.c index 31cbe57..f97423b 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -283,5 +282,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_hal_msp.c index 368219c..e18ce8c 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -113,5 +112,3 @@ void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_it.c index c09f3cf..319f2e6 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/readme.txt index 0a2adba..e4ab5eb 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_FullDuplex_ComPolling/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -122,6 +121,5 @@ In order to make the program work, you must do the following: o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/EWARM/startup_stm32f103xb.s index 5893a1c..31724ee 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Inc/main.h index 529d1c8..20a9b22 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -55,5 +54,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Inc/stm32f1xx_hal_conf.h index bb3e333..b92cb81 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -389,6 +388,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Inc/stm32f1xx_it.h index 9e37003..9919d23 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void SPIx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Src/main.c index 90d2834..18e2009 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -351,5 +350,3 @@ void HAL_SPI_ErrorCallback(SPI_HandleTypeDef *hspi) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Src/stm32f1xx_hal_msp.c index 400e53c..2949479 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -122,5 +121,3 @@ void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Src/stm32f1xx_it.c index 1cee978..ae53b33 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -176,5 +175,3 @@ void SPIx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/readme.txt index c922b67..39956cd 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/SPI/SPI_HalfDuplex_ComPollingIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -123,6 +122,5 @@ In order to make the program work, you must do the following: o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Inc/main.h index b60bfcf..67da6d4 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -37,5 +36,3 @@ void TimerCommutationEvent_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Inc/stm32f1xx_hal_conf.h index 83867b0..11e1a5f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -389,6 +388,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Inc/stm32f1xx_it.h index 527d60a..54bfdef 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void TIM1_TRG_COM_TIM11_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Src/main.c index 39286bb..aec332a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -438,5 +437,3 @@ void TimerCommutationEvent_Callback(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Src/stm32f1xx_hal_msp.c index 6023441..c54f0a3 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -118,5 +117,3 @@ void HAL_TIM_OC_MspInit(TIM_HandleTypeDef *htim) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Src/stm32f1xx_it.c index e2846d0..ead266f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -175,5 +174,3 @@ void TIM1_TRG_COM_TIM11_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/readme.txt index 631d33b..17cd0f5 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_6Steps/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -119,5 +118,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Inc/main.h index 1dadce5..cb4ce11 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -58,5 +57,3 @@ void TimerCaptureCompare_Ch2_Callback(void); void UserButton_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Inc/stm32f1xx_hal_conf.h index 83867b0..11e1a5f 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -389,6 +388,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Inc/stm32f1xx_it.h index 2e2b894..7b67ea9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ void EXTI15_10_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/main.c index 4989031..2ec9f48 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -407,5 +406,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/stm32f1xx_hal_msp.c index 4c902a0..5d6f462 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -115,5 +114,3 @@ void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef *htim) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/stm32f1xx_it.c index 1c567ba..79c3f83 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -203,5 +202,3 @@ void EXTI15_10_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/readme.txt index 81e8907..298f82d 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/TIM/TIM_PWMInput/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -49,7 +48,7 @@ The minimum frequency value to measure is (TIM3 counter clock / CCR MAX) TIM2 can be used to generate the external signal in case a function generator is not available. TIM2 is configured in PWM Output Mode to produce a square wave on PA.00. Frequency and duty cycles can be changed by pressing the User Button (PC13). -Six combinatins are available (see thables aFrequency[] and aDutyCycle[]). +Six combinations are available (see thables aFrequency[] and aDutyCycle[]). @note Care must be taken when using HAL_Delay(), this function provides accurate delay (in milliseconds) based on variable incremented in SysTick ISR. This implies that if HAL_Delay() is called from @@ -91,5 +90,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Inc/main.h index 331aca2..3858250 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -73,5 +72,3 @@ void UART_CharTransmitComplete_Callback(void); void UART_Error_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Inc/stm32f1xx_it.h index eac5491..dfb3f79 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void USARTx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Src/main.c index e90151d..497c008 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Src/main.c @@ -10,13 +10,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -337,5 +336,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Src/stm32f1xx_hal_msp.c index bc9f79e..e4ab8c2 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -117,5 +116,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Src/stm32f1xx_it.c index 12b1f77..36d6cfe 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -177,7 +176,7 @@ void USARTx_IRQHandler(void) /* Clear TC flag */ LL_USART_ClearFlag_TC(USARTx); /* Call function in charge of handling end of transmission of sent character - and prepare next charcater transmission */ + and prepare next character transmission */ UART_CharTransmitComplete_Callback(); } @@ -195,5 +194,3 @@ void USARTx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/readme.txt index a8cd574..0017e05 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_IT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -145,5 +144,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/EWARM/startup_stm32f103xb.s index a7afeb5..df76358 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/EWARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2015 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Inc/main.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Inc/main.h index 3334419..80de47a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -67,5 +66,3 @@ void UART_CharReception_Callback(void); void UART_Error_Callback(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Inc/stm32f1xx_it.h index 95d95d9..80ff97a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void USARTx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/SW4STM32/STM32F103RB-Nucleo/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Src/main.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Src/main.c index e1f4921..c6d898a 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Src/main.c @@ -11,13 +11,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -306,5 +305,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Src/stm32f1xx_hal_msp.c index 43d4ff4..0689102 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -117,5 +116,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Src/stm32f1xx_it.c index 5dcd621..4ac3fae 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -178,5 +177,3 @@ void USARTx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Src/system_stm32f1xx.c index 2a3734b..81dfaf9 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -426,4 +425,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/readme.txt b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/readme.txt index 954f9ed..f969551 100644 --- a/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Examples_MIX/UART/UART_HyperTerminal_TxPolling_RxIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -149,5 +148,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Templates/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Templates/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Templates/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Templates/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Templates/Inc/main.h b/Projects/STM32F103RB-Nucleo/Templates/Inc/main.h index 81412df..3f40242 100644 --- a/Projects/STM32F103RB-Nucleo/Templates/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Templates/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -30,5 +29,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Templates/Inc/stm32f1xx_hal_conf.h b/Projects/STM32F103RB-Nucleo/Templates/Inc/stm32f1xx_hal_conf.h index 036ec27..03cb7e6 100644 --- a/Projects/STM32F103RB-Nucleo/Templates/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32F103RB-Nucleo/Templates/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Templates/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Templates/Inc/stm32f1xx_it.h index db9ad60..83e5750 100644 --- a/Projects/STM32F103RB-Nucleo/Templates/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Templates/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Templates/LICENSE.md b/Projects/STM32F103RB-Nucleo/Templates/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Projects/STM32F103RB-Nucleo/Templates/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Projects/STM32F103RB-Nucleo/Templates/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Templates/MDK-ARM/startup_stm32f103xb.s index 37392d2..b90eb24 100644 --- a/Projects/STM32F103RB-Nucleo/Templates/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Templates/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Templates/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Templates/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld index 55956ba..fcfeeaf 100644 --- a/Projects/STM32F103RB-Nucleo/Templates/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Templates/SW4STM32/STM32F103RB_Nucleo/STM32F103VBIx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Templates/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Templates/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Templates/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Templates/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Templates/Src/main.c b/Projects/STM32F103RB-Nucleo/Templates/Src/main.c index 6d77279..321c92c 100644 --- a/Projects/STM32F103RB-Nucleo/Templates/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Templates/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -151,5 +150,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Templates/Src/stm32f1xx_hal_msp.c b/Projects/STM32F103RB-Nucleo/Templates/Src/stm32f1xx_hal_msp.c index 895071e..68226eb 100644 --- a/Projects/STM32F103RB-Nucleo/Templates/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32F103RB-Nucleo/Templates/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -86,5 +85,3 @@ void HAL_MspDeInit(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Templates/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Templates/Src/stm32f1xx_it.c index 9565c77..070ddc8 100644 --- a/Projects/STM32F103RB-Nucleo/Templates/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Templates/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Templates/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Templates/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM32F103RB-Nucleo/Templates/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Templates/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Templates/readme.txt b/Projects/STM32F103RB-Nucleo/Templates/readme.txt index b12d0c4..41d905a 100644 --- a/Projects/STM32F103RB-Nucleo/Templates/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Templates/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -63,5 +62,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32F103RB-Nucleo/Templates_LL/EWARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Templates_LL/EWARM/startup_stm32f103xb.s index 7b23118..8b997c5 100644 --- a/Projects/STM32F103RB-Nucleo/Templates_LL/EWARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Templates_LL/EWARM/startup_stm32f103xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -390,4 +389,3 @@ USBWakeUp_IRQHandler B USBWakeUp_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Templates_LL/Inc/main.h b/Projects/STM32F103RB-Nucleo/Templates_LL/Inc/main.h index b13b0bb..7feefc4 100644 --- a/Projects/STM32F103RB-Nucleo/Templates_LL/Inc/main.h +++ b/Projects/STM32F103RB-Nucleo/Templates_LL/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -91,5 +90,3 @@ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Templates_LL/Inc/stm32_assert.h b/Projects/STM32F103RB-Nucleo/Templates_LL/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32F103RB-Nucleo/Templates_LL/Inc/stm32_assert.h +++ b/Projects/STM32F103RB-Nucleo/Templates_LL/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Templates_LL/Inc/stm32f1xx_it.h b/Projects/STM32F103RB-Nucleo/Templates_LL/Inc/stm32f1xx_it.h index d3a479e..ccf4d71 100644 --- a/Projects/STM32F103RB-Nucleo/Templates_LL/Inc/stm32f1xx_it.h +++ b/Projects/STM32F103RB-Nucleo/Templates_LL/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Templates_LL/LICENSE.md b/Projects/STM32F103RB-Nucleo/Templates_LL/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Projects/STM32F103RB-Nucleo/Templates_LL/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Projects/STM32F103RB-Nucleo/Templates_LL/MDK-ARM/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Templates_LL/MDK-ARM/startup_stm32f103xb.s index b10b2ed..c612248 100644 --- a/Projects/STM32F103RB-Nucleo/Templates_LL/MDK-ARM/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Templates_LL/MDK-ARM/startup_stm32f103xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -303,5 +302,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32F103RB-Nucleo/Templates_LL/SW4STM32/NUCLEO-F103RB/STM32F103RBTx_FLASH.ld b/Projects/STM32F103RB-Nucleo/Templates_LL/SW4STM32/NUCLEO-F103RB/STM32F103RBTx_FLASH.ld index 2a5759d..5a10042 100644 --- a/Projects/STM32F103RB-Nucleo/Templates_LL/SW4STM32/NUCLEO-F103RB/STM32F103RBTx_FLASH.ld +++ b/Projects/STM32F103RB-Nucleo/Templates_LL/SW4STM32/NUCLEO-F103RB/STM32F103RBTx_FLASH.ld @@ -130,7 +130,7 @@ SECTIONS . = ALIGN(4); .bss : { - /* This is used by the startup in order to initialize the .bss secion */ + /* This is used by the startup in order to initialize the .bss section */ _sbss = .; /* define a global symbol at bss start */ __bss_start__ = _sbss; *(.bss) diff --git a/Projects/STM32F103RB-Nucleo/Templates_LL/SW4STM32/startup_stm32f103xb.s b/Projects/STM32F103RB-Nucleo/Templates_LL/SW4STM32/startup_stm32f103xb.s index 690d551..44978c0 100644 --- a/Projects/STM32F103RB-Nucleo/Templates_LL/SW4STM32/startup_stm32f103xb.s +++ b/Projects/STM32F103RB-Nucleo/Templates_LL/SW4STM32/startup_stm32f103xb.s @@ -14,13 +14,12 @@ * priority is Privileged, and the Stack is set to Main. * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -88,7 +87,7 @@ LoopFillZerobss: cmp r2, r3 bcc FillZerobss -/* Call the clock system intitialization function.*/ +/* Call the clock system initialization function.*/ bl SystemInit /* Call static constructors */ bl __libc_init_array @@ -356,6 +355,3 @@ g_pfnVectors: .weak USBWakeUp_IRQHandler .thumb_set USBWakeUp_IRQHandler,Default_Handler - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ - diff --git a/Projects/STM32F103RB-Nucleo/Templates_LL/Src/main.c b/Projects/STM32F103RB-Nucleo/Templates_LL/Src/main.c index 7a80472..412b115 100644 --- a/Projects/STM32F103RB-Nucleo/Templates_LL/Src/main.c +++ b/Projects/STM32F103RB-Nucleo/Templates_LL/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -139,5 +138,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Templates_LL/Src/stm32f1xx_it.c b/Projects/STM32F103RB-Nucleo/Templates_LL/Src/stm32f1xx_it.c index 6c7d21e..9a82fc1 100644 --- a/Projects/STM32F103RB-Nucleo/Templates_LL/Src/stm32f1xx_it.c +++ b/Projects/STM32F103RB-Nucleo/Templates_LL/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -155,5 +154,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Templates_LL/Src/system_stm32f1xx.c b/Projects/STM32F103RB-Nucleo/Templates_LL/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM32F103RB-Nucleo/Templates_LL/Src/system_stm32f1xx.c +++ b/Projects/STM32F103RB-Nucleo/Templates_LL/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32F103RB-Nucleo/Templates_LL/readme.txt b/Projects/STM32F103RB-Nucleo/Templates_LL/readme.txt index 2e5c526..8d59c73 100644 --- a/Projects/STM32F103RB-Nucleo/Templates_LL/readme.txt +++ b/Projects/STM32F103RB-Nucleo/Templates_LL/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -84,5 +83,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Inc/main.h b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Inc/main.h index 53796d8..dfc5548 100644 --- a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -115,5 +114,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Inc/stm32f1xx_hal_conf.h index 2fb6308..d07a425 100644 --- a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Inc/stm32f1xx_it.h index 679ea2c..a48b8e0 100644 --- a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -54,5 +53,3 @@ void TIM6_DAC_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Src/main.c b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Src/main.c index a98d201..c8e6d28 100644 --- a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Src/main.c @@ -9,17 +9,16 @@ * (conversions injected within main conversions stream). Other * peripherals used: DMA, TIM (ADC group regular conversions * triggered by TIM, ADC group regular conversion data - * transfered by DMA). + * transferred by DMA). ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -627,5 +626,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Src/stm32f1xx_hal_msp.c b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Src/stm32f1xx_hal_msp.c index e493159..d7e5a6e 100644 --- a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -250,5 +249,3 @@ void HAL_DAC_MspDeInit(DAC_HandleTypeDef *hdac) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Src/stm32f1xx_it.c index 8c790b3..15222b0 100644 --- a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -215,5 +214,3 @@ void TIM6_DAC_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/readme.txt b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/readme.txt index 5495e29..13a3630 100644 --- a/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/ADC/ADC_Regular_injected_groups/readme.txt @@ -14,13 +14,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -126,5 +125,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Inc/main.h b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Inc/main.h index 3550270..631f710 100644 --- a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h index 55d1f55..8ca6cad 100644 --- a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Inc/stm32f1xx_it.h index 8ebbd79..9fd779f 100644 --- a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Src/main.c b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Src/main.c index 1afa8b5..7224a21 100644 --- a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Src/main.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -222,5 +221,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Src/stm32f1xx_hal_msp.c b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Src/stm32f1xx_hal_msp.c index d469ebe..4944b9f 100644 --- a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -77,5 +76,3 @@ void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Src/stm32f1xx_it.c index 665e4ac..46ea078 100644 --- a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/readme.txt b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/readme.txt index de47dd4..22106b1 100644 --- a/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/CRC/CRC_Example/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -41,7 +40,7 @@ Once calculated, the CRC value is compared to the CRC expected value. STM32 Eval board's LED can be used to monitor the example status: - LED3 (GREEN) is ON when a correct CRC value is calculated - - LED4 (BLUE) is ON when an uncorrect CRC value is calculated or when there is an initialization error. + - LED4 (BLUE) is ON when an incorrect CRC value is calculated or when there is an initialization error. @note Care must be taken when using HAL_Delay(), this function provides accurate delay (in milliseconds) based on variable incremented in SysTick ISR. This implies that if HAL_Delay() is called from @@ -78,6 +77,5 @@ In order to make the program work, you must do the following: - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Inc/main.h b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Inc/main.h index 9c5ce09..97c38c2 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Inc/stm32f1xx_hal_conf.h index 9601ddf..e65edaf 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Inc/stm32f1xx_it.h index 12c4d94..7c30c82 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void EXTI0_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Src/main.c b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Src/main.c index b5dc0e0..11f23b5 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -186,5 +185,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Src/stm32f1xx_it.c index 76709af..f91688e 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void EXTI0_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/readme.txt b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/readme.txt index a22c62e..f9c00d1 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_EXTI/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -70,5 +69,5 @@ In order to make the program work, you must do the following : - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Inc/main.h b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Inc/main.h index 109f44e..8dd3fb5 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h index 9601ddf..e65edaf 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h index 22ef964..f912c9c 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Src/main.c b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Src/main.c index 770c4d6..d546ff3 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -169,5 +168,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c index 3d502fd..bcdb981 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/readme.txt b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/readme.txt index 207f612..711229b 100644 --- a/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/GPIO/GPIO_IOToggle/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -63,5 +62,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h index 1ca90ec..f059dcf 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_hal_conf.h index e4d3eef..1a57708 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h index b56e4b7..6f29eec 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,4 +47,3 @@ void EXTI0_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/MDK-ARM/startup_stm32f100xb.s index 1d36d69..cdab7f8 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/main.c b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/main.c index 773acf4..cee61cf 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -167,5 +166,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_hal_timebase_rtc_alarm.c b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_hal_timebase_rtc_alarm.c index 9eb6885..3bb4d5b 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_hal_timebase_rtc_alarm.c +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_hal_timebase_rtc_alarm.c @@ -6,7 +6,7 @@ * * This file override the native HAL time base functions (defined as weak) * to use the RTC ALARM for time base generation: - * + Intializes the RTC peripheral to increment the seconds registers each 1ms + * + Initializes the RTC peripheral to increment the seconds registers each 1ms * + The alarm is configured to assert an interrupt when the RTC reaches 1ms * + HAL_IncTick is called at each Alarm event and the time is reset to 00:00:00 * + HSE (default), LSE or LSI can be selected as RTC clock source @@ -32,13 +32,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -91,19 +90,19 @@ HAL_StatusTypeDef HAL_InitTick (uint32_t TickPriority) RCC_PeriphCLKInitTypeDef PeriphClkInitStruct; #ifdef RTC_CLOCK_SOURCE_LSE - /* Configue LSE as RTC clock soucre */ + /* Configure LSE as RTC clock source */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSE; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; RCC_OscInitStruct.LSEState = RCC_LSE_ON; PeriphClkInitStruct.RTCClockSelection = RCC_RTCCLKSOURCE_LSE; #elif defined (RTC_CLOCK_SOURCE_LSI) - /* Configue LSI as RTC clock soucre */ + /* Configure LSI as RTC clock source */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_LSI; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; RCC_OscInitStruct.LSIState = RCC_LSI_ON; PeriphClkInitStruct.RTCClockSelection = RCC_RTCCLKSOURCE_LSI; #elif defined (RTC_CLOCK_SOURCE_HSE) - /* Configue HSE as RTC clock soucre */ + /* Configure HSE as RTC clock source */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE; RCC_OscInitStruct.HSEState = RCC_HSE_ON; @@ -285,5 +284,3 @@ void RTC_Alarm_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c index 340f08a..2c558df 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/stm32f1xx_it.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -169,5 +168,3 @@ void EXTI0_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/readme.txt b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/readme.txt index e00ed1f..a154597 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_RTC_ALARM/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -89,5 +88,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Inc/main.h b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Inc/main.h index 4906623..e87abf1 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h index 6b02851..374d1dc 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h index 0f7c9e3..74ab7ee 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void EXTI0_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/MDK-ARM/startup_stm32f100xb.s index 1d36d69..cdab7f8 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Src/main.c b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Src/main.c index f90afef..b492b28 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -185,5 +184,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_hal_timebase_tim.c b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_hal_timebase_tim.c index 0941182..55f1283 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_hal_timebase_tim.c +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_hal_timebase_tim.c @@ -6,19 +6,18 @@ * * This file overrides the native HAL time base functions (defined as weak) * the TIM time base: - * + Intializes the TIM peripheral generate a Period elapsed Event each 1ms + * + Initializes the TIM peripheral generate a Period elapsed Event each 1ms * + HAL_IncTick is called inside HAL_TIM_PeriodElapsedCallback ie each 1ms * ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void TIM2_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c index ff7d349..3a76025 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -172,5 +171,3 @@ void EXTI0_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/readme.txt b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/readme.txt index 2462837..387fdfe 100644 --- a/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/HAL/HAL_TimeBase_TIM/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -91,5 +90,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32VL-Discovery/Examples/LICENSE.md b/Projects/STM32VL-Discovery/Examples/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Projects/STM32VL-Discovery/Examples/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Inc/main.h b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Inc/main.h index f32db2a..8b300b7 100644 --- a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Inc/stm32f1xx_hal_conf.h index 4fd1fbf..c5aaccd 100644 --- a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Inc/stm32f1xx_it.h index 62b126c..93ed5be 100644 --- a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void EXTI0_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Src/main.c b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Src/main.c index 86bc50e..11f46b9 100644 --- a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -203,5 +202,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Src/stm32f1xx_it.c index 3a3accb..9637f52 100644 --- a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -164,5 +163,3 @@ void EXTI0_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/readme.txt b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/readme.txt index df14186..ed1c398 100644 --- a/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/PWR/PWR_SLEEP/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -86,5 +85,5 @@ In order to make the program work, you must do the following : - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Inc/main.h b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Inc/main.h index d641e7a..6725678 100644 --- a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -31,5 +30,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h index 9601ddf..e65edaf 100644 --- a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h index 5e23fee..0640c5f 100644 --- a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void EXTI0_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Src/main.c b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Src/main.c index 7d48654..2cc08e3 100644 --- a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -357,5 +356,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Src/stm32f1xx_it.c index 0f56a3a..7b06dab 100644 --- a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void EXTI0_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/readme.txt b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/readme.txt index 7b49cec..77ab941 100644 --- a/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/RCC/RCC_ClockConfig/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -87,5 +86,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Inc/main.h b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Inc/main.h index 98ebd6d..bd461c5 100644 --- a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -27,7 +26,7 @@ /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ -/* Uncomment to enable the adaquate Clock Source */ +/* Uncomment to enable the adequate Clock Source */ #define RTC_CLOCK_SOURCE_LSI /*#define RTC_CLOCK_SOURCE_LSE*/ @@ -37,5 +36,3 @@ void Error_Handler(void); #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Inc/stm32f1xx_hal_conf.h index e4d3eef..1a57708 100644 --- a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Inc/stm32f1xx_it.h index 7c78da2..0c5ffcd 100644 --- a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -45,5 +44,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Src/main.c b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Src/main.c index a25bff6..b707ffd 100644 --- a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -463,5 +462,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Src/stm32f1xx_hal_msp.c b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Src/stm32f1xx_hal_msp.c index 5cc4282..090c2a1 100644 --- a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -135,5 +134,3 @@ void HAL_RTC_MspDeInit(RTC_HandleTypeDef *hrtc) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Src/stm32f1xx_it.c index 7ac5456..99ac179 100644 --- a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -157,5 +156,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/readme.txt b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/readme.txt index f110fdc..7729865 100644 --- a/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/RTC/RTC_LowPower_STANDBY/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -102,5 +101,5 @@ In order to make the program work, you must do the following : - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/main.h b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/main.h index aae7611..9fcdc86 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -64,5 +63,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/stm32f1xx_hal_conf.h index 6a534d1..e24c172 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/stm32f1xx_it.h index 6a412f4..e4c3ca8 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void SPIx_DMA_TX_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Src/main.c b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Src/main.c index 783e06c..4c814a8 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -310,5 +309,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Src/stm32f1xx_hal_msp.c b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Src/stm32f1xx_hal_msp.c index 879af74..286e2f3 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -170,5 +169,3 @@ void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Src/stm32f1xx_it.c index 7bd4d3d..2234514 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -183,5 +182,3 @@ void SPIx_DMA_TX_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/readme.txt b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/readme.txt index 1b53b3d..f9b16e0 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComDMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -77,7 +76,7 @@ Finally, aRxBuffer and aTxBuffer are compared through Buffercmp() in order to check buffers correctness. STM32 board's LEDs can be used to monitor the transfer status: - - LED3 toggles quicly on master board waiting user button to be pressed. + - LED3 toggles quickly on master board waiting user button to be pressed. - LED3 turns ON if transmission/reception is complete and OK. - LED4 turns ON when there is an error in transmission/reception process. @@ -128,6 +127,5 @@ In order to make the program work, you must do the following: o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Inc/main.h b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Inc/main.h index aa18671..469b2e9 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -55,5 +54,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Inc/stm32f1xx_hal_conf.h index 6a534d1..e24c172 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Inc/stm32f1xx_it.h index f3cbcc7..761696f 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void SPIx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Src/main.c b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Src/main.c index b6c1cfb..6379e91 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -309,5 +308,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Src/stm32f1xx_hal_msp.c b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Src/stm32f1xx_hal_msp.c index 6cf15c6..1ddcee2 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -122,5 +121,3 @@ void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Src/stm32f1xx_it.c index ecc05ff..68650e5 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -176,5 +175,3 @@ void SPIx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/readme.txt b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/readme.txt index 4969cb0..dd3327f 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -77,7 +76,7 @@ Finally, aRxBuffer and aTxBuffer are compared through Buffercmp() in order to check buffers correctness. STM32 board's LEDs can be used to monitor the transfer status: - - LED3 toggles quicly on master board waiting user button to be pressed. + - LED3 toggles quickly on master board waiting user button to be pressed. - LED3 turns ON if transmission/reception is complete and OK. - LED4 turns ON when there is an error in transmission/reception process. @@ -128,6 +127,5 @@ In order to make the program work, you must do the following: o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/main.h b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/main.h index 94e428b..bffd13e 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -51,5 +50,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_hal_conf.h index 6a534d1..e24c172 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_it.h index e6219f2..7eebb2a 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/main.c b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/main.c index 77c199e..0684fa9 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -291,5 +290,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_hal_msp.c b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_hal_msp.c index cfadf1b..30a6488 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -112,5 +111,3 @@ void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_it.c index 9ae0829..7ca4624 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/readme.txt b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/readme.txt index e09e83b..bbc13a5 100644 --- a/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/SPI/SPI_FullDuplex_ComPolling/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -77,7 +76,7 @@ Finally, aRxBuffer and aTxBuffer are compared through Buffercmp() in order to check buffers correctness. STM32 board's LEDs can be used to monitor the transfer status: - - LED3 toggles quicly on master board waiting user button to be pressed. + - LED3 toggles quickly on master board waiting user button to be pressed. - LED3 turns ON if transmission/reception is complete and OK. - LED4 turns ON when there is an error in transmission/reception process. - LED4 toggle when there is a timeout error in transmission/reception process. @@ -133,6 +132,5 @@ In order to make the program work, you must do the following: o Comment "#define MASTER_BOARD" and load the project in Slave Board - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    - */ - \ No newline at end of file + + */ diff --git a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Inc/main.h b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Inc/main.h index 6897358..3eaf10a 100644 --- a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -43,5 +42,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h index 6b02851..374d1dc 100644 --- a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h index cf5669e..19ee689 100644 --- a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void TIMx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Src/main.c b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Src/main.c index 337370b..fb4c624 100644 --- a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -231,5 +230,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c index 082f724..8b463e2 100644 --- a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -74,5 +73,3 @@ void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_it.c index 3c1d567..20ffda6 100644 --- a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void TIMx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/readme.txt b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/readme.txt index 01c7541..c8c0f94 100644 --- a/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/TIM/TIM_TimeBase/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -87,5 +86,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Inc/main.h b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Inc/main.h index c6d1c98..57bcf00 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -59,7 +58,7 @@ #define USARTx_IRQn USART1_IRQn #define USARTx_IRQHandler USART1_IRQHandler -/* Size of Trasmission buffer */ +/* Size of Transmission buffer */ #define TXBUFFERSIZE (COUNTOF(aTxBuffer) - 1) /* Size of Reception buffer */ #define RXBUFFERSIZE 10 @@ -69,5 +68,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_it.h index ed5347d..9ebbd4e 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void USARTx_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Src/main.c b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Src/main.c index 281c77f..66de947 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -206,7 +205,7 @@ void SystemClock_Config(void) */ static void Error_Handler(void) { - /* Toogle LED4 for error */ + /* Toggle LED4 for error */ while(1) { BSP_LED_Toggle(LED4); @@ -223,7 +222,7 @@ static void Error_Handler(void) */ void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart) { - /* Toogle LED3 : Transfer in transmission process is correct */ + /* Toggle LED3 : Transfer in transmission process is correct */ BSP_LED_On(LED3); } @@ -280,5 +279,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_hal_msp.c b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_hal_msp.c index f53f7b2..88e3fe8 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -174,5 +173,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_it.c index 13a9e9f..baa0a8f 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -200,5 +199,3 @@ void USARTx_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/readme.txt b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/readme.txt index d2ba3a8..553cd67 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_HyperTerminal_DMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -131,5 +130,5 @@ In order to make the program work, you must do the following : - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Inc/main.h b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Inc/main.h index 533bdd2..fc2e8b2 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -49,5 +48,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Inc/stm32f1xx_it.h index 1ec692f..d7b83c7 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -45,5 +44,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Src/main.c b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Src/main.c index 6d624b1..0851c1c 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Src/main.c @@ -7,13 +7,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -211,5 +210,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Src/stm32f1xx_hal_msp.c b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Src/stm32f1xx_hal_msp.c index 917cba7..e0a3c78 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -110,5 +109,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Src/stm32f1xx_it.c index a7e0882..616979a 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -163,5 +162,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/readme.txt b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/readme.txt index 40566af..a8fc338 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_Printf/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -98,5 +97,5 @@ In order to make the program work, you must do the following : - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Inc/main.h b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Inc/main.h index 30e8587..4cfcd6e 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -60,7 +59,7 @@ #define USARTx_IRQn USART1_IRQn #define USARTx_IRQHandler USART1_IRQHandler -/* Size of Trasmission buffer */ +/* Size of Transmission buffer */ #define TXBUFFERSIZE (COUNTOF(aTxBuffer) - 1) /* Size of Reception buffer */ #define RXBUFFERSIZE TXBUFFERSIZE @@ -70,5 +69,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_it.h index 210ead8..d126b3c 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -50,5 +49,3 @@ void EXTI0_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/main.c b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/main.c index e75f7b1..6e4c82f 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -269,7 +268,7 @@ void SystemClock_Config(void) */ void HAL_UART_TxCpltCallback(UART_HandleTypeDef *UartHandle) { - /* Set transmission flag: trasfer complete*/ + /* Set transmission flag: transfer complete*/ UartReady = SET; /* Turn LED3 on: Transfer in transmission process is correct */ @@ -286,7 +285,7 @@ void HAL_UART_TxCpltCallback(UART_HandleTypeDef *UartHandle) */ void HAL_UART_RxCpltCallback(UART_HandleTypeDef *UartHandle) { - /* Set transmission flag: trasfer complete*/ + /* Set transmission flag: transfer complete*/ UartReady = SET; /* Turn LED3 on: Transfer in reception process is correct */ @@ -388,5 +387,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c index c1058fd..7a6e73d 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -177,5 +176,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_it.c index 3b0445c..87e10fa 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -212,5 +211,3 @@ void EXTI0_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/system_stm32f1xx.c index 94ed4bc..e6ff46b 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/readme.txt b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/readme.txt index 1641a85..fdcbe34 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComDMA/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -131,5 +130,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Inc/main.h b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Inc/main.h index 78455c9..0e4abe1 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,7 +47,7 @@ #define USARTx_IRQn USART1_IRQn #define USARTx_IRQHandler USART1_IRQHandler -/* Size of Trasmission buffer */ +/* Size of Transmission buffer */ #define TXBUFFERSIZE (COUNTOF(aTxBuffer) - 1) /* Size of Reception buffer */ #define RXBUFFERSIZE TXBUFFERSIZE @@ -58,5 +57,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_it.h index 8c0c66d..4646baa 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void EXTI0_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Src/main.c b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Src/main.c index 10e81f7..8c0bb4c 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -384,5 +383,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c index 5f57f70..c650e2b 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -117,5 +116,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_it.c index 8111dad..8793de3 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -188,5 +187,3 @@ void EXTI0_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/readme.txt b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/readme.txt index e03b03c..d60a59a 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComIT/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -130,5 +129,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Inc/main.h b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Inc/main.h index dc6111f..63a3c0f 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Inc/main.h +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -44,7 +43,7 @@ #define USARTx_RX_PIN GPIO_PIN_10 #define USARTx_RX_GPIO_PORT GPIOA -/* Size of Trasmission buffer */ +/* Size of Transmission buffer */ #define TXBUFFERSIZE (COUNTOF(aTxBuffer) - 1) /* Size of Reception buffer */ #define RXBUFFERSIZE TXBUFFERSIZE @@ -54,5 +53,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h index 2a74b51..774a0cc 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_it.h index b47f238..cc70d44 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -47,5 +46,3 @@ void EXTI0_IRQHandler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Src/main.c b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Src/main.c index 9d916c2..6e53d66 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Src/main.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Src/main.c @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -323,5 +322,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c index 5d777ed..8af087f 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -108,5 +107,3 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef *huart) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_it.c index 465f618..daf5ee0 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -174,5 +173,3 @@ void EXTI0_IRQHandler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Src/system_stm32f1xx.c index 4f107c8..d8c3524 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -425,4 +424,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/readme.txt b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/readme.txt index ee957d7..e280575 100644 --- a/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/readme.txt +++ b/Projects/STM32VL-Discovery/Examples/UART/UART_TwoBoards_ComPolling/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -128,5 +127,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32VL-Discovery/Templates/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Templates/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Templates/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Templates/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Templates/Inc/main.h b/Projects/STM32VL-Discovery/Templates/Inc/main.h index 016acaa..090659f 100644 --- a/Projects/STM32VL-Discovery/Templates/Inc/main.h +++ b/Projects/STM32VL-Discovery/Templates/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -30,5 +29,3 @@ /* Exported functions ------------------------------------------------------- */ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Templates/Inc/stm32f1xx_hal_conf.h b/Projects/STM32VL-Discovery/Templates/Inc/stm32f1xx_hal_conf.h index 036ec27..03cb7e6 100644 --- a/Projects/STM32VL-Discovery/Templates/Inc/stm32f1xx_hal_conf.h +++ b/Projects/STM32VL-Discovery/Templates/Inc/stm32f1xx_hal_conf.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -392,6 +391,3 @@ #endif #endif /* __STM32F1xx_HAL_CONF_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Templates/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Templates/Inc/stm32f1xx_it.h index db9ad60..83e5750 100644 --- a/Projects/STM32VL-Discovery/Templates/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Templates/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -46,5 +45,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Templates/LICENSE.md b/Projects/STM32VL-Discovery/Templates/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Projects/STM32VL-Discovery/Templates/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Projects/STM32VL-Discovery/Templates/MDK-ARM/Project.uvoptx b/Projects/STM32VL-Discovery/Templates/MDK-ARM/Project.uvoptx index e0cbd79..97cdfd2 100644 --- a/Projects/STM32VL-Discovery/Templates/MDK-ARM/Project.uvoptx +++ b/Projects/STM32VL-Discovery/Templates/MDK-ARM/Project.uvoptx @@ -25,163 +25,6 @@ STM32VL-Discovery 0x4 ARM-ADS - - 8000000 - - 1 - 1 - 0 - 1 - 0 - - - 1 - 65535 - 0 - 0 - 0 - - - 79 - 66 - 8 - - - - 1 - 1 - 1 - 0 - 1 - 1 - 0 - 1 - 0 - 0 - 0 - 0 - - - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 0 - - - 1 - 0 - 0 - - 18 - - 0 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 0 - 1 - 6 - - - - - - - - - - - STLink\ST-LINKIII-KEIL_SWO.dll - - - - 0 - UL2CM3 - UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000 -FP0($$Device:STM32F100RB$Flash\STM32F10x_128.FLM)) - - - 0 - ST-LINKIII-KEIL_SWO - -U-O142 -O2254 -S0 -C0 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC800 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000 -FP0($$Device:STM32F100RB$Flash\STM32F10x_128.FLM) - - - - - 0 - - - 0 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - - - - 0 - 0 - 0 - - - - - - - - - - 1 - 0 - 2 - 10000000 - - - - - - STM32VL-Discovery_ASSERT_V6 - 0x4 - ARM-ADS 8000000 @@ -258,6 +101,8 @@ 0 0 1 + 0 + 0 6 @@ -328,6 +173,167 @@ 1 + 0 + 0 + 2 + 10000000 + + + + + + STM32VL-Discovery_ASSERT_V6 + 0x4 + ARM-ADS + + 8000000 + + 1 + 1 + 0 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 1 + 0 + 0 + + 18 + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 6 + + + + + + + + + + + STLink\ST-LINKIII-KEIL_SWO.dll + + + + 0 + UL2CM3 + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000 -FP0($$Device:STM32F100RB$Flash\STM32F10x_128.FLM)) + + + 0 + ST-LINKIII-KEIL_SWO + -U-O142 -O2254 -S0 -C0 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC800 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000 -FP0($$Device:STM32F100RB$Flash\STM32F10x_128.FLM) + + + + + 0 + + + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + 0 + 0 + 0 + + + + + + + + + + 1 + 0 0 2 10000000 diff --git a/Projects/STM32VL-Discovery/Templates/MDK-ARM/Project.uvprojx b/Projects/STM32VL-Discovery/Templates/MDK-ARM/Project.uvprojx index e75db39..d071f41 100644 --- a/Projects/STM32VL-Discovery/Templates/MDK-ARM/Project.uvprojx +++ b/Projects/STM32VL-Discovery/Templates/MDK-ARM/Project.uvprojx @@ -10,7 +10,7 @@ STM32VL-Discovery 0x4 ARM-ADS - 5060061::V5.06 update 1 (build 61)::ARMCC + 5060960::V5.06 update 7 (build 960)::.\ARMCC 0 @@ -184,6 +184,8 @@ 0 0 0 + 0 + 0 0 0 8 @@ -316,7 +318,7 @@ 0 1 0 - 0 + 1 0 0 0 @@ -324,6 +326,7 @@ 0 0 1 + 0 0 0 0 @@ -349,7 +352,7 @@ 0 0 0 - 0 + 4 @@ -840,6 +843,8 @@ 0 0 0 + 0 + 0 0 0 8 @@ -967,7 +972,7 @@ 1 - 4 + 7 0 0 1 @@ -980,11 +985,12 @@ 0 0 0 + 0 0 5 3 - 0 - 0 + 1 + 1 0 0 0 @@ -1005,7 +1011,7 @@ 0 0 0 - 0 + 4 diff --git a/Projects/STM32VL-Discovery/Templates/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Templates/MDK-ARM/startup_stm32f100xb.s index 767e7ce..b68e957 100644 --- a/Projects/STM32VL-Discovery/Templates/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Templates/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2016 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Templates/Src/main.c b/Projects/STM32VL-Discovery/Templates/Src/main.c index 7bd6fe4..f626776 100644 --- a/Projects/STM32VL-Discovery/Templates/Src/main.c +++ b/Projects/STM32VL-Discovery/Templates/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -147,5 +146,3 @@ void assert_failed(uint8_t* file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Templates/Src/stm32f1xx_hal_msp.c b/Projects/STM32VL-Discovery/Templates/Src/stm32f1xx_hal_msp.c index 36d30d3..6cf6878 100644 --- a/Projects/STM32VL-Discovery/Templates/Src/stm32f1xx_hal_msp.c +++ b/Projects/STM32VL-Discovery/Templates/Src/stm32f1xx_hal_msp.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -86,5 +85,3 @@ void HAL_MspDeInit(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Templates/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Templates/Src/stm32f1xx_it.c index 9565c77..070ddc8 100644 --- a/Projects/STM32VL-Discovery/Templates/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Templates/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -165,5 +164,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Templates/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Templates/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM32VL-Discovery/Templates/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Templates/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Templates/readme.txt b/Projects/STM32VL-Discovery/Templates/readme.txt index 38da408..5a89569 100644 --- a/Projects/STM32VL-Discovery/Templates/readme.txt +++ b/Projects/STM32VL-Discovery/Templates/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -63,5 +62,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Projects/STM32VL-Discovery/Templates_LL/EWARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Templates_LL/EWARM/startup_stm32f100xb.s index db12d21..bfa3404 100644 --- a/Projects/STM32VL-Discovery/Templates_LL/EWARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Templates_LL/EWARM/startup_stm32f100xb.s @@ -14,13 +14,12 @@ ;****************************************************************************** ;* @attention ;* -;*

                                                                    © Copyright (c) 2016 STMicroelectronics. -;* All rights reserved.

                                                                    +;* Copyright (c) 2016 STMicroelectronics. +;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** ; @@ -393,4 +392,3 @@ TIM7_IRQHandler B TIM7_IRQHandler END -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Templates_LL/Inc/main.h b/Projects/STM32VL-Discovery/Templates_LL/Inc/main.h index ff623c2..1efdc71 100644 --- a/Projects/STM32VL-Discovery/Templates_LL/Inc/main.h +++ b/Projects/STM32VL-Discovery/Templates_LL/Inc/main.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -99,5 +98,3 @@ #endif /* __MAIN_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Templates_LL/Inc/stm32_assert.h b/Projects/STM32VL-Discovery/Templates_LL/Inc/stm32_assert.h index e003e69..9ed7293 100644 --- a/Projects/STM32VL-Discovery/Templates_LL/Inc/stm32_assert.h +++ b/Projects/STM32VL-Discovery/Templates_LL/Inc/stm32_assert.h @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -52,6 +51,3 @@ #endif #endif /* __STM32_ASSERT_H */ - - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Templates_LL/Inc/stm32f1xx_it.h b/Projects/STM32VL-Discovery/Templates_LL/Inc/stm32f1xx_it.h index d3a479e..ccf4d71 100644 --- a/Projects/STM32VL-Discovery/Templates_LL/Inc/stm32f1xx_it.h +++ b/Projects/STM32VL-Discovery/Templates_LL/Inc/stm32f1xx_it.h @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -48,5 +47,3 @@ void SysTick_Handler(void); #endif #endif /* __STM32F1xx_IT_H */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Templates_LL/LICENSE.md b/Projects/STM32VL-Discovery/Templates_LL/LICENSE.md new file mode 100644 index 0000000..fa1b6f2 --- /dev/null +++ b/Projects/STM32VL-Discovery/Templates_LL/LICENSE.md @@ -0,0 +1,27 @@ +Copyright 2016 STMicroelectronics. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation and/or +other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors +may be used to endorse or promote products derived from this software without +specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Projects/STM32VL-Discovery/Templates_LL/MDK-ARM/startup_stm32f100xb.s b/Projects/STM32VL-Discovery/Templates_LL/MDK-ARM/startup_stm32f100xb.s index 1d36d69..cdab7f8 100644 --- a/Projects/STM32VL-Discovery/Templates_LL/MDK-ARM/startup_stm32f100xb.s +++ b/Projects/STM32VL-Discovery/Templates_LL/MDK-ARM/startup_stm32f100xb.s @@ -17,10 +17,9 @@ ;* Copyright (c) 2017 STMicroelectronics. ;* All rights reserved. ;* -;* This software component is licensed by ST under BSD 3-Clause license, -;* the "License"; You may not use this file except in compliance with the -;* License. You may obtain a copy of the License at: -;* opensource.org/licenses/BSD-3-Clause +;* This software is licensed under terms that can be found in the LICENSE file +;* in the root directory of this software component. +;* If no LICENSE file comes with this software, it is provided AS-IS. ;* ;****************************************************************************** @@ -311,5 +310,3 @@ __user_initial_stackheap ENDIF END - -;************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE***** diff --git a/Projects/STM32VL-Discovery/Templates_LL/Src/main.c b/Projects/STM32VL-Discovery/Templates_LL/Src/main.c index 3292ed9..da1b7c4 100644 --- a/Projects/STM32VL-Discovery/Templates_LL/Src/main.c +++ b/Projects/STM32VL-Discovery/Templates_LL/Src/main.c @@ -6,13 +6,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -136,5 +135,3 @@ void assert_failed(uint8_t *file, uint32_t line) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Templates_LL/Src/stm32f1xx_it.c b/Projects/STM32VL-Discovery/Templates_LL/Src/stm32f1xx_it.c index 6c7d21e..9a82fc1 100644 --- a/Projects/STM32VL-Discovery/Templates_LL/Src/stm32f1xx_it.c +++ b/Projects/STM32VL-Discovery/Templates_LL/Src/stm32f1xx_it.c @@ -8,13 +8,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -155,5 +154,3 @@ void SysTick_Handler(void) /** * @} */ - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Templates_LL/Src/system_stm32f1xx.c b/Projects/STM32VL-Discovery/Templates_LL/Src/system_stm32f1xx.c index fc3d39f..8de5bbd 100644 --- a/Projects/STM32VL-Discovery/Templates_LL/Src/system_stm32f1xx.c +++ b/Projects/STM32VL-Discovery/Templates_LL/Src/system_stm32f1xx.c @@ -33,13 +33,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2016 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2016 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** */ @@ -416,4 +415,3 @@ void SystemInit_ExtMemCtl(void) /** * @} */ -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ diff --git a/Projects/STM32VL-Discovery/Templates_LL/readme.txt b/Projects/STM32VL-Discovery/Templates_LL/readme.txt index d085481..21752be 100644 --- a/Projects/STM32VL-Discovery/Templates_LL/readme.txt +++ b/Projects/STM32VL-Discovery/Templates_LL/readme.txt @@ -9,13 +9,12 @@ ****************************************************************************** * @attention * - *

                                                                    © Copyright (c) 2017 STMicroelectronics. - * All rights reserved.

                                                                    + * Copyright (c) 2017 STMicroelectronics. + * All rights reserved. * - * This software component is licensed by ST under BSD 3-Clause license, - * the "License"; You may not use this file except in compliance with the - * License. You may obtain a copy of the License at: - * opensource.org/licenses/BSD-3-Clause + * This software is licensed under terms that can be found in the LICENSE file + * in the root directory of this software component. + * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** @endverbatim @@ -84,5 +83,5 @@ In order to make the program work, you must do the following : - Rebuild all files and load your image into target memory - Run the example - *

                                                                    © COPYRIGHT STMicroelectronics

                                                                    + */ diff --git a/Release_Notes.html b/Release_Notes.html index 6308af4..754d1b0 100644 --- a/Release_Notes.html +++ b/Release_Notes.html @@ -11,29 +11,23 @@ span.underline{text-decoration: underline;} div.column{display: inline-block; vertical-align: top; width: 50%;} - + +
                                                                    -
                                                                    -
                                                                    -

                                                                    Release Notes for STM32CubeF1 Firmware Package

                                                                    -

                                                                    Copyright © <2017> STMicroelectronics
                                                                    +

                                                                    Release Notes forSTM32CubeF1 Firmware Package

                                                                    +

                                                                    Copyright © 2017 STMicroelectronics

                                                                    - +
                                                                    -
                                                                    -
                                                                    -

                                                                    License

                                                                    -

                                                                    This software package is licensed by ST under ST license SLA0048, the “Licenseâ€; You may not use this package except in compliance with the License. You may obtain a copy of the License at: http://www.st.com/SLA0048.

                                                                    Purpose

                                                                    -

                                                                    STMCube is an STMicroelectronics original initiative to ease developers life by reducing development efforts, time and cost. STM32Cube covers STM32 portfolio.

                                                                    -

                                                                    STM32Cube Version 1.x includes:

                                                                    +

                                                                    STMCube is an STMicroelectronics original initiative to ease developers life by reducing development efforts, time and cost. STM32Cube covers STM32 portfolio. STM32Cube Version 1.x includes:

                                                                    • The STM32CubeMX, a graphical software configuration tool that allows to generate C initialization code using graphical wizards.
                                                                    • A comprehensive embedded software platform, delivered per series (such as STM32CubeF1 for STM32F1 series) @@ -42,7 +36,7 @@
                                                                    • A consistent set of middleware components such as RTOS, USB, TCP/IP, Graphics
                                                                    • All embedded software utilities come with a full set of examples.
                                                                    -
                                                                  • The STM32Cube firmware solution offers a straightforward API with a modular architecture, making it simple to fine tune custom applications and scalable to fit most requirements STM32Cube architecture
                                                                  • +
                                                                  • The STM32Cube firmware solution offers a straightforward API with a modular architecture, making it simple to fine tune custom applications and scalable to fit most requirements STM32Cube architecture

                                                                  The HAL (Hardware Abstraction Layer) drivers provided within this package supports the following STM32F100xx STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and STM32F107xx Series.

                                                                    @@ -65,11 +59,267 @@

                                                                    Update History

                                                                    - +

                                                                    Maintenance release

                                                                    Main Changes

                                                                      +
                                                                    • Patch release to fix known defects and enhancements implementation.
                                                                    • +
                                                                    • All source files: update disclaimer to add reference to the new license agreement.

                                                                    • +
                                                                    • CMSIS updates +
                                                                        +
                                                                      • Define SPI2_IRQHandler weak alias instead of a duplication of the definition of SPI1_IRQHandler weak alias.
                                                                      • +
                                                                      • Update the GCC startup file to be aligned to IAR/Keil IDE.
                                                                      • +
                                                                    • +
                                                                    • HAL updates +
                                                                        +
                                                                      • HAL code quality enhancement for MISRA-C Rule-8.13 by adding const qualifiers.
                                                                      • +
                                                                      • HAL Generic driver +
                                                                          +
                                                                        • Allow redefinition of macro UNUSED(x).
                                                                        • +
                                                                      • +
                                                                      • HAL EXTI driver +
                                                                          +
                                                                        • Fix computation of pExtiConfig->GPIOSel in HAL_EXTI_GetConfigLine().
                                                                        • +
                                                                      • +
                                                                      • HAL GPIO driver +
                                                                          +
                                                                        • Reorder EXTI configuration sequence in order to avoid unexpected level detection.
                                                                        • +
                                                                      • +
                                                                      • HAL RCC driver +
                                                                          +
                                                                        • Add ‘static’ storage-class specifier to ‘const’ arrays.
                                                                        • +
                                                                        • update macro __HAL_RCC_APB1_FORCE_RESET definition.
                                                                        • +
                                                                      • +
                                                                      • HAL DMA driver +
                                                                          +
                                                                        • Add volatile qualifier to member ‘State’ of DMA_HandleTypeDef structure to prevent any issue when optimization is enabled.
                                                                        • +
                                                                      • +
                                                                      • HAL CEC driver +
                                                                          +
                                                                        • Better performance by removing multiple volatile reads or writes in interrupt handler.
                                                                        • +
                                                                      • +
                                                                      • HAL ADC driver +
                                                                          +
                                                                        • Remove multiple volatile reads or writes in interrupt handler for better performance.
                                                                        • +
                                                                        • Fix HAL_ADCEx_Calibration_Start() in power-on state (ADON bit = ‘1’) for at least two ADC clock cycles.
                                                                        • +
                                                                      • +
                                                                      • HAL DAC driver +
                                                                          +
                                                                        • Fix incorrect word ‘surcharged’ in functions headers.
                                                                        • +
                                                                      • +
                                                                      • HAL/LL TIM driver +
                                                                          +
                                                                        • Manage configuration of the Capture/compare DMA request source: +
                                                                            +
                                                                          • Add related new exported constants (TIM_CCDMAREQUEST_CC, TIM_CCDMAREQUEST_UPDATE).
                                                                          • +
                                                                          • Create a new macro __HAL_TIM_SELECT_CCDMAREQUEST() allowing to program the TIMx_CR2.CCDS bitfield.
                                                                          • +
                                                                        • +
                                                                        • Update __LL_TIM_CALC_PSC() macro to round up the evaluated value when the fractional part of the division is greater than 0.5.
                                                                        • +
                                                                        • Improved driver robustness against wrong period values.
                                                                        • +
                                                                        • Improved driver robustness against wrong DMA related parameters.
                                                                        • +
                                                                        • Improved period configuration parameter check.
                                                                        • +
                                                                        • Removed lock management from callback management functions.
                                                                        • +
                                                                      • +
                                                                      • HAL RTC driver +
                                                                          +
                                                                        • In HAL_RTC_Init(), use WRITE_REG() instead of MODIFY_REG() to handle PRLL and PRLH write-only registers.
                                                                        • +
                                                                      • +
                                                                      • HAL SPI driver +
                                                                          +
                                                                        • Fix driver to don’t update state in case of error. (HAL_SPI_STATE_READY will be set only in case of HAL_TIMEOUT).
                                                                        • +
                                                                      • +
                                                                      • HAL I2C driver +
                                                                          +
                                                                        • Update HAL_I2C_Mem_Write_DMA() and HAL_I2C_Mem_Read_DMA() APIs to add initialization of Devaddress, Memaddress and EventCount parameters.
                                                                        • +
                                                                        • Update I2C_MasterReceive_RXNE() process to safely manage data N=2 and N=3, Disable BUF interrupt if nothing to do.
                                                                        • +
                                                                        • Update HAL_I2C_Master_Transmit_IT to return HAL_BUSY instead of HAL_ERROR when timeout occur and I2C_FLAG_BUSY is SET.
                                                                        • +
                                                                        • Duplicate the test condition after timeout detection to avoid false timeout detection.
                                                                        • +
                                                                      • +
                                                                      • HAL/LL USART driver +
                                                                          +
                                                                        • Handling of UART concurrent register access in case of race condition between Tx and Rx transfers.
                                                                        • +
                                                                        • Improve header description of USART_WaitOnFlagUntilTimeout() function.
                                                                        • +
                                                                        • Add a check on the USART parity before enabling the parity error interrupt.
                                                                        • +
                                                                        • Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().
                                                                        • +
                                                                      • +
                                                                      • HAL UART driver +
                                                                          +
                                                                        • Handling of UART concurrent register access in case of race condition between Tx and Rx transfers.
                                                                        • +
                                                                        • Improve header description of UART_WaitOnFlagUntilTimeout() function.
                                                                        • +
                                                                        • Add a check on the UART parity before enabling the parity error interruption.
                                                                        • +
                                                                        • Fix typo in UART_IT_TXE bit description.
                                                                        • +
                                                                        • Add a new API HAL_UARTEx_GetRxEventType that could be used to retrieve the type of event that has led the RxEventCallback execution.
                                                                        • +
                                                                        • Removal of HAL_LOCK/HAL_UNLOCK calls in HAL UART Tx and Rx APIs.
                                                                        • +
                                                                        • Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().
                                                                        • +
                                                                      • +
                                                                      • HAL SMARTCARD driver +
                                                                          +
                                                                        • Improve header description of SMARTCARD_WaitOnFlagUntilTimeout() function.
                                                                        • +
                                                                        • Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().
                                                                        • +
                                                                      • +
                                                                      • HAL IRDA driver +
                                                                          +
                                                                        • Improve header description of IRDA_WaitOnFlagUntilTimeout() function.
                                                                        • +
                                                                        • Add a check on the IRDA parity before enabling the parity error interrupt.
                                                                        • +
                                                                        • Remove __HAL_LOCK() from HAL_xxx_RegisterCallback()/HAL_xxx_UnRegisterCallback().
                                                                        • +
                                                                      • +
                                                                      • HAL SDMMC driver +
                                                                          +
                                                                        • Take in account the voltage range in the CMD1 command.
                                                                        • +
                                                                        • Add new LL function to have correct response for MMC driver.
                                                                        • +
                                                                        • Update the driver to have all fields correctly initialized.
                                                                        • +
                                                                        • Add a internal to manage the power class and call it before to update speed of bus width.
                                                                        • +
                                                                        • Add new API to get the value of the Extended CSD register and populate the ExtCSD field of the MMC handle.
                                                                        • +
                                                                      • +
                                                                      • HAL CAN driver +
                                                                          +
                                                                        • Removal of never reached code.
                                                                        • +
                                                                        • Improve protection against bad inputs.
                                                                        • +
                                                                      • +
                                                                      • HAL NOR driver +
                                                                          +
                                                                        • Enable write operations before effective write to NOR memory in HAL_NOR_Init() function to avoid HardFault.
                                                                        • +
                                                                        • FMC_WRITE_OPERATION_DISABLE for NOR cause Hardfault for Read operations.
                                                                        • +
                                                                      • +
                                                                      • HAL/LL USB driver +
                                                                          +
                                                                        • PCD: add handling of USB OUT Endpoint disable interrupt.
                                                                        • +
                                                                        • PCD: fix device IN endpoint isoc incomplete transfer interrupt handling.
                                                                        • +
                                                                        • PCD: fix USB device Isoc OUT Endpoint incomplete transfer interrupt handling.
                                                                        • +
                                                                        • Fix handling of ODDFRM bit in OTG_HCCHARx for isochronous IN transactions.
                                                                        • +
                                                                        • Fix received data length counting when DMA is enabled.
                                                                        • +
                                                                        • Fix added to USB_ClearInterrupts() and USB_HC_Halt() APIs.
                                                                        • +
                                                                        • Remove useless software setting to setup the frame interval at 80%.
                                                                        • +
                                                                        • PCD: add supporting multi packets transfer on Interrupt endpoint.
                                                                        • +
                                                                        • PCD: software correction added to avoid unexpected STALL condition during EP0 multi packet OUT transfer.
                                                                        • +
                                                                        • PCD: add a mask for USB RX bytes count.
                                                                        • +
                                                                        • Add new HAL_PCD_EP_Abort() API to abort current USB endpoint transfer.
                                                                        • +
                                                                      • +
                                                                    • +
                                                                    • Projects updates +
                                                                        +
                                                                      • STM32F103RB-Nucleo : +
                                                                          +
                                                                        • Replace hard-coded page end address by a variable in EE_VerifyPageFullyErased() to consider both PAGE 0 and PAGE 1 instead of only PAGE 0 in EEPROM emulation application.
                                                                        • +
                                                                      • +
                                                                    • +
                                                                    • BSP updates +
                                                                        +
                                                                      • STM3210E_EVAL : +
                                                                          +
                                                                        • Update to initialize LCD page size.
                                                                        • +
                                                                      • +
                                                                    • +
                                                                    +

                                                                    Contents

                                                                    +
                                                                      +
                                                                    • The STM32CubeF1 Firmware package comes with a rich set of examples running on STMicroelectronics boards, organized by board and provided with pre-configured projects for the main supported toolchains. The exhaustive list of projects is provided in this table STM32CubeProjectsList.html.
                                                                    • +
                                                                    + + + + + + + + + + + + + + + + +
                                                                    Projects
                                                                    NameVersionRelease notes
                                                                    Projectssee Projects Release note for detailsrelease notes
                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                    Drivers
                                                                    NameVersionRelease note
                                                                    STM32F1xx CMSISV4.3.4release notes
                                                                    STM32F1xx HALV1.1.9release notes
                                                                    BSP STM3210E_EVALV7.0.2release notes
                                                                    BSP STM3210C_EVALV6.1.1release notes
                                                                    BSP STM32VL-DiscoveryV1.0.3release notes
                                                                    BSP STM32F1xx_NucleoV1.0.5release notes
                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                    Utilities
                                                                    NameVersionRelease note
                                                                    CPUV1.1.4release notes
                                                                    FontsV1.0.3release notes
                                                                    LogV1.0.4release notes
                                                                    +

                                                                    Development Toolchains and Compilers

                                                                    +
                                                                      +
                                                                    • IAR Embedded Workbench for ARM (EWARM) toolchain V8.40.2+ ST-Link
                                                                    • +
                                                                    • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.31 (or upper) + ST-LINK, pack available here: +
                                                                        +
                                                                      • www.keil.com/dd2/Pack/ (Section : STMicroelectronics STM32F1 Series Device Support)
                                                                      • +
                                                                      • Only template projects are migrated to Arm Compiler 6 with MDK-ARM 5.31 (“AC-like Warnings†mode).
                                                                      • +
                                                                    • +
                                                                    • System Workbench for STM32 (SW4STM32) (7-2018-q2-update) toolchain V2.9.0 + ST-Link
                                                                    • +
                                                                    +
                                                                    +
                                                                    +
                                                                    + +
                                                                    +

                                                                    Maintenance release

                                                                    +

                                                                    Main Changes

                                                                    +
                                                                    • Patch release to fix known defects and enhancements implementation.

                                                                    • CMSIS updates
                                                                        @@ -83,6 +333,7 @@
                                                                      • HAL/LL ADC driver
                                                                        • Update LL_ADC_DeInit() API to clear missing SQR3 register.
                                                                        • +
                                                                        • Update HAL ADC driver to add include of the LL ADC driver.
                                                                        • Update timeout mechanism to avoid false timeout detection in case of preemption.
                                                                      • HAL EXTI driver @@ -124,7 +375,6 @@
                                                                      • Update I2C_MemoryTransmit_TXE_BTF() API to increment EventCount.
                                                                    • Update to use the right macro to clear I2C ADDR flag inside I2C_Slave_ADDR() API as it’s indicated in the reference manual.
                                                                    • -
                                                                    • Update HAL_I2C_EV_IRQHandler() and I2C_MasterTransmit_BTF() APIs to fix an issue where the transfer of the first few bytes to an I2C memory fails.
                                                                  • HAL NAND driver
                                                                      @@ -147,7 +397,7 @@
                                                                    • HAL_UARTEx_ReceiveToIdle_DMA(): Receive an amount of data in DMA mode until either the expected number of data is received or an IDLE event occurs.
                                                                  • Update HAL_UART_Receive(), HAL_UART_Receive_IT() and HAL_UART_Receive_DMA() APIs to support the new enhancement of ReceptionToIdle.
                                                                  • -
                                                                  • Fixe wrong comment related to RX pin configuration within the description section.
                                                                  • +
                                                                  • Fix wrong comment related to RX pin configuration within the description section.
                                                                  • Correction on UART ReceptionType management in case of ReceptionToIdle API are called from RxEvent callback.
                                                                • HAL SMARTCARD driver @@ -201,19 +451,19 @@
                                                                • Update examples and applications to avoid clearing DMA using global flag GIFx.
                                                              -

                                                              Contents

                                                              +

                                                              Contents

                                                              • The STM32CubeF1 Firmware package comes with a rich set of examples running on STMicroelectronics boards, organized by board and provided with pre-configured projects for the main supported toolchains. The exhaustive list of projects is provided in this table STM32CubeProjectsList.html.
                                                              • Projects release notes
                                                                • STM32F103RB-Nucleo
                                                                    -
                                                                  • Applications [release notes] (Projects32F103RB-Nucleo_Notes.html)
                                                                  • -
                                                                  • Demonstrations [release notes] (Projects32F103RB-Nucleo_Notes.html)
                                                                  • -
                                                                  • Examples [release notes] (Projects32F103RB-Nucleo_Notes.html)
                                                                  • -
                                                                  • Examples_LL [release notes] (Projects32F103RB-Nucleo_LL_Notes.html)
                                                                  • -
                                                                  • Examples_MIX [release notes] (Projects32F103RB-Nucleo_MIX_Notes.html)
                                                                  • -
                                                                  • Templates [release notes] (Projects32F103RB-Nucleo_Notes.html)
                                                                  • +
                                                                  • Applications release notes
                                                                  • +
                                                                  • Demonstrations release notes
                                                                  • +
                                                                  • Examples release notes
                                                                  • +
                                                                  • Examples_LL release notes
                                                                  • +
                                                                  • Examples_MIX release notes
                                                                  • +
                                                                  • Templates release notes
                                                                  • Templates_LL release notes
                                                                • STM32VL-Discovery @@ -224,19 +474,19 @@
                                                              • STM3210C_EVAL
                                                                  -
                                                                • Applications [release notes] (Projects3210C_EVAL_Notes.html)
                                                                • -
                                                                • Examples [release notes] (Projects3210C_EVAL_Notes.html)
                                                                • -
                                                                • Templates [release notes] (Projects3210C_EVAL_Notes.html)
                                                                • -
                                                                • Templates_LL [release notes] (Projects3210C_EVAL_Notes.html)
                                                                • +
                                                                • Applications release notes
                                                                • +
                                                                • Examples release notes
                                                                • +
                                                                • Templates release notes
                                                                • +
                                                                • Templates_LL release notes
                                                              • STM3210E_EVAL
                                                                  -
                                                                • Applications [release notes] (Projects3210E_EVAL_Notes.html)
                                                                • -
                                                                • Examples [release notes] (Projects3210E_EVAL_Notes.html)
                                                                • -
                                                                • Examples_LL [release notes] (Projects3210E_EVAL_LL_Notes.html)
                                                                • -
                                                                • Examples_MIX [release notes] (Projects3210E_EVAL_MIX_Notes.html)
                                                                • -
                                                                • Templates [release notes] (Projects3210E_EVAL_Notes.html)
                                                                • -
                                                                • Templates_LL [release notes] (Projects3210E_EVAL_LL_Notes.html)
                                                                • +
                                                                • Applications release notes
                                                                • +
                                                                • Examples release notes
                                                                • +
                                                                • Examples_LL release notes
                                                                • +
                                                                • Examples_MIX release notes
                                                                • +
                                                                • Templates release notes
                                                                • +
                                                                • Templates_LL release notes
                                                              @@ -244,7 +494,6 @@ - @@ -252,25 +501,22 @@ - - -
                                                              Name VersionLicence Release note
                                                              STM32F1xx CMSIS V4.3.3Apache License 2.0 release notes
                                                              STM32F1xx HAL V1.1.8BSD-3-Clause release notes
                                                              BSP STM3210C_EVAL V7.0.1BSD-3-Clause release notes
                                                            -

                                                            Development Toolchains and Compilers

                                                            +

                                                            Development Toolchains and Compilers

                                                            • IAR Embedded Workbench for ARM (EWARM) toolchain V8.40.2+ ST-Link
                                                            • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.31 + ST-LINK
                                                            • @@ -281,8 +527,8 @@
                                                              -

                                                              Maintenance release

                                                              -

                                                              Main Changes

                                                              +

                                                              Maintenance release

                                                              +

                                                              Main Changes

                                                              • Patch release of STM32CubeF1 Firmware Package.

                                                              • HAL

                                                                @@ -300,14 +546,13 @@
                                                          -

                                                          Contents

                                                          +

                                                          Contents

                                                          - @@ -315,7 +560,6 @@ - @@ -325,8 +569,8 @@
                                                          -

                                                          Maintenance release

                                                          -

                                                          Main Changes

                                                          +

                                                          Maintenance release

                                                          +

                                                          Main Changes

                                                          • Patch release to fix known defects and enhancements implementation

                                                          • HAL @@ -509,12 +753,12 @@
                                                            • Remove unused IS_TIM_SYNCHRO_INSTANCE() assert macro
                                                          • -
                                                          • Add missing I2SCFG and I2SPR bits difinitions for STM32F101xE and STM32F101xG
                                                          • +
                                                          • Add missing I2SCFG and I2SPR bits definitions for STM32F101xE and STM32F101xG
                                                          • Protect Vector table modification following SRAM or FLASH preprocessor directive by a generic preprocessor directive : USER_VECT_TAB_ADDRESS
                                                          • SystemInit(): update to don’t reset RCC registers to its reset values.
                                                          -

                                                          Contents

                                                          +

                                                          Contents

                                                          • The STM32CubeF1 Firmware package comes with a rich set of examples running on STMicroelectronics boards, organized by board and provided with pre-configured projects for the main supported toolchains. The exhaustive list of projects is provided in this table STM32CubeProjectsList.html.
                                                          • Projects release notes @@ -557,7 +801,6 @@
                                                          - @@ -565,13 +808,11 @@ - - @@ -581,7 +822,7 @@
                                                          • SW4STM32 projects aren’t provided for STM32VL-Discovery board because it embeds STLinv1 version that is not hardware supported by SW4STM32 toolchain.
                                                          -

                                                          Development Toolchains and Compilers

                                                          +

                                                          Development Toolchains and Compilers

                                                          • IAR Embedded Workbench for ARM (EWARM) toolchain V8.20.2+ ST-Link
                                                          • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.26 + ST-LINK
                                                          • @@ -608,8 +849,8 @@
                                                            -

                                                            Maintenance release

                                                            -

                                                            Main Changes

                                                            +

                                                            Maintenance release

                                                            +

                                                            Main Changes

                                                            • Patch release to fix known defects and enhancements implementation

                                                            • HAL

                                                              @@ -661,14 +902,13 @@
                                                          -

                                                          Contents

                                                          +

                                                          Contents

                                                          Drivers
                                                          Name VersionLicence Release note
                                                          STM32F1xx HAL V1.1.7BSD-3-Clause release notes
                                                          Name VersionLicence Release note
                                                          STM32F1xx CMSIS V4.3.2Apache License 2.0 release notes
                                                          STM32F1xx HAL V1.1.6BSD-3-Clause release notes
                                                          - @@ -676,7 +916,6 @@ - @@ -686,8 +925,8 @@
                                                          -

                                                          Maintenance release

                                                          -

                                                          Main Changes

                                                          +

                                                          Maintenance release

                                                          +

                                                          Main Changes

                                                          • General updates to fix known defects and enhancements implementation
                                                          • Remove support of TrueSTUDIO tool chain
                                                          • @@ -764,7 +1003,7 @@
                                                            • USB HS mode isn’t supported by these STM32 devices
                                                            -
                                                          • Update USB device applications by adding a UNUSED() macro in the followings API on file usbd_desc.c files in order to avoid compilation warnings +
                                                          • Update USB device applications by adding a UNUSED() macro in the following APIs on file usbd_desc.c files in order to avoid compilation warnings
                                                            • USBD_DFU_DeviceDescriptor()
                                                            • USBD_DFU_LangIDStrDescriptor()
                                                            • @@ -779,313 +1018,6 @@
                                                          • For the complete list of changes, please refer to the release notes of each firmware component

                                                          -

                                                          Contents

                                                          -
                                                          Drivers
                                                          Name VersionLicence Release note
                                                          STM32F1xx HAL V1.1.5BSD-3-Clause release notes
                                                          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                          Drivers
                                                          NameVersionLicenceRelease note
                                                          Cortex-M CMSISV5.4.0Apache License 2.0release notes
                                                          STM32F1xx CMSISV4.3.1Apache License 2.0release notes
                                                          STM32F1xx HALV1.1.4BSD-3-Clauserelease notes
                                                          BSP STM3210E_EVALV7.0.0BSD-3-Clauserelease notes
                                                          BSP STM3210C_EVALV6.1.0BSD-3-Clauserelease notes
                                                          BSP STM32VL-DiscoveryV1.0.1BSD-3-Clauserelease notes
                                                          BSP STM32F1xx_NucleoV1.0.3BSD-3-Clauserelease notes
                                                          BSP Components CommonV4.0.1BSD-3-Clauserelease notes
                                                          BSP Components stmpe811V2.0.0BSD-3-Clauserelease notes
                                                          BSP Components spfd5408V1.1.1BSD-3-Clauserelease notes
                                                          BSP Components hx8347dV1.1.1BSD-3-Clauserelease notes
                                                          BSP Components ili9320V1.2.2BSD-3-Clauserelease notes
                                                          BSP Components stlm75V1.0.1BSD-3-Clauserelease notes
                                                          BSP Components ili9325V1.2.3BSD-3-Clauserelease notes
                                                          BSP Components cs43l22V2.0.2BSD-3-Clauserelease notes
                                                          BSP Components ak4343V2.0.0BSD-3-Clauserelease notes
                                                          BSP Components lis302dlV2.0.0BSD-3-Clauserelease notes
                                                          BSP Components st7735V2.0.0BSD-3-Clauserelease notes
                                                          BSP Adafruit_ShieldV3.0.0BSD-3-Clauserelease notes
                                                          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                          Middlewares
                                                          NameVersionLicenceRelease note
                                                          STemWinV5.44SLA0044release notes
                                                          STM32 USB Device LibraryV2.5.3SLA0044release notes
                                                          STM32 USB Host LibraryV3.3.3SLA0044release notes
                                                          FatFSR0.11[BSD-3-Clause](Middlewares/Third_Party/FatFs/doc/en/appnote.html#license) release notes ST modified 20170214 release notes
                                                          FreeRTOSV10.0.1MITrelease notes ST modified 20190329 release notes
                                                          LwIPV2.0.3BSD-3-Clauserelease notes ST modified 20180813 release notes
                                                          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                          Utilities
                                                          NameVersionLicenseRelease note
                                                          CPUV1.1.0BSD-3-Clauserelease notes
                                                          FontsV1.0.0BSD-3-Clauserelease notes
                                                          LogV1.0.1BSD-3-Clauserelease notes
                                                          -
                                                        -

                                                        Known Limitations

                                                        -
                                                          -
                                                        • SW4STM32 projects aren’t provided for STM32VL-Discovery board because it embeds STLinv1 version that is not hardware supported by SW4STM32 toolchain.
                                                        • -
                                                        • Register callback feature will be deployed on HAL I2C driver in next release
                                                        • -
                                                        -

                                                        Development Toolchains and Compilers

                                                        -
                                                          -
                                                        • IAR Embedded Workbench for ARM (EWARM) toolchain V8.20.2+ ST-Link
                                                        • -
                                                        • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.26 + ST-LINK
                                                        • -
                                                        • System Workbench for STM32 (SW4STM32) toolchain V2.9 + ST-Link
                                                        • -
                                                        -

                                                        Supported Devices and EVAL boards

                                                        -
                                                          -
                                                        • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet Lines
                                                        • -
                                                        • STM3210E-Eval board RevD
                                                        • -
                                                        • STM3210C-Eval board RevC
                                                        • -
                                                        • STM32VL-Discovery board RevC
                                                        • -
                                                        • STM32F1xx-Nucleo board RevC
                                                        • -
                                                        -

                                                        Backward Compatibility

                                                        -
                                                          -
                                                        • None
                                                        • -
                                                        -

                                                        Dependencies

                                                        -
                                                          -
                                                        • None
                                                        • -
                                                        -
                                                      -
                                                      -
                                                      - -
                                                      -

                                                      Maintenance release

                                                      -

                                                      Main Changes

                                                      -
                                                        -
                                                      • General update to fix known defects and several implementations enhancement
                                                      • -
                                                      • The following changes done on the HAL drivers require an update on the application code based on older HAL versions -
                                                          -
                                                        • Rework of HAL CAN driver (compatibility break) -
                                                            -
                                                          • A new HAL CAN driver has been redesigned with new APIs, to bypass limitations on CAN Tx/Rx FIFO management present with previous HAL CAN driver version.
                                                          • -
                                                          • The new HAL CAN driver is the recommended version. It is located as usual in Drivers/STM32F1xx_HAL_Driver/Src and Drivers/STM32f1xx_HAL_Driver/Inc folders. It can be enabled through switch HAL_CAN_MODULE_ENABLED in stm32f1xx_hal_conf.h
                                                          • -
                                                          • The legacy HAL CAN driver is also present in the release in Drivers/STM32F1xx_HAL_Driver/Src/Legacy and Drivers/STM32F1xx_HAL_Driver/Inc/Legacy folders for software compatibility reasons. Its usage is not recommended as deprecated. It can however be enabled through switch HAL_CAN_LEGACY_MODULE_ENABLED in stm32f1xx_hal_conf.h
                                                          • -
                                                        • -
                                                      • -
                                                      • HAL -
                                                          -
                                                        • stm32f1xx_hal_conf_template.h: Add switch HAL_CAN_LEGACY_MODULE_ENABLED
                                                        • -
                                                        • HAL CAN driver has been redesigned with new APIs.
                                                        • -
                                                      • -
                                                      • CMSIS -
                                                          -
                                                        • Fix known defects and several implementation enhancement
                                                        • -
                                                      • -
                                                      • Projects -
                                                          -
                                                        • Update CAN examples to support new HAL CAN driver.
                                                        • -
                                                        • Update stm32f1xx_hal_conf.h by adding switch HAL_CAN_LEGACY_MODULE_ENABLED.
                                                        • -
                                                      • -
                                                      • For the complete list of changes, please refer to the release notes of each firmware component
                                                      • -

                                                      Contents

                                                      -

                                                      Known Limitations

                                                      +

                                                      Known Limitations

                                                      • SW4STM32 projects aren’t provided for STM32VL-Discovery board because it embeds STLinv1 version that is not hardware supported by SW4STM32 toolchain.
                                                      • +
                                                      • Register callback feature will be deployed on HAL I2C driver in next release

                                                      Development Toolchains and Compilers

                                                        -
                                                      • IAR Embedded Workbench for ARM (EWARM) toolchain V7.80.4
                                                      • -
                                                      • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.23
                                                      • -
                                                      • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.5.2
                                                      • -
                                                      • System Workbench for STM32 (SW4STM32) toolchain V1.13
                                                      • +
                                                      • IAR Embedded Workbench for ARM (EWARM) toolchain V8.20.2+ ST-Link
                                                      • +
                                                      • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.26 + ST-LINK
                                                      • +
                                                      • System Workbench for STM32 (SW4STM32) toolchain V2.9 + ST-Link
                                                      -

                                                      Supported Devices and EVAL boards

                                                      +

                                                      Supported Devices and EVAL boards

                                                      • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet Lines
                                                      • STM3210E-Eval board RevD
                                                      • @@ -1351,63 +1252,49 @@
                                                      • STM32VL-Discovery board RevC
                                                      • STM32F1xx-Nucleo board RevC
                                                      -

                                                      Backward Compatibility

                                                      +

                                                      Backward Compatibility

                                                      • None
                                                      -

                                                      Dependencies

                                                      +

                                                      Dependencies

                                                      • None
                                                      - +

                                                      Maintenance release

                                                      Main Changes

                                                        -
                                                      • Patch release to fix issues in GPIO, RCC, SMARTCARD, I2C and Generic HAL/LL drivers
                                                      • -
                                                      -

                                                      Contents

                                                      - - - - - - - - - - - - - - - -
                                                      NameVersionRelease note
                                                      STM32F1xx HALV1.1.2release notes
                                                      -
                                                      -
                                                      -
                                                      - -
                                                      -

                                                      Maintenance release

                                                      -

                                                      Main Changes

                                                      +
                                                    • General update to fix known defects and several implementations enhancement
                                                    • +
                                                    • The following changes done on the HAL drivers require an update on the application code based on older HAL versions
                                                        -
                                                      • General update to fix known defects and several implementations enhancement

                                                      • +
                                                      • Rework of HAL CAN driver (compatibility break) +
                                                          +
                                                        • A new HAL CAN driver has been redesigned with new APIs, to bypass limitations on CAN Tx/Rx FIFO management present with previous HAL CAN driver version.
                                                        • +
                                                        • The new HAL CAN driver is the recommended version. It is located as usual in Drivers/STM32F1xx_HAL_Driver/Src and Drivers/STM32f1xx_HAL_Driver/Inc folders. It can be enabled through switch HAL_CAN_MODULE_ENABLED in stm32f1xx_hal_conf.h
                                                        • +
                                                        • The legacy HAL CAN driver is also present in the release in Drivers/STM32F1xx_HAL_Driver/Src/Legacy and Drivers/STM32F1xx_HAL_Driver/Inc/Legacy folders for software compatibility reasons. Its usage is not recommended as deprecated. It can however be enabled through switch HAL_CAN_LEGACY_MODULE_ENABLED in stm32f1xx_hal_conf.h
                                                        • +
                                                      • +
                                                    • HAL
                                                        -
                                                      • stm32f1xx_hal_conf_template.h fix typo: update to refer to stm32f1xx_hal_mmc.h instead of stm32f4xx_hal_mmc.h
                                                      • -
                                                      • stm32f1xx_hal_mmc.c add missing () to fix compilation warning detected with SW4STM32 when extra feature is enabled.
                                                      • -
                                                      • stm32f1xx_ll_system.h: fix typo in LL_DBGMCU_APB1_GRP1_I2C1_STOP and LL_DBGMCU_APB1_GRP1_I2C2_STOP literals definition
                                                      • +
                                                      • stm32f1xx_hal_conf_template.h: Add switch HAL_CAN_LEGACY_MODULE_ENABLED
                                                      • +
                                                      • HAL CAN driver has been redesigned with new APIs.
                                                      • +
                                                    • +
                                                    • CMSIS +
                                                        +
                                                      • Fix known defects and several implementation enhancement
                                                    • Projects
                                                        -
                                                      • General updates to be compliant with Linux platforms
                                                      • +
                                                      • Update CAN examples to support new HAL CAN driver.
                                                      • +
                                                      • Update stm32f1xx_hal_conf.h by adding switch HAL_CAN_LEGACY_MODULE_ENABLED.
                                                    • -
                                                    • For the complete list of changes, please refer to the release notes of each firmware component

                                                    • +
                                                    • For the complete list of changes, please refer to the release notes of each firmware component
                                                    -

                                                    Contents

                                                    +

                                                    Contents

                                                    -

                                                    Known Limitations

                                                    +

                                                    Known Limitations

                                                    • SW4STM32 projects aren’t provided for STM32VL-Discovery board because it embeds STLinv1 version that is not hardware supported by SW4STM32 toolchain.
                                                    @@ -1664,7 +1520,7 @@
                                                  • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.5.2
                                                  • System Workbench for STM32 (SW4STM32) toolchain V1.13
                                                  -

                                                  Supported Devices and EVAL boards

                                                  +

                                                  Supported Devices and EVAL boards

                                                  • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet Lines
                                                  • STM3210E-Eval board RevD
                                                  • @@ -1672,104 +1528,59 @@
                                                  • STM32VL-Discovery board RevC
                                                  • STM32F1xx-Nucleo board RevC
                                                  -

                                                  Backward Compatibility

                                                  +

                                                  Backward Compatibility

                                                  • None
                                                  -

                                                  Dependencies

                                                  +

                                                  Dependencies

                                                  • None
                                                  - + +
                                                  +

                                                  Maintenance release

                                                  +

                                                  Main Changes

                                                  +
                                                    +
                                                  • Patch release to fix issues in GPIO, RCC, SMARTCARD, I2C and Generic HAL/LL drivers
                                                  • +
                                                  +

                                                  Contents

                                                  + + + + + + + + + + + + + + + +
                                                  NameVersionRelease note
                                                  STM32F1xx HALV1.1.2release notes
                                                  +
                                                  +
                                                  +
                                                  +

                                                  Maintenance release

                                                  Main Changes

                                                    -
                                                  • Add Low Layer drivers under Drivers32F1xx_HAL_Driver -
                                                      -
                                                    • Low Layer drivers allow performance and memory footprint optimization
                                                    • -
                                                    • Low Layer drivers APIs provide register level programming: they require deep knowledge of peripherals described in STM32F1xx Reference Manuals
                                                    • -
                                                    • Low Layer drivers are available for: ADC, Cortex, CRC, DAC, DMA, EXTI, GPIO, I2C, IWDG, PWR, RCC, RNG, RTC, SPI, TIM, USART, WWDG peripherals and additional Low Level Bus, System and Utilities APIs.
                                                    • -
                                                    • Low Layer drivers APIs are implemented as static in-line function in new Inc/stm32f1xx_ll_ppp.h files for PPP peripherals, there is no configuration file and each stm32f1xx_ll_ppp.h file must be included in user code.
                                                    • -
                                                    • Refer to [UM1847] (http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00151047.pdf) for Low Layer presentation and [UM1850] (http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00154093.pdf) for API list
                                                    • -
                                                  • General update to fix known defects and several implementations enhancement

                                                  • HAL
                                                      -
                                                    • Add Low Layer drivers under Drivers32F1xx_HAL_Driver
                                                    • -
                                                    • Add new MMC HAL driver
                                                    • -
                                                    • The following changes done on the HAL drivers require an update on the application code based on older HAL versions -
                                                        -
                                                      • HAL UART, USART, IRDA, SMARTCARD, SPI, I2C,FMPI2C, QSPI (referenced as PPP here below) drivers -
                                                          -
                                                        • Add PPP error management during DMA process. This requires the following updates on user application: -
                                                            -
                                                          • Configure and enable the PPP IRQ in HAL_PPP_MspInit() function
                                                          • -
                                                          • In stm32f1xx_it.c file, PPP_IRQHandler() function: add a call to HAL_PPP_IRQHandler() function
                                                          • -
                                                          • Add customize the Error Callback API: HAL_PPP_ErrorCallback()
                                                          • -
                                                        • -
                                                      • -
                                                      • HAL SD driver: -
                                                          -
                                                        • Overall rework of the driver for a more efficient implementation -
                                                            -
                                                          • Modify initialization API and structures
                                                          • -
                                                          • Modify Read / Write sequences: separate transfer process and SD Cards state management
                                                          • -
                                                          • Adding interrupt mode for Read / Write operations
                                                          • -
                                                          • Update the HAL_SD_IRQHandler function by optimizing the management of interrupt errors
                                                          • -
                                                        • -
                                                        • Refer to the following example to identify the changes: BSP example and USB_Device/MSC_Standalone application
                                                        • -
                                                      • -
                                                      • HAL NAND driver: -
                                                          -
                                                        • Modify NAND_AddressTypeDef, NAND_DeviceConfigTypeDef and NAND_HandleTypeDef structures fields
                                                        • -
                                                        • Add new HAL_NAND_ConfigDevice API
                                                        • -
                                                      • -
                                                      • HAL CEC driver: Overall driver rework with compatibility break versus previous HAL version -
                                                          -
                                                        • Remove HAL CEC polling Process functions: HAL_CEC_Transmit() and HAL_CEC_Receive()
                                                        • -
                                                        • Remove HAL CEC receive interrupt process function HAL_CEC_Receive_IT() and enable the “receive†mode during the Init phase
                                                        • -
                                                        • Rename HAL_CEC_GetReceivedFrameSize() funtion to HAL_CEC_GetLastReceivedFrameSize()
                                                        • -
                                                        • Add new HAL APIs: HAL_CEC_SetDeviceAddress() and HAL_CEC_ChangeRxBuffer()
                                                        • -
                                                        • Remove the ‘InitiatorAddress’ field from the CEC_InitTypeDef structure and manage it as a parameter in the HAL_CEC_Transmit_IT() function
                                                        • -
                                                        • Add new parameter ‘RxFrameSize’ in HAL_CEC_RxCpltCallback() function
                                                        • -
                                                        • Move CEC Rx buffer pointer from CEC_HandleTypeDef structure to CEC_InitTypeDef structure
                                                        • -
                                                      • -
                                                      • HAL IWDG driver: rework overall driver for better implementation -
                                                          -
                                                        • Remove HAL_IWDG_Start(), HAL_IWDG_MspInit() and HAL_IWDG_GetState() APIs
                                                        • -
                                                      • -
                                                      • HAL WWDG driver: rework overall driver for better implementation?Remove HAL_WWDG_Start(), HAL_WWDG_Start_IT(), HAL_WWDG_MspDeInit() and HAL_WWDG_GetState() APIs -
                                                          -
                                                        • Update the HAL_WWDG_Refresh(WWDG_HandleTypeDef *hwwdg, uint32_t counter) function and API by removing the “counter†parameter
                                                        • -
                                                      • -
                                                    • -
                                                  • -
                                                  • CMSIS -
                                                      -
                                                    • Fix known defects and several implementation enhancement
                                                    • -
                                                    • General update to support Low layer drivers (LL)
                                                    • -
                                                  • -
                                                  • Middleware -
                                                      -
                                                    • Update STemWin Library V5.32 with a new build with EWARM V7.80
                                                    • -
                                                    • Upgrade to use new version of LwIP V2.0.0 -
                                                        -
                                                      • Note: Applications based on previous version LwIP V1.4.1 require update to cope with the upgrade to the currently used V2.0.0. For details please refer to its Release Note and to the updated LwIP applications provided by this firmware package.
                                                      • -
                                                    • -
                                                    • Update to new version of FreeRTOS V9.0.0
                                                    • -
                                                    • Update FatFS to implement changes on sd_diskio.c file to be aligned with HAL SD driver and BSP drivers API changes.
                                                    • +
                                                    • stm32f1xx_hal_conf_template.h fix typo: update to refer to stm32f1xx_hal_mmc.h instead of stm32f4xx_hal_mmc.h
                                                    • +
                                                    • stm32f1xx_hal_mmc.c add missing () to fix compilation warning detected with SW4STM32 when extra feature is enabled.
                                                    • +
                                                    • stm32f1xx_ll_system.h: fix typo in LL_DBGMCU_APB1_GRP1_I2C1_STOP and LL_DBGMCU_APB1_GRP1_I2C2_STOP literals definition
                                                  • Projects
                                                      -
                                                    • General updates to fix known defects and enhancements implementation
                                                    • -
                                                    • Add Low Layer examples and MIX examples on the STM32F103RB-Nucleo, STM32F10E-EVAL boards
                                                    • -
                                                    • Update overall projects to be aligned with latest version of HAL, BSP and Middleware drivers
                                                    • -
                                                    • Add HAL_TimeBase RTC examples on all the supported boards
                                                    • -
                                                    • Add I2C_TwoBoards_RestartAdvComIT and I2C_TwoBoards_RestartComIT Examples
                                                    • +
                                                    • General updates to be compliant with Linux platforms
                                                  • For the complete list of changes, please refer to the release notes of each firmware component

                                                  @@ -1817,123 +1628,103 @@ Name Version -Licence Release note -Cortex-M CMSIS +CMSIS V4.5.0 -BSD-3-Clause release notes -STM32F1xx CMSIS +STM32F1xx CMSIS V4.2.0 -BSD-3-Clause release notes STM32F1xx HAL -V1.1.0 -BSD-3-Clause +V1.1.1 release notes -BSP STM3210E_EVAL +BSP STM3210E_EVAL V7.0.0 -BSD-3-Clause release notes -BSP STM3210C_EVAL +BSP STM3210C_EVAL V6.1.0 -BSD-3-Clause release notes -BSP STM32VL-Discovery +BSP STM32VL-Discovery V1.0.1 -BSD-3-Clause release notes BSP STM32F1xx_Nucleo V1.0.3 -BSD-3-Clause release notes BSP Components Common V4.0.1 -BSD-3-Clause release notes BSP Components stmpe811 V2.0.0 -BSD-3-Clause release notes BSP Components spfd5408 V1.1.1 -BSD-3-Clause release notes BSP Components hx8347d V1.1.1 -BSD-3-Clause release notes BSP Components ili9320 V1.2.2 -BSD-3-Clause release notes BSP Components stlm75 V1.0.1 -BSD-3-Clause release notes BSP Components ili9325 V1.2.3 -BSD-3-Clause release notes BSP Components cs43l22 V2.0.2 -BSD-3-Clause release notes BSP Components ak4343 V2.0.0 -BSD-3-Clause release notes BSP Components lis302dl V2.0.0 -BSD-3-Clause release notes BSP Components st7735 V2.0.0 -BSD-3-Clause release notes -BSP Adafruit_Shield +BSP Adafruit_Shield V3.0.0 -BSD-3-Clause release notes @@ -1944,45 +1735,38 @@ Name Version -Licence Release note -STemWin +STemWin V5.32 -SLA0044 release notes STM32 USB Device Library V2.4.2 -SLA0044 release notes STM32 USB Host Library V3.3.2 -SLA0044 release notes FatFS R0.11 -BSD-3-Clause release notes ST modified 20170214 release notes -FreeRTOS +FreeRTOS V9.0.0 -MIT release notes ST modified 20170303 release notes -LwIP +LwIP V2.0.0 -BSD-3-Clause release notes ST modified 20161223 release notes @@ -1993,7 +1777,6 @@ Name Version -License Release note @@ -2001,27 +1784,24 @@ CPU V1.1.0 -BSD-3-Clause release notes Fonts V1.0.0 -BSD-3-Clause release notes Log V1.0.1 -BSD-3-Clause release notes
                                                -

                                                Known Limitations

                                                +

                                                Known Limitations

                                                  -
                                                • None
                                                • +
                                                • SW4STM32 projects aren’t provided for STM32VL-Discovery board because it embeds STLinv1 version that is not hardware supported by SW4STM32 toolchain.

                                                Development Toolchains and Compilers

                                                  @@ -2030,7 +1810,7 @@
                                                • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.5.2
                                                • System Workbench for STM32 (SW4STM32) toolchain V1.13
                                                -

                                                Supported Devices and EVAL boards

                                                +

                                                Supported Devices and EVAL boards

                                                • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet Lines
                                                • STM3210E-Eval board RevD
                                                • @@ -2038,85 +1818,106 @@
                                                • STM32VL-Discovery board RevC
                                                • STM32F1xx-Nucleo board RevC
                                                -

                                                Backward Compatibility

                                                +

                                                Backward Compatibility

                                                • None
                                                -

                                                Dependencies

                                                +

                                                Dependencies

                                                • None
                                                - +

                                                Maintenance release

                                                Main Changes

                                                  -
                                                • Maintenance release to fix known defects and several enhancements implementation.

                                                • +
                                                • Add Low Layer drivers under Drivers32F1xx_HAL_Driver +
                                                    +
                                                  • Low Layer drivers allow performance and memory footprint optimization
                                                  • +
                                                  • Low Layer drivers APIs provide register level programming: they require deep knowledge of peripherals described in STM32F1xx Reference Manuals
                                                  • +
                                                  • Low Layer drivers are available for: ADC, Cortex, CRC, DAC, DMA, EXTI, GPIO, I2C, IWDG, PWR, RCC, RNG, RTC, SPI, TIM, USART, WWDG peripherals and additional Low Level Bus, System and Utilities APIs.
                                                  • +
                                                  • Low Layer drivers APIs are implemented as static in-line function in new Inc/stm32f1xx_ll_ppp.h files for PPP peripherals, there is no configuration file and each stm32f1xx_ll_ppp.h file must be included in user code.
                                                  • +
                                                  • Refer to [UM1847] (http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00151047.pdf) for Low Layer presentation and [UM1850] (http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00154093.pdf) for API list
                                                  • +
                                                • +
                                                • General update to fix known defects and several implementations enhancement

                                                • HAL
                                                    -
                                                  • HAL RCC +
                                                  • Add Low Layer drivers under Drivers32F1xx_HAL_Driver
                                                  • +
                                                  • Add new MMC HAL driver
                                                  • +
                                                  • The following changes done on the HAL drivers require an update on the application code based on older HAL versions
                                                      -
                                                    • Add suffix U for defines equals to 0xFFFFFFFF (fix MISRA error 10.6)
                                                    • -
                                                    • Optimization of HAL_RCC_ClockConfig().
                                                    • -
                                                    • Replace aAPBAHBPrescTable by APBPrescTable and AHBPrescTable defined inside system_stm32f1xx.c.
                                                    • -
                                                    • When using HAL_RCC_OscConfig to activate LSE, if LSE is already ON, it remains in its state ON. Previously, it was turned OFF then ON in all cases.
                                                    • -
                                                    • The backup domain is no more reset when changing the RTC clock source from reset value.
                                                    • -
                                                    • Correct strange behavior in HAL_RCCEx_PeriphCLKConfig.
                                                    • +
                                                    • HAL UART, USART, IRDA, SMARTCARD, SPI, I2C,FMPI2C, QSPI (referenced as PPP here below) drivers +
                                                        +
                                                      • Add PPP error management during DMA process. This requires the following updates on user application: +
                                                          +
                                                        • Configure and enable the PPP IRQ in HAL_PPP_MspInit() function
                                                        • +
                                                        • In stm32f1xx_it.c file, PPP_IRQHandler() function: add a call to HAL_PPP_IRQHandler() function
                                                        • +
                                                        • Add customize the Error Callback API: HAL_PPP_ErrorCallback()
                                                      • -
                                                      • HAL UART -
                                                          -
                                                        • Correct the macro UART_BRR_SAMPLING16
                                                      • -
                                                      • HAL SMARTCARD +
                                                      • HAL SD driver:
                                                          -
                                                        • Correct the macro SMARTCARD_BRR
                                                        • +
                                                        • Overall rework of the driver for a more efficient implementation +
                                                            +
                                                          • Modify initialization API and structures
                                                          • +
                                                          • Modify Read / Write sequences: separate transfer process and SD Cards state management
                                                          • +
                                                          • Adding interrupt mode for Read / Write operations
                                                          • +
                                                          • Update the HAL_SD_IRQHandler function by optimizing the management of interrupt errors
                                                        • -
                                                        • HAL IRDA -
                                                            -
                                                          • Correct the macro IRDA_BRR
                                                          • -
                                                          • EIE bit is no more activated in transmit (this bit only triggers errors in reception)
                                                          • -
                                                          • EIE bit is reset at the end of the reception.
                                                          • +
                                                          • Refer to the following example to identify the changes: BSP example and USB_Device/MSC_Standalone application
                                                        • -
                                                        • HAL DMA +
                                                        • HAL NAND driver:
                                                            -
                                                          • Add macro __HAL_DMA_GET_COUNTER to get the number of remaining data units in the current channel.
                                                          • -
                                                          • HAL FSMC
                                                          • -
                                                          • Adapt FSMC_NAND_Init behavior to the others STM32 series by reseting the bit FSMC_PCRx_PBKEN.
                                                          • +
                                                          • Modify NAND_AddressTypeDef, NAND_DeviceConfigTypeDef and NAND_HandleTypeDef structures fields
                                                          • +
                                                          • Add new HAL_NAND_ConfigDevice API
                                                          • +
                                                        • +
                                                        • HAL CEC driver: Overall driver rework with compatibility break versus previous HAL version +
                                                            +
                                                          • Remove HAL CEC polling Process functions: HAL_CEC_Transmit() and HAL_CEC_Receive()
                                                          • +
                                                          • Remove HAL CEC receive interrupt process function HAL_CEC_Receive_IT() and enable the “receive†mode during the Init phase
                                                          • +
                                                          • Rename HAL_CEC_GetReceivedFrameSize() function to HAL_CEC_GetLastReceivedFrameSize()
                                                          • +
                                                          • Add new HAL APIs: HAL_CEC_SetDeviceAddress() and HAL_CEC_ChangeRxBuffer()
                                                          • +
                                                          • Remove the ‘InitiatorAddress’ field from the CEC_InitTypeDef structure and manage it as a parameter in the HAL_CEC_Transmit_IT() function
                                                          • +
                                                          • Add new parameter ‘RxFrameSize’ in HAL_CEC_RxCpltCallback() function
                                                          • +
                                                          • Move CEC Rx buffer pointer from CEC_HandleTypeDef structure to CEC_InitTypeDef structure
                                                          • +
                                                        • +
                                                        • HAL IWDG driver: rework overall driver for better implementation +
                                                            +
                                                          • Remove HAL_IWDG_Start(), HAL_IWDG_MspInit() and HAL_IWDG_GetState() APIs
                                                          • +
                                                        • +
                                                        • HAL WWDG driver: rework overall driver for better implementation?Remove HAL_WWDG_Start(), HAL_WWDG_Start_IT(), HAL_WWDG_MspDeInit() and HAL_WWDG_GetState() APIs +
                                                            +
                                                          • Update the HAL_WWDG_Refresh(WWDG_HandleTypeDef *hwwdg, uint32_t counter) function and API by removing the “counter†parameter
                                                          • +
                                                    • CMSIS
                                                        -
                                                      • Add _Pos and _Msk defines to be used with _VAL2FLD(field, value) and _FLD2VAL(field, value).
                                                      • -
                                                      • The previous naming are kept for backward compatibility.
                                                      • -
                                                      • Add APBPrescTable constant to list APB prescalers values.
                                                      • +
                                                      • Fix known defects and several implementation enhancement
                                                      • +
                                                      • General update to support Low layer drivers (LL)
                                                    • -
                                                    • BSP +
                                                    • Middleware
                                                        -
                                                      • STM32F1xx_Nucleo +
                                                      • Update STemWin Library V5.32 with a new build with EWARM V7.80
                                                      • +
                                                      • Upgrade to use new version of LwIP V2.0.0
                                                          -
                                                        • Add support for 4 Gb sd cards.
                                                        • +
                                                        • Note: Applications based on previous version LwIP V1.4.1 require update to cope with the upgrade to the currently used V2.0.0. For details please refer to its Release Note and to the updated LwIP applications provided by this firmware package.
                                                      • -
                                                      • STM3210E_EVAL +
                                                      • Update to new version of FreeRTOS V9.0.0
                                                      • +
                                                      • Update FatFS to implement changes on sd_diskio.c file to be aligned with HAL SD driver and BSP drivers API changes.
                                                      • +
                                                    • +
                                                    • Projects
                                                        -
                                                      • Set the NVIC priority to the lowest possible to not interfere with user settings.
                                                      • -
                                                    • -
                                                    • STM3210C_EVAL -
                                                        -
                                                      • Set the NVIC priority to the lowest possible to not interfere with user settings.
                                                      • -
                                                    • -
                                                  • -
                                                  • Middlewares -
                                                      -
                                                    • Update to FreeRTOS V8.2.3.
                                                    • -
                                                    • Update to STM32 USB Device Library V2.4.2
                                                    • -
                                                  • -
                                                  • Others -
                                                      -
                                                    • Add latest version of STM32CubeUpdater (V4.10.0).
                                                    • +
                                                    • General updates to fix known defects and enhancements implementation
                                                    • +
                                                    • Add Low Layer examples and MIX examples on the STM32F103RB-Nucleo, STM32F10E-EVAL boards
                                                    • +
                                                    • Update overall projects to be aligned with latest version of HAL, BSP and Middleware drivers
                                                    • +
                                                    • Add HAL_TimeBase RTC examples on all the supported boards
                                                    • +
                                                    • Add I2C_TwoBoards_RestartAdvComIT and I2C_TwoBoards_RestartComIT Examples
                                                  • +
                                                  • For the complete list of changes, please refer to the release notes of each firmware component

                                                  Contents

                                                  -

                                                  Known Limitations

                                                  +

                                                  Known Limitations

                                                  • None

                                                  Development Toolchains and Compilers

                                                    -
                                                  • IAR Embedded Workbench for ARM (EWARM) toolchain V7.20 + ST-LINK
                                                  • -
                                                  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.17 + ST-LINK
                                                  • -
                                                  • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.1.1 + ST-LINK
                                                  • -
                                                  • System Workbench for STM32 (SW4STM32) toolchain V1.5.0 + ST-LINK
                                                  • +
                                                  • IAR Embedded Workbench for ARM (EWARM) toolchain V7.80.4
                                                  • +
                                                  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.23
                                                  • +
                                                  • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.5.2
                                                  • +
                                                  • System Workbench for STM32 (SW4STM32) toolchain V1.13
                                                  -

                                                  Supported Devices and EVAL boards

                                                  +

                                                  Supported Devices and EVAL boards

                                                  • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet Lines
                                                  • STM3210E-Eval board RevD
                                                  • @@ -2382,113 +2153,87 @@
                                                  • STM32VL-Discovery board RevC
                                                  • STM32F1xx-Nucleo board RevC
                                                  -

                                                  Backward Compatibility

                                                  +

                                                  Backward Compatibility

                                                  • None
                                                  -

                                                  Dependencies

                                                  +

                                                  Dependencies

                                                  • None
                                                - +

                                                Maintenance release

                                                Main Changes

                                                  -
                                                • Patch release to fix issue in HAL driver: -
                                                    -
                                                  • Remove the #if defined(USE_HAL_LEGACY) condition to include Legacy/stm32_hal_legacy.h by default, in stm32f1xx_hal_def.h.
                                                  • -
                                                • -
                                                -

                                                Contents

                                                - - - - - - - - - - - - - - - - - -
                                                NameVersionLicenceRelease note
                                                STM32F1xx HALV1.0.3BSD-3-Clauserelease notes
                                                -

                                                Known Limitations

                                                -
                                                  -
                                                • None
                                                • -
                                                -

                                                Development Toolchains and Compilers

                                                -
                                                  -
                                                • IAR Embedded Workbench for ARM (EWARM) toolchain V7.20 + ST-LINK
                                                • -
                                                • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.17 + ST-LINK
                                                • -
                                                • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.1.1 + ST-LINK
                                                • -
                                                • System Workbench for STM32 (SW4STM32) toolchain V1.5.0 + ST-LINK
                                                • -
                                                -

                                                Supported Devices and EVAL boards

                                                -
                                                  -
                                                • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet lines
                                                • -
                                                • STM3210E-Eval board RevD
                                                • -
                                                • STM3210C-Eval board RevC
                                                • -
                                                • STM32VL-Discovery board RevC
                                                • -
                                                • STM32F1xx-Nucleo board RevC
                                                • -
                                                -

                                                Backward Compatibility

                                                -
                                                  -
                                                • None
                                                • -
                                                -

                                                Dependencies

                                                -
                                                  -
                                                • None
                                                • -
                                                -
                                                -
                                                -
                                                - -
                                                -

                                                Maintenance release

                                                -

                                                Main Changes

                                                -
                                                • Maintenance release to fix known defects and several enhancements implementation.

                                                • HAL
                                                    -
                                                  • Insure that do {} while(0) are used in in multi statement macros. (hal eth and pcd)
                                                  • -
                                                  • Manage simultaneous errors in IRQHandler. (hal uart, smartcard, usart and uart)
                                                  • -
                                                  • To ensure the full compatibility of the GPIO interfaces across all the STM32 families, the gpio speed definition have been renamed:
                                                  • -
                                                  • GPIO_SPEED_LOW to GPIO_SPEED_FREQ_LOW
                                                  • -
                                                  • GPIO_SPEED_MEDIUM to GPIO_SPEED_FREQ_MEDIUM
                                                  • -
                                                  • GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH
                                                  • -
                                                  • aliases are created to keep backward compatibility
                                                  • -
                                                  • Reduce the default timeout value for the startup of the HSE form 5s to 100ms.
                                                  • -
                                                  • Update HAL weak empty callbacks to prevent unused argument compilation warnings with some compilers.
                                                  • +
                                                  • HAL RCC +
                                                      +
                                                    • Add suffix U for defines equals to 0xFFFFFFFF (fix MISRA error 10.6)
                                                    • +
                                                    • Optimization of HAL_RCC_ClockConfig().
                                                    • +
                                                    • Replace aAPBAHBPrescTable by APBPrescTable and AHBPrescTable defined inside system_stm32f1xx.c.
                                                    • +
                                                    • When using HAL_RCC_OscConfig to activate LSE, if LSE is already ON, it remains in its state ON. Previously, it was turned OFF then ON in all cases.
                                                    • +
                                                    • The backup domain is no more reset when changing the RTC clock source from reset value.
                                                    • +
                                                    • Correct strange behavior in HAL_RCCEx_PeriphCLKConfig.
                                                    • +
                                                  • +
                                                  • HAL UART +
                                                      +
                                                    • Correct the macro UART_BRR_SAMPLING16
                                                    • +
                                                  • +
                                                  • HAL SMARTCARD +
                                                      +
                                                    • Correct the macro SMARTCARD_BRR
                                                    • +
                                                  • +
                                                  • HAL IRDA +
                                                      +
                                                    • Correct the macro IRDA_BRR
                                                    • +
                                                    • EIE bit is no more activated in transmit (this bit only triggers errors in reception)
                                                    • +
                                                    • EIE bit is reset at the end of the reception.
                                                    • +
                                                  • +
                                                  • HAL DMA +
                                                      +
                                                    • Add macro __HAL_DMA_GET_COUNTER to get the number of remaining data units in the current channel.
                                                    • +
                                                    • HAL FSMC
                                                    • +
                                                    • Adapt FSMC_NAND_Init behavior to the others STM32 series by resetting the bit FSMC_PCRx_PBKEN.
                                                    • +
                                                • CMSIS
                                                    -
                                                  • Align bit name across all STM32 families (EXTI, WWDG) and keeping backward compatibility with aliases.
                                                  • +
                                                  • Add _Pos and _Msk defines to be used with _VAL2FLD(field, value) and _FLD2VAL(field, value).
                                                  • +
                                                  • The previous naming are kept for backward compatibility.
                                                  • +
                                                  • Add APBPrescTable constant to list APB prescalers values.
                                                  • +
                                                • +
                                                • BSP +
                                                    +
                                                  • STM32F1xx_Nucleo +
                                                      +
                                                    • Add support for 4 Gb sd cards.
                                                    • +
                                                  • +
                                                  • STM3210E_EVAL +
                                                      +
                                                    • Set the NVIC priority to the lowest possible to not interfere with user settings.
                                                    • +
                                                  • +
                                                  • STM3210C_EVAL +
                                                      +
                                                    • Set the NVIC priority to the lowest possible to not interfere with user settings.
                                                    • +
                                                • Middlewares
                                                    -
                                                  • Update to CMSIS V4.5.
                                                  • -
                                                • -
                                                • Projects -
                                                    -
                                                  • Update all Keil project from Keil V4 to Keil V5.
                                                  • -
                                                  • Update all SW4STM32 projects to version 1.5.0.
                                                  • +
                                                  • Update to FreeRTOS V8.2.3.
                                                  • +
                                                  • Update to STM32 USB Device Library V2.4.2
                                                • Others
                                                  • Add latest version of STM32CubeUpdater (V4.10.0).
                                                -

                                                Contents

                                                +

                                                Contents

                                                +

                                                Known Limitations

                                                +
                                                  +
                                                • None
                                                • +
                                                +

                                                Development Toolchains and Compilers

                                                +
                                                  +
                                                • IAR Embedded Workbench for ARM (EWARM) toolchain V7.20 + ST-LINK
                                                • +
                                                • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.17 + ST-LINK
                                                • +
                                                • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.1.1 + ST-LINK
                                                • +
                                                • System Workbench for STM32 (SW4STM32) toolchain V1.5.0 + ST-LINK
                                                • +
                                                +

                                                Supported Devices and EVAL boards

                                                +
                                                  +
                                                • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet Lines
                                                • +
                                                • STM3210E-Eval board RevD
                                                • +
                                                • STM3210C-Eval board RevC
                                                • +
                                                • STM32VL-Discovery board RevC
                                                • +
                                                • STM32F1xx-Nucleo board RevC
                                                • +
                                                +

                                                Backward Compatibility

                                                +
                                                  +
                                                • None
                                                • +
                                                +

                                                Dependencies

                                                +
                                                  +
                                                • None
                                                • +
                                                +
                                                +
                                                +
                                                + +
                                                +

                                                Maintenance release

                                                +

                                                Main Changes

                                                +
                                                  +
                                                • Patch release to fix issue in HAL driver: +
                                                    +
                                                  • Remove the #if defined(USE_HAL_LEGACY) condition to include Legacy/stm32_hal_legacy.h by default, in stm32f1xx_hal_def.h.
                                                  • +
                                                • +
                                                +

                                                Contents

                                                + + + + + + + + + + + + + + + +
                                                NameVersionRelease note
                                                STM32F1xx HALV1.0.3release notes
                                                +

                                                Known Limitations

                                                +
                                                  +
                                                • None
                                                • +
                                                +

                                                Development Toolchains and Compilers

                                                +
                                                  +
                                                • IAR Embedded Workbench for ARM (EWARM) toolchain V7.20 + ST-LINK
                                                • +
                                                • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.17 + ST-LINK
                                                • +
                                                • Atollic TrueSTUDIO STM32 (TrueSTUDIO) toolchain V5.1.1 + ST-LINK
                                                • +
                                                • System Workbench for STM32 (SW4STM32) toolchain V1.5.0 + ST-LINK
                                                • +
                                                +

                                                Supported Devices and EVAL boards

                                                +
                                                  +
                                                • STM32F1xx Value, Access, USB, Performance, OTG & Ethernet lines
                                                • +
                                                • STM3210E-Eval board RevD
                                                • +
                                                • STM3210C-Eval board RevC
                                                • +
                                                • STM32VL-Discovery board RevC
                                                • +
                                                • STM32F1xx-Nucleo board RevC
                                                • +
                                                +

                                                Backward Compatibility

                                                +
                                                  +
                                                • None
                                                • +
                                                +

                                                Dependencies

                                                +
                                                  +
                                                • None
                                                • +
                                                +
                                                +
                                                +
                                                + +
                                                +

                                                Maintenance release

                                                +

                                                Main Changes

                                                +
                                                  +
                                                • Maintenance release to fix known defects and several enhancements implementation.

                                                • +
                                                • HAL +
                                                    +
                                                  • Insure that do {} while(0) are used in in multi statement macros. (hal eth and pcd)
                                                  • +
                                                  • Manage simultaneous errors in IRQHandler. (hal uart, smartcard, usart and uart)
                                                  • +
                                                  • To ensure the full compatibility of the GPIO interfaces across all the STM32 families, the gpio speed definition have been renamed:
                                                  • +
                                                  • GPIO_SPEED_LOW to GPIO_SPEED_FREQ_LOW
                                                  • +
                                                  • GPIO_SPEED_MEDIUM to GPIO_SPEED_FREQ_MEDIUM
                                                  • +
                                                  • GPIO_SPEED_HIGH to GPIO_SPEED_FREQ_HIGH
                                                  • +
                                                  • aliases are created to keep backward compatibility
                                                  • +
                                                  • Reduce the default timeout value for the startup of the HSE form 5s to 100ms.
                                                  • +
                                                  • Update HAL weak empty callbacks to prevent unused argument compilation warnings with some compilers.
                                                  • +
                                                • +
                                                • CMSIS +
                                                    +
                                                  • Align bit name across all STM32 families (EXTI, WWDG) and keeping backward compatibility with aliases.
                                                  • +
                                                • +
                                                • Middlewares +
                                                    +
                                                  • Update to CMSIS V4.5.
                                                  • +
                                                • +
                                                • Projects +
                                                    +
                                                  • Update all Keil project from Keil V4 to Keil V5.
                                                  • +
                                                  • Update all SW4STM32 projects to version 1.5.0.
                                                  • +
                                                • +
                                                • Others +
                                                    +
                                                  • Add latest version of STM32CubeUpdater (V4.10.0).
                                                  • +
                                                • +
                                                +

                                                Contents

                                                +