From 018b69cdc8e6106e765ff95f60868f124f3ac2b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Thu, 2 Nov 2017 14:52:56 +0100 Subject: [PATCH] added all stuff --- .cproject | 189 + .gitignore | 5 + .idea/misc.xml | 4 + .idea/modules.xml | 8 + .idea/proj.iml | 2 + .idea/workspace.xml | 217 + .mxproject | 14 + .project | 30 + .settings/language.settings.xml | 27 + .settings/org.eclipse.cdt.codan.core.prefs | 73 + CMakeLists.txt | 93 + .../Device/ST/STM32L0xx/Include/stm32l073xx.h | 7843 +++++++++++++++++ .../Device/ST/STM32L0xx/Include/stm32l0xx.h | 241 + .../ST/STM32L0xx/Include/system_stm32l0xx.h | 125 + Drivers/CMSIS/Include/arm_common_tables.h | 136 + Drivers/CMSIS/Include/arm_const_structs.h | 79 + Drivers/CMSIS/Include/arm_math.h | 7154 +++++++++++++++ Drivers/CMSIS/Include/cmsis_armcc.h | 734 ++ Drivers/CMSIS/Include/cmsis_armcc_V6.h | 1800 ++++ Drivers/CMSIS/Include/cmsis_gcc.h | 1373 +++ Drivers/CMSIS/Include/core_cm0.h | 798 ++ Drivers/CMSIS/Include/core_cm0plus.h | 914 ++ Drivers/CMSIS/Include/core_cm3.h | 1763 ++++ Drivers/CMSIS/Include/core_cm4.h | 1937 ++++ Drivers/CMSIS/Include/core_cm7.h | 2512 ++++++ Drivers/CMSIS/Include/core_cmFunc.h | 87 + Drivers/CMSIS/Include/core_cmInstr.h | 87 + Drivers/CMSIS/Include/core_cmSimd.h | 96 + Drivers/CMSIS/Include/core_sc000.h | 926 ++ Drivers/CMSIS/Include/core_sc300.h | 1745 ++++ .../Inc/Legacy/stm32_hal_legacy.h | 3215 +++++++ .../STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h | 444 + .../Inc/stm32l0xx_hal_cortex.h | 416 + .../Inc/stm32l0xx_hal_def.h | 208 + .../Inc/stm32l0xx_hal_dma.h | 694 ++ .../Inc/stm32l0xx_hal_flash.h | 386 + .../Inc/stm32l0xx_hal_flash_ex.h | 827 ++ .../Inc/stm32l0xx_hal_flash_ramfunc.h | 124 + .../Inc/stm32l0xx_hal_gpio.h | 342 + .../Inc/stm32l0xx_hal_gpio_ex.h | 2282 +++++ .../Inc/stm32l0xx_hal_i2c.h | 708 ++ .../Inc/stm32l0xx_hal_i2c_ex.h | 179 + .../Inc/stm32l0xx_hal_pwr.h | 463 + .../Inc/stm32l0xx_hal_pwr_ex.h | 115 + .../Inc/stm32l0xx_hal_rcc.h | 1754 ++++ .../Inc/stm32l0xx_hal_rcc_ex.h | 2011 +++++ .../Inc/stm32l0xx_hal_rtc.h | 904 ++ .../Inc/stm32l0xx_hal_rtc_ex.h | 1459 +++ .../Inc/stm32l0xx_hal_spi.h | 676 ++ .../Inc/stm32l0xx_hal_tim.h | 1499 ++++ .../Inc/stm32l0xx_hal_tim_ex.h | 285 + .../Inc/stm32l0xx_hal_uart.h | 1468 +++ .../Inc/stm32l0xx_hal_uart_ex.h | 437 + .../STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c | 560 ++ .../Src/stm32l0xx_hal_cortex.c | 396 + .../Src/stm32l0xx_hal_dma.c | 813 ++ .../Src/stm32l0xx_hal_flash.c | 751 ++ .../Src/stm32l0xx_hal_flash_ex.c | 1270 +++ .../Src/stm32l0xx_hal_flash_ramfunc.c | 537 ++ .../Src/stm32l0xx_hal_gpio.c | 545 ++ .../Src/stm32l0xx_hal_i2c.c | 4857 ++++++++++ .../Src/stm32l0xx_hal_i2c_ex.c | 351 + .../Src/stm32l0xx_hal_pwr.c | 708 ++ .../Src/stm32l0xx_hal_pwr_ex.c | 200 + .../Src/stm32l0xx_hal_rcc.c | 1488 ++++ .../Src/stm32l0xx_hal_rcc_ex.c | 1165 +++ .../Src/stm32l0xx_hal_rtc.c | 1529 ++++ .../Src/stm32l0xx_hal_rtc_ex.c | 1962 +++++ .../Src/stm32l0xx_hal_spi.c | 2419 +++++ .../Src/stm32l0xx_hal_tim.c | 5110 +++++++++++ .../Src/stm32l0xx_hal_tim_ex.c | 464 + .../Src/stm32l0xx_hal_uart.c | 2874 ++++++ .../Src/stm32l0xx_hal_uart_ex.c | 520 ++ Inc/gpio.h | 78 + Inc/i2c.h | 81 + Inc/main.h | 94 + Inc/rtc.h | 81 + Inc/spi.h | 81 + Inc/stm32l0xx_hal_conf.h | 311 + Inc/stm32l0xx_it.h | 60 + Inc/usart.h | 83 + NUCLEO-L073RZ.xml | 19 + STM32L073RZTx_FLASH.ld | 169 + Src/gpio.c | 138 + Src/i2c.c | 149 + Src/license.tmp | 30 + Src/main.c | 231 + Src/rtc.c | 114 + Src/spi.c | 142 + Src/stm32l0xx_hal_msp.c | 83 + Src/stm32l0xx_it.c | 99 + Src/system.tmp | 13 + Src/system_stm32l0xx.c | 285 + Src/usart.c | 200 + mx.scratch | 87 + proj Debug.cfg | 28 + proj.ioc | 184 + startup/startup_stm32l073xx.s | 305 + 98 files changed, 83572 insertions(+) create mode 100644 .cproject create mode 100644 .gitignore create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/proj.iml create mode 100644 .idea/workspace.xml create mode 100644 .mxproject create mode 100644 .project create mode 100644 .settings/language.settings.xml create mode 100644 .settings/org.eclipse.cdt.codan.core.prefs create mode 100644 CMakeLists.txt create mode 100644 Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l073xx.h create mode 100644 Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h create mode 100644 Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h create mode 100644 Drivers/CMSIS/Include/arm_common_tables.h create mode 100644 Drivers/CMSIS/Include/arm_const_structs.h create mode 100644 Drivers/CMSIS/Include/arm_math.h create mode 100644 Drivers/CMSIS/Include/cmsis_armcc.h create mode 100644 Drivers/CMSIS/Include/cmsis_armcc_V6.h create mode 100644 Drivers/CMSIS/Include/cmsis_gcc.h create mode 100644 Drivers/CMSIS/Include/core_cm0.h create mode 100644 Drivers/CMSIS/Include/core_cm0plus.h create mode 100644 Drivers/CMSIS/Include/core_cm3.h create mode 100644 Drivers/CMSIS/Include/core_cm4.h create mode 100644 Drivers/CMSIS/Include/core_cm7.h create mode 100644 Drivers/CMSIS/Include/core_cmFunc.h create mode 100644 Drivers/CMSIS/Include/core_cmInstr.h create mode 100644 Drivers/CMSIS/Include/core_cmSimd.h create mode 100644 Drivers/CMSIS/Include/core_sc000.h create mode 100644 Drivers/CMSIS/Include/core_sc300.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_cortex.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ex.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash_ramfunc.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_gpio_ex.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_i2c_ex.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_pwr_ex.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rcc_ex.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rtc.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rtc_ex.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_spi.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_tim_ex.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_uart_ex.h create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ex.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_flash_ramfunc.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c_ex.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_spi.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.c create mode 100644 Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.c create mode 100644 Inc/gpio.h create mode 100644 Inc/i2c.h create mode 100644 Inc/main.h create mode 100644 Inc/rtc.h create mode 100644 Inc/spi.h create mode 100644 Inc/stm32l0xx_hal_conf.h create mode 100644 Inc/stm32l0xx_it.h create mode 100644 Inc/usart.h create mode 100644 NUCLEO-L073RZ.xml create mode 100644 STM32L073RZTx_FLASH.ld create mode 100644 Src/gpio.c create mode 100644 Src/i2c.c create mode 100644 Src/license.tmp create mode 100644 Src/main.c create mode 100644 Src/rtc.c create mode 100644 Src/spi.c create mode 100644 Src/stm32l0xx_hal_msp.c create mode 100644 Src/stm32l0xx_it.c create mode 100644 Src/system.tmp create mode 100644 Src/system_stm32l0xx.c create mode 100644 Src/usart.c create mode 100644 mx.scratch create mode 100644 proj Debug.cfg create mode 100644 proj.ioc create mode 100644 startup/startup_stm32l073xx.s diff --git a/.cproject b/.cproject new file mode 100644 index 0000000..3704ccd --- /dev/null +++ b/.cproject @@ -0,0 +1,189 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b60b97b --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +Debug/ +cmake-* +*.o +*.elf +*.a diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..79b3c94 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..85dd4e5 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/proj.iml b/.idea/proj.iml new file mode 100644 index 0000000..f08604b --- /dev/null +++ b/.idea/proj.iml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..39afa15 --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +