换屏幕驱动芯片,按钮驱动都要连带一起改

This commit is contained in:
2021-10-13 10:16:41 +08:00
parent 0dbc76aad1
commit 3ff28bd9a6
13 changed files with 4280 additions and 3789 deletions
Binary file not shown.
+3489 -3395
View File
File diff suppressed because it is too large Load Diff
+352 -235
View File
@@ -22,8 +22,9 @@ Common symbol size file
key4 0x10 ./my_software/my_code.o key4 0x10 ./my_software/my_code.o
uwTick 0x4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o uwTick 0x4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o
LCD_RAM_Tab 0x17 ./my_software/ht1621.o
pFlash 0x20 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o pFlash 0x20 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o
dis_buff 0xa ./my_software/my_code.o dis_buff 0xa ./Core/Src/main.o
key1 0x10 ./my_software/my_code.o key1 0x10 ./my_software/my_code.o
overload 0x10 ./my_software/my_code.o overload 0x10 ./my_software/my_code.o
key3 0x10 ./my_software/my_code.o key3 0x10 ./my_software/my_code.o
@@ -84,6 +85,7 @@ Discarded input sections
.group 0x0000000000000000 0xc ./Core/Src/main.o .group 0x0000000000000000 0xc ./Core/Src/main.o
.group 0x0000000000000000 0xc ./Core/Src/main.o .group 0x0000000000000000 0xc ./Core/Src/main.o
.group 0x0000000000000000 0xc ./Core/Src/main.o .group 0x0000000000000000 0xc ./Core/Src/main.o
.group 0x0000000000000000 0xc ./Core/Src/main.o
.text 0x0000000000000000 0x0 ./Core/Src/main.o .text 0x0000000000000000 0x0 ./Core/Src/main.o
.data 0x0000000000000000 0x0 ./Core/Src/main.o .data 0x0000000000000000 0x0 ./Core/Src/main.o
.bss 0x0000000000000000 0x0 ./Core/Src/main.o .bss 0x0000000000000000 0x0 ./Core/Src/main.o
@@ -1485,6 +1487,8 @@ Discarded input sections
.bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
.text.HAL_GPIO_DeInit .text.HAL_GPIO_DeInit
0x0000000000000000 0x1a0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o 0x0000000000000000 0x1a0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
.text.HAL_GPIO_ReadPin
0x0000000000000000 0x3a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
.text.HAL_GPIO_TogglePin .text.HAL_GPIO_TogglePin
0x0000000000000000 0x36 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o 0x0000000000000000 0x36 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
.text.HAL_GPIO_LockPin .text.HAL_GPIO_LockPin
@@ -2538,6 +2542,94 @@ Discarded input sections
.debug_macro 0x0000000000000000 0x2b ./my_software/button.o .debug_macro 0x0000000000000000 0x2b ./my_software/button.o
.debug_macro 0x0000000000000000 0xf1 ./my_software/button.o .debug_macro 0x0000000000000000 0xf1 ./my_software/button.o
.debug_macro 0x0000000000000000 0x88 ./my_software/button.o .debug_macro 0x0000000000000000 0x88 ./my_software/button.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/ht1621.o
.text 0x0000000000000000 0x0 ./my_software/ht1621.o
.data 0x0000000000000000 0x0 ./my_software/ht1621.o
.bss 0x0000000000000000 0x0 ./my_software/ht1621.o
.text.WritenDataHT1621
0x0000000000000000 0x182 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0xa7e ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x12d ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x2e ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x22 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x22 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x8e ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x51 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x103 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x6a ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x1df ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x1c ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x22 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0xb5 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x391 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x6e67 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x66 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x34a6 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x174 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x55 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x924 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0xe5 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x1af ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0xb3 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x1a0 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x1ed ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x34 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x43 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x28 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x33d ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0xbc ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0xb0 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x15a ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x22c ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x61 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0xa5 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x4c ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x2b ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0xf1 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x88 ./my_software/ht1621.o
.debug_macro 0x0000000000000000 0x28 ./my_software/ht1621.o
.group 0x0000000000000000 0xc ./my_software/my_code.o
.group 0x0000000000000000 0xc ./my_software/my_code.o
.group 0x0000000000000000 0xc ./my_software/my_code.o .group 0x0000000000000000 0xc ./my_software/my_code.o
.group 0x0000000000000000 0xc ./my_software/my_code.o .group 0x0000000000000000 0xc ./my_software/my_code.o
.group 0x0000000000000000 0xc ./my_software/my_code.o .group 0x0000000000000000 0xc ./my_software/my_code.o
@@ -2580,6 +2672,7 @@ Discarded input sections
.text 0x0000000000000000 0x0 ./my_software/my_code.o .text 0x0000000000000000 0x0 ./my_software/my_code.o
.data 0x0000000000000000 0x0 ./my_software/my_code.o .data 0x0000000000000000 0x0 ./my_software/my_code.o
.bss 0x0000000000000000 0x0 ./my_software/my_code.o .bss 0x0000000000000000 0x0 ./my_software/my_code.o
.text.Read_Ds 0x0000000000000000 0x26 ./my_software/my_code.o
.debug_macro 0x0000000000000000 0xa7e ./my_software/my_code.o .debug_macro 0x0000000000000000 0xa7e ./my_software/my_code.o
.debug_macro 0x0000000000000000 0x12d ./my_software/my_code.o .debug_macro 0x0000000000000000 0x12d ./my_software/my_code.o
.debug_macro 0x0000000000000000 0x2e ./my_software/my_code.o .debug_macro 0x0000000000000000 0x2e ./my_software/my_code.o
@@ -2703,6 +2796,7 @@ LOAD ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o
LOAD ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o LOAD ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o
LOAD ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o LOAD ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o
LOAD ./my_software/button.o LOAD ./my_software/button.o
LOAD ./my_software/ht1621.o
LOAD ./my_software/my_code.o LOAD ./my_software/my_code.o
START GROUP START GROUP
LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a
@@ -2735,7 +2829,7 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id
0x0000000008000000 g_pfnVectors 0x0000000008000000 g_pfnVectors
0x00000000080000c0 . = ALIGN (0x4) 0x00000000080000c0 . = ALIGN (0x4)
.text 0x00000000080000c0 0x2f8c .text 0x00000000080000c0 0x303c
0x00000000080000c0 . = ALIGN (0x4) 0x00000000080000c0 . = ALIGN (0x4)
*(.text) *(.text)
.text 0x00000000080000c0 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o .text 0x00000000080000c0 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o
@@ -2867,140 +2961,143 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id
.text.HAL_GPIO_Init .text.HAL_GPIO_Init
0x0000000008001354 0x2e0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o 0x0000000008001354 0x2e0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
0x0000000008001354 HAL_GPIO_Init 0x0000000008001354 HAL_GPIO_Init
.text.HAL_GPIO_ReadPin
0x0000000008001634 0x3a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
0x0000000008001634 HAL_GPIO_ReadPin
.text.HAL_GPIO_WritePin .text.HAL_GPIO_WritePin
0x000000000800166e 0x3a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o 0x0000000008001634 0x3a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
0x000000000800166e HAL_GPIO_WritePin 0x0000000008001634 HAL_GPIO_WritePin
*fill* 0x000000000800166e 0x2
.text.HAL_RCC_OscConfig .text.HAL_RCC_OscConfig
0x00000000080016a8 0x634 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o 0x0000000008001670 0x634 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o
0x00000000080016a8 HAL_RCC_OscConfig 0x0000000008001670 HAL_RCC_OscConfig
.text.HAL_RCC_ClockConfig .text.HAL_RCC_ClockConfig
0x0000000008001cdc 0x19c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o 0x0000000008001ca4 0x19c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o
0x0000000008001cdc HAL_RCC_ClockConfig 0x0000000008001ca4 HAL_RCC_ClockConfig
.text.HAL_RCC_GetSysClockFreq .text.HAL_RCC_GetSysClockFreq
0x0000000008001e78 0xc8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o 0x0000000008001e40 0xc8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o
0x0000000008001e78 HAL_RCC_GetSysClockFreq 0x0000000008001e40 HAL_RCC_GetSysClockFreq
.text.GEI_BUTTON_CODE .text.GEI_BUTTON_CODE
0x0000000008001f40 0xbc ./my_software/button.o 0x0000000008001f08 0xbc ./my_software/button.o
0x0000000008001f40 GEI_BUTTON_CODE 0x0000000008001f08 GEI_BUTTON_CODE
.text.WriteClockHT1621
0x0000000008001fc4 0x26 ./my_software/ht1621.o
0x0000000008001fc4 WriteClockHT1621
.text.WriteCommandHT1621
0x0000000008001fea 0xee ./my_software/ht1621.o
0x0000000008001fea WriteCommandHT1621
.text.Write1DataHT1621
0x00000000080020d8 0x148 ./my_software/ht1621.o
0x00000000080020d8 Write1DataHT1621
.text.HT1621_num_init
0x0000000008002220 0xfc ./my_software/ht1621.o
0x0000000008002220 HT1621_num_init
.text.HT1621_Init
0x000000000800231c 0x62 ./my_software/ht1621.o
0x000000000800231c HT1621_Init
.text.HT1621_Display
0x000000000800237e 0x4a ./my_software/ht1621.o
0x000000000800237e HT1621_Display
.text.ds_in_or_out .text.ds_in_or_out
0x0000000008001ffc 0x6c ./my_software/my_code.o 0x00000000080023c8 0x6c ./my_software/my_code.o
0x0000000008001ffc ds_in_or_out 0x00000000080023c8 ds_in_or_out
.text.Read_Ds 0x0000000008002068 0x26 ./my_software/my_code.o
0x0000000008002068 Read_Ds
.text.Sand_Byte_to_595
0x000000000800208e 0x142 ./my_software/my_code.o
0x000000000800208e Sand_Byte_to_595
.text.Sand_Byte_to_595_2 .text.Sand_Byte_to_595_2
0x00000000080021d0 0xd4 ./my_software/my_code.o 0x0000000008002434 0xd4 ./my_software/my_code.o
0x00000000080021d0 Sand_Byte_to_595_2 0x0000000008002434 Sand_Byte_to_595_2
.text.display_and_button_loop
0x00000000080022a4 0x1b4 ./my_software/my_code.o
0x00000000080022a4 display_and_button_loop
.text.hc2_sever .text.hc2_sever
0x0000000008002458 0xa4 ./my_software/my_code.o 0x0000000008002508 0xa4 ./my_software/my_code.o
0x0000000008002458 hc2_sever 0x0000000008002508 hc2_sever
.text.moto_server .text.moto_server
0x00000000080024fc 0x1c4 ./my_software/my_code.o 0x00000000080025ac 0x1c4 ./my_software/my_code.o
0x00000000080024fc moto_server 0x00000000080025ac moto_server
.text.my_code 0x00000000080026c0 0x91c ./my_software/my_code.o .text.my_code 0x0000000008002770 0x91c ./my_software/my_code.o
0x00000000080026c0 my_code 0x0000000008002770 my_code
.text.__libc_init_array .text.__libc_init_array
0x0000000008002fdc 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o) 0x000000000800308c 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o)
0x0000000008002fdc __libc_init_array 0x000000000800308c __libc_init_array
.text.memset 0x0000000008003024 0x10 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o) .text.memset 0x00000000080030d4 0x10 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o)
0x0000000008003024 memset 0x00000000080030d4 memset
*(.glue_7) *(.glue_7)
.glue_7 0x0000000008003034 0x0 linker stubs .glue_7 0x00000000080030e4 0x0 linker stubs
*(.glue_7t) *(.glue_7t)
.glue_7t 0x0000000008003034 0x0 linker stubs .glue_7t 0x00000000080030e4 0x0 linker stubs
*(.eh_frame) *(.eh_frame)
.eh_frame 0x0000000008003034 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o .eh_frame 0x00000000080030e4 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o
*(.init) *(.init)
.init 0x0000000008003034 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crti.o .init 0x00000000080030e4 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crti.o
0x0000000008003034 _init 0x00000000080030e4 _init
.init 0x0000000008003038 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtn.o .init 0x00000000080030e8 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtn.o
*(.fini) *(.fini)
.fini 0x0000000008003040 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crti.o .fini 0x00000000080030f0 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crti.o
0x0000000008003040 _fini 0x00000000080030f0 _fini
.fini 0x0000000008003044 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtn.o .fini 0x00000000080030f4 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtn.o
0x000000000800304c . = ALIGN (0x4) 0x00000000080030fc . = ALIGN (0x4)
0x000000000800304c _etext = . 0x00000000080030fc _etext = .
.vfp11_veneer 0x000000000800304c 0x0 .vfp11_veneer 0x00000000080030fc 0x0
.vfp11_veneer 0x000000000800304c 0x0 linker stubs .vfp11_veneer 0x00000000080030fc 0x0 linker stubs
.v4_bx 0x000000000800304c 0x0 .v4_bx 0x00000000080030fc 0x0
.v4_bx 0x000000000800304c 0x0 linker stubs .v4_bx 0x00000000080030fc 0x0 linker stubs
.iplt 0x000000000800304c 0x0 .iplt 0x00000000080030fc 0x0
.iplt 0x000000000800304c 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o .iplt 0x00000000080030fc 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o
.rodata 0x000000000800304c 0x5c .rodata 0x00000000080030fc 0x60
0x000000000800304c . = ALIGN (0x4) 0x00000000080030fc . = ALIGN (0x4)
*(.rodata) *(.rodata)
.rodata 0x000000000800304c 0x20 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .rodata 0x00000000080030fc 0x20 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o
*(.rodata*) *(.rodata*)
.rodata.AHBPrescTable .rodata.AHBPrescTable
0x000000000800306c 0x10 ./Core/Src/system_stm32f0xx.o 0x000000000800311c 0x10 ./Core/Src/system_stm32f0xx.o
0x000000000800306c AHBPrescTable 0x000000000800311c AHBPrescTable
.rodata.d_num_data .rodata.LED_Tab
0x000000000800307c 0xa ./my_software/my_code.o 0x000000000800312c 0x17 ./my_software/ht1621.o
0x000000000800307c d_num_data 0x000000000800312c LED_Tab
*fill* 0x0000000008003086 0x2 *fill* 0x0000000008003143 0x1
.rodata.num_com
0x0000000008003088 0x4 ./my_software/my_code.o
0x0000000008003088 num_com
.rodata.d_com 0x000000000800308c 0x4 ./my_software/my_code.o
0x000000000800308c d_com
.rodata.my_code .rodata.my_code
0x0000000008003090 0x18 ./my_software/my_code.o 0x0000000008003144 0x18 ./my_software/my_code.o
0x00000000080030a8 . = ALIGN (0x4) 0x000000000800315c . = ALIGN (0x4)
.rel.dyn 0x00000000080030a8 0x0 .rel.dyn 0x000000000800315c 0x0
.rel.iplt 0x00000000080030a8 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o .rel.iplt 0x000000000800315c 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o
.ARM.extab 0x00000000080030a8 0x0 .ARM.extab 0x000000000800315c 0x0
0x00000000080030a8 . = ALIGN (0x4) 0x000000000800315c . = ALIGN (0x4)
*(.ARM.extab* .gnu.linkonce.armextab.*) *(.ARM.extab* .gnu.linkonce.armextab.*)
0x00000000080030a8 . = ALIGN (0x4) 0x000000000800315c . = ALIGN (0x4)
.ARM 0x00000000080030a8 0x0 .ARM 0x000000000800315c 0x0
0x00000000080030a8 . = ALIGN (0x4) 0x000000000800315c . = ALIGN (0x4)
0x00000000080030a8 __exidx_start = . 0x000000000800315c __exidx_start = .
*(.ARM.exidx*) *(.ARM.exidx*)
0x00000000080030a8 __exidx_end = . 0x000000000800315c __exidx_end = .
0x00000000080030a8 . = ALIGN (0x4) 0x000000000800315c . = ALIGN (0x4)
.preinit_array 0x00000000080030a8 0x0 .preinit_array 0x000000000800315c 0x0
0x00000000080030a8 . = ALIGN (0x4) 0x000000000800315c . = ALIGN (0x4)
0x00000000080030a8 PROVIDE (__preinit_array_start = .) 0x000000000800315c PROVIDE (__preinit_array_start = .)
*(.preinit_array*) *(.preinit_array*)
0x00000000080030a8 PROVIDE (__preinit_array_end = .) 0x000000000800315c PROVIDE (__preinit_array_end = .)
0x00000000080030a8 . = ALIGN (0x4) 0x000000000800315c . = ALIGN (0x4)
.init_array 0x00000000080030a8 0x4 .init_array 0x000000000800315c 0x4
0x00000000080030a8 . = ALIGN (0x4) 0x000000000800315c . = ALIGN (0x4)
0x00000000080030a8 PROVIDE (__init_array_start = .) 0x000000000800315c PROVIDE (__init_array_start = .)
*(SORT_BY_NAME(.init_array.*)) *(SORT_BY_NAME(.init_array.*))
*(.init_array*) *(.init_array*)
.init_array 0x00000000080030a8 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o .init_array 0x000000000800315c 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o
0x00000000080030ac PROVIDE (__init_array_end = .) 0x0000000008003160 PROVIDE (__init_array_end = .)
0x00000000080030ac . = ALIGN (0x4) 0x0000000008003160 . = ALIGN (0x4)
.fini_array 0x00000000080030ac 0x4 .fini_array 0x0000000008003160 0x4
0x00000000080030ac . = ALIGN (0x4) 0x0000000008003160 . = ALIGN (0x4)
[!provide] PROVIDE (__fini_array_start = .) [!provide] PROVIDE (__fini_array_start = .)
*(SORT_BY_NAME(.fini_array.*)) *(SORT_BY_NAME(.fini_array.*))
*(.fini_array*) *(.fini_array*)
.fini_array 0x00000000080030ac 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o .fini_array 0x0000000008003160 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o
[!provide] PROVIDE (__fini_array_end = .) [!provide] PROVIDE (__fini_array_end = .)
0x00000000080030b0 . = ALIGN (0x4) 0x0000000008003164 . = ALIGN (0x4)
0x00000000080030b0 _sidata = LOADADDR (.data) 0x0000000008003164 _sidata = LOADADDR (.data)
.data 0x0000000020000000 0xc load address 0x00000000080030b0 .data 0x0000000020000000 0xc load address 0x0000000008003164
0x0000000020000000 . = ALIGN (0x4) 0x0000000020000000 . = ALIGN (0x4)
0x0000000020000000 _sdata = . 0x0000000020000000 _sdata = .
*(.data) *(.data)
@@ -3020,45 +3117,48 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id
*fill* 0x0000000020000009 0x3 *fill* 0x0000000020000009 0x3
0x000000002000000c _edata = . 0x000000002000000c _edata = .
.igot.plt 0x000000002000000c 0x0 load address 0x00000000080030bc .igot.plt 0x000000002000000c 0x0 load address 0x0000000008003170
.igot.plt 0x000000002000000c 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o .igot.plt 0x000000002000000c 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o
0x000000002000000c . = ALIGN (0x4) 0x000000002000000c . = ALIGN (0x4)
.bss 0x000000002000000c 0xe0 load address 0x00000000080030bc .bss 0x000000002000000c 0xf8 load address 0x0000000008003170
0x000000002000000c _sbss = . 0x000000002000000c _sbss = .
0x000000002000000c __bss_start__ = _sbss 0x000000002000000c __bss_start__ = _sbss
*(.bss) *(.bss)
.bss 0x000000002000000c 0x1c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o .bss 0x000000002000000c 0x1c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o
*(.bss*) *(.bss*)
*(COMMON) *(COMMON)
COMMON 0x0000000020000028 0x40 ./Core/Src/main.o COMMON 0x0000000020000028 0x4c ./Core/Src/main.o
0x0000000020000028 hadc 0x0000000020000028 dis_buff
COMMON 0x0000000020000068 0x4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o 0x0000000020000034 hadc
0x0000000020000068 uwTick COMMON 0x0000000020000074 0x4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o
COMMON 0x000000002000006c 0x80 ./my_software/my_code.o 0x0000000020000074 uwTick
0x000000002000006c key4 COMMON 0x0000000020000078 0x17 ./my_software/ht1621.o
0x000000002000007c dis_buff 0x0000000020000078 LCD_RAM_Tab
0x0000000020000088 key1 *fill* 0x000000002000008f 0x1
0x0000000020000098 overload COMMON 0x0000000020000090 0x74 ./my_software/my_code.o
0x00000000200000a8 key3 0x0000000020000090 key4
0x00000000200000b8 ADCC 0x00000000200000a0 key1
0x00000000200000cc key2 0x00000000200000b0 overload
0x00000000200000dc moto 0x00000000200000c0 key3
0x00000000200000ec . = ALIGN (0x4) 0x00000000200000d0 ADCC
0x00000000200000ec _ebss = . 0x00000000200000e4 key2
0x00000000200000ec __bss_end__ = _ebss 0x00000000200000f4 moto
0x0000000020000104 . = ALIGN (0x4)
0x0000000020000104 _ebss = .
0x0000000020000104 __bss_end__ = _ebss
._user_heap_stack ._user_heap_stack
0x00000000200000ec 0x604 load address 0x00000000080030bc 0x0000000020000104 0x604 load address 0x0000000008003170
0x00000000200000f0 . = ALIGN (0x8) 0x0000000020000108 . = ALIGN (0x8)
*fill* 0x00000000200000ec 0x4 *fill* 0x0000000020000104 0x4
[!provide] PROVIDE (end = .) [!provide] PROVIDE (end = .)
0x00000000200000f0 PROVIDE (_end = .) 0x0000000020000108 PROVIDE (_end = .)
0x00000000200002f0 . = (. + _Min_Heap_Size) 0x0000000020000308 . = (. + _Min_Heap_Size)
*fill* 0x00000000200000f0 0x200 *fill* 0x0000000020000108 0x200
0x00000000200006f0 . = (. + _Min_Stack_Size) 0x0000000020000708 . = (. + _Min_Stack_Size)
*fill* 0x00000000200002f0 0x400 *fill* 0x0000000020000308 0x400
0x00000000200006f0 . = ALIGN (0x8) 0x0000000020000708 . = ALIGN (0x8)
/DISCARD/ /DISCARD/
libc.a(*) libc.a(*)
@@ -3095,54 +3195,58 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id
.ARM.attributes .ARM.attributes
0x00000000000001f7 0x2c ./my_software/button.o 0x00000000000001f7 0x2c ./my_software/button.o
.ARM.attributes .ARM.attributes
0x0000000000000223 0x2c ./my_software/my_code.o 0x0000000000000223 0x2c ./my_software/ht1621.o
.ARM.attributes .ARM.attributes
0x000000000000024f 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o) 0x000000000000024f 0x2c ./my_software/my_code.o
.ARM.attributes .ARM.attributes
0x000000000000027b 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o) 0x000000000000027b 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o)
.ARM.attributes .ARM.attributes
0x00000000000002a7 0x1e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_udivsi3.o) 0x00000000000002a7 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o)
.ARM.attributes .ARM.attributes
0x00000000000002c5 0x1e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_divsi3.o) 0x00000000000002d3 0x1e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_udivsi3.o)
.ARM.attributes .ARM.attributes
0x00000000000002e3 0x1e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_dvmd_tls.o) 0x00000000000002f1 0x1e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_divsi3.o)
.ARM.attributes .ARM.attributes
0x0000000000000301 0x1e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtn.o 0x000000000000030f 0x1e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_dvmd_tls.o)
.ARM.attributes
0x000000000000032d 0x1e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtn.o
OUTPUT(Motor_Controller2.elf elf32-littlearm) OUTPUT(Motor_Controller2.elf elf32-littlearm)
LOAD linker stubs LOAD linker stubs
LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc.a LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc.a
LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libm.a LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libm.a
LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a
.debug_info 0x0000000000000000 0x50b2 .debug_info 0x0000000000000000 0x54e8
.debug_info 0x0000000000000000 0xa5b ./Core/Src/main.o .debug_info 0x0000000000000000 0xb3c ./Core/Src/main.o
.debug_info 0x0000000000000a5b 0x888 ./Core/Src/stm32f0xx_hal_msp.o .debug_info 0x0000000000000b3c 0x888 ./Core/Src/stm32f0xx_hal_msp.o
.debug_info 0x00000000000012e3 0x1b3 ./Core/Src/stm32f0xx_it.o .debug_info 0x00000000000013c4 0x1b3 ./Core/Src/stm32f0xx_it.o
.debug_info 0x0000000000001496 0x2c3 ./Core/Src/system_stm32f0xx.o .debug_info 0x0000000000001577 0x2c3 ./Core/Src/system_stm32f0xx.o
.debug_info 0x0000000000001759 0x22 ./Core/Startup/startup_stm32f030f4px.o .debug_info 0x000000000000183a 0x22 ./Core/Startup/startup_stm32f030f4px.o
.debug_info 0x000000000000177b 0x6be ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .debug_info 0x000000000000185c 0x6be ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o
.debug_info 0x0000000000001e39 0xd62 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .debug_info 0x0000000000001f1a 0xd62 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o
.debug_info 0x0000000000002b9b 0x7a0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .debug_info 0x0000000000002c7c 0x7a0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o
.debug_info 0x000000000000333b 0x6d3 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .debug_info 0x000000000000341c 0x6d3 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
.debug_info 0x0000000000003a0e 0x88d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .debug_info 0x0000000000003aef 0x88d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o
.debug_info 0x000000000000429b 0x1d4 ./my_software/button.o .debug_info 0x000000000000437c 0x1d4 ./my_software/button.o
.debug_info 0x000000000000446f 0xc43 ./my_software/my_code.o .debug_info 0x0000000000004550 0x4cd ./my_software/ht1621.o
.debug_info 0x0000000000004a1d 0xacb ./my_software/my_code.o
.debug_abbrev 0x0000000000000000 0x13fb .debug_abbrev 0x0000000000000000 0x1556
.debug_abbrev 0x0000000000000000 0x208 ./Core/Src/main.o .debug_abbrev 0x0000000000000000 0x21f ./Core/Src/main.o
.debug_abbrev 0x0000000000000208 0x1ac ./Core/Src/stm32f0xx_hal_msp.o .debug_abbrev 0x000000000000021f 0x1ac ./Core/Src/stm32f0xx_hal_msp.o
.debug_abbrev 0x00000000000003b4 0xd2 ./Core/Src/stm32f0xx_it.o .debug_abbrev 0x00000000000003cb 0xd2 ./Core/Src/stm32f0xx_it.o
.debug_abbrev 0x0000000000000486 0x145 ./Core/Src/system_stm32f0xx.o .debug_abbrev 0x000000000000049d 0x145 ./Core/Src/system_stm32f0xx.o
.debug_abbrev 0x00000000000005cb 0x12 ./Core/Startup/startup_stm32f030f4px.o .debug_abbrev 0x00000000000005e2 0x12 ./Core/Startup/startup_stm32f030f4px.o
.debug_abbrev 0x00000000000005dd 0x21e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .debug_abbrev 0x00000000000005f4 0x21e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o
.debug_abbrev 0x00000000000007fb 0x1f1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .debug_abbrev 0x0000000000000812 0x1f1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o
.debug_abbrev 0x00000000000009ec 0x2a9 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .debug_abbrev 0x0000000000000a03 0x2a9 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o
.debug_abbrev 0x0000000000000c95 0x1e8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .debug_abbrev 0x0000000000000cac 0x1e8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
.debug_abbrev 0x0000000000000e7d 0x23b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .debug_abbrev 0x0000000000000e94 0x23b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o
.debug_abbrev 0x00000000000010b8 0xf6 ./my_software/button.o .debug_abbrev 0x00000000000010cf 0xf6 ./my_software/button.o
.debug_abbrev 0x00000000000011ae 0x24d ./my_software/my_code.o .debug_abbrev 0x00000000000011c5 0x1a9 ./my_software/ht1621.o
.debug_abbrev 0x000000000000136e 0x1e8 ./my_software/my_code.o
.debug_aranges 0x0000000000000000 0x4d8 .debug_aranges 0x0000000000000000 0x518
.debug_aranges .debug_aranges
0x0000000000000000 0x40 ./Core/Src/main.o 0x0000000000000000 0x40 ./Core/Src/main.o
.debug_aranges .debug_aranges
@@ -3166,9 +3270,11 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id
.debug_aranges .debug_aranges
0x0000000000000460 0x20 ./my_software/button.o 0x0000000000000460 0x20 ./my_software/button.o
.debug_aranges .debug_aranges
0x0000000000000480 0x58 ./my_software/my_code.o 0x0000000000000480 0x50 ./my_software/ht1621.o
.debug_aranges
0x00000000000004d0 0x48 ./my_software/my_code.o
.debug_ranges 0x0000000000000000 0x420 .debug_ranges 0x0000000000000000 0x450
.debug_ranges 0x0000000000000000 0x30 ./Core/Src/main.o .debug_ranges 0x0000000000000000 0x30 ./Core/Src/main.o
.debug_ranges 0x0000000000000030 0x20 ./Core/Src/stm32f0xx_hal_msp.o .debug_ranges 0x0000000000000030 0x20 ./Core/Src/stm32f0xx_hal_msp.o
.debug_ranges 0x0000000000000050 0x30 ./Core/Src/stm32f0xx_it.o .debug_ranges 0x0000000000000050 0x30 ./Core/Src/stm32f0xx_it.o
@@ -3180,61 +3286,67 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id
.debug_ranges 0x0000000000000310 0x48 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .debug_ranges 0x0000000000000310 0x48 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
.debug_ranges 0x0000000000000358 0x70 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .debug_ranges 0x0000000000000358 0x70 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o
.debug_ranges 0x00000000000003c8 0x10 ./my_software/button.o .debug_ranges 0x00000000000003c8 0x10 ./my_software/button.o
.debug_ranges 0x00000000000003d8 0x48 ./my_software/my_code.o .debug_ranges 0x00000000000003d8 0x40 ./my_software/ht1621.o
.debug_ranges 0x0000000000000418 0x38 ./my_software/my_code.o
.debug_macro 0x0000000000000000 0xe973 .debug_macro 0x0000000000000000 0xec48
.debug_macro 0x0000000000000000 0x1c6 ./Core/Src/main.o .debug_macro 0x0000000000000000 0x1c5 ./Core/Src/main.o
.debug_macro 0x00000000000001c6 0xa7e ./Core/Src/main.o .debug_macro 0x00000000000001c5 0xa7e ./Core/Src/main.o
.debug_macro 0x0000000000000c44 0x12d ./Core/Src/main.o .debug_macro 0x0000000000000c43 0x12d ./Core/Src/main.o
.debug_macro 0x0000000000000d71 0x2e ./Core/Src/main.o .debug_macro 0x0000000000000d70 0x2e ./Core/Src/main.o
.debug_macro 0x0000000000000d9f 0x22 ./Core/Src/main.o .debug_macro 0x0000000000000d9e 0x22 ./Core/Src/main.o
.debug_macro 0x0000000000000dc1 0x22 ./Core/Src/main.o .debug_macro 0x0000000000000dc0 0x22 ./Core/Src/main.o
.debug_macro 0x0000000000000de3 0x8e ./Core/Src/main.o .debug_macro 0x0000000000000de2 0x8e ./Core/Src/main.o
.debug_macro 0x0000000000000e71 0x51 ./Core/Src/main.o .debug_macro 0x0000000000000e70 0x51 ./Core/Src/main.o
.debug_macro 0x0000000000000ec2 0x103 ./Core/Src/main.o .debug_macro 0x0000000000000ec1 0x103 ./Core/Src/main.o
.debug_macro 0x0000000000000fc5 0x6a ./Core/Src/main.o .debug_macro 0x0000000000000fc4 0x6a ./Core/Src/main.o
.debug_macro 0x000000000000102f 0x1df ./Core/Src/main.o .debug_macro 0x000000000000102e 0x1df ./Core/Src/main.o
.debug_macro 0x000000000000120e 0x1c ./Core/Src/main.o .debug_macro 0x000000000000120d 0x1c ./Core/Src/main.o
.debug_macro 0x000000000000122a 0x22 ./Core/Src/main.o .debug_macro 0x0000000000001229 0x22 ./Core/Src/main.o
.debug_macro 0x000000000000124c 0xb5 ./Core/Src/main.o .debug_macro 0x000000000000124b 0xb5 ./Core/Src/main.o
.debug_macro 0x0000000000001301 0x391 ./Core/Src/main.o .debug_macro 0x0000000000001300 0x391 ./Core/Src/main.o
.debug_macro 0x0000000000001692 0x6e67 ./Core/Src/main.o .debug_macro 0x0000000000001691 0x6e67 ./Core/Src/main.o
.debug_macro 0x00000000000084f9 0x66 ./Core/Src/main.o .debug_macro 0x00000000000084f8 0x66 ./Core/Src/main.o
.debug_macro 0x000000000000855f 0x34a6 ./Core/Src/main.o .debug_macro 0x000000000000855e 0x34a6 ./Core/Src/main.o
.debug_macro 0x000000000000ba05 0x174 ./Core/Src/main.o .debug_macro 0x000000000000ba04 0x174 ./Core/Src/main.o
.debug_macro 0x000000000000bb79 0x55 ./Core/Src/main.o .debug_macro 0x000000000000bb78 0x55 ./Core/Src/main.o
.debug_macro 0x000000000000bbce 0x924 ./Core/Src/main.o .debug_macro 0x000000000000bbcd 0x924 ./Core/Src/main.o
.debug_macro 0x000000000000c4f2 0xe5 ./Core/Src/main.o .debug_macro 0x000000000000c4f1 0xe5 ./Core/Src/main.o
.debug_macro 0x000000000000c5d7 0x1af ./Core/Src/main.o .debug_macro 0x000000000000c5d6 0x1af ./Core/Src/main.o
.debug_macro 0x000000000000c786 0xb3 ./Core/Src/main.o .debug_macro 0x000000000000c785 0xb3 ./Core/Src/main.o
.debug_macro 0x000000000000c839 0x1a0 ./Core/Src/main.o .debug_macro 0x000000000000c838 0x1a0 ./Core/Src/main.o
.debug_macro 0x000000000000c9d9 0x1ed ./Core/Src/main.o .debug_macro 0x000000000000c9d8 0x1ed ./Core/Src/main.o
.debug_macro 0x000000000000cbc6 0x34 ./Core/Src/main.o .debug_macro 0x000000000000cbc5 0x34 ./Core/Src/main.o
.debug_macro 0x000000000000cbfa 0x43 ./Core/Src/main.o .debug_macro 0x000000000000cbf9 0x43 ./Core/Src/main.o
.debug_macro 0x000000000000cc3d 0x28 ./Core/Src/main.o .debug_macro 0x000000000000cc3c 0x28 ./Core/Src/main.o
.debug_macro 0x000000000000cc65 0x33d ./Core/Src/main.o .debug_macro 0x000000000000cc64 0x33d ./Core/Src/main.o
.debug_macro 0x000000000000cfa2 0xbc ./Core/Src/main.o .debug_macro 0x000000000000cfa1 0xbc ./Core/Src/main.o
.debug_macro 0x000000000000d05e 0xb0 ./Core/Src/main.o .debug_macro 0x000000000000d05d 0xb0 ./Core/Src/main.o
.debug_macro 0x000000000000d10e 0x15a ./Core/Src/main.o .debug_macro 0x000000000000d10d 0x15a ./Core/Src/main.o
.debug_macro 0x000000000000d268 0x22c ./Core/Src/main.o .debug_macro 0x000000000000d267 0x22c ./Core/Src/main.o
.debug_macro 0x000000000000d494 0x61 ./Core/Src/main.o .debug_macro 0x000000000000d493 0x61 ./Core/Src/main.o
.debug_macro 0x000000000000d4f5 0xa5 ./Core/Src/main.o .debug_macro 0x000000000000d4f4 0xa5 ./Core/Src/main.o
.debug_macro 0x000000000000d59a 0x4c ./Core/Src/main.o .debug_macro 0x000000000000d599 0x4c ./Core/Src/main.o
.debug_macro 0x000000000000d5e6 0x2b ./Core/Src/main.o .debug_macro 0x000000000000d5e5 0x2b ./Core/Src/main.o
.debug_macro 0x000000000000d611 0xf1 ./Core/Src/main.o .debug_macro 0x000000000000d610 0xf1 ./Core/Src/main.o
.debug_macro 0x000000000000d702 0x88 ./Core/Src/main.o .debug_macro 0x000000000000d701 0x88 ./Core/Src/main.o
.debug_macro 0x000000000000d78a 0x1bc ./Core/Src/stm32f0xx_hal_msp.o .debug_macro 0x000000000000d789 0x28 ./Core/Src/main.o
.debug_macro 0x000000000000d946 0x1c6 ./Core/Src/stm32f0xx_it.o .debug_macro 0x000000000000d7b1 0x1bc ./Core/Src/stm32f0xx_hal_msp.o
.debug_macro 0x000000000000db0c 0x1ad ./Core/Src/system_stm32f0xx.o .debug_macro 0x000000000000d96d 0x1c6 ./Core/Src/stm32f0xx_it.o
.debug_macro 0x000000000000dcb9 0x1d1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .debug_macro 0x000000000000db33 0x1ad ./Core/Src/system_stm32f0xx.o
.debug_macro 0x000000000000de8a 0x1d1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .debug_macro 0x000000000000dce0 0x1d1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o
.debug_macro 0x000000000000e05b 0x1ad ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .debug_macro 0x000000000000deb1 0x1d1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o
.debug_macro 0x000000000000e208 0x1b4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .debug_macro 0x000000000000e082 0x1ad ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o
.debug_macro 0x000000000000e3bc 0x1bf ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .debug_macro 0x000000000000e22f 0x1b4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
.debug_macro 0x000000000000e57b 0x1cc ./my_software/button.o .debug_macro 0x000000000000e3e3 0x1bf ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o
.debug_macro 0x000000000000e747 0x22c ./my_software/my_code.o .debug_macro 0x000000000000e5a2 0x1cc ./my_software/button.o
.debug_macro 0x000000000000e76e 0x212 ./my_software/ht1621.o
.debug_macro 0x000000000000e980 0x5e ./my_software/ht1621.o
.debug_macro 0x000000000000e9de 0x1e4 ./my_software/my_code.o
.debug_macro 0x000000000000ebc2 0x22 ./my_software/my_code.o
.debug_macro 0x000000000000ebe4 0x64 ./my_software/my_code.o
.debug_line 0x0000000000000000 0x7107 .debug_line 0x0000000000000000 0x791f
.debug_line 0x0000000000000000 0x851 ./Core/Src/main.o .debug_line 0x0000000000000000 0x851 ./Core/Src/main.o
.debug_line 0x0000000000000851 0x727 ./Core/Src/stm32f0xx_hal_msp.o .debug_line 0x0000000000000851 0x727 ./Core/Src/stm32f0xx_hal_msp.o
.debug_line 0x0000000000000f78 0x744 ./Core/Src/stm32f0xx_it.o .debug_line 0x0000000000000f78 0x744 ./Core/Src/stm32f0xx_it.o
@@ -3246,33 +3358,36 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id
.debug_line 0x0000000000004369 0xad7 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .debug_line 0x0000000000004369 0xad7 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
.debug_line 0x0000000000004e40 0xd46 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .debug_line 0x0000000000004e40 0xd46 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o
.debug_line 0x0000000000005b86 0x73a ./my_software/button.o .debug_line 0x0000000000005b86 0x73a ./my_software/button.o
.debug_line 0x00000000000062c0 0xe47 ./my_software/my_code.o .debug_line 0x00000000000062c0 0x987 ./my_software/ht1621.o
.debug_line 0x0000000000006c47 0xcd8 ./my_software/my_code.o
.debug_str 0x0000000000000000 0x567a6 .debug_str 0x0000000000000000 0x5692c
.debug_str 0x0000000000000000 0x5556f ./Core/Src/main.o .debug_str 0x0000000000000000 0x55732 ./Core/Src/main.o
0x55853 (size before relaxing) 0x55a16 (size before relaxing)
.debug_str 0x000000000005556f 0x4e ./Core/Src/stm32f0xx_hal_msp.o .debug_str 0x0000000000055732 0x4e ./Core/Src/stm32f0xx_hal_msp.o
0x556a0 (size before relaxing) 0x556a0 (size before relaxing)
.debug_str 0x00000000000555bd 0x76 ./Core/Src/stm32f0xx_it.o .debug_str 0x0000000000055780 0x76 ./Core/Src/stm32f0xx_it.o
0x5528c (size before relaxing) 0x5528c (size before relaxing)
.debug_str 0x0000000000055633 0x5f ./Core/Src/system_stm32f0xx.o .debug_str 0x00000000000557f6 0x5f ./Core/Src/system_stm32f0xx.o
0x550bf (size before relaxing) 0x550bf (size before relaxing)
.debug_str 0x0000000000055692 0x36 ./Core/Startup/startup_stm32f030f4px.o .debug_str 0x0000000000055855 0x36 ./Core/Startup/startup_stm32f030f4px.o
0x7c (size before relaxing) 0x7c (size before relaxing)
.debug_str 0x00000000000556c8 0x413 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .debug_str 0x000000000005588b 0x413 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o
0x55596 (size before relaxing) 0x55596 (size before relaxing)
.debug_str 0x0000000000055adb 0x393 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .debug_str 0x0000000000055c9e 0x393 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o
0x557bf (size before relaxing) 0x557bf (size before relaxing)
.debug_str 0x0000000000055e6e 0x1dc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .debug_str 0x0000000000056031 0x1dc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o
0x5544a (size before relaxing) 0x5544a (size before relaxing)
.debug_str 0x000000000005604a 0x150 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .debug_str 0x000000000005620d 0x150 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
0x5529e (size before relaxing) 0x5529e (size before relaxing)
.debug_str 0x000000000005619a 0x240 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .debug_str 0x000000000005635d 0x240 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o
0x554c9 (size before relaxing) 0x554c9 (size before relaxing)
.debug_str 0x00000000000563da 0x40 ./my_software/button.o .debug_str 0x000000000005659d 0x40 ./my_software/button.o
0x5526b (size before relaxing) 0x5526b (size before relaxing)
.debug_str 0x000000000005641a 0x38c ./my_software/my_code.o .debug_str 0x00000000000565dd 0x217 ./my_software/ht1621.o
0x559e8 (size before relaxing) 0x55642 (size before relaxing)
.debug_str 0x00000000000567f4 0x138 ./my_software/my_code.o
0x55a38 (size before relaxing)
.comment 0x0000000000000000 0x53 .comment 0x0000000000000000 0x53
.comment 0x0000000000000000 0x53 ./Core/Src/main.o .comment 0x0000000000000000 0x53 ./Core/Src/main.o
@@ -3286,9 +3401,10 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id
.comment 0x0000000000000053 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .comment 0x0000000000000053 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
.comment 0x0000000000000053 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .comment 0x0000000000000053 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o
.comment 0x0000000000000053 0x54 ./my_software/button.o .comment 0x0000000000000053 0x54 ./my_software/button.o
.comment 0x0000000000000053 0x54 ./my_software/ht1621.o
.comment 0x0000000000000053 0x54 ./my_software/my_code.o .comment 0x0000000000000053 0x54 ./my_software/my_code.o
.debug_frame 0x0000000000000000 0xf50 .debug_frame 0x0000000000000000 0xff4
.debug_frame 0x0000000000000000 0xa8 ./Core/Src/main.o .debug_frame 0x0000000000000000 0xa8 ./Core/Src/main.o
.debug_frame 0x00000000000000a8 0x70 ./Core/Src/stm32f0xx_hal_msp.o .debug_frame 0x00000000000000a8 0x70 ./Core/Src/stm32f0xx_hal_msp.o
.debug_frame 0x0000000000000118 0x9c ./Core/Src/stm32f0xx_it.o .debug_frame 0x0000000000000118 0x9c ./Core/Src/stm32f0xx_it.o
@@ -3299,8 +3415,9 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id
.debug_frame 0x0000000000000ae4 0x110 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .debug_frame 0x0000000000000ae4 0x110 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
.debug_frame 0x0000000000000bf4 0x198 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .debug_frame 0x0000000000000bf4 0x198 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o
.debug_frame 0x0000000000000d8c 0x30 ./my_software/button.o .debug_frame 0x0000000000000d8c 0x30 ./my_software/button.o
.debug_frame 0x0000000000000dbc 0x108 ./my_software/my_code.o .debug_frame 0x0000000000000dbc 0xe4 ./my_software/ht1621.o
.debug_frame 0x0000000000000ec4 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o) .debug_frame 0x0000000000000ea0 0xc8 ./my_software/my_code.o
.debug_frame 0x0000000000000ef0 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o) .debug_frame 0x0000000000000f68 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o)
.debug_frame 0x0000000000000f10 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_udivsi3.o) .debug_frame 0x0000000000000f94 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o)
.debug_frame 0x0000000000000f30 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_divsi3.o) .debug_frame 0x0000000000000fb4 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_udivsi3.o)
.debug_frame 0x0000000000000fd4 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_divsi3.o)
+89
View File
@@ -0,0 +1,89 @@
my_software/ht1621.o: ../my_software/ht1621.c ../my_software/ht1621.h \
../Core/Inc/main.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
../Core/Inc/stm32f0xx_hal_conf.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x6.h \
../Drivers/CMSIS/Include/core_cm0.h \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \
../my_software/my_code.h
../my_software/ht1621.h:
../Core/Inc/main.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
../Core/Inc/stm32f0xx_hal_conf.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x6.h:
../Drivers/CMSIS/Include/core_cm0.h:
../Drivers/CMSIS/Include/cmsis_version.h:
../Drivers/CMSIS/Include/cmsis_compiler.h:
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
../my_software/my_code.h:
+7
View File
@@ -0,0 +1,7 @@
ht1621.c:19:6:WriteClockHT1621 8 static
ht1621.c:29:6:WriteCommandHT1621 24 static
ht1621.c:61:6:Write1DataHT1621 24 static
ht1621.c:103:6:WritenDataHT1621 24 static
ht1621.c:169:6:HT1621_num_init 16 static
ht1621.c:194:6:HT1621_Init 8 static
ht1621.c:222:6:HT1621_Display 8 static
+3 -1
View File
@@ -26,7 +26,7 @@ my_software/my_code.o: ../my_software/my_code.c ../my_software/my_code.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \ ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \ ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \
../my_software/button.h ../my_software/button.h ../my_software/ht1621.h
../my_software/my_code.h: ../my_software/my_code.h:
@@ -87,3 +87,5 @@ my_software/my_code.o: ../my_software/my_code.c ../my_software/my_code.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h: ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
../my_software/button.h: ../my_software/button.h:
../my_software/ht1621.h:
+6 -8
View File
@@ -1,8 +1,6 @@
my_code.c:71:6:ds_in_or_out 48 static my_code.c:45:6:ds_in_or_out 48 static
my_code.c:89:9:Read_Ds 8 static my_code.c:63:9:Read_Ds 8 static
my_code.c:95:6:Sand_Byte_to_595 24 static my_code.c:70:6:Sand_Byte_to_595_2 24 static
my_code.c:128:6:Sand_Byte_to_595_2 24 static my_code.c:93:6:hc2_sever 16 static
my_code.c:161:6:display_and_button_loop 24 static my_code.c:119:6:moto_server 8 static
my_code.c:227:6:hc2_sever 16 static my_code.c:211:6:my_code 32 static
my_code.c:253:6:moto_server 8 static
my_code.c:345:6:my_code 32 static
+3
View File
@@ -6,14 +6,17 @@
# Add inputs and outputs from these tool invocations to the build variables # Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \ C_SRCS += \
../my_software/button.c \ ../my_software/button.c \
../my_software/ht1621.c \
../my_software/my_code.c ../my_software/my_code.c
OBJS += \ OBJS += \
./my_software/button.o \ ./my_software/button.o \
./my_software/ht1621.o \
./my_software/my_code.o ./my_software/my_code.o
C_DEPS += \ C_DEPS += \
./my_software/button.d \ ./my_software/button.d \
./my_software/ht1621.d \
./my_software/my_code.d ./my_software/my_code.d
+1
View File
@@ -23,4 +23,5 @@
"./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o" "./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o"
"./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o" "./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o"
"./my_software/button.o" "./my_software/button.o"
"./my_software/ht1621.o"
"./my_software/my_code.o" "./my_software/my_code.o"
+236
View File
@@ -0,0 +1,236 @@
/*
* ht1621.c
*
* Created on: 2021年10月12日
* Author: wuwenfeng
*/
#include "ht1621.h"
#include "my_code.h"
#define HT1621_addrbit 6 //驱动ic的ram地址位数 A5-A0
/**
* @brief HT1621 clk
* @param None
* @retval None
*/
void WriteClockHT1621(void)
{
HC595_SCK(0);
HC595_SCK(1);
}
/**
* @brief Write HT1621 Command
* @param FunctonCode->功能/命令码
* @retval None
*/
void WriteCommandHT1621(unsigned char FunctonCode)
{
unsigned char Shift = 0x80;
unsigned char i;
HC595_RCK(0); //CS 片选开
HC595_DCK(1); //100
WriteClockHT1621();
HC595_DCK(0);
WriteClockHT1621();
HC595_DCK(0);
WriteClockHT1621();
for(i = 0; i < 8; i++)
{
if(Shift & FunctonCode)
{HC595_DCK(1);}
else
{HC595_DCK(0);}
WriteClockHT1621();
Shift = Shift >> 1;
}
{HC595_DCK(0);}
WriteClockHT1621(); //发送一个 0 命令码中最后一位 X
HC595_RCK(1); //CS 片选关
HC595_DCK(1);
}
/**
* @brief Write 1 data to HT1621
* @param Addr->写入ram的地址
* @param Databuf->写入ram的数据
* @retval None
*/
void Write1DataHT1621(unsigned char Addr,unsigned char Dat)
{
unsigned char i;
unsigned char Shift;
HC595_RCK(0); //CS 片选开
HC595_DCK(1); //101
WriteClockHT1621();
HC595_DCK(0);
WriteClockHT1621();
HC595_DCK(1);
WriteClockHT1621();
Shift = 0x20; //屏蔽高3位 只用5位
for( i = 0; i < HT1621_addrbit; i++)
{
if(Addr & Shift)
{HC595_DCK(1);}
else
{HC595_DCK(0);}
WriteClockHT1621();
Shift = Shift >> 1;
}
Shift = 0x01;
for (i = 0; i < 4; i++)
{
if( Dat & Shift)
{HC595_DCK(1);}
else
{HC595_DCK(0);}
WriteClockHT1621();
Shift = Shift << 1;
}
HC595_RCK(1); //CS 片选关
HC595_DCK(1);
}
/**
* @brief Write n data to HT1621
* @param Addr->写入ram的起始地址
* @param Databuf->写入ram的数据buffer
* @param Cnt->写入ram的数据个数
* @retval None
*/
void WritenDataHT1621(unsigned char Addr,unsigned char *Databuf,unsigned char Cnt)
{
unsigned char i,j;
unsigned char Shift;
unsigned char dataval;
HC595_RCK(0); //CS 片选开
HC595_DCK(1); //101
WriteClockHT1621();
HC595_DCK(0);
WriteClockHT1621();
HC595_DCK(1);
WriteClockHT1621();
Shift = 0x20; //屏蔽高3位 只用5位
for( i = 0; i < HT1621_addrbit; i++)
{
if (Addr & Shift)
{HC595_DCK(1);}
else
{HC595_DCK(0);}
WriteClockHT1621();
Shift = Shift >> 1;
}
for (j = 0; j < Cnt; j++)
{
Shift = 0x01;
dataval=*Databuf++;
for (i = 0; i < 4; i++)
{
if( dataval & Shift)
{HC595_DCK(1);}
else
{HC595_DCK(0);}
WriteClockHT1621();
Shift = Shift << 1;
}
}
HC595_RCK(1); //CS 片选关
HC595_DCK(1);
}
/**
* @brief 数据交换,自动生成液晶需要的数组,此程序,需要根据液晶图纸修改
* @param None
* @retval None
*/
const unsigned char LED_Tab[]=
{
0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71, //0-15 = 0--f
0x58, //16=c
0x37, //17=N
0x40, //18=-
0x0E, //19=J
0x3E, //20=U
0x76, //21=H
0x30, //22=I
};
unsigned char LCD_RAM_Tab[sizeof(LED_Tab)];
#define LCD_A 0x01
#define LCD_B 0x02
#define LCD_C 0x04
#define LCD_D 0x08
#define LCD_E 0x10
#define LCD_F 0x20
#define LCD_G 0x40
#define LCD_P 0x80
void HT1621_num_init(void)
{
unsigned char num,LCD_data;
for(num=0; num<sizeof(LED_Tab); num++)
{
LCD_data = 0;
LCD_data = LCD_data | ((unsigned char)((char)(LED_Tab[num] & LCD_P)) << 7);
LCD_data = LCD_data | ((unsigned char)((char)(LED_Tab[num] & LCD_E)) << 6);
LCD_data = LCD_data | ((unsigned char)((char)(LED_Tab[num] & LCD_F)) << 5);
LCD_data = LCD_data | ((unsigned char)((char)(LED_Tab[num] & LCD_A)) << 4);
LCD_data = LCD_data | ((unsigned char)((char)(LED_Tab[num] & LCD_D)) << 3);
LCD_data = LCD_data | ((unsigned char)((char)(LED_Tab[num] & LCD_C)) << 2);
LCD_data = LCD_data | ((unsigned char)((char)(LED_Tab[num] & LCD_G)) << 1);
LCD_data = LCD_data | ((unsigned char)((char)(LED_Tab[num] & LCD_B)) << 0);
LCD_RAM_Tab[num] = LCD_data;
}
}
/**
* @brief HT1621 Init
* @param None
* @retval None
*/
void HT1621_Init(void) //退出掉电低功耗状态重新初始化HT1621
{
HC595_RCK(1);
HC595_SCK(1);
HC595_DCK(1);
WriteCommandHT1621(OSC_ON);
WriteCommandHT1621(DISP_ON);
WriteCommandHT1621(COM_1_3__4);
//上电默认配置(以下未用功能关闭降低功耗)
WriteCommandHT1621(TIMER_DIS);
WriteCommandHT1621(WDT_DIS);
WriteCommandHT1621(BUZZ_OFF);
WriteCommandHT1621(IRQ_DIS);
HT1621_num_init(); //自动生成液晶屏需要的数组
}
/**
* @brief 用户显示程序,需要自己完善
* @param None
* @param None
* @retval None
*/
void HT1621_Display(void)
{
Write1DataHT1621(0,0x00);
Write1DataHT1621(1,0x00);
Write1DataHT1621(2,0x00);
Write1DataHT1621(3,0x00);
Write1DataHT1621(4,0x00);
Write1DataHT1621(5,0x00);
Write1DataHT1621(6,0x00);
Write1DataHT1621(7,0x00);
}
+51
View File
@@ -0,0 +1,51 @@
/*
* ht1621.h
*
* Created on: 2021年10月12日
* Author: wuwenfeng
*/
#ifndef HT1621_H_
#define HT1621_H_
#include "main.h"
//基本命令
#define OSC_OFF 0x00 // 关闭震荡器
#define OSC_ON 0x01 // 开启震荡器
#define DISP_OFF 0x02 // 关LCD Bias
#define DISP_ON 0x03 // 开LCD Bias
#define COM_1_3__4 0x29 // 1/3bias 4com
#define COM_1_3__3 0x25 // 1/3bias 3com
#define COM_1_3__2 0x21 // 1/3bias 2com
#define COM_1_2__4 0x28 // 1/2bias 4com
#define COM_1_2__3 0x24 // 1/2bias 3com
#define COM_1_2__2 0x20 // 1/2bias 2com
//扩展命令,该功能未引出关闭可降低功耗
#define TIMER_DIS 0x04 // 不使 time base 輸出
#define WDT_DIS 0x05 // 不使 WDT 暫停旗標輸出
#define BUZZ_OFF 0x08 // 关闭蜂鸣器
#define RC32K 0X18 //
#define IRQ_DIS 0X80 // 不使 IRQ 輸出
/* Exported functions ------------------------------------------------------- */
void WriteClockHT1621(void);
void WriteCommandHT1621(unsigned char FunctonCode);
void Write1DataHT1621(unsigned char Addr,unsigned char Dat);
void WritenDataHT1621(unsigned char Addr,unsigned char *Databuf,unsigned char Cnt);
void HT1621_num_init(void);
void HT1621_Init(void);
void HT1621_Display(void);
#endif /* HT1621_H_ */
+18 -150
View File
@@ -6,21 +6,13 @@
*/ */
#include "my_code.h" #include "my_code.h"
#include "button.h" #include "button.h"
#define HC595_DCK(x) HAL_GPIO_WritePin(HC595_DLK_GPIO_Port, HC595_DLK_Pin, x); #include "ht1621.h"
#define HC595_RCK(x) HAL_GPIO_WritePin(HC595_RLK_GPIO_Port, HC595_RLK_Pin, x);
#define HC595_SCK(x) HAL_GPIO_WritePin(HC595_SLK_GPIO_Port, HC595_SLK_Pin, x);
#define HC595_SCK2(x) HAL_GPIO_WritePin(HC595_SLK2_GPIO_Port, HC595_SLK2_Pin, x);
#define READ_HC595_DCK HAL_GPIO_ReadPin(HC595_DLK_GPIO_Port,HC595_DLK_Pin)
extern ADC_HandleTypeDef hadc; extern ADC_HandleTypeDef hadc;
struct button key1,key2,key3,key4,overload; struct button key1,key2,key3,key4,overload;
const char d_num_data[10]=
{
0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f
};
#define set_filtering_times 50 #define set_filtering_times 50
struct struct
@@ -32,24 +24,6 @@ struct
}ADCC; }ADCC;
struct
{
char d_num[4];
char button_flag[4];
char dot1:1;
char dot2:1;
char dot3:1;
char dot4:1;
char led_run:1;
char moto1a:1;
char moto1b:1;
char moto2a:1;
char moto2b:1;
}dis_buff;
struct struct
{ {
uint32_t moto_run; uint32_t moto_run;
@@ -92,39 +66,7 @@ uint8_t Read_Ds()
if(READ_HC595_DCK){return 0;}else{return 1;} if(READ_HC595_DCK){return 0;}else{return 1;}
//return READ_HC595_DCK; //return READ_HC595_DCK;
} }
void Sand_Byte_to_595(uint8_t h,uint8_t l)
{
ds_in_or_out(1);
HC595_DCK(0);
HC595_SCK(0);
HC595_RCK(0);
for(char a=0;a<8;a++)
{
if((h<<a)&0x80)
{
HC595_DCK(1);
}else
{
HC595_DCK(0);
}
HC595_SCK(1);
HC595_SCK(0);
}
for(char a=0;a<8;a++)
{
if((l<<a)&0x80)
{
HC595_DCK(1);
}else
{
HC595_DCK(0);
}
HC595_SCK(1);
HC595_SCK(0);
}
HC595_RCK(1);
HC595_RCK(0);
}
void Sand_Byte_to_595_2(uint8_t h) void Sand_Byte_to_595_2(uint8_t h)
{ {
ds_in_or_out(1); ds_in_or_out(1);
@@ -146,84 +88,8 @@ void Sand_Byte_to_595_2(uint8_t h)
HC595_RCK(1); HC595_RCK(1);
HC595_RCK(0); HC595_RCK(0);
} }
#define A 0x80
#define B 0x40
#define C 0x20
#define D 0x10
#define E 0x08
#define F 0x04
#define G 0x02
#define H 0x01
const char num_com[4]={0x1,0x2,0x4,0x8};
const char d_com[4]={0x80,0x40,0x20,0x10};
void display_and_button_loop()
{
//Sand_Byte_to_595(0x00,0xff);
//Sand_Byte_to_595(0xff,0x00);
char lcd_buff[4];
char change_buff;
char h,l;
//fast time change 1
for(int a=0;a<4;a++)
{
change_buff=d_num_data[dis_buff.d_num[a]];//num to data model
if(change_buff&&A)
{
lcd_buff[0]|=0x80>>(a*2);
}
if(change_buff&&B)
{
lcd_buff[0]|=0x40>>(a*2);
}
if(change_buff&&C)
{
lcd_buff[2]|=0x40>>(a*2);
}
if(change_buff&&D)
{
lcd_buff[3]|=0x40>>(a*2);
}
if(change_buff&&E)
{
lcd_buff[2]|=0x80>>(a*2);
}
if(change_buff&&F)
{
lcd_buff[1]|=0x80>>(a*2);
}
if(change_buff&&G)
{
lcd_buff[1]|=0x40>>(a*2);
}
}
//Sand_Byte_to_595(0xff,0xff);
//Sand_Byte_to_595(~h,~l);
//Sand_Byte_to_595(0,0);
//Sand_Byte_to_595(0xff,0xff);
for(int a=0;a<4;a++)
{
l=lcd_buff[a];
//h=((~num_com[a])&0x0F);
h=(~d_com[a]&0xf0)|((~num_com[a])&0x0F);
Sand_Byte_to_595(h,l);
dis_buff.button_flag[a]=Read_Ds();
//Sand_Byte_to_595(~h,~l);
}
}
void hc2_sever() void hc2_sever()
{ {
char h=0; char h=0;
@@ -346,8 +212,7 @@ void my_code()
{ {
uint32_t runtime=0,move=0; uint32_t runtime=0,move=0;
uint8_t mode=0,overload_mode=0; uint8_t mode=0,overload_mode=0;
uint16_t adc,adc_times=0;
uint32_t adc_l;
uint16_t overload_times=0; uint16_t overload_times=0;
long countdown=0; long countdown=0;
long countdown_set=15000; long countdown_set=15000;
@@ -361,17 +226,19 @@ void my_code()
dis_buff.moto2a=0; dis_buff.moto2a=0;
dis_buff.moto2b=0; dis_buff.moto2b=0;
moto.moto_run=0; moto.moto_run=0;
moto.pwm_run=0; moto.pwm_run=0;
moto.moto1a=0; moto.moto1a=0;
moto.moto1b=0; moto.moto1b=0;
moto.moto2a=0; moto.moto2a=0;
moto.moto2b=0; moto.moto2b=0;
moto.moto1a_=0; moto.moto1a_=0;
moto.moto1b_=0; moto.moto1b_=0;
moto.moto2a_=0; moto.moto2a_=0;
moto.moto2b_=0; moto.moto2b_=0;
HT1621_Init();
while(1) while(1)
{ {
//*adc读取 并计滤波 并计算温度*/ //*adc读取 并计滤波 并计算温度*/
@@ -651,7 +518,8 @@ moto.moto2b_=0;
GEI_BUTTON_CODE(&key2,dis_buff.button_flag[1]); GEI_BUTTON_CODE(&key2,dis_buff.button_flag[1]);
GEI_BUTTON_CODE(&key3,dis_buff.button_flag[2]); GEI_BUTTON_CODE(&key3,dis_buff.button_flag[2]);
GEI_BUTTON_CODE(&key4,dis_buff.button_flag[3]); GEI_BUTTON_CODE(&key4,dis_buff.button_flag[3]);
display_and_button_loop(); //display_and_button_loop();
HT1621_Display();
hc2_sever(); hc2_sever();
moto_server(); moto_server();
} }
+25
View File
@@ -11,4 +11,29 @@
void my_code(); void my_code();
#define HC595_DCK(x) HAL_GPIO_WritePin(HC595_DLK_GPIO_Port, HC595_DLK_Pin, x);
#define HC595_RCK(x) HAL_GPIO_WritePin(HC595_RLK_GPIO_Port, HC595_RLK_Pin, x);
#define HC595_SCK(x) HAL_GPIO_WritePin(HC595_SLK_GPIO_Port, HC595_SLK_Pin, x);
#define HC595_SCK2(x) HAL_GPIO_WritePin(HC595_SLK2_GPIO_Port, HC595_SLK2_Pin, x);
#define READ_HC595_DCK HAL_GPIO_ReadPin(HC595_DLK_GPIO_Port,HC595_DLK_Pin)
struct display_penal
{
char d_num[4];
char button_flag[4];
char dot1:1;
char dot2:1;
char dot3:1;
char dot4:1;
char led_run:1;
char moto1a:1;
char moto1b:1;
char moto2a:1;
char moto2b:1;
}dis_buff;
#endif /* MY_CODE_H_ */ #endif /* MY_CODE_H_ */