wip working usart, not receiving over tty
This commit is contained in:
@@ -36,6 +36,7 @@ Discarded input sections
|
||||
.group 0x00000000 0xc build/main.o
|
||||
.group 0x00000000 0xc build/main.o
|
||||
.group 0x00000000 0xc build/main.o
|
||||
.group 0x00000000 0xc build/main.o
|
||||
.text 0x00000000 0x0 build/main.o
|
||||
.data 0x00000000 0x0 build/main.o
|
||||
.bss 0x00000000 0x0 build/main.o
|
||||
@@ -52,7 +53,7 @@ Discarded input sections
|
||||
.debug_macro 0x00000000 0x89 build/main.o
|
||||
.debug_macro 0x00000000 0x4cc build/main.o
|
||||
.debug_macro 0x00000000 0x22 build/main.o
|
||||
.debug_macro 0x00000000 0x34 build/main.o
|
||||
.debug_macro 0x00000000 0x88 build/main.o
|
||||
.group 0x00000000 0xc build/startup.o
|
||||
.group 0x00000000 0xc build/startup.o
|
||||
.group 0x00000000 0xc build/startup.o
|
||||
@@ -96,6 +97,40 @@ Discarded input sections
|
||||
.debug_macro 0x00000000 0x89 build/timer.o
|
||||
.debug_macro 0x00000000 0x4cc build/timer.o
|
||||
.debug_macro 0x00000000 0x22 build/timer.o
|
||||
.group 0x00000000 0xc build/usart.o
|
||||
.group 0x00000000 0xc build/usart.o
|
||||
.group 0x00000000 0xc build/usart.o
|
||||
.group 0x00000000 0xc build/usart.o
|
||||
.group 0x00000000 0xc build/usart.o
|
||||
.group 0x00000000 0xc build/usart.o
|
||||
.group 0x00000000 0xc build/usart.o
|
||||
.group 0x00000000 0xc build/usart.o
|
||||
.group 0x00000000 0xc build/usart.o
|
||||
.group 0x00000000 0xc build/usart.o
|
||||
.group 0x00000000 0xc build/usart.o
|
||||
.group 0x00000000 0xc build/usart.o
|
||||
.group 0x00000000 0xc build/usart.o
|
||||
.group 0x00000000 0xc build/usart.o
|
||||
.group 0x00000000 0xc build/usart.o
|
||||
.group 0x00000000 0xc build/usart.o
|
||||
.text 0x00000000 0x0 build/usart.o
|
||||
.data 0x00000000 0x0 build/usart.o
|
||||
.bss 0x00000000 0x0 build/usart.o
|
||||
.debug_macro 0x00000000 0x22 build/usart.o
|
||||
.debug_macro 0x00000000 0x75 build/usart.o
|
||||
.debug_macro 0x00000000 0x2a build/usart.o
|
||||
.debug_macro 0x00000000 0x5c build/usart.o
|
||||
.debug_macro 0x00000000 0x3c build/usart.o
|
||||
.debug_macro 0x00000000 0x103 build/usart.o
|
||||
.debug_macro 0x00000000 0x3a build/usart.o
|
||||
.debug_macro 0x00000000 0x57 build/usart.o
|
||||
.debug_macro 0x00000000 0x6a build/usart.o
|
||||
.debug_macro 0x00000000 0x1df build/usart.o
|
||||
.debug_macro 0x00000000 0x89 build/usart.o
|
||||
.debug_macro 0x00000000 0x4cc build/usart.o
|
||||
.debug_macro 0x00000000 0x13e build/usart.o
|
||||
.debug_macro 0x00000000 0x22 build/usart.o
|
||||
.debug_macro 0x00000000 0x82 build/usart.o
|
||||
|
||||
Memory Configuration
|
||||
|
||||
@@ -112,6 +147,7 @@ LOAD build/gpio.o
|
||||
LOAD build/main.o
|
||||
LOAD build/startup.o
|
||||
LOAD build/timer.o
|
||||
LOAD build/usart.o
|
||||
0x20020000 stack_start = (ORIGIN (sram) + LENGTH (sram))
|
||||
|
||||
.isr_vector 0x08000000 0x198
|
||||
@@ -121,7 +157,7 @@ LOAD build/timer.o
|
||||
0x08000000 interrupt_vector_table
|
||||
0x08000198 . = ALIGN (0x4)
|
||||
|
||||
.text 0x08000198 0x358
|
||||
.text 0x08000198 0x4f0
|
||||
0x08000198 . = ALIGN (0x4)
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
@@ -134,113 +170,128 @@ LOAD build/timer.o
|
||||
*fill* 0x08000246 0x2
|
||||
.text.system_clock_init
|
||||
0x08000248 0x144 build/main.o
|
||||
.text.main 0x0800038c 0x88 build/main.o
|
||||
.text.main 0x0800038c 0x9c build/main.o
|
||||
0x0800038c main
|
||||
.text.init_memory
|
||||
0x08000414 0x64 build/startup.o
|
||||
0x08000414 init_memory
|
||||
.text.reset 0x08000478 0x10 build/startup.o
|
||||
0x08000478 reset
|
||||
0x08000428 0x64 build/startup.o
|
||||
0x08000428 init_memory
|
||||
.text.reset 0x0800048c 0x10 build/startup.o
|
||||
0x0800048c reset
|
||||
.text.default_handler
|
||||
0x08000488 0x8 build/startup.o
|
||||
0x08000488 exti0
|
||||
0x08000488 debug_monitor
|
||||
0x08000488 rcc
|
||||
0x08000488 x
|
||||
0x08000488 sdio
|
||||
0x08000488 usage_fault
|
||||
0x08000488 tim1_up_tim10
|
||||
0x08000488 usart1
|
||||
0x08000488 i2c3_er
|
||||
0x08000488 spi2
|
||||
0x08000488 dma1_stream1
|
||||
0x08000488 bus_fault
|
||||
0x08000488 spi5
|
||||
0x08000488 exti3
|
||||
0x08000488 dma2_stream5
|
||||
0x08000488 tim2
|
||||
0x08000488 dma1_stream6
|
||||
0x08000488 default_handler
|
||||
0x08000488 i2c1_er
|
||||
0x08000488 hard_fault
|
||||
0x08000488 usart6
|
||||
0x08000488 exti15_10
|
||||
0x08000488 usart2
|
||||
0x08000488 pend_sv
|
||||
0x08000488 i2c1_ev
|
||||
0x08000488 wwdg
|
||||
0x08000488 adc
|
||||
0x08000488 rtc_alarm
|
||||
0x08000488 spi3
|
||||
0x08000488 exti1
|
||||
0x08000488 mem_manage
|
||||
0x08000488 dma2_stream1
|
||||
0x08000488 dma1_stream2
|
||||
0x08000488 dma2_stream3
|
||||
0x08000488 sv_call
|
||||
0x08000488 tim3
|
||||
0x08000488 otg_fs
|
||||
0x08000488 dma1_stream5
|
||||
0x08000488 dma2_stream6
|
||||
0x08000488 flash
|
||||
0x08000488 tamp_stamp
|
||||
0x08000488 i2c3_ev
|
||||
0x08000488 rtc_wkup
|
||||
0x08000488 dma2_stream0
|
||||
0x08000488 pvd
|
||||
0x08000488 fpu
|
||||
0x08000488 exti4
|
||||
0x08000488 exti2
|
||||
0x08000488 spi1
|
||||
0x08000488 dma1_stream0
|
||||
0x08000488 tim1_brk_tim9
|
||||
0x08000488 i2c2_ev
|
||||
0x08000488 otg_fs_wkup
|
||||
0x08000488 spi4
|
||||
0x08000488 dma2_stream2
|
||||
0x08000488 tim1_cc
|
||||
0x08000488 tim1_trg_com_tim11
|
||||
0x08000488 exti9_5
|
||||
0x08000488 dma1_stream3
|
||||
0x08000488 dma2_stream4
|
||||
0x08000488 i2c2_er
|
||||
0x08000488 dma2_stream7
|
||||
0x08000488 dma1_stream7
|
||||
0x08000488 nmi
|
||||
0x08000488 systick
|
||||
0x08000488 tim4
|
||||
0x08000488 tim5
|
||||
0x08000488 dma1_stream4
|
||||
0x0800049c 0x8 build/startup.o
|
||||
0x0800049c exti0
|
||||
0x0800049c debug_monitor
|
||||
0x0800049c rcc
|
||||
0x0800049c x
|
||||
0x0800049c sdio
|
||||
0x0800049c usage_fault
|
||||
0x0800049c tim1_up_tim10
|
||||
0x0800049c usart1
|
||||
0x0800049c i2c3_er
|
||||
0x0800049c spi2
|
||||
0x0800049c dma1_stream1
|
||||
0x0800049c bus_fault
|
||||
0x0800049c spi5
|
||||
0x0800049c exti3
|
||||
0x0800049c dma2_stream5
|
||||
0x0800049c tim2
|
||||
0x0800049c dma1_stream6
|
||||
0x0800049c default_handler
|
||||
0x0800049c i2c1_er
|
||||
0x0800049c hard_fault
|
||||
0x0800049c usart6
|
||||
0x0800049c exti15_10
|
||||
0x0800049c usart2
|
||||
0x0800049c pend_sv
|
||||
0x0800049c i2c1_ev
|
||||
0x0800049c wwdg
|
||||
0x0800049c adc
|
||||
0x0800049c rtc_alarm
|
||||
0x0800049c spi3
|
||||
0x0800049c exti1
|
||||
0x0800049c mem_manage
|
||||
0x0800049c dma2_stream1
|
||||
0x0800049c dma1_stream2
|
||||
0x0800049c dma2_stream3
|
||||
0x0800049c sv_call
|
||||
0x0800049c tim3
|
||||
0x0800049c otg_fs
|
||||
0x0800049c dma1_stream5
|
||||
0x0800049c dma2_stream6
|
||||
0x0800049c flash
|
||||
0x0800049c tamp_stamp
|
||||
0x0800049c i2c3_ev
|
||||
0x0800049c rtc_wkup
|
||||
0x0800049c dma2_stream0
|
||||
0x0800049c pvd
|
||||
0x0800049c fpu
|
||||
0x0800049c exti4
|
||||
0x0800049c exti2
|
||||
0x0800049c spi1
|
||||
0x0800049c dma1_stream0
|
||||
0x0800049c tim1_brk_tim9
|
||||
0x0800049c i2c2_ev
|
||||
0x0800049c otg_fs_wkup
|
||||
0x0800049c spi4
|
||||
0x0800049c dma2_stream2
|
||||
0x0800049c tim1_cc
|
||||
0x0800049c tim1_trg_com_tim11
|
||||
0x0800049c exti9_5
|
||||
0x0800049c dma1_stream3
|
||||
0x0800049c dma2_stream4
|
||||
0x0800049c i2c2_er
|
||||
0x0800049c dma2_stream7
|
||||
0x0800049c dma1_stream7
|
||||
0x0800049c nmi
|
||||
0x0800049c systick
|
||||
0x0800049c tim4
|
||||
0x0800049c tim5
|
||||
0x0800049c dma1_stream4
|
||||
.text.tim4_init
|
||||
0x08000490 0x40 build/timer.o
|
||||
0x08000490 tim4_init
|
||||
0x080004a4 0x40 build/timer.o
|
||||
0x080004a4 tim4_init
|
||||
.text.tim4_start
|
||||
0x080004d0 0x20 build/timer.o
|
||||
0x080004d0 tim4_start
|
||||
0x080004e4 0x20 build/timer.o
|
||||
0x080004e4 tim4_start
|
||||
.text.usart2_init
|
||||
0x08000504 0xf8 build/usart.o
|
||||
0x08000504 usart2_init
|
||||
.text.usart2_start
|
||||
0x080005fc 0x20 build/usart.o
|
||||
0x080005fc usart2_start
|
||||
.text.usart2_write_byte
|
||||
0x0800061c 0x30 build/usart.o
|
||||
0x0800061c usart2_write_byte
|
||||
.text.usart2_write
|
||||
0x0800064c 0x2a build/usart.o
|
||||
0x0800064c usart2_write
|
||||
*(.rodata)
|
||||
*fill* 0x08000676 0x2
|
||||
.rodata 0x08000678 0xe build/main.o
|
||||
*(.rodata.*)
|
||||
0x080004f0 . = ALIGN (0x4)
|
||||
0x080004f0 _data_addr = LOADADDR (.data)
|
||||
0x08000688 . = ALIGN (0x4)
|
||||
*fill* 0x08000686 0x2
|
||||
0x08000688 _data_addr = LOADADDR (.data)
|
||||
|
||||
.glue_7 0x080004f0 0x0
|
||||
.glue_7 0x080004f0 0x0 linker stubs
|
||||
.glue_7 0x08000688 0x0
|
||||
.glue_7 0x08000688 0x0 linker stubs
|
||||
|
||||
.glue_7t 0x080004f0 0x0
|
||||
.glue_7t 0x080004f0 0x0 linker stubs
|
||||
.glue_7t 0x08000688 0x0
|
||||
.glue_7t 0x08000688 0x0 linker stubs
|
||||
|
||||
.vfp11_veneer 0x080004f0 0x0
|
||||
.vfp11_veneer 0x080004f0 0x0 linker stubs
|
||||
.vfp11_veneer 0x08000688 0x0
|
||||
.vfp11_veneer 0x08000688 0x0 linker stubs
|
||||
|
||||
.v4_bx 0x080004f0 0x0
|
||||
.v4_bx 0x080004f0 0x0 linker stubs
|
||||
.v4_bx 0x08000688 0x0
|
||||
.v4_bx 0x08000688 0x0 linker stubs
|
||||
|
||||
.iplt 0x080004f0 0x0
|
||||
.iplt 0x080004f0 0x0 build/main.o
|
||||
.iplt 0x08000688 0x0
|
||||
.iplt 0x08000688 0x0 build/main.o
|
||||
|
||||
.rel.dyn 0x080004f0 0x0
|
||||
.rel.iplt 0x080004f0 0x0 build/main.o
|
||||
.rel.dyn 0x08000688 0x0
|
||||
.rel.iplt 0x08000688 0x0 build/main.o
|
||||
|
||||
.data 0x20000000 0x0 load address 0x080004f0
|
||||
.data 0x20000000 0x0 load address 0x08000688
|
||||
0x20000000 . = ALIGN (0x4)
|
||||
0x20000000 _data_start = .
|
||||
*(.data)
|
||||
@@ -248,10 +299,10 @@ LOAD build/timer.o
|
||||
0x20000000 . = ALIGN (0x4)
|
||||
0x20000000 _data_end = .
|
||||
|
||||
.igot.plt 0x20000000 0x0 load address 0x080004f0
|
||||
.igot.plt 0x20000000 0x0 load address 0x08000688
|
||||
.igot.plt 0x20000000 0x0 build/main.o
|
||||
|
||||
.bss 0x20000000 0x0 load address 0x080004f0
|
||||
.bss 0x20000000 0x0 load address 0x08000688
|
||||
0x20000000 . = ALIGN (0x4)
|
||||
0x20000000 _bss_start = .
|
||||
*(.bss)
|
||||
@@ -261,19 +312,21 @@ LOAD build/timer.o
|
||||
OUTPUT(build/final.elf elf32-littlearm)
|
||||
LOAD linker stubs
|
||||
|
||||
.debug_info 0x00000000 0xb25
|
||||
.debug_info 0x00000000 0x21a build/gpio.o
|
||||
.debug_info 0x0000021a 0x44e build/main.o
|
||||
.debug_info 0x00000668 0x188 build/startup.o
|
||||
.debug_info 0x000007f0 0x335 build/timer.o
|
||||
.debug_info 0x00000000 0xeb1
|
||||
.debug_info 0x00000000 0x205 build/gpio.o
|
||||
.debug_info 0x00000205 0x47e build/main.o
|
||||
.debug_info 0x00000683 0x188 build/startup.o
|
||||
.debug_info 0x0000080b 0x335 build/timer.o
|
||||
.debug_info 0x00000b40 0x371 build/usart.o
|
||||
|
||||
.debug_abbrev 0x00000000 0x44b
|
||||
.debug_abbrev 0x00000000 0x12b build/gpio.o
|
||||
.debug_abbrev 0x0000012b 0x144 build/main.o
|
||||
.debug_abbrev 0x0000026f 0x127 build/startup.o
|
||||
.debug_abbrev 0x00000396 0xb5 build/timer.o
|
||||
.debug_abbrev 0x00000000 0x547
|
||||
.debug_abbrev 0x00000000 0x119 build/gpio.o
|
||||
.debug_abbrev 0x00000119 0x14b build/main.o
|
||||
.debug_abbrev 0x00000264 0x127 build/startup.o
|
||||
.debug_abbrev 0x0000038b 0xb5 build/timer.o
|
||||
.debug_abbrev 0x00000440 0x107 build/usart.o
|
||||
|
||||
.debug_aranges 0x00000000 0xa8
|
||||
.debug_aranges 0x00000000 0xe0
|
||||
.debug_aranges
|
||||
0x00000000 0x28 build/gpio.o
|
||||
.debug_aranges
|
||||
@@ -282,9 +335,11 @@ LOAD linker stubs
|
||||
0x00000050 0x30 build/startup.o
|
||||
.debug_aranges
|
||||
0x00000080 0x28 build/timer.o
|
||||
.debug_aranges
|
||||
0x000000a8 0x38 build/usart.o
|
||||
|
||||
.debug_rnglists
|
||||
0x00000000 0x6c
|
||||
0x00000000 0x92
|
||||
.debug_rnglists
|
||||
0x00000000 0x19 build/gpio.o
|
||||
.debug_rnglists
|
||||
@@ -293,8 +348,10 @@ LOAD linker stubs
|
||||
0x00000034 0x1f build/startup.o
|
||||
.debug_rnglists
|
||||
0x00000053 0x19 build/timer.o
|
||||
.debug_rnglists
|
||||
0x0000006c 0x26 build/usart.o
|
||||
|
||||
.debug_macro 0x00000000 0x3ba0
|
||||
.debug_macro 0x00000000 0x48a9
|
||||
.debug_macro 0x00000000 0xb56 build/gpio.o
|
||||
.debug_macro 0x00000b56 0x22 build/gpio.o
|
||||
.debug_macro 0x00000b78 0x75 build/gpio.o
|
||||
@@ -309,33 +366,39 @@ LOAD linker stubs
|
||||
.debug_macro 0x0000108c 0x89 build/gpio.o
|
||||
.debug_macro 0x00001115 0x4cc build/gpio.o
|
||||
.debug_macro 0x000015e1 0x22 build/gpio.o
|
||||
.debug_macro 0x00001603 0x34 build/gpio.o
|
||||
.debug_macro 0x00001637 0xb80 build/main.o
|
||||
.debug_macro 0x000021b7 0x12a build/main.o
|
||||
.debug_macro 0x000022e1 0x46 build/main.o
|
||||
.debug_macro 0x00002327 0x2e build/main.o
|
||||
.debug_macro 0x00002355 0x22 build/main.o
|
||||
.debug_macro 0x00002377 0xb02 build/startup.o
|
||||
.debug_macro 0x00002e79 0x56 build/startup.o
|
||||
.debug_macro 0x00002ecf 0x51 build/startup.o
|
||||
.debug_macro 0x00002f20 0xb5c build/timer.o
|
||||
.debug_macro 0x00003a7c 0x124 build/timer.o
|
||||
.debug_macro 0x00001603 0x88 build/gpio.o
|
||||
.debug_macro 0x0000168b 0xb89 build/main.o
|
||||
.debug_macro 0x00002214 0x144 build/main.o
|
||||
.debug_macro 0x00002358 0x46 build/main.o
|
||||
.debug_macro 0x0000239e 0x2e build/main.o
|
||||
.debug_macro 0x000023cc 0x22 build/main.o
|
||||
.debug_macro 0x000023ee 0x82 build/main.o
|
||||
.debug_macro 0x00002470 0xb02 build/startup.o
|
||||
.debug_macro 0x00002f72 0x56 build/startup.o
|
||||
.debug_macro 0x00002fc8 0x51 build/startup.o
|
||||
.debug_macro 0x00003019 0xb5c build/timer.o
|
||||
.debug_macro 0x00003b75 0x13e build/timer.o
|
||||
.debug_macro 0x00003cb3 0xb74 build/usart.o
|
||||
.debug_macro 0x00004827 0x82 build/usart.o
|
||||
|
||||
.debug_line 0x00000000 0x4b9
|
||||
.debug_line 0x00000000 0x666
|
||||
.debug_line 0x00000000 0x116 build/gpio.o
|
||||
.debug_line 0x00000116 0x1da build/main.o
|
||||
.debug_line 0x000002f0 0xea build/startup.o
|
||||
.debug_line 0x000003da 0xdf build/timer.o
|
||||
.debug_line 0x00000116 0x1e4 build/main.o
|
||||
.debug_line 0x000002fa 0xea build/startup.o
|
||||
.debug_line 0x000003e4 0xdf build/timer.o
|
||||
.debug_line 0x000004c3 0x1a3 build/usart.o
|
||||
|
||||
.debug_str 0x00000000 0x5eb8
|
||||
.debug_str 0x00000000 0x5372 build/gpio.o
|
||||
0x551a (size before relaxing)
|
||||
.debug_str 0x00005372 0xab2 build/main.o
|
||||
0x5f7c (size before relaxing)
|
||||
.debug_str 0x00005e24 0x88 build/startup.o
|
||||
0x3cdf (size before relaxing)
|
||||
.debug_str 0x00005eac 0xc build/timer.o
|
||||
0x5b1a (size before relaxing)
|
||||
.debug_str 0x00000000 0x63e6
|
||||
.debug_str 0x00000000 0x5508 build/gpio.o
|
||||
0x56b0 (size before relaxing)
|
||||
.debug_str 0x00005508 0xe17 build/main.o
|
||||
0x6477 (size before relaxing)
|
||||
.debug_str 0x0000631f 0x88 build/startup.o
|
||||
0x3cdc (size before relaxing)
|
||||
.debug_str 0x000063a7 0xc build/timer.o
|
||||
0x5bc2 (size before relaxing)
|
||||
.debug_str 0x000063b3 0x33 build/usart.o
|
||||
0x60ec (size before relaxing)
|
||||
|
||||
.comment 0x00000000 0x45
|
||||
.comment 0x00000000 0x45 build/gpio.o
|
||||
@@ -343,6 +406,7 @@ LOAD linker stubs
|
||||
.comment 0x00000045 0x46 build/main.o
|
||||
.comment 0x00000045 0x46 build/startup.o
|
||||
.comment 0x00000045 0x46 build/timer.o
|
||||
.comment 0x00000045 0x46 build/usart.o
|
||||
|
||||
.ARM.attributes
|
||||
0x00000000 0x34
|
||||
@@ -354,24 +418,30 @@ LOAD linker stubs
|
||||
0x00000068 0x34 build/startup.o
|
||||
.ARM.attributes
|
||||
0x0000009c 0x34 build/timer.o
|
||||
.ARM.attributes
|
||||
0x000000d0 0x34 build/usart.o
|
||||
|
||||
.debug_line_str
|
||||
0x00000000 0x283
|
||||
0x00000000 0x290
|
||||
.debug_line_str
|
||||
0x00000000 0x24e build/gpio.o
|
||||
0x260 (size before relaxing)
|
||||
0x00000000 0x24b build/gpio.o
|
||||
0x25d (size before relaxing)
|
||||
.debug_line_str
|
||||
0x0000024e 0x23 build/main.o
|
||||
0x27c (size before relaxing)
|
||||
0x0000024b 0x2b build/main.o
|
||||
0x281 (size before relaxing)
|
||||
.debug_line_str
|
||||
0x00000271 0xa build/startup.o
|
||||
0x21b (size before relaxing)
|
||||
0x00000276 0xa build/startup.o
|
||||
0x218 (size before relaxing)
|
||||
.debug_line_str
|
||||
0x0000027b 0x8 build/timer.o
|
||||
0x25e (size before relaxing)
|
||||
0x00000280 0x8 build/timer.o
|
||||
0x25b (size before relaxing)
|
||||
.debug_line_str
|
||||
0x00000288 0x8 build/usart.o
|
||||
0x26c (size before relaxing)
|
||||
|
||||
.debug_frame 0x00000000 0x16c
|
||||
.debug_frame 0x00000000 0x208
|
||||
.debug_frame 0x00000000 0x60 build/gpio.o
|
||||
.debug_frame 0x00000060 0x50 build/main.o
|
||||
.debug_frame 0x000000b0 0x6c build/startup.o
|
||||
.debug_frame 0x0000011c 0x50 build/timer.o
|
||||
.debug_frame 0x0000016c 0x9c build/usart.o
|
||||
|
||||
Reference in New Issue
Block a user