完成度99.999%
This commit is contained in:
+2
-2
@@ -174,8 +174,8 @@ static void MX_ADC_Init(void)
|
|||||||
hadc.Init.EOCSelection = ADC_EOC_SINGLE_CONV;
|
hadc.Init.EOCSelection = ADC_EOC_SINGLE_CONV;
|
||||||
hadc.Init.LowPowerAutoWait = DISABLE;
|
hadc.Init.LowPowerAutoWait = DISABLE;
|
||||||
hadc.Init.LowPowerAutoPowerOff = DISABLE;
|
hadc.Init.LowPowerAutoPowerOff = DISABLE;
|
||||||
hadc.Init.ContinuousConvMode = ENABLE;
|
hadc.Init.ContinuousConvMode = DISABLE;
|
||||||
hadc.Init.DiscontinuousConvMode = DISABLE;
|
hadc.Init.DiscontinuousConvMode = ENABLE;
|
||||||
hadc.Init.ExternalTrigConv = ADC_SOFTWARE_START;
|
hadc.Init.ExternalTrigConv = ADC_SOFTWARE_START;
|
||||||
hadc.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE;
|
hadc.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE;
|
||||||
hadc.Init.DMAContinuousRequests = DISABLE;
|
hadc.Init.DMAContinuousRequests = DISABLE;
|
||||||
|
|||||||
Binary file not shown.
+1254
-1440
File diff suppressed because it is too large
Load Diff
+103
-107
@@ -20,7 +20,6 @@ Archive member included to satisfy reference by file (symbol)
|
|||||||
Allocating common symbols
|
Allocating common symbols
|
||||||
Common symbol size file
|
Common symbol size file
|
||||||
|
|
||||||
overload2 0x10 ./my_software/my_code.o
|
|
||||||
key4 0x10 ./my_software/my_code.o
|
key4 0x10 ./my_software/my_code.o
|
||||||
read_data_buffer 0x3 ./my_software/r480r.o
|
read_data_buffer 0x3 ./my_software/r480r.o
|
||||||
r480 0x6 ./my_software/my_code.o
|
r480 0x6 ./my_software/my_code.o
|
||||||
@@ -28,7 +27,6 @@ uwTick 0x4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0
|
|||||||
pFlash 0x20 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o
|
pFlash 0x20 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o
|
||||||
dis_buff 0x11 ./Core/Src/main.o
|
dis_buff 0x11 ./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
|
|
||||||
key3 0x10 ./my_software/my_code.o
|
key3 0x10 ./my_software/my_code.o
|
||||||
ADCC 0x14 ./my_software/my_code.o
|
ADCC 0x14 ./my_software/my_code.o
|
||||||
key2 0x10 ./my_software/my_code.o
|
key2 0x10 ./my_software/my_code.o
|
||||||
@@ -3534,7 +3532,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 0x3ec8
|
.text 0x00000000080000c0 0x3d8c
|
||||||
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
|
||||||
@@ -3801,109 +3799,109 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id
|
|||||||
.text.check_need_reset
|
.text.check_need_reset
|
||||||
0x0000000008003340 0xd8 ./my_software/my_code.o
|
0x0000000008003340 0xd8 ./my_software/my_code.o
|
||||||
0x0000000008003340 check_need_reset
|
0x0000000008003340 check_need_reset
|
||||||
.text.my_code 0x0000000008003418 0x95c ./my_software/my_code.o
|
.text.my_code 0x0000000008003418 0x820 ./my_software/my_code.o
|
||||||
0x0000000008003418 my_code
|
0x0000000008003418 my_code
|
||||||
.text.r480_init
|
.text.r480_init
|
||||||
0x0000000008003d74 0x20 ./my_software/r480r.o
|
0x0000000008003c38 0x20 ./my_software/r480r.o
|
||||||
0x0000000008003d74 r480_init
|
0x0000000008003c38 r480_init
|
||||||
.text.read_433_exit
|
.text.read_433_exit
|
||||||
0x0000000008003d94 0x138 ./my_software/r480r.o
|
0x0000000008003c58 0x138 ./my_software/r480r.o
|
||||||
0x0000000008003d94 read_433_exit
|
0x0000000008003c58 read_433_exit
|
||||||
.text.HAL_GPIO_EXTI_Callback
|
.text.HAL_GPIO_EXTI_Callback
|
||||||
0x0000000008003ecc 0x20 ./my_software/r480r.o
|
0x0000000008003d90 0x20 ./my_software/r480r.o
|
||||||
0x0000000008003ecc HAL_GPIO_EXTI_Callback
|
0x0000000008003d90 HAL_GPIO_EXTI_Callback
|
||||||
.text.HAL_TIM_PeriodElapsedCallback
|
.text.HAL_TIM_PeriodElapsedCallback
|
||||||
0x0000000008003eec 0x2c ./my_software/r480r.o
|
0x0000000008003db0 0x2c ./my_software/r480r.o
|
||||||
0x0000000008003eec HAL_TIM_PeriodElapsedCallback
|
0x0000000008003db0 HAL_TIM_PeriodElapsedCallback
|
||||||
.text.__libc_init_array
|
.text.__libc_init_array
|
||||||
0x0000000008003f18 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)
|
0x0000000008003ddc 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)
|
||||||
0x0000000008003f18 __libc_init_array
|
0x0000000008003ddc __libc_init_array
|
||||||
.text.memset 0x0000000008003f60 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 0x0000000008003e24 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)
|
||||||
0x0000000008003f60 memset
|
0x0000000008003e24 memset
|
||||||
*(.glue_7)
|
*(.glue_7)
|
||||||
.glue_7 0x0000000008003f70 0x0 linker stubs
|
.glue_7 0x0000000008003e34 0x0 linker stubs
|
||||||
*(.glue_7t)
|
*(.glue_7t)
|
||||||
.glue_7t 0x0000000008003f70 0x0 linker stubs
|
.glue_7t 0x0000000008003e34 0x0 linker stubs
|
||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
.eh_frame 0x0000000008003f70 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 0x0000000008003e34 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 0x0000000008003f70 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 0x0000000008003e34 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
|
||||||
0x0000000008003f70 _init
|
0x0000000008003e34 _init
|
||||||
.init 0x0000000008003f74 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 0x0000000008003e38 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 0x0000000008003f7c 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 0x0000000008003e40 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
|
||||||
0x0000000008003f7c _fini
|
0x0000000008003e40 _fini
|
||||||
.fini 0x0000000008003f80 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 0x0000000008003e44 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
|
||||||
0x0000000008003f88 . = ALIGN (0x4)
|
0x0000000008003e4c . = ALIGN (0x4)
|
||||||
0x0000000008003f88 _etext = .
|
0x0000000008003e4c _etext = .
|
||||||
|
|
||||||
.vfp11_veneer 0x0000000008003f88 0x0
|
.vfp11_veneer 0x0000000008003e4c 0x0
|
||||||
.vfp11_veneer 0x0000000008003f88 0x0 linker stubs
|
.vfp11_veneer 0x0000000008003e4c 0x0 linker stubs
|
||||||
|
|
||||||
.v4_bx 0x0000000008003f88 0x0
|
.v4_bx 0x0000000008003e4c 0x0
|
||||||
.v4_bx 0x0000000008003f88 0x0 linker stubs
|
.v4_bx 0x0000000008003e4c 0x0 linker stubs
|
||||||
|
|
||||||
.iplt 0x0000000008003f88 0x0
|
.iplt 0x0000000008003e4c 0x0
|
||||||
.iplt 0x0000000008003f88 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 0x0000000008003e4c 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 0x0000000008003f88 0x60
|
.rodata 0x0000000008003e4c 0x58
|
||||||
0x0000000008003f88 . = ALIGN (0x4)
|
0x0000000008003e4c . = ALIGN (0x4)
|
||||||
*(.rodata)
|
*(.rodata)
|
||||||
.rodata 0x0000000008003f88 0x20 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o
|
.rodata 0x0000000008003e4c 0x20 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o
|
||||||
*(.rodata*)
|
*(.rodata*)
|
||||||
.rodata.AHBPrescTable
|
.rodata.AHBPrescTable
|
||||||
0x0000000008003fa8 0x10 ./Core/Src/system_stm32f0xx.o
|
0x0000000008003e6c 0x10 ./Core/Src/system_stm32f0xx.o
|
||||||
0x0000000008003fa8 AHBPrescTable
|
0x0000000008003e6c AHBPrescTable
|
||||||
.rodata.LED_Tab
|
.rodata.LED_Tab
|
||||||
0x0000000008003fb8 0x12 ./my_software/my_code.o
|
0x0000000008003e7c 0x12 ./my_software/my_code.o
|
||||||
0x0000000008003fb8 LED_Tab
|
0x0000000008003e7c LED_Tab
|
||||||
*fill* 0x0000000008003fca 0x2
|
*fill* 0x0000000008003e8e 0x2
|
||||||
.rodata.my_code
|
.rodata.my_code
|
||||||
0x0000000008003fcc 0x1c ./my_software/my_code.o
|
0x0000000008003e90 0x14 ./my_software/my_code.o
|
||||||
0x0000000008003fe8 . = ALIGN (0x4)
|
0x0000000008003ea4 . = ALIGN (0x4)
|
||||||
|
|
||||||
.rel.dyn 0x0000000008003fe8 0x0
|
.rel.dyn 0x0000000008003ea4 0x0
|
||||||
.rel.iplt 0x0000000008003fe8 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 0x0000000008003ea4 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 0x0000000008003fe8 0x0
|
.ARM.extab 0x0000000008003ea4 0x0
|
||||||
0x0000000008003fe8 . = ALIGN (0x4)
|
0x0000000008003ea4 . = ALIGN (0x4)
|
||||||
*(.ARM.extab* .gnu.linkonce.armextab.*)
|
*(.ARM.extab* .gnu.linkonce.armextab.*)
|
||||||
0x0000000008003fe8 . = ALIGN (0x4)
|
0x0000000008003ea4 . = ALIGN (0x4)
|
||||||
|
|
||||||
.ARM 0x0000000008003fe8 0x0
|
.ARM 0x0000000008003ea4 0x0
|
||||||
0x0000000008003fe8 . = ALIGN (0x4)
|
0x0000000008003ea4 . = ALIGN (0x4)
|
||||||
0x0000000008003fe8 __exidx_start = .
|
0x0000000008003ea4 __exidx_start = .
|
||||||
*(.ARM.exidx*)
|
*(.ARM.exidx*)
|
||||||
0x0000000008003fe8 __exidx_end = .
|
0x0000000008003ea4 __exidx_end = .
|
||||||
0x0000000008003fe8 . = ALIGN (0x4)
|
0x0000000008003ea4 . = ALIGN (0x4)
|
||||||
|
|
||||||
.preinit_array 0x0000000008003fe8 0x0
|
.preinit_array 0x0000000008003ea4 0x0
|
||||||
0x0000000008003fe8 . = ALIGN (0x4)
|
0x0000000008003ea4 . = ALIGN (0x4)
|
||||||
0x0000000008003fe8 PROVIDE (__preinit_array_start = .)
|
0x0000000008003ea4 PROVIDE (__preinit_array_start = .)
|
||||||
*(.preinit_array*)
|
*(.preinit_array*)
|
||||||
0x0000000008003fe8 PROVIDE (__preinit_array_end = .)
|
0x0000000008003ea4 PROVIDE (__preinit_array_end = .)
|
||||||
0x0000000008003fe8 . = ALIGN (0x4)
|
0x0000000008003ea4 . = ALIGN (0x4)
|
||||||
|
|
||||||
.init_array 0x0000000008003fe8 0x4
|
.init_array 0x0000000008003ea4 0x4
|
||||||
0x0000000008003fe8 . = ALIGN (0x4)
|
0x0000000008003ea4 . = ALIGN (0x4)
|
||||||
0x0000000008003fe8 PROVIDE (__init_array_start = .)
|
0x0000000008003ea4 PROVIDE (__init_array_start = .)
|
||||||
*(SORT_BY_NAME(.init_array.*))
|
*(SORT_BY_NAME(.init_array.*))
|
||||||
*(.init_array*)
|
*(.init_array*)
|
||||||
.init_array 0x0000000008003fe8 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 0x0000000008003ea4 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
|
||||||
0x0000000008003fec PROVIDE (__init_array_end = .)
|
0x0000000008003ea8 PROVIDE (__init_array_end = .)
|
||||||
0x0000000008003fec . = ALIGN (0x4)
|
0x0000000008003ea8 . = ALIGN (0x4)
|
||||||
|
|
||||||
.fini_array 0x0000000008003fec 0x4
|
.fini_array 0x0000000008003ea8 0x4
|
||||||
0x0000000008003fec . = ALIGN (0x4)
|
0x0000000008003ea8 . = 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 0x0000000008003fec 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 0x0000000008003ea8 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 = .)
|
||||||
0x0000000008003ff0 . = ALIGN (0x4)
|
0x0000000008003eac . = ALIGN (0x4)
|
||||||
0x0000000008003ff0 _sidata = LOADADDR (.data)
|
0x0000000008003eac _sidata = LOADADDR (.data)
|
||||||
|
|
||||||
.data 0x0000000020000000 0xc load address 0x0000000008003ff0
|
.data 0x0000000020000000 0xc load address 0x0000000008003eac
|
||||||
0x0000000020000000 . = ALIGN (0x4)
|
0x0000000020000000 . = ALIGN (0x4)
|
||||||
0x0000000020000000 _sdata = .
|
0x0000000020000000 _sdata = .
|
||||||
*(.data)
|
*(.data)
|
||||||
@@ -3923,11 +3921,11 @@ 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 0x0000000008003ffc
|
.igot.plt 0x000000002000000c 0x0 load address 0x0000000008003eb8
|
||||||
.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 0x164 load address 0x0000000008003ffc
|
.bss 0x000000002000000c 0x144 load address 0x0000000008003eb8
|
||||||
0x000000002000000c _sbss = .
|
0x000000002000000c _sbss = .
|
||||||
0x000000002000000c __bss_start__ = _sbss
|
0x000000002000000c __bss_start__ = _sbss
|
||||||
*(.bss)
|
*(.bss)
|
||||||
@@ -3954,34 +3952,32 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id
|
|||||||
0x0000000020000094 hadc
|
0x0000000020000094 hadc
|
||||||
COMMON 0x00000000200000d4 0x4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o
|
COMMON 0x00000000200000d4 0x4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o
|
||||||
0x00000000200000d4 uwTick
|
0x00000000200000d4 uwTick
|
||||||
COMMON 0x00000000200000d8 0x94 ./my_software/my_code.o
|
COMMON 0x00000000200000d8 0x74 ./my_software/my_code.o
|
||||||
0x00000000200000d8 overload2
|
0x00000000200000d8 key4
|
||||||
0x00000000200000e8 key4
|
0x00000000200000e8 r480
|
||||||
0x00000000200000f8 r480
|
0x00000000200000f0 key1
|
||||||
0x0000000020000100 key1
|
0x0000000020000100 key3
|
||||||
0x0000000020000110 overload
|
0x0000000020000110 ADCC
|
||||||
0x0000000020000120 key3
|
0x0000000020000124 key2
|
||||||
0x0000000020000130 ADCC
|
0x0000000020000134 moto
|
||||||
0x0000000020000144 key2
|
0x0000000020000144 config
|
||||||
0x0000000020000154 moto
|
COMMON 0x000000002000014c 0x3 ./my_software/r480r.o
|
||||||
0x0000000020000164 config
|
0x000000002000014c read_data_buffer
|
||||||
COMMON 0x000000002000016c 0x3 ./my_software/r480r.o
|
0x0000000020000150 . = ALIGN (0x4)
|
||||||
0x000000002000016c read_data_buffer
|
*fill* 0x000000002000014f 0x1
|
||||||
0x0000000020000170 . = ALIGN (0x4)
|
0x0000000020000150 _ebss = .
|
||||||
*fill* 0x000000002000016f 0x1
|
0x0000000020000150 __bss_end__ = _ebss
|
||||||
0x0000000020000170 _ebss = .
|
|
||||||
0x0000000020000170 __bss_end__ = _ebss
|
|
||||||
|
|
||||||
._user_heap_stack
|
._user_heap_stack
|
||||||
0x0000000020000170 0x600 load address 0x0000000008003ffc
|
0x0000000020000150 0x600 load address 0x0000000008003eb8
|
||||||
0x0000000020000170 . = ALIGN (0x8)
|
0x0000000020000150 . = ALIGN (0x8)
|
||||||
[!provide] PROVIDE (end = .)
|
[!provide] PROVIDE (end = .)
|
||||||
0x0000000020000170 PROVIDE (_end = .)
|
0x0000000020000150 PROVIDE (_end = .)
|
||||||
0x0000000020000370 . = (. + _Min_Heap_Size)
|
0x0000000020000350 . = (. + _Min_Heap_Size)
|
||||||
*fill* 0x0000000020000170 0x200
|
*fill* 0x0000000020000150 0x200
|
||||||
0x0000000020000770 . = (. + _Min_Stack_Size)
|
0x0000000020000750 . = (. + _Min_Stack_Size)
|
||||||
*fill* 0x0000000020000370 0x400
|
*fill* 0x0000000020000350 0x400
|
||||||
0x0000000020000770 . = ALIGN (0x8)
|
0x0000000020000750 . = ALIGN (0x8)
|
||||||
|
|
||||||
/DISCARD/
|
/DISCARD/
|
||||||
libc.a(*)
|
libc.a(*)
|
||||||
@@ -4053,7 +4049,7 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id
|
|||||||
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 0xbeb2
|
.debug_info 0x0000000000000000 0xbe6e
|
||||||
.debug_info 0x0000000000000000 0xf4c ./Core/Src/main.o
|
.debug_info 0x0000000000000000 0xf4c ./Core/Src/main.o
|
||||||
.debug_info 0x0000000000000f4c 0xcdc ./Core/Src/stm32f0xx_hal_msp.o
|
.debug_info 0x0000000000000f4c 0xcdc ./Core/Src/stm32f0xx_hal_msp.o
|
||||||
.debug_info 0x0000000000001c28 0x76a ./Core/Src/stm32f0xx_it.o
|
.debug_info 0x0000000000001c28 0x76a ./Core/Src/stm32f0xx_it.o
|
||||||
@@ -4072,8 +4068,8 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id
|
|||||||
.debug_info 0x0000000000009f93 0x2d3 ./my_software/gpio.o
|
.debug_info 0x0000000000009f93 0x2d3 ./my_software/gpio.o
|
||||||
.debug_info 0x000000000000a266 0x3cc ./my_software/ht1621.o
|
.debug_info 0x000000000000a266 0x3cc ./my_software/ht1621.o
|
||||||
.debug_info 0x000000000000a632 0x3ea ./my_software/iic.o
|
.debug_info 0x000000000000a632 0x3ea ./my_software/iic.o
|
||||||
.debug_info 0x000000000000aa1c 0xba7 ./my_software/my_code.o
|
.debug_info 0x000000000000aa1c 0xb63 ./my_software/my_code.o
|
||||||
.debug_info 0x000000000000b5c3 0x8ef ./my_software/r480r.o
|
.debug_info 0x000000000000b57f 0x8ef ./my_software/r480r.o
|
||||||
|
|
||||||
.debug_abbrev 0x0000000000000000 0x22ae
|
.debug_abbrev 0x0000000000000000 0x22ae
|
||||||
.debug_abbrev 0x0000000000000000 0x23c ./Core/Src/main.o
|
.debug_abbrev 0x0000000000000000 0x23c ./Core/Src/main.o
|
||||||
@@ -4229,7 +4225,7 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id
|
|||||||
.debug_macro 0x0000000000010216 0x4c ./my_software/my_code.o
|
.debug_macro 0x0000000000010216 0x4c ./my_software/my_code.o
|
||||||
.debug_macro 0x0000000000010262 0x1e0 ./my_software/r480r.o
|
.debug_macro 0x0000000000010262 0x1e0 ./my_software/r480r.o
|
||||||
|
|
||||||
.debug_line 0x0000000000000000 0xf24c
|
.debug_line 0x0000000000000000 0xf1d9
|
||||||
.debug_line 0x0000000000000000 0x8df ./Core/Src/main.o
|
.debug_line 0x0000000000000000 0x8df ./Core/Src/main.o
|
||||||
.debug_line 0x00000000000008df 0x793 ./Core/Src/stm32f0xx_hal_msp.o
|
.debug_line 0x00000000000008df 0x793 ./Core/Src/stm32f0xx_hal_msp.o
|
||||||
.debug_line 0x0000000000001072 0x7a5 ./Core/Src/stm32f0xx_it.o
|
.debug_line 0x0000000000001072 0x7a5 ./Core/Src/stm32f0xx_it.o
|
||||||
@@ -4248,10 +4244,10 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id
|
|||||||
.debug_line 0x000000000000c3c8 0x725 ./my_software/gpio.o
|
.debug_line 0x000000000000c3c8 0x725 ./my_software/gpio.o
|
||||||
.debug_line 0x000000000000caed 0x835 ./my_software/ht1621.o
|
.debug_line 0x000000000000caed 0x835 ./my_software/ht1621.o
|
||||||
.debug_line 0x000000000000d322 0x923 ./my_software/iic.o
|
.debug_line 0x000000000000d322 0x923 ./my_software/iic.o
|
||||||
.debug_line 0x000000000000dc45 0xe16 ./my_software/my_code.o
|
.debug_line 0x000000000000dc45 0xda3 ./my_software/my_code.o
|
||||||
.debug_line 0x000000000000ea5b 0x7f1 ./my_software/r480r.o
|
.debug_line 0x000000000000e9e8 0x7f1 ./my_software/r480r.o
|
||||||
|
|
||||||
.debug_str 0x0000000000000000 0x5f5f6
|
.debug_str 0x0000000000000000 0x5f5c4
|
||||||
.debug_str 0x0000000000000000 0x5c9bc ./Core/Src/main.o
|
.debug_str 0x0000000000000000 0x5c9bc ./Core/Src/main.o
|
||||||
0x5cd69 (size before relaxing)
|
0x5cd69 (size before relaxing)
|
||||||
.debug_str 0x000000000005c9bc 0x84 ./Core/Src/stm32f0xx_hal_msp.o
|
.debug_str 0x000000000005c9bc 0x84 ./Core/Src/stm32f0xx_hal_msp.o
|
||||||
@@ -4288,9 +4284,9 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id
|
|||||||
0x5c4ba (size before relaxing)
|
0x5c4ba (size before relaxing)
|
||||||
.debug_str 0x000000000005f0e7 0x256 ./my_software/iic.o
|
.debug_str 0x000000000005f0e7 0x256 ./my_software/iic.o
|
||||||
0x5c2f3 (size before relaxing)
|
0x5c2f3 (size before relaxing)
|
||||||
.debug_str 0x000000000005f33d 0x202 ./my_software/my_code.o
|
.debug_str 0x000000000005f33d 0x1d0 ./my_software/my_code.o
|
||||||
0x5ca9f (size before relaxing)
|
0x5ca6d (size before relaxing)
|
||||||
.debug_str 0x000000000005f53f 0xb7 ./my_software/r480r.o
|
.debug_str 0x000000000005f50d 0xb7 ./my_software/r480r.o
|
||||||
0x5c64b (size before relaxing)
|
0x5c64b (size before relaxing)
|
||||||
|
|
||||||
.comment 0x0000000000000000 0x53
|
.comment 0x0000000000000000 0x53
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
#MicroXplorer Configuration settings - do not modify
|
#MicroXplorer Configuration settings - do not modify
|
||||||
ADC.ContinuousConvMode=ENABLE
|
ADC.ContinuousConvMode=DISABLE
|
||||||
ADC.IPParameters=ContinuousConvMode
|
ADC.DiscontinuousConvMode=ENABLE
|
||||||
|
ADC.IPParameters=ContinuousConvMode,DiscontinuousConvMode
|
||||||
File.Version=6
|
File.Version=6
|
||||||
GPIO.groupedBy=Group By Peripherals
|
GPIO.groupedBy=Group By Peripherals
|
||||||
KeepUserPlacement=false
|
KeepUserPlacement=false
|
||||||
|
|||||||
+18
-94
@@ -12,7 +12,7 @@
|
|||||||
#include "eeprom.h"
|
#include "eeprom.h"
|
||||||
extern ADC_HandleTypeDef hadc;
|
extern ADC_HandleTypeDef hadc;
|
||||||
|
|
||||||
struct button key1,key2,key3,key4,overload,overload2;
|
struct button key1,key2,key3,key4;
|
||||||
|
|
||||||
config_setting config;
|
config_setting config;
|
||||||
|
|
||||||
@@ -290,8 +290,7 @@ void my_code()
|
|||||||
uint32_t runtime=0,move=0;
|
uint32_t runtime=0,move=0;
|
||||||
uint8_t mode=1;
|
uint8_t mode=1;
|
||||||
|
|
||||||
uint16_t overload_times=0;
|
|
||||||
uint16_t overload_times2=0;
|
|
||||||
long countdown=1000;
|
long countdown=1000;
|
||||||
long countdown_set=15000;
|
long countdown_set=15000;
|
||||||
|
|
||||||
@@ -309,11 +308,12 @@ void my_code()
|
|||||||
r480.key=0;
|
r480.key=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
mode=6;
|
|
||||||
while(1)
|
while(1)
|
||||||
{
|
{
|
||||||
|
|
||||||
//get ADC
|
//get ADC
|
||||||
|
|
||||||
for(char a=0;a<2;a++)
|
for(char a=0;a<2;a++)
|
||||||
{
|
{
|
||||||
HAL_ADC_Start(&hadc);
|
HAL_ADC_Start(&hadc);
|
||||||
@@ -394,7 +394,6 @@ void my_code()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
overload_times=0;
|
|
||||||
if(key2.code!=0)
|
if(key2.code!=0)
|
||||||
{
|
{
|
||||||
mode=2;
|
mode=2;
|
||||||
@@ -456,22 +455,16 @@ void my_code()
|
|||||||
{
|
{
|
||||||
mode=1;
|
mode=1;
|
||||||
}
|
}
|
||||||
if(overload.code!=0)
|
|
||||||
|
if(ADCC.adc_value[1]>400)
|
||||||
{
|
{
|
||||||
overload_times+=1;
|
//overload_times=0;
|
||||||
}
|
moto.moto1a=0;
|
||||||
if(overload2.code!=0)
|
|
||||||
{
|
|
||||||
overload_times2+=1;
|
|
||||||
}
|
|
||||||
if(overload_times>2)
|
|
||||||
{
|
|
||||||
overload_times=0;
|
|
||||||
moto.moto1b=0;
|
moto.moto1b=0;
|
||||||
}
|
}
|
||||||
if(overload_times2>2)
|
if(ADCC.adc_value[0]>400)
|
||||||
{
|
{
|
||||||
overload_times2=0;
|
moto.moto2a=0;
|
||||||
moto.moto2b=0;
|
moto.moto2b=0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@@ -511,22 +504,16 @@ void my_code()
|
|||||||
{
|
{
|
||||||
mode=1;
|
mode=1;
|
||||||
}
|
}
|
||||||
if(overload.code!=0)
|
if(ADCC.adc_value[1]>400)
|
||||||
{
|
{
|
||||||
overload_times+=1;
|
//overload_times=0;
|
||||||
}
|
moto.moto1a=0;
|
||||||
if(overload2.code!=0)
|
|
||||||
{
|
|
||||||
overload_times2+=1;
|
|
||||||
}
|
|
||||||
if(overload_times>2)
|
|
||||||
{
|
|
||||||
overload_times=0;
|
|
||||||
moto.moto1b=0;
|
moto.moto1b=0;
|
||||||
}
|
}
|
||||||
if(overload_times2>2)
|
if(ADCC.adc_value[0]>400)
|
||||||
{
|
{
|
||||||
overload_times2=0;
|
//overload_times2=0;
|
||||||
|
moto.moto2a=0;
|
||||||
moto.moto2b=0;
|
moto.moto2b=0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@@ -568,74 +555,11 @@ void my_code()
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 6:
|
|
||||||
moto.moto1a=10;
|
|
||||||
moto.moto1b=0;
|
|
||||||
moto.moto2a=10;
|
|
||||||
moto.moto2b=0;
|
|
||||||
dis_buff.d_num[3]=(ADCC.adc_value[1])%10;
|
|
||||||
dis_buff.d_num[2]=(ADCC.adc_value[1]/10)%10;
|
|
||||||
dis_buff.d_num[1]=((ADCC.adc_value[1]/100)%10);
|
|
||||||
dis_buff.d_num[0]=((ADCC.adc_value[1]/1000)%10);
|
|
||||||
break;
|
|
||||||
// case 5:
|
|
||||||
// //overload
|
|
||||||
// moto.moto1a=0;
|
|
||||||
// moto.moto1b=0;
|
|
||||||
// moto.moto2a=0;
|
|
||||||
// moto.moto2b=0;
|
|
||||||
// dis_buff.led_run=1;
|
|
||||||
// overload_times=0;
|
|
||||||
// dis_buff.d_num[3]=(countdown/100)%10;
|
|
||||||
// dis_buff.d_num[2]=(countdown/1000)%10;
|
|
||||||
// dis_buff.d_num[1]=((countdown/10000)%10);
|
|
||||||
// dis_buff.d_num[1]=dis_buff.d_num[1]==0?16:dis_buff.d_num[1];
|
|
||||||
// dis_buff.dot3=1;
|
|
||||||
// if(key4.code!=0){mode=1;}
|
|
||||||
//
|
|
||||||
// if(key2.code!=0)
|
|
||||||
// {
|
|
||||||
// mode=2;
|
|
||||||
// if(overload_mode==2)
|
|
||||||
// {
|
|
||||||
//
|
|
||||||
// }else
|
|
||||||
// {
|
|
||||||
// countdown=countdown_set-countdown;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// }
|
|
||||||
// if(key3.code!=0)
|
|
||||||
// {
|
|
||||||
// mode=3;
|
|
||||||
// if(overload_mode==3)
|
|
||||||
// {
|
|
||||||
//
|
|
||||||
// }else
|
|
||||||
// {
|
|
||||||
// countdown=countdown_set-countdown;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// break;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(ADCC.adc_value[0]>600)
|
|
||||||
{
|
|
||||||
GEI_BUTTON_CODE(&overload,1);
|
|
||||||
}else
|
|
||||||
{
|
|
||||||
GEI_BUTTON_CODE(&overload,0);
|
|
||||||
}
|
|
||||||
if(ADCC.adc_value[1]>600)
|
|
||||||
{
|
|
||||||
GEI_BUTTON_CODE(&overload2,1);
|
|
||||||
}else
|
|
||||||
{
|
|
||||||
GEI_BUTTON_CODE(&overload2,0);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user