Use RCC_CFGR_SW helper function to set software clock
This commit is contained in:
@@ -121,7 +121,7 @@ LOAD build/timer.o
|
||||
0x08000000 interrupt_vector_table
|
||||
0x08000198 . = ALIGN (0x4)
|
||||
|
||||
.text 0x08000198 0x358
|
||||
.text 0x08000198 0x34c
|
||||
0x08000198 . = ALIGN (0x4)
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
@@ -133,114 +133,114 @@ LOAD build/timer.o
|
||||
0x080001fa gpio_write
|
||||
*fill* 0x08000246 0x2
|
||||
.text.system_clock_init
|
||||
0x08000248 0x144 build/main.o
|
||||
.text.main 0x0800038c 0x88 build/main.o
|
||||
0x0800038c main
|
||||
0x08000248 0x138 build/main.o
|
||||
.text.main 0x08000380 0x88 build/main.o
|
||||
0x08000380 main
|
||||
.text.init_memory
|
||||
0x08000414 0x64 build/startup.o
|
||||
0x08000414 init_memory
|
||||
.text.reset 0x08000478 0x10 build/startup.o
|
||||
0x08000478 reset
|
||||
0x08000408 0x64 build/startup.o
|
||||
0x08000408 init_memory
|
||||
.text.reset 0x0800046c 0x10 build/startup.o
|
||||
0x0800046c 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
|
||||
0x0800047c 0x8 build/startup.o
|
||||
0x0800047c exti0
|
||||
0x0800047c debug_monitor
|
||||
0x0800047c rcc
|
||||
0x0800047c x
|
||||
0x0800047c sdio
|
||||
0x0800047c usage_fault
|
||||
0x0800047c tim1_up_tim10
|
||||
0x0800047c usart1
|
||||
0x0800047c i2c3_er
|
||||
0x0800047c spi2
|
||||
0x0800047c dma1_stream1
|
||||
0x0800047c bus_fault
|
||||
0x0800047c spi5
|
||||
0x0800047c exti3
|
||||
0x0800047c dma2_stream5
|
||||
0x0800047c tim2
|
||||
0x0800047c dma1_stream6
|
||||
0x0800047c default_handler
|
||||
0x0800047c i2c1_er
|
||||
0x0800047c hard_fault
|
||||
0x0800047c usart6
|
||||
0x0800047c exti15_10
|
||||
0x0800047c usart2
|
||||
0x0800047c pend_sv
|
||||
0x0800047c i2c1_ev
|
||||
0x0800047c wwdg
|
||||
0x0800047c adc
|
||||
0x0800047c rtc_alarm
|
||||
0x0800047c spi3
|
||||
0x0800047c exti1
|
||||
0x0800047c mem_manage
|
||||
0x0800047c dma2_stream1
|
||||
0x0800047c dma1_stream2
|
||||
0x0800047c dma2_stream3
|
||||
0x0800047c sv_call
|
||||
0x0800047c tim3
|
||||
0x0800047c otg_fs
|
||||
0x0800047c dma1_stream5
|
||||
0x0800047c dma2_stream6
|
||||
0x0800047c flash
|
||||
0x0800047c tamp_stamp
|
||||
0x0800047c i2c3_ev
|
||||
0x0800047c rtc_wkup
|
||||
0x0800047c dma2_stream0
|
||||
0x0800047c pvd
|
||||
0x0800047c fpu
|
||||
0x0800047c exti4
|
||||
0x0800047c exti2
|
||||
0x0800047c spi1
|
||||
0x0800047c dma1_stream0
|
||||
0x0800047c tim1_brk_tim9
|
||||
0x0800047c i2c2_ev
|
||||
0x0800047c otg_fs_wkup
|
||||
0x0800047c spi4
|
||||
0x0800047c dma2_stream2
|
||||
0x0800047c tim1_cc
|
||||
0x0800047c tim1_trg_com_tim11
|
||||
0x0800047c exti9_5
|
||||
0x0800047c dma1_stream3
|
||||
0x0800047c dma2_stream4
|
||||
0x0800047c i2c2_er
|
||||
0x0800047c dma2_stream7
|
||||
0x0800047c dma1_stream7
|
||||
0x0800047c nmi
|
||||
0x0800047c systick
|
||||
0x0800047c tim4
|
||||
0x0800047c tim5
|
||||
0x0800047c dma1_stream4
|
||||
.text.tim4_init
|
||||
0x08000490 0x40 build/timer.o
|
||||
0x08000490 tim4_init
|
||||
0x08000484 0x40 build/timer.o
|
||||
0x08000484 tim4_init
|
||||
.text.tim4_start
|
||||
0x080004d0 0x20 build/timer.o
|
||||
0x080004d0 tim4_start
|
||||
0x080004c4 0x20 build/timer.o
|
||||
0x080004c4 tim4_start
|
||||
*(.rodata)
|
||||
*(.rodata.*)
|
||||
0x080004f0 . = ALIGN (0x4)
|
||||
0x080004f0 _data_addr = LOADADDR (.data)
|
||||
0x080004e4 . = ALIGN (0x4)
|
||||
0x080004e4 _data_addr = LOADADDR (.data)
|
||||
|
||||
.glue_7 0x080004f0 0x0
|
||||
.glue_7 0x080004f0 0x0 linker stubs
|
||||
.glue_7 0x080004e4 0x0
|
||||
.glue_7 0x080004e4 0x0 linker stubs
|
||||
|
||||
.glue_7t 0x080004f0 0x0
|
||||
.glue_7t 0x080004f0 0x0 linker stubs
|
||||
.glue_7t 0x080004e4 0x0
|
||||
.glue_7t 0x080004e4 0x0 linker stubs
|
||||
|
||||
.vfp11_veneer 0x080004f0 0x0
|
||||
.vfp11_veneer 0x080004f0 0x0 linker stubs
|
||||
.vfp11_veneer 0x080004e4 0x0
|
||||
.vfp11_veneer 0x080004e4 0x0 linker stubs
|
||||
|
||||
.v4_bx 0x080004f0 0x0
|
||||
.v4_bx 0x080004f0 0x0 linker stubs
|
||||
.v4_bx 0x080004e4 0x0
|
||||
.v4_bx 0x080004e4 0x0 linker stubs
|
||||
|
||||
.iplt 0x080004f0 0x0
|
||||
.iplt 0x080004f0 0x0 build/main.o
|
||||
.iplt 0x080004e4 0x0
|
||||
.iplt 0x080004e4 0x0 build/main.o
|
||||
|
||||
.rel.dyn 0x080004f0 0x0
|
||||
.rel.iplt 0x080004f0 0x0 build/main.o
|
||||
.rel.dyn 0x080004e4 0x0
|
||||
.rel.iplt 0x080004e4 0x0 build/main.o
|
||||
|
||||
.data 0x20000000 0x0 load address 0x080004f0
|
||||
.data 0x20000000 0x0 load address 0x080004e4
|
||||
0x20000000 . = ALIGN (0x4)
|
||||
0x20000000 _data_start = .
|
||||
*(.data)
|
||||
@@ -248,10 +248,10 @@ LOAD build/timer.o
|
||||
0x20000000 . = ALIGN (0x4)
|
||||
0x20000000 _data_end = .
|
||||
|
||||
.igot.plt 0x20000000 0x0 load address 0x080004f0
|
||||
.igot.plt 0x20000000 0x0 load address 0x080004e4
|
||||
.igot.plt 0x20000000 0x0 build/main.o
|
||||
|
||||
.bss 0x20000000 0x0 load address 0x080004f0
|
||||
.bss 0x20000000 0x0 load address 0x080004e4
|
||||
0x20000000 . = ALIGN (0x4)
|
||||
0x20000000 _bss_start = .
|
||||
*(.bss)
|
||||
@@ -321,11 +321,11 @@ LOAD linker stubs
|
||||
.debug_macro 0x00002f20 0xb5c build/timer.o
|
||||
.debug_macro 0x00003a7c 0x124 build/timer.o
|
||||
|
||||
.debug_line 0x00000000 0x4b9
|
||||
.debug_line 0x00000000 0x4b3
|
||||
.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 0x1d4 build/main.o
|
||||
.debug_line 0x000002ea 0xea build/startup.o
|
||||
.debug_line 0x000003d4 0xdf build/timer.o
|
||||
|
||||
.debug_str 0x00000000 0x5eb4
|
||||
.debug_str 0x00000000 0x536f build/gpio.o
|
||||
|
||||
Reference in New Issue
Block a user