diff --git a/Code/app/src/app_led.c b/Code/app/src/app_led.c index 0942d91..03fe4ee 100644 --- a/Code/app/src/app_led.c +++ b/Code/app/src/app_led.c @@ -60,7 +60,7 @@ void app_led_marquee(void) { tmp_state = 2; tmp_tick = get_systick_ms(); - printf("123\n"); + // printf("123\n"); } break; diff --git a/Code/app/src/main.c b/Code/app/src/main.c index acb4eab..cfe2617 100644 --- a/Code/app/src/main.c +++ b/Code/app/src/main.c @@ -29,7 +29,7 @@ void bsp_init(void) { // bsp_gpio_init(); bsp_timer_init(); - bsp_usart_1_init(115200); + // bsp_usart_1_init(115200); } /************************************************************************************* diff --git a/Code/bsp/src/bsp_usart.c b/Code/bsp/src/bsp_usart.c index 0e44169..47fa80f 100644 --- a/Code/bsp/src/bsp_usart.c +++ b/Code/bsp/src/bsp_usart.c @@ -97,37 +97,37 @@ void bsp_usart_send_data(usart_type_Enum e_usart_type, uint16_t us_tx_data) break; } } -/********************************************************************************** - * @brief 接收 - * @param e_usart_type: 抽象出来的usart类型 - * @note 需要根据不同的芯片来改变它 - * @retval None - ********************************************************************************* -*/ -uint16_t bsp_usart_receive_data(usart_type_Enum e_usart_type) -{ - uint16_t retVal = 0; - switch(e_usart_type) - { - case usart0_enum: - break; - case usart1_enum: - retVal = USART_ReceiveData(USART1); - break; - case usart2_enum: - retVal = USART_ReceiveData(USART2); - break; - case usart3_enum: - retVal = USART_ReceiveData(USART3); - break; - case usart4_enum: - retVal = USART_ReceiveData(UART4); - break; - default: - break; - } - return retVal; -} +// /********************************************************************************** +// * @brief 接收 +// * @param e_usart_type: 抽象出来的usart类型 +// * @note 需要根据不同的芯片来改变它 +// * @retval None +// ********************************************************************************* +// */ +// uint16_t bsp_usart_receive_data(usart_type_Enum e_usart_type) +// { +// uint16_t retVal = 0; +// switch(e_usart_type) +// { +// case usart0_enum: +// break; +// case usart1_enum: +// retVal = USART_ReceiveData(USART1); +// break; +// case usart2_enum: +// retVal = USART_ReceiveData(USART2); +// break; +// case usart3_enum: +// retVal = USART_ReceiveData(USART3); +// break; +// case usart4_enum: +// retVal = USART_ReceiveData(UART4); +// break; +// default: +// break; +// } +// return retVal; +// } //加入以下代码,支持 printf 函数,而不需要选择 use MicroLIB #if 1 diff --git a/Code/middleware/BlueTooth/HC-06/hc06.c b/Code/middleware/BlueTooth/HC-06/hc06.c new file mode 100644 index 0000000..7347f3f --- /dev/null +++ b/Code/middleware/BlueTooth/HC-06/hc06.c @@ -0,0 +1 @@ +#include "hc06.h" diff --git a/Code/middleware/BlueTooth/HC-06/hc06.h b/Code/middleware/BlueTooth/HC-06/hc06.h new file mode 100644 index 0000000..5ab0672 --- /dev/null +++ b/Code/middleware/BlueTooth/HC-06/hc06.h @@ -0,0 +1,6 @@ +#ifndef __HC06_H__ +#define __HC06_H__ + + + +#endif diff --git a/Code/middleware/BlueTooth/mw_bluetooth.c b/Code/middleware/BlueTooth/mw_bluetooth.c new file mode 100644 index 0000000..f9fd605 --- /dev/null +++ b/Code/middleware/BlueTooth/mw_bluetooth.c @@ -0,0 +1,2 @@ +#include "mw_bluetooth.h" + diff --git a/Code/middleware/BlueTooth/mw_bluetooth.h b/Code/middleware/BlueTooth/mw_bluetooth.h new file mode 100644 index 0000000..8477ee6 --- /dev/null +++ b/Code/middleware/BlueTooth/mw_bluetooth.h @@ -0,0 +1,5 @@ +#ifndef __MW_BLUETOOTH_H__ +#define __MW_BLUETOOTH_H__ + + +#endif diff --git a/Project/Output/TianyunV1.map b/Project/Output/TianyunV1.map index 73e343f..b134347 100644 --- a/Project/Output/TianyunV1.map +++ b/Project/Output/TianyunV1.map @@ -5,7 +5,6 @@ Component: ARM Compiler 5.06 update 7 (build 960) Tool: armlink [4d3601] Section Cross References main.o(i.bsp_init) refers to bsp_timer.o(i.bsp_timer_init) for bsp_timer_init - main.o(i.bsp_init) refers to bsp_usart.o(i.bsp_usart_1_init) for bsp_usart_1_init main.o(i.main) refers to misc.o(i.NVIC_PriorityGroupConfig) for NVIC_PriorityGroupConfig main.o(i.main) refers to main.o(i.bsp_init) for bsp_init main.o(i.main) refers to mw_led.o(i.mw_led_drv_init) for mw_led_drv_init @@ -17,7 +16,6 @@ Section Cross References app_led.o(i.app_led_marquee) refers to app_led.o(i.app_led_change_style_disable) for app_led_change_style_disable app_led.o(i.app_led_marquee) refers to mw_led.o(i.mw_get_led_obj) for mw_get_led_obj app_led.o(i.app_led_marquee) refers to mw_soft_timer.o(i.get_systick_ms) for get_systick_ms - app_led.o(i.app_led_marquee) refers to noretval__2printf.o(.text) for __2printf app_led.o(i.app_led_marquee) refers to app_led.o(.data) for tmp_state mw_led.o(i.mw_get_led_obj) refers to mw_led.o(.bss) for led_drv_buf mw_led.o(i.mw_led0_init) refers to stm32f10x_rcc.o(i.RCC_APB2PeriphClockCmd) for RCC_APB2PeriphClockCmd @@ -48,8 +46,6 @@ Section Cross References bsp_usart.o(i.bsp_usart_1_init) refers to misc.o(i.NVIC_Init) for NVIC_Init bsp_usart.o(i.bsp_usart_1_init) refers to stm32f10x_usart.o(i.USART_ITConfig) for USART_ITConfig bsp_usart.o(i.bsp_usart_1_init) refers to stm32f10x_usart.o(i.USART_Cmd) for USART_Cmd - bsp_usart.o(i.bsp_usart_receive_data) refers (Special) to use_no_semi_2.o(.text) for __use_no_semihosting - bsp_usart.o(i.bsp_usart_receive_data) refers to stm32f10x_usart.o(i.USART_ReceiveData) for USART_ReceiveData bsp_usart.o(i.bsp_usart_send_data) refers (Special) to use_no_semi_2.o(.text) for __use_no_semihosting bsp_usart.o(i.bsp_usart_send_data) refers to stm32f10x_usart.o(i.USART_SendData) for USART_SendData bsp_usart.o(i.fputc) refers (Special) to use_no_semi_2.o(.text) for __use_no_semihosting @@ -138,10 +134,6 @@ Section Cross References interrupt_handler.o(i.USART1_IRQHandler) refers to stm32f10x_usart.o(i.USART_ReceiveData) for USART_ReceiveData interrupt_handler.o(i.USART1_IRQHandler) refers to mw_printf.o(i.mw_printf_insert_data) for mw_printf_insert_data use_no_semi_2.o(.text) refers (Special) to use_no_semi.o(.text) for __use_no_semihosting_swi - __2printf.o(.text) refers to _printf_char_file.o(.text) for _printf_char_file - __2printf.o(.text) refers to bsp_usart.o(.data) for __stdout - noretval__2printf.o(.text) refers to _printf_char_file.o(.text) for _printf_char_file - noretval__2printf.o(.text) refers to bsp_usart.o(.data) for __stdout __main.o(!!!main) refers to __rtentry.o(.ARM.Collect$$rtentry$$00000000) for __rt_entry __rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry2.o(.ARM.Collect$$rtentry$$0000000A) for __rt_entry_li __rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry2.o(.ARM.Collect$$rtentry$$0000000D) for __rt_entry_main @@ -149,9 +141,6 @@ Section Cross References __rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry2.o(.ARM.Collect$$rtentry$$00000009) for __rt_entry_postsh_1 __rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry2.o(.ARM.Collect$$rtentry$$00000002) for __rt_entry_presh_1 __rtentry.o(.ARM.Collect$$rtentry$$00000000) refers (Special) to __rtentry4.o(.ARM.Collect$$rtentry$$00000004) for __rt_entry_sh - _printf_char_file.o(.text) refers to _printf_char_common.o(.text) for _printf_char_common - _printf_char_file.o(.text) refers to ferror.o(.text) for ferror - _printf_char_file.o(.text) refers to bsp_usart.o(i.fputc) for fputc __rtentry2.o(.ARM.Collect$$rtentry$$00000008) refers to boardinit2.o(.text) for _platform_post_stackheap_init __rtentry2.o(.ARM.Collect$$rtentry$$0000000A) refers to libinit.o(.ARM.Collect$$libinit$$00000000) for __rt_lib_init __rtentry2.o(.ARM.Collect$$rtentry$$0000000B) refers to boardinit3.o(.text) for _platform_post_lib_init @@ -164,7 +153,6 @@ Section Cross References __rtentry2.o(.ARM.exidx) refers to __rtentry2.o(.ARM.Collect$$rtentry$$0000000D) for .ARM.Collect$$rtentry$$0000000D __rtentry4.o(.ARM.Collect$$rtentry$$00000004) refers to sys_stackheap_outer.o(.text) for __user_setup_stackheap __rtentry4.o(.ARM.exidx) refers to __rtentry4.o(.ARM.Collect$$rtentry$$00000004) for .ARM.Collect$$rtentry$$00000004 - _printf_char_common.o(.text) refers to __printf_nopercent.o(.text) for __printf sys_stackheap_outer.o(.text) refers to libspace.o(.text) for __user_perproc_libspace sys_stackheap_outer.o(.text) refers to startup_stm32f10x_md.o(.text) for __user_initial_stackheap exit.o(.text) refers to rtexit.o(.ARM.Collect$$rtexit$$00000000) for __rt_exit @@ -250,8 +238,10 @@ Section Cross References Removing Unused input sections from the image. Removing app_led.o(i.app_led_change_style_enable), (12 bytes). - Removing bsp_usart.o(i.bsp_usart_receive_data), (88 bytes). + Removing bsp_usart.o(i.bsp_usart_1_init), (168 bytes). Removing bsp_usart.o(i.bsp_usart_send_data), (84 bytes). + Removing bsp_usart.o(i.fputc), (36 bytes). + Removing bsp_usart.o(.data), (4 bytes). Removing core_cm3.o(.emb_text), (32 bytes). Removing system_stm32f10x.o(i.SystemCoreClockUpdate), (164 bytes). Removing system_stm32f10x.o(.data), (20 bytes). @@ -497,12 +487,15 @@ Removing Unused input sections from the image. Removing stm32f10x_pwr.o(i.PWR_WakeUpPinCmd), (12 bytes). Removing stm32f10x_rcc.o(i.RCC_ADCCLKConfig), (24 bytes). Removing stm32f10x_rcc.o(i.RCC_AHBPeriphClockCmd), (32 bytes). + Removing stm32f10x_rcc.o(i.RCC_APB1PeriphResetCmd), (32 bytes). + Removing stm32f10x_rcc.o(i.RCC_APB2PeriphResetCmd), (32 bytes). Removing stm32f10x_rcc.o(i.RCC_AdjustHSICalibrationValue), (24 bytes). Removing stm32f10x_rcc.o(i.RCC_BackupResetCmd), (12 bytes). Removing stm32f10x_rcc.o(i.RCC_ClearFlag), (20 bytes). Removing stm32f10x_rcc.o(i.RCC_ClearITPendingBit), (12 bytes). Removing stm32f10x_rcc.o(i.RCC_ClockSecuritySystemCmd), (12 bytes). Removing stm32f10x_rcc.o(i.RCC_DeInit), (76 bytes). + Removing stm32f10x_rcc.o(i.RCC_GetClocksFreq), (212 bytes). Removing stm32f10x_rcc.o(i.RCC_GetFlagStatus), (60 bytes). Removing stm32f10x_rcc.o(i.RCC_GetITStatus), (24 bytes). Removing stm32f10x_rcc.o(i.RCC_GetSYSCLKSource), (16 bytes). @@ -522,6 +515,7 @@ Removing Unused input sections from the image. Removing stm32f10x_rcc.o(i.RCC_SYSCLKConfig), (24 bytes). Removing stm32f10x_rcc.o(i.RCC_USBCLKConfig), (12 bytes). Removing stm32f10x_rcc.o(i.RCC_WaitForHSEStartUp), (56 bytes). + Removing stm32f10x_rcc.o(.data), (20 bytes). Removing stm32f10x_rtc.o(i.RTC_ClearFlag), (16 bytes). Removing stm32f10x_rtc.o(i.RTC_ClearITPendingBit), (16 bytes). Removing stm32f10x_rtc.o(i.RTC_EnterConfigMode), (20 bytes). @@ -678,8 +672,13 @@ Removing Unused input sections from the image. Removing stm32f10x_usart.o(i.USART_ClearFlag), (18 bytes). Removing stm32f10x_usart.o(i.USART_ClockInit), (34 bytes). Removing stm32f10x_usart.o(i.USART_ClockStructInit), (12 bytes). + Removing stm32f10x_usart.o(i.USART_Cmd), (24 bytes). Removing stm32f10x_usart.o(i.USART_DMACmd), (18 bytes). + Removing stm32f10x_usart.o(i.USART_DeInit), (156 bytes). + Removing stm32f10x_usart.o(i.USART_GetFlagStatus), (26 bytes). Removing stm32f10x_usart.o(i.USART_HalfDuplexCmd), (24 bytes). + Removing stm32f10x_usart.o(i.USART_ITConfig), (74 bytes). + Removing stm32f10x_usart.o(i.USART_Init), (216 bytes). Removing stm32f10x_usart.o(i.USART_IrDACmd), (24 bytes). Removing stm32f10x_usart.o(i.USART_IrDAConfig), (18 bytes). Removing stm32f10x_usart.o(i.USART_LINBreakDetectLengthConfig), (18 bytes). @@ -688,6 +687,7 @@ Removing Unused input sections from the image. Removing stm32f10x_usart.o(i.USART_OverSampling8Cmd), (22 bytes). Removing stm32f10x_usart.o(i.USART_ReceiverWakeUpCmd), (24 bytes). Removing stm32f10x_usart.o(i.USART_SendBreak), (10 bytes). + Removing stm32f10x_usart.o(i.USART_SendData), (8 bytes). Removing stm32f10x_usart.o(i.USART_SetAddress), (18 bytes). Removing stm32f10x_usart.o(i.USART_SetGuardTime), (16 bytes). Removing stm32f10x_usart.o(i.USART_SetPrescaler), (16 bytes). @@ -704,7 +704,7 @@ Removing Unused input sections from the image. Removing stm32f10x_wwdg.o(i.WWDG_SetPrescaler), (24 bytes). Removing stm32f10x_wwdg.o(i.WWDG_SetWindowValue), (40 bytes). -454 unused section(s) (total 17940 bytes) removed from the image. +466 unused section(s) (total 18860 bytes) removed from the image. ============================================================================== @@ -714,59 +714,52 @@ Image Symbol Table Symbol Name Value Ov Type Size Object(Section) - ../clib/angel/boardlib.s 0x00000000 Number 0 boardinit3.o ABSOLUTE ../clib/angel/boardlib.s 0x00000000 Number 0 boardinit2.o ABSOLUTE ../clib/angel/boardlib.s 0x00000000 Number 0 boardinit1.o ABSOLUTE + ../clib/angel/boardlib.s 0x00000000 Number 0 boardinit3.o ABSOLUTE ../clib/angel/boardlib.s 0x00000000 Number 0 boardshut.o ABSOLUTE ../clib/angel/handlers.s 0x00000000 Number 0 __scatter_copy.o ABSOLUTE ../clib/angel/handlers.s 0x00000000 Number 0 __scatter_zi.o ABSOLUTE - ../clib/angel/kernel.s 0x00000000 Number 0 __rtentry2.o ABSOLUTE - ../clib/angel/kernel.s 0x00000000 Number 0 rtexit2.o ABSOLUTE - ../clib/angel/kernel.s 0x00000000 Number 0 rtexit.o ABSOLUTE - ../clib/angel/kernel.s 0x00000000 Number 0 __rtentry.o ABSOLUTE ../clib/angel/kernel.s 0x00000000 Number 0 __rtentry4.o ABSOLUTE + ../clib/angel/kernel.s 0x00000000 Number 0 __rtentry2.o ABSOLUTE + ../clib/angel/kernel.s 0x00000000 Number 0 __rtentry.o ABSOLUTE + ../clib/angel/kernel.s 0x00000000 Number 0 rtexit.o ABSOLUTE + ../clib/angel/kernel.s 0x00000000 Number 0 rtexit2.o ABSOLUTE ../clib/angel/rt.s 0x00000000 Number 0 rt_raise.o ABSOLUTE ../clib/angel/scatter.s 0x00000000 Number 0 __scatter.o ABSOLUTE ../clib/angel/startup.s 0x00000000 Number 0 __main.o ABSOLUTE ../clib/angel/sys.s 0x00000000 Number 0 libspace.o ABSOLUTE - ../clib/angel/sys.s 0x00000000 Number 0 use_no_semi_2.o ABSOLUTE ../clib/angel/sys.s 0x00000000 Number 0 indicate_semi.o ABSOLUTE - ../clib/angel/sys.s 0x00000000 Number 0 sys_stackheap_outer.o ABSOLUTE + ../clib/angel/sys.s 0x00000000 Number 0 use_no_semi_2.o ABSOLUTE ../clib/angel/sys.s 0x00000000 Number 0 use_no_semi.o ABSOLUTE + ../clib/angel/sys.s 0x00000000 Number 0 sys_stackheap_outer.o ABSOLUTE ../clib/angel/sysapp.c 0x00000000 Number 0 sys_wrch.o ABSOLUTE ../clib/angel/sysapp.c 0x00000000 Number 0 sys_command.o ABSOLUTE - ../clib/armsys.c 0x00000000 Number 0 no_argv.o ABSOLUTE ../clib/armsys.c 0x00000000 Number 0 _get_argv_nomalloc.o ABSOLUTE + ../clib/armsys.c 0x00000000 Number 0 no_argv.o ABSOLUTE ../clib/armsys.c 0x00000000 Number 0 argv_veneer.o ABSOLUTE ../clib/armsys.c 0x00000000 Number 0 argv_veneer.o ABSOLUTE ../clib/heapalloc.c 0x00000000 Number 0 hrguard.o ABSOLUTE ../clib/heapaux.c 0x00000000 Number 0 heapauxi.o ABSOLUTE + ../clib/libinit.s 0x00000000 Number 0 libshutdown2.o ABSOLUTE + ../clib/libinit.s 0x00000000 Number 0 libinit2.o ABSOLUTE ../clib/libinit.s 0x00000000 Number 0 libshutdown.o ABSOLUTE ../clib/libinit.s 0x00000000 Number 0 libinit.o ABSOLUTE - ../clib/libinit.s 0x00000000 Number 0 libinit2.o ABSOLUTE - ../clib/libinit.s 0x00000000 Number 0 libshutdown2.o ABSOLUTE - ../clib/printf.c 0x00000000 Number 0 noretval__2printf.o ABSOLUTE - ../clib/printf.c 0x00000000 Number 0 _printf_char_file.o ABSOLUTE - ../clib/printf.c 0x00000000 Number 0 __2printf.o ABSOLUTE - ../clib/printf.c 0x00000000 Number 0 __printf_nopercent.o ABSOLUTE - ../clib/printf.c 0x00000000 Number 0 _printf_char_common.o ABSOLUTE ../clib/signal.c 0x00000000 Number 0 defsig_general.o ABSOLUTE - ../clib/signal.c 0x00000000 Number 0 defsig_abrt_inner.o ABSOLUTE - ../clib/signal.c 0x00000000 Number 0 defsig_cppl_inner.o ABSOLUTE - ../clib/signal.c 0x00000000 Number 0 defsig_stak_inner.o ABSOLUTE - ../clib/signal.c 0x00000000 Number 0 defsig_pvfn_inner.o ABSOLUTE - ../clib/signal.c 0x00000000 Number 0 defsig_segv_inner.o ABSOLUTE - ../clib/signal.c 0x00000000 Number 0 defsig_rtred_inner.o ABSOLUTE - ../clib/signal.c 0x00000000 Number 0 defsig_fpe_inner.o ABSOLUTE - ../clib/signal.c 0x00000000 Number 0 defsig_other.o ABSOLUTE ../clib/signal.c 0x00000000 Number 0 __raise.o ABSOLUTE - ../clib/signal.c 0x00000000 Number 0 defsig_rtmem_inner.o ABSOLUTE ../clib/signal.c 0x00000000 Number 0 defsig_exit.o ABSOLUTE ../clib/signal.c 0x00000000 Number 0 defsig_rtmem_formal.o ABSOLUTE + ../clib/signal.c 0x00000000 Number 0 defsig_rtmem_inner.o ABSOLUTE + ../clib/signal.c 0x00000000 Number 0 defsig_other.o ABSOLUTE + ../clib/signal.c 0x00000000 Number 0 defsig_segv_inner.o ABSOLUTE + ../clib/signal.c 0x00000000 Number 0 defsig_cppl_inner.o ABSOLUTE + ../clib/signal.c 0x00000000 Number 0 defsig_pvfn_inner.o ABSOLUTE + ../clib/signal.c 0x00000000 Number 0 defsig_stak_inner.o ABSOLUTE + ../clib/signal.c 0x00000000 Number 0 defsig_fpe_inner.o ABSOLUTE + ../clib/signal.c 0x00000000 Number 0 defsig_abrt_inner.o ABSOLUTE ../clib/signal.c 0x00000000 Number 0 defsig_rtmem_outer.o ABSOLUTE + ../clib/signal.c 0x00000000 Number 0 defsig_rtred_inner.o ABSOLUTE ../clib/signal.s 0x00000000 Number 0 defsig.o ABSOLUTE - ../clib/stdio.c 0x00000000 Number 0 ferror_locked.o ABSOLUTE - ../clib/stdio.c 0x00000000 Number 0 ferror.o ABSOLUTE ../clib/stdlib.c 0x00000000 Number 0 exit.o ABSOLUTE ../fplib/fpinit.s 0x00000000 Number 0 fpinit.o ABSOLUTE ..\Code\app\src\app_led.c 0x00000000 Number 0 app_led.o ABSOLUTE @@ -800,6 +793,8 @@ Image Symbol Table ..\Code\library\STM32F10x_StdPeriph_Lib_V3.6.0\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_tim.c 0x00000000 Number 0 stm32f10x_tim.o ABSOLUTE ..\Code\library\STM32F10x_StdPeriph_Lib_V3.6.0\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.c 0x00000000 Number 0 stm32f10x_usart.o ABSOLUTE ..\Code\library\STM32F10x_StdPeriph_Lib_V3.6.0\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_wwdg.c 0x00000000 Number 0 stm32f10x_wwdg.o ABSOLUTE + ..\Code\middleware\BlueTooth\HC-06\hc06.c 0x00000000 Number 0 hc06.o ABSOLUTE + ..\Code\middleware\BlueTooth\mw_bluetooth.c 0x00000000 Number 0 mw_bluetooth.o ABSOLUTE ..\Code\middleware\internal\src\mw_led.c 0x00000000 Number 0 mw_led.o ABSOLUTE ..\Code\middleware\internal\src\mw_printf.c 0x00000000 Number 0 mw_printf.o ABSOLUTE ..\Code\middleware\internal\src\mw_soft_timer.c 0x00000000 Number 0 mw_soft_timer.o ABSOLUTE @@ -854,68 +849,51 @@ Image Symbol Table .ARM.Collect$$rtexit$$00000004 0x08000180 Section 6 rtexit2.o(.ARM.Collect$$rtexit$$00000004) .text 0x08000188 Section 64 startup_stm32f10x_md.o(.text) .text 0x080001c8 Section 2 use_no_semi_2.o(.text) - .text 0x080001cc Section 0 noretval__2printf.o(.text) - .text 0x080001e4 Section 0 heapauxi.o(.text) - .text 0x080001ea Section 2 use_no_semi.o(.text) - .text 0x080001ec Section 0 _printf_char_file.o(.text) - .text 0x08000210 Section 0 _printf_char_common.o(.text) - _printf_input_char 0x08000211 Thumb Code 10 _printf_char_common.o(.text) - .text 0x08000240 Section 0 ferror.o(.text) - .text 0x08000248 Section 74 sys_stackheap_outer.o(.text) - .text 0x08000292 Section 0 __printf_nopercent.o(.text) - .text 0x080002ba Section 0 exit.o(.text) - .text 0x080002cc Section 8 libspace.o(.text) - i.GPIO_Init 0x080002d4 Section 0 stm32f10x_gpio.o(i.GPIO_Init) - i.GPIO_ResetBits 0x080003ea Section 0 stm32f10x_gpio.o(i.GPIO_ResetBits) - i.GPIO_SetBits 0x080003ee Section 0 stm32f10x_gpio.o(i.GPIO_SetBits) - i.NVIC_Init 0x080003f4 Section 0 misc.o(i.NVIC_Init) - i.NVIC_PriorityGroupConfig 0x08000464 Section 0 misc.o(i.NVIC_PriorityGroupConfig) - i.RCC_APB1PeriphClockCmd 0x08000478 Section 0 stm32f10x_rcc.o(i.RCC_APB1PeriphClockCmd) - i.RCC_APB1PeriphResetCmd 0x08000498 Section 0 stm32f10x_rcc.o(i.RCC_APB1PeriphResetCmd) - i.RCC_APB2PeriphClockCmd 0x080004b8 Section 0 stm32f10x_rcc.o(i.RCC_APB2PeriphClockCmd) - i.RCC_APB2PeriphResetCmd 0x080004d8 Section 0 stm32f10x_rcc.o(i.RCC_APB2PeriphResetCmd) - i.RCC_GetClocksFreq 0x080004f8 Section 0 stm32f10x_rcc.o(i.RCC_GetClocksFreq) - i.SetSysClock 0x080005cc Section 0 system_stm32f10x.o(i.SetSysClock) - SetSysClock 0x080005cd Thumb Code 8 system_stm32f10x.o(i.SetSysClock) - i.SetSysClockTo72 0x080005d4 Section 0 system_stm32f10x.o(i.SetSysClockTo72) - SetSysClockTo72 0x080005d5 Thumb Code 214 system_stm32f10x.o(i.SetSysClockTo72) - i.SystemInit 0x080006b4 Section 0 system_stm32f10x.o(i.SystemInit) - i.TIM2_IRQHandler 0x08000714 Section 0 interrupt_handler.o(i.TIM2_IRQHandler) - i.TIM_ClearITPendingBit 0x0800072e Section 0 stm32f10x_tim.o(i.TIM_ClearITPendingBit) - i.TIM_Cmd 0x08000734 Section 0 stm32f10x_tim.o(i.TIM_Cmd) - i.TIM_GetITStatus 0x0800074c Section 0 stm32f10x_tim.o(i.TIM_GetITStatus) - i.TIM_ITConfig 0x0800076e Section 0 stm32f10x_tim.o(i.TIM_ITConfig) - i.TIM_TimeBaseInit 0x08000780 Section 0 stm32f10x_tim.o(i.TIM_TimeBaseInit) - i.USART1_IRQHandler 0x08000824 Section 0 interrupt_handler.o(i.USART1_IRQHandler) - i.USART_ClearITPendingBit 0x08000868 Section 0 stm32f10x_usart.o(i.USART_ClearITPendingBit) - i.USART_Cmd 0x08000886 Section 0 stm32f10x_usart.o(i.USART_Cmd) - i.USART_DeInit 0x080008a0 Section 0 stm32f10x_usart.o(i.USART_DeInit) - i.USART_GetFlagStatus 0x0800093c Section 0 stm32f10x_usart.o(i.USART_GetFlagStatus) - i.USART_GetITStatus 0x08000956 Section 0 stm32f10x_usart.o(i.USART_GetITStatus) - i.USART_ITConfig 0x080009aa Section 0 stm32f10x_usart.o(i.USART_ITConfig) - i.USART_Init 0x080009f4 Section 0 stm32f10x_usart.o(i.USART_Init) - i.USART_ReceiveData 0x08000acc Section 0 stm32f10x_usart.o(i.USART_ReceiveData) - i.USART_SendData 0x08000ad6 Section 0 stm32f10x_usart.o(i.USART_SendData) - i._sys_exit 0x08000ade Section 0 bsp_usart.o(i._sys_exit) - i.app_led_change_style_disable 0x08000ae4 Section 0 app_led.o(i.app_led_change_style_disable) - i.app_led_get_change_style_value 0x08000af0 Section 0 app_led.o(i.app_led_get_change_style_value) - app_led_get_change_style_value 0x08000af1 Thumb Code 6 app_led.o(i.app_led_get_change_style_value) - i.app_led_marquee 0x08000afc Section 0 app_led.o(i.app_led_marquee) - i.bsp_init 0x08000be8 Section 0 main.o(i.bsp_init) - i.bsp_timer_2_init 0x08000bf8 Section 0 bsp_timer.o(i.bsp_timer_2_init) - bsp_timer_2_init 0x08000bf9 Thumb Code 94 bsp_timer.o(i.bsp_timer_2_init) - i.bsp_timer_init 0x08000c56 Section 0 bsp_timer.o(i.bsp_timer_init) - i.bsp_usart_1_init 0x08000c60 Section 0 bsp_usart.o(i.bsp_usart_1_init) - i.fputc 0x08000d08 Section 0 bsp_usart.o(i.fputc) - i.get_systick_ms 0x08000d2c Section 0 mw_soft_timer.o(i.get_systick_ms) - i.main 0x08000d38 Section 0 main.o(i.main) - i.mw_get_led_obj 0x08000d50 Section 0 mw_led.o(i.mw_get_led_obj) - i.mw_led0_init 0x08000d6c Section 0 mw_led.o(i.mw_led0_init) - i.mw_led0_off 0x08000da4 Section 0 mw_led.o(i.mw_led0_off) - i.mw_led0_on 0x08000db8 Section 0 mw_led.o(i.mw_led0_on) - i.mw_led_drv_init 0x08000dcc Section 0 mw_led.o(i.mw_led_drv_init) - i.mw_printf_insert_data 0x08000e08 Section 0 mw_printf.o(i.mw_printf_insert_data) - i.mw_soft_timer_user_systick_update 0x08000e30 Section 0 mw_soft_timer.o(i.mw_soft_timer_user_systick_update) + .text 0x080001ca Section 0 heapauxi.o(.text) + .text 0x080001d0 Section 2 use_no_semi.o(.text) + .text 0x080001d2 Section 74 sys_stackheap_outer.o(.text) + .text 0x0800021c Section 0 exit.o(.text) + .text 0x08000230 Section 8 libspace.o(.text) + i.GPIO_Init 0x08000238 Section 0 stm32f10x_gpio.o(i.GPIO_Init) + i.GPIO_ResetBits 0x0800034e Section 0 stm32f10x_gpio.o(i.GPIO_ResetBits) + i.GPIO_SetBits 0x08000352 Section 0 stm32f10x_gpio.o(i.GPIO_SetBits) + i.NVIC_Init 0x08000358 Section 0 misc.o(i.NVIC_Init) + i.NVIC_PriorityGroupConfig 0x080003c8 Section 0 misc.o(i.NVIC_PriorityGroupConfig) + i.RCC_APB1PeriphClockCmd 0x080003dc Section 0 stm32f10x_rcc.o(i.RCC_APB1PeriphClockCmd) + i.RCC_APB2PeriphClockCmd 0x080003fc Section 0 stm32f10x_rcc.o(i.RCC_APB2PeriphClockCmd) + i.SetSysClock 0x0800041c Section 0 system_stm32f10x.o(i.SetSysClock) + SetSysClock 0x0800041d Thumb Code 8 system_stm32f10x.o(i.SetSysClock) + i.SetSysClockTo72 0x08000424 Section 0 system_stm32f10x.o(i.SetSysClockTo72) + SetSysClockTo72 0x08000425 Thumb Code 214 system_stm32f10x.o(i.SetSysClockTo72) + i.SystemInit 0x08000504 Section 0 system_stm32f10x.o(i.SystemInit) + i.TIM2_IRQHandler 0x08000564 Section 0 interrupt_handler.o(i.TIM2_IRQHandler) + i.TIM_ClearITPendingBit 0x0800057e Section 0 stm32f10x_tim.o(i.TIM_ClearITPendingBit) + i.TIM_Cmd 0x08000584 Section 0 stm32f10x_tim.o(i.TIM_Cmd) + i.TIM_GetITStatus 0x0800059c Section 0 stm32f10x_tim.o(i.TIM_GetITStatus) + i.TIM_ITConfig 0x080005be Section 0 stm32f10x_tim.o(i.TIM_ITConfig) + i.TIM_TimeBaseInit 0x080005d0 Section 0 stm32f10x_tim.o(i.TIM_TimeBaseInit) + i.USART1_IRQHandler 0x08000674 Section 0 interrupt_handler.o(i.USART1_IRQHandler) + i.USART_ClearITPendingBit 0x080006b8 Section 0 stm32f10x_usart.o(i.USART_ClearITPendingBit) + i.USART_GetITStatus 0x080006d6 Section 0 stm32f10x_usart.o(i.USART_GetITStatus) + i.USART_ReceiveData 0x0800072a Section 0 stm32f10x_usart.o(i.USART_ReceiveData) + i._sys_exit 0x08000734 Section 0 bsp_usart.o(i._sys_exit) + i.app_led_change_style_disable 0x0800073c Section 0 app_led.o(i.app_led_change_style_disable) + i.app_led_get_change_style_value 0x08000748 Section 0 app_led.o(i.app_led_get_change_style_value) + app_led_get_change_style_value 0x08000749 Thumb Code 6 app_led.o(i.app_led_get_change_style_value) + i.app_led_marquee 0x08000754 Section 0 app_led.o(i.app_led_marquee) + i.bsp_init 0x08000830 Section 0 main.o(i.bsp_init) + i.bsp_timer_2_init 0x08000838 Section 0 bsp_timer.o(i.bsp_timer_2_init) + bsp_timer_2_init 0x08000839 Thumb Code 94 bsp_timer.o(i.bsp_timer_2_init) + i.bsp_timer_init 0x08000896 Section 0 bsp_timer.o(i.bsp_timer_init) + i.get_systick_ms 0x080008a0 Section 0 mw_soft_timer.o(i.get_systick_ms) + i.main 0x080008ac Section 0 main.o(i.main) + i.mw_get_led_obj 0x080008c4 Section 0 mw_led.o(i.mw_get_led_obj) + i.mw_led0_init 0x080008e0 Section 0 mw_led.o(i.mw_led0_init) + i.mw_led0_off 0x08000918 Section 0 mw_led.o(i.mw_led0_off) + i.mw_led0_on 0x0800092c Section 0 mw_led.o(i.mw_led0_on) + i.mw_led_drv_init 0x08000940 Section 0 mw_led.o(i.mw_led_drv_init) + i.mw_printf_insert_data 0x0800097c Section 0 mw_printf.o(i.mw_printf_insert_data) + i.mw_soft_timer_user_systick_update 0x080009a4 Section 0 mw_soft_timer.o(i.mw_soft_timer_user_systick_update) .data 0x20000000 Section 8 app_led.o(.data) led_style_change_flag 0x20000000 Data 1 app_led.o(.data) tmp_state 0x20000001 Data 1 app_led.o(.data) @@ -924,18 +902,14 @@ Image Symbol Table mw_printf_cache_head 0x20000008 Data 2 mw_printf.o(.data) .data 0x2000000c Section 4 mw_soft_timer.o(.data) systick_ms 0x2000000c Data 4 mw_soft_timer.o(.data) - .data 0x20000010 Section 4 bsp_usart.o(.data) - .data 0x20000014 Section 20 stm32f10x_rcc.o(.data) - APBAHBPrescTable 0x20000014 Data 16 stm32f10x_rcc.o(.data) - ADCPrescTable 0x20000024 Data 4 stm32f10x_rcc.o(.data) - .bss 0x20000028 Section 16 mw_led.o(.bss) - .bss 0x20000038 Section 50 mw_printf.o(.bss) - .bss 0x2000006c Section 96 libspace.o(.bss) - HEAP 0x200000d0 Section 512 startup_stm32f10x_md.o(HEAP) - Heap_Mem 0x200000d0 Data 512 startup_stm32f10x_md.o(HEAP) - STACK 0x200002d0 Section 1024 startup_stm32f10x_md.o(STACK) - Stack_Mem 0x200002d0 Data 1024 startup_stm32f10x_md.o(STACK) - __initial_sp 0x200006d0 Data 0 startup_stm32f10x_md.o(STACK) + .bss 0x20000010 Section 16 mw_led.o(.bss) + .bss 0x20000020 Section 50 mw_printf.o(.bss) + .bss 0x20000054 Section 96 libspace.o(.bss) + HEAP 0x200000b8 Section 512 startup_stm32f10x_md.o(HEAP) + Heap_Mem 0x200000b8 Data 512 startup_stm32f10x_md.o(HEAP) + STACK 0x200002b8 Section 1024 startup_stm32f10x_md.o(STACK) + Stack_Mem 0x200002b8 Data 1024 startup_stm32f10x_md.o(STACK) + __initial_sp 0x200006b8 Data 0 startup_stm32f10x_md.o(STACK) Global Symbols @@ -966,8 +940,6 @@ Image Symbol Table _init_alloc - Undefined Weak Reference _init_user_alloc - Undefined Weak Reference _initio - Undefined Weak Reference - _mutex_acquire - Undefined Weak Reference - _mutex_release - Undefined Weak Reference _rand_init - Undefined Weak Reference _signal_finish - Undefined Weak Reference _signal_init - Undefined Weak Reference @@ -1079,71 +1051,54 @@ Image Symbol Table WWDG_IRQHandler 0x080001a3 Thumb Code 0 startup_stm32f10x_md.o(.text) __user_initial_stackheap 0x080001a5 Thumb Code 0 startup_stm32f10x_md.o(.text) __use_no_semihosting 0x080001c9 Thumb Code 2 use_no_semi_2.o(.text) - __2printf 0x080001cd Thumb Code 20 noretval__2printf.o(.text) - __use_two_region_memory 0x080001e5 Thumb Code 2 heapauxi.o(.text) - __rt_heap_escrow$2region 0x080001e7 Thumb Code 2 heapauxi.o(.text) - __rt_heap_expand$2region 0x080001e9 Thumb Code 2 heapauxi.o(.text) - __I$use$semihosting 0x080001eb Thumb Code 0 use_no_semi.o(.text) - __use_no_semihosting_swi 0x080001eb Thumb Code 2 use_no_semi.o(.text) - _printf_char_file 0x080001ed Thumb Code 32 _printf_char_file.o(.text) - _printf_char_common 0x0800021b Thumb Code 32 _printf_char_common.o(.text) - ferror 0x08000241 Thumb Code 8 ferror.o(.text) - __user_setup_stackheap 0x08000249 Thumb Code 74 sys_stackheap_outer.o(.text) - __printf 0x08000293 Thumb Code 40 __printf_nopercent.o(.text) - exit 0x080002bb Thumb Code 18 exit.o(.text) - __user_libspace 0x080002cd Thumb Code 8 libspace.o(.text) - __user_perproc_libspace 0x080002cd Thumb Code 0 libspace.o(.text) - __user_perthread_libspace 0x080002cd Thumb Code 0 libspace.o(.text) - GPIO_Init 0x080002d5 Thumb Code 278 stm32f10x_gpio.o(i.GPIO_Init) - GPIO_ResetBits 0x080003eb Thumb Code 4 stm32f10x_gpio.o(i.GPIO_ResetBits) - GPIO_SetBits 0x080003ef Thumb Code 4 stm32f10x_gpio.o(i.GPIO_SetBits) - NVIC_Init 0x080003f5 Thumb Code 100 misc.o(i.NVIC_Init) - NVIC_PriorityGroupConfig 0x08000465 Thumb Code 10 misc.o(i.NVIC_PriorityGroupConfig) - RCC_APB1PeriphClockCmd 0x08000479 Thumb Code 26 stm32f10x_rcc.o(i.RCC_APB1PeriphClockCmd) - RCC_APB1PeriphResetCmd 0x08000499 Thumb Code 26 stm32f10x_rcc.o(i.RCC_APB1PeriphResetCmd) - RCC_APB2PeriphClockCmd 0x080004b9 Thumb Code 26 stm32f10x_rcc.o(i.RCC_APB2PeriphClockCmd) - RCC_APB2PeriphResetCmd 0x080004d9 Thumb Code 26 stm32f10x_rcc.o(i.RCC_APB2PeriphResetCmd) - RCC_GetClocksFreq 0x080004f9 Thumb Code 192 stm32f10x_rcc.o(i.RCC_GetClocksFreq) - SystemInit 0x080006b5 Thumb Code 78 system_stm32f10x.o(i.SystemInit) - TIM2_IRQHandler 0x08000715 Thumb Code 26 interrupt_handler.o(i.TIM2_IRQHandler) - TIM_ClearITPendingBit 0x0800072f Thumb Code 6 stm32f10x_tim.o(i.TIM_ClearITPendingBit) - TIM_Cmd 0x08000735 Thumb Code 24 stm32f10x_tim.o(i.TIM_Cmd) - TIM_GetITStatus 0x0800074d Thumb Code 34 stm32f10x_tim.o(i.TIM_GetITStatus) - TIM_ITConfig 0x0800076f Thumb Code 18 stm32f10x_tim.o(i.TIM_ITConfig) - TIM_TimeBaseInit 0x08000781 Thumb Code 122 stm32f10x_tim.o(i.TIM_TimeBaseInit) - USART1_IRQHandler 0x08000825 Thumb Code 62 interrupt_handler.o(i.USART1_IRQHandler) - USART_ClearITPendingBit 0x08000869 Thumb Code 30 stm32f10x_usart.o(i.USART_ClearITPendingBit) - USART_Cmd 0x08000887 Thumb Code 24 stm32f10x_usart.o(i.USART_Cmd) - USART_DeInit 0x080008a1 Thumb Code 134 stm32f10x_usart.o(i.USART_DeInit) - USART_GetFlagStatus 0x0800093d Thumb Code 26 stm32f10x_usart.o(i.USART_GetFlagStatus) - USART_GetITStatus 0x08000957 Thumb Code 84 stm32f10x_usart.o(i.USART_GetITStatus) - USART_ITConfig 0x080009ab Thumb Code 74 stm32f10x_usart.o(i.USART_ITConfig) - USART_Init 0x080009f5 Thumb Code 210 stm32f10x_usart.o(i.USART_Init) - USART_ReceiveData 0x08000acd Thumb Code 10 stm32f10x_usart.o(i.USART_ReceiveData) - USART_SendData 0x08000ad7 Thumb Code 8 stm32f10x_usart.o(i.USART_SendData) - _sys_exit 0x08000adf Thumb Code 6 bsp_usart.o(i._sys_exit) - app_led_change_style_disable 0x08000ae5 Thumb Code 8 app_led.o(i.app_led_change_style_disable) - app_led_marquee 0x08000afd Thumb Code 218 app_led.o(i.app_led_marquee) - bsp_init 0x08000be9 Thumb Code 16 main.o(i.bsp_init) - bsp_timer_init 0x08000c57 Thumb Code 8 bsp_timer.o(i.bsp_timer_init) - bsp_usart_1_init 0x08000c61 Thumb Code 158 bsp_usart.o(i.bsp_usart_1_init) - fputc 0x08000d09 Thumb Code 32 bsp_usart.o(i.fputc) - get_systick_ms 0x08000d2d Thumb Code 6 mw_soft_timer.o(i.get_systick_ms) - main 0x08000d39 Thumb Code 24 main.o(i.main) - mw_get_led_obj 0x08000d51 Thumb Code 24 mw_led.o(i.mw_get_led_obj) - mw_led0_init 0x08000d6d Thumb Code 50 mw_led.o(i.mw_led0_init) - mw_led0_off 0x08000da5 Thumb Code 14 mw_led.o(i.mw_led0_off) - mw_led0_on 0x08000db9 Thumb Code 14 mw_led.o(i.mw_led0_on) - mw_led_drv_init 0x08000dcd Thumb Code 44 mw_led.o(i.mw_led_drv_init) - mw_printf_insert_data 0x08000e09 Thumb Code 30 mw_printf.o(i.mw_printf_insert_data) - mw_soft_timer_user_systick_update 0x08000e31 Thumb Code 12 mw_soft_timer.o(i.mw_soft_timer_user_systick_update) - Region$$Table$$Base 0x08000e40 Number 0 anon$$obj.o(Region$$Table) - Region$$Table$$Limit 0x08000e60 Number 0 anon$$obj.o(Region$$Table) - __stdout 0x20000010 Data 4 bsp_usart.o(.data) - led_drv_buf 0x20000028 Data 16 mw_led.o(.bss) - mw_printf_buf 0x20000038 Data 50 mw_printf.o(.bss) - __libspace_start 0x2000006c Data 96 libspace.o(.bss) - __temporary_stack_top$libspace 0x200000cc Data 0 libspace.o(.bss) + __use_two_region_memory 0x080001cb Thumb Code 2 heapauxi.o(.text) + __rt_heap_escrow$2region 0x080001cd Thumb Code 2 heapauxi.o(.text) + __rt_heap_expand$2region 0x080001cf Thumb Code 2 heapauxi.o(.text) + __I$use$semihosting 0x080001d1 Thumb Code 0 use_no_semi.o(.text) + __use_no_semihosting_swi 0x080001d1 Thumb Code 2 use_no_semi.o(.text) + __user_setup_stackheap 0x080001d3 Thumb Code 74 sys_stackheap_outer.o(.text) + exit 0x0800021d Thumb Code 18 exit.o(.text) + __user_libspace 0x08000231 Thumb Code 8 libspace.o(.text) + __user_perproc_libspace 0x08000231 Thumb Code 0 libspace.o(.text) + __user_perthread_libspace 0x08000231 Thumb Code 0 libspace.o(.text) + GPIO_Init 0x08000239 Thumb Code 278 stm32f10x_gpio.o(i.GPIO_Init) + GPIO_ResetBits 0x0800034f Thumb Code 4 stm32f10x_gpio.o(i.GPIO_ResetBits) + GPIO_SetBits 0x08000353 Thumb Code 4 stm32f10x_gpio.o(i.GPIO_SetBits) + NVIC_Init 0x08000359 Thumb Code 100 misc.o(i.NVIC_Init) + NVIC_PriorityGroupConfig 0x080003c9 Thumb Code 10 misc.o(i.NVIC_PriorityGroupConfig) + RCC_APB1PeriphClockCmd 0x080003dd Thumb Code 26 stm32f10x_rcc.o(i.RCC_APB1PeriphClockCmd) + RCC_APB2PeriphClockCmd 0x080003fd Thumb Code 26 stm32f10x_rcc.o(i.RCC_APB2PeriphClockCmd) + SystemInit 0x08000505 Thumb Code 78 system_stm32f10x.o(i.SystemInit) + TIM2_IRQHandler 0x08000565 Thumb Code 26 interrupt_handler.o(i.TIM2_IRQHandler) + TIM_ClearITPendingBit 0x0800057f Thumb Code 6 stm32f10x_tim.o(i.TIM_ClearITPendingBit) + TIM_Cmd 0x08000585 Thumb Code 24 stm32f10x_tim.o(i.TIM_Cmd) + TIM_GetITStatus 0x0800059d Thumb Code 34 stm32f10x_tim.o(i.TIM_GetITStatus) + TIM_ITConfig 0x080005bf Thumb Code 18 stm32f10x_tim.o(i.TIM_ITConfig) + TIM_TimeBaseInit 0x080005d1 Thumb Code 122 stm32f10x_tim.o(i.TIM_TimeBaseInit) + USART1_IRQHandler 0x08000675 Thumb Code 62 interrupt_handler.o(i.USART1_IRQHandler) + USART_ClearITPendingBit 0x080006b9 Thumb Code 30 stm32f10x_usart.o(i.USART_ClearITPendingBit) + USART_GetITStatus 0x080006d7 Thumb Code 84 stm32f10x_usart.o(i.USART_GetITStatus) + USART_ReceiveData 0x0800072b Thumb Code 10 stm32f10x_usart.o(i.USART_ReceiveData) + _sys_exit 0x08000735 Thumb Code 6 bsp_usart.o(i._sys_exit) + app_led_change_style_disable 0x0800073d Thumb Code 8 app_led.o(i.app_led_change_style_disable) + app_led_marquee 0x08000755 Thumb Code 212 app_led.o(i.app_led_marquee) + bsp_init 0x08000831 Thumb Code 8 main.o(i.bsp_init) + bsp_timer_init 0x08000897 Thumb Code 8 bsp_timer.o(i.bsp_timer_init) + get_systick_ms 0x080008a1 Thumb Code 6 mw_soft_timer.o(i.get_systick_ms) + main 0x080008ad Thumb Code 24 main.o(i.main) + mw_get_led_obj 0x080008c5 Thumb Code 24 mw_led.o(i.mw_get_led_obj) + mw_led0_init 0x080008e1 Thumb Code 50 mw_led.o(i.mw_led0_init) + mw_led0_off 0x08000919 Thumb Code 14 mw_led.o(i.mw_led0_off) + mw_led0_on 0x0800092d Thumb Code 14 mw_led.o(i.mw_led0_on) + mw_led_drv_init 0x08000941 Thumb Code 44 mw_led.o(i.mw_led_drv_init) + mw_printf_insert_data 0x0800097d Thumb Code 30 mw_printf.o(i.mw_printf_insert_data) + mw_soft_timer_user_systick_update 0x080009a5 Thumb Code 12 mw_soft_timer.o(i.mw_soft_timer_user_systick_update) + Region$$Table$$Base 0x080009b4 Number 0 anon$$obj.o(Region$$Table) + Region$$Table$$Limit 0x080009d4 Number 0 anon$$obj.o(Region$$Table) + led_drv_buf 0x20000010 Data 16 mw_led.o(.bss) + mw_printf_buf 0x20000020 Data 50 mw_printf.o(.bss) + __libspace_start 0x20000054 Data 96 libspace.o(.bss) + __temporary_stack_top$libspace 0x200000b4 Data 0 libspace.o(.bss) @@ -1153,144 +1108,126 @@ Memory Map of the image Image Entry point : 0x080000ed - Load Region LR_IROM1 (Base: 0x08000000, Size: 0x00000e88, Max: 0x00010000, ABSOLUTE) + Load Region LR_IROM1 (Base: 0x08000000, Size: 0x000009e4, Max: 0x00010000, ABSOLUTE) - Execution Region ER_IROM1 (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00000e60, Max: 0x00010000, ABSOLUTE) + Execution Region ER_IROM1 (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x000009d4, Max: 0x00010000, ABSOLUTE) Exec Addr Load Addr Size Type Attr Idx E Section Name Object - 0x08000000 0x08000000 0x000000ec Data RO 423 RESET startup_stm32f10x_md.o - 0x080000ec 0x080000ec 0x00000008 Code RO 3462 * !!!main c_w.l(__main.o) - 0x080000f4 0x080000f4 0x00000034 Code RO 3629 !!!scatter c_w.l(__scatter.o) - 0x08000128 0x08000128 0x0000001a Code RO 3631 !!handler_copy c_w.l(__scatter_copy.o) + 0x08000000 0x08000000 0x000000ec Data RO 417 RESET startup_stm32f10x_md.o + 0x080000ec 0x080000ec 0x00000008 Code RO 3470 * !!!main c_w.l(__main.o) + 0x080000f4 0x080000f4 0x00000034 Code RO 3627 !!!scatter c_w.l(__scatter.o) + 0x08000128 0x08000128 0x0000001a Code RO 3629 !!handler_copy c_w.l(__scatter_copy.o) 0x08000142 0x08000142 0x00000002 PAD - 0x08000144 0x08000144 0x0000001c Code RO 3633 !!handler_zi c_w.l(__scatter_zi.o) - 0x08000160 0x08000160 0x00000002 Code RO 3501 .ARM.Collect$$libinit$$00000000 c_w.l(libinit.o) - 0x08000162 0x08000162 0x00000000 Code RO 3508 .ARM.Collect$$libinit$$00000002 c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3510 .ARM.Collect$$libinit$$00000004 c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3513 .ARM.Collect$$libinit$$0000000A c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3515 .ARM.Collect$$libinit$$0000000C c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3517 .ARM.Collect$$libinit$$0000000E c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3520 .ARM.Collect$$libinit$$00000011 c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3522 .ARM.Collect$$libinit$$00000013 c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3524 .ARM.Collect$$libinit$$00000015 c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3526 .ARM.Collect$$libinit$$00000017 c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3528 .ARM.Collect$$libinit$$00000019 c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3530 .ARM.Collect$$libinit$$0000001B c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3532 .ARM.Collect$$libinit$$0000001D c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3534 .ARM.Collect$$libinit$$0000001F c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3536 .ARM.Collect$$libinit$$00000021 c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3538 .ARM.Collect$$libinit$$00000023 c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3540 .ARM.Collect$$libinit$$00000025 c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3544 .ARM.Collect$$libinit$$0000002C c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3546 .ARM.Collect$$libinit$$0000002E c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3548 .ARM.Collect$$libinit$$00000030 c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000000 Code RO 3550 .ARM.Collect$$libinit$$00000032 c_w.l(libinit2.o) - 0x08000162 0x08000162 0x00000002 Code RO 3551 .ARM.Collect$$libinit$$00000033 c_w.l(libinit2.o) - 0x08000164 0x08000164 0x00000002 Code RO 3569 .ARM.Collect$$libshutdown$$00000000 c_w.l(libshutdown.o) - 0x08000166 0x08000166 0x00000000 Code RO 3579 .ARM.Collect$$libshutdown$$00000002 c_w.l(libshutdown2.o) - 0x08000166 0x08000166 0x00000000 Code RO 3581 .ARM.Collect$$libshutdown$$00000004 c_w.l(libshutdown2.o) - 0x08000166 0x08000166 0x00000000 Code RO 3583 .ARM.Collect$$libshutdown$$00000006 c_w.l(libshutdown2.o) - 0x08000166 0x08000166 0x00000000 Code RO 3586 .ARM.Collect$$libshutdown$$00000009 c_w.l(libshutdown2.o) - 0x08000166 0x08000166 0x00000000 Code RO 3589 .ARM.Collect$$libshutdown$$0000000C c_w.l(libshutdown2.o) - 0x08000166 0x08000166 0x00000000 Code RO 3591 .ARM.Collect$$libshutdown$$0000000E c_w.l(libshutdown2.o) - 0x08000166 0x08000166 0x00000000 Code RO 3594 .ARM.Collect$$libshutdown$$00000011 c_w.l(libshutdown2.o) - 0x08000166 0x08000166 0x00000002 Code RO 3595 .ARM.Collect$$libshutdown$$00000012 c_w.l(libshutdown2.o) - 0x08000168 0x08000168 0x00000000 Code RO 3466 .ARM.Collect$$rtentry$$00000000 c_w.l(__rtentry.o) - 0x08000168 0x08000168 0x00000000 Code RO 3470 .ARM.Collect$$rtentry$$00000002 c_w.l(__rtentry2.o) - 0x08000168 0x08000168 0x00000006 Code RO 3482 .ARM.Collect$$rtentry$$00000004 c_w.l(__rtentry4.o) - 0x0800016e 0x0800016e 0x00000000 Code RO 3472 .ARM.Collect$$rtentry$$00000009 c_w.l(__rtentry2.o) - 0x0800016e 0x0800016e 0x00000004 Code RO 3473 .ARM.Collect$$rtentry$$0000000A c_w.l(__rtentry2.o) - 0x08000172 0x08000172 0x00000000 Code RO 3475 .ARM.Collect$$rtentry$$0000000C c_w.l(__rtentry2.o) - 0x08000172 0x08000172 0x00000008 Code RO 3476 .ARM.Collect$$rtentry$$0000000D c_w.l(__rtentry2.o) - 0x0800017a 0x0800017a 0x00000002 Code RO 3505 .ARM.Collect$$rtexit$$00000000 c_w.l(rtexit.o) - 0x0800017c 0x0800017c 0x00000000 Code RO 3553 .ARM.Collect$$rtexit$$00000002 c_w.l(rtexit2.o) - 0x0800017c 0x0800017c 0x00000004 Code RO 3554 .ARM.Collect$$rtexit$$00000003 c_w.l(rtexit2.o) - 0x08000180 0x08000180 0x00000006 Code RO 3555 .ARM.Collect$$rtexit$$00000004 c_w.l(rtexit2.o) + 0x08000144 0x08000144 0x0000001c Code RO 3631 !!handler_zi c_w.l(__scatter_zi.o) + 0x08000160 0x08000160 0x00000002 Code RO 3499 .ARM.Collect$$libinit$$00000000 c_w.l(libinit.o) + 0x08000162 0x08000162 0x00000000 Code RO 3506 .ARM.Collect$$libinit$$00000002 c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3508 .ARM.Collect$$libinit$$00000004 c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3511 .ARM.Collect$$libinit$$0000000A c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3513 .ARM.Collect$$libinit$$0000000C c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3515 .ARM.Collect$$libinit$$0000000E c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3518 .ARM.Collect$$libinit$$00000011 c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3520 .ARM.Collect$$libinit$$00000013 c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3522 .ARM.Collect$$libinit$$00000015 c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3524 .ARM.Collect$$libinit$$00000017 c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3526 .ARM.Collect$$libinit$$00000019 c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3528 .ARM.Collect$$libinit$$0000001B c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3530 .ARM.Collect$$libinit$$0000001D c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3532 .ARM.Collect$$libinit$$0000001F c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3534 .ARM.Collect$$libinit$$00000021 c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3536 .ARM.Collect$$libinit$$00000023 c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3538 .ARM.Collect$$libinit$$00000025 c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3542 .ARM.Collect$$libinit$$0000002C c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3544 .ARM.Collect$$libinit$$0000002E c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3546 .ARM.Collect$$libinit$$00000030 c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000000 Code RO 3548 .ARM.Collect$$libinit$$00000032 c_w.l(libinit2.o) + 0x08000162 0x08000162 0x00000002 Code RO 3549 .ARM.Collect$$libinit$$00000033 c_w.l(libinit2.o) + 0x08000164 0x08000164 0x00000002 Code RO 3567 .ARM.Collect$$libshutdown$$00000000 c_w.l(libshutdown.o) + 0x08000166 0x08000166 0x00000000 Code RO 3577 .ARM.Collect$$libshutdown$$00000002 c_w.l(libshutdown2.o) + 0x08000166 0x08000166 0x00000000 Code RO 3579 .ARM.Collect$$libshutdown$$00000004 c_w.l(libshutdown2.o) + 0x08000166 0x08000166 0x00000000 Code RO 3581 .ARM.Collect$$libshutdown$$00000006 c_w.l(libshutdown2.o) + 0x08000166 0x08000166 0x00000000 Code RO 3584 .ARM.Collect$$libshutdown$$00000009 c_w.l(libshutdown2.o) + 0x08000166 0x08000166 0x00000000 Code RO 3587 .ARM.Collect$$libshutdown$$0000000C c_w.l(libshutdown2.o) + 0x08000166 0x08000166 0x00000000 Code RO 3589 .ARM.Collect$$libshutdown$$0000000E c_w.l(libshutdown2.o) + 0x08000166 0x08000166 0x00000000 Code RO 3592 .ARM.Collect$$libshutdown$$00000011 c_w.l(libshutdown2.o) + 0x08000166 0x08000166 0x00000002 Code RO 3593 .ARM.Collect$$libshutdown$$00000012 c_w.l(libshutdown2.o) + 0x08000168 0x08000168 0x00000000 Code RO 3474 .ARM.Collect$$rtentry$$00000000 c_w.l(__rtentry.o) + 0x08000168 0x08000168 0x00000000 Code RO 3476 .ARM.Collect$$rtentry$$00000002 c_w.l(__rtentry2.o) + 0x08000168 0x08000168 0x00000006 Code RO 3488 .ARM.Collect$$rtentry$$00000004 c_w.l(__rtentry4.o) + 0x0800016e 0x0800016e 0x00000000 Code RO 3478 .ARM.Collect$$rtentry$$00000009 c_w.l(__rtentry2.o) + 0x0800016e 0x0800016e 0x00000004 Code RO 3479 .ARM.Collect$$rtentry$$0000000A c_w.l(__rtentry2.o) + 0x08000172 0x08000172 0x00000000 Code RO 3481 .ARM.Collect$$rtentry$$0000000C c_w.l(__rtentry2.o) + 0x08000172 0x08000172 0x00000008 Code RO 3482 .ARM.Collect$$rtentry$$0000000D c_w.l(__rtentry2.o) + 0x0800017a 0x0800017a 0x00000002 Code RO 3503 .ARM.Collect$$rtexit$$00000000 c_w.l(rtexit.o) + 0x0800017c 0x0800017c 0x00000000 Code RO 3551 .ARM.Collect$$rtexit$$00000002 c_w.l(rtexit2.o) + 0x0800017c 0x0800017c 0x00000004 Code RO 3552 .ARM.Collect$$rtexit$$00000003 c_w.l(rtexit2.o) + 0x08000180 0x08000180 0x00000006 Code RO 3553 .ARM.Collect$$rtexit$$00000004 c_w.l(rtexit2.o) 0x08000186 0x08000186 0x00000002 PAD - 0x08000188 0x08000188 0x00000040 Code RO 424 .text startup_stm32f10x_md.o - 0x080001c8 0x080001c8 0x00000002 Code RO 3454 .text c_w.l(use_no_semi_2.o) - 0x080001ca 0x080001ca 0x00000002 PAD - 0x080001cc 0x080001cc 0x00000018 Code RO 3458 .text c_w.l(noretval__2printf.o) - 0x080001e4 0x080001e4 0x00000006 Code RO 3460 .text c_w.l(heapauxi.o) - 0x080001ea 0x080001ea 0x00000002 Code RO 3464 .text c_w.l(use_no_semi.o) - 0x080001ec 0x080001ec 0x00000024 Code RO 3467 .text c_w.l(_printf_char_file.o) - 0x08000210 0x08000210 0x00000030 Code RO 3484 .text c_w.l(_printf_char_common.o) - 0x08000240 0x08000240 0x00000008 Code RO 3486 .text c_w.l(ferror.o) - 0x08000248 0x08000248 0x0000004a Code RO 3490 .text c_w.l(sys_stackheap_outer.o) - 0x08000292 0x08000292 0x00000028 Code RO 3492 .text c_w.l(__printf_nopercent.o) - 0x080002ba 0x080002ba 0x00000012 Code RO 3494 .text c_w.l(exit.o) - 0x080002cc 0x080002cc 0x00000008 Code RO 3502 .text c_w.l(libspace.o) - 0x080002d4 0x080002d4 0x00000116 Code RO 1603 i.GPIO_Init stm32f10x_gpio.o - 0x080003ea 0x080003ea 0x00000004 Code RO 1610 i.GPIO_ResetBits stm32f10x_gpio.o - 0x080003ee 0x080003ee 0x00000004 Code RO 1611 i.GPIO_SetBits stm32f10x_gpio.o - 0x080003f2 0x080003f2 0x00000002 PAD - 0x080003f4 0x080003f4 0x00000070 Code RO 428 i.NVIC_Init misc.o - 0x08000464 0x08000464 0x00000014 Code RO 429 i.NVIC_PriorityGroupConfig misc.o - 0x08000478 0x08000478 0x00000020 Code RO 2022 i.RCC_APB1PeriphClockCmd stm32f10x_rcc.o - 0x08000498 0x08000498 0x00000020 Code RO 2023 i.RCC_APB1PeriphResetCmd stm32f10x_rcc.o - 0x080004b8 0x080004b8 0x00000020 Code RO 2024 i.RCC_APB2PeriphClockCmd stm32f10x_rcc.o - 0x080004d8 0x080004d8 0x00000020 Code RO 2025 i.RCC_APB2PeriphResetCmd stm32f10x_rcc.o - 0x080004f8 0x080004f8 0x000000d4 Code RO 2032 i.RCC_GetClocksFreq stm32f10x_rcc.o - 0x080005cc 0x080005cc 0x00000008 Code RO 387 i.SetSysClock system_stm32f10x.o - 0x080005d4 0x080005d4 0x000000e0 Code RO 388 i.SetSysClockTo72 system_stm32f10x.o - 0x080006b4 0x080006b4 0x00000060 Code RO 390 i.SystemInit system_stm32f10x.o - 0x08000714 0x08000714 0x0000001a Code RO 3434 i.TIM2_IRQHandler interrupt_handler.o - 0x0800072e 0x0800072e 0x00000006 Code RO 2660 i.TIM_ClearITPendingBit stm32f10x_tim.o - 0x08000734 0x08000734 0x00000018 Code RO 2665 i.TIM_Cmd stm32f10x_tim.o - 0x0800074c 0x0800074c 0x00000022 Code RO 2686 i.TIM_GetITStatus stm32f10x_tim.o - 0x0800076e 0x0800076e 0x00000012 Code RO 2690 i.TIM_ITConfig stm32f10x_tim.o - 0x08000780 0x08000780 0x000000a4 Code RO 2736 i.TIM_TimeBaseInit stm32f10x_tim.o - 0x08000824 0x08000824 0x00000044 Code RO 3435 i.USART1_IRQHandler interrupt_handler.o - 0x08000868 0x08000868 0x0000001e Code RO 3198 i.USART_ClearITPendingBit stm32f10x_usart.o - 0x08000886 0x08000886 0x00000018 Code RO 3201 i.USART_Cmd stm32f10x_usart.o + 0x08000188 0x08000188 0x00000040 Code RO 418 .text startup_stm32f10x_md.o + 0x080001c8 0x080001c8 0x00000002 Code RO 3466 .text c_w.l(use_no_semi_2.o) + 0x080001ca 0x080001ca 0x00000006 Code RO 3468 .text c_w.l(heapauxi.o) + 0x080001d0 0x080001d0 0x00000002 Code RO 3472 .text c_w.l(use_no_semi.o) + 0x080001d2 0x080001d2 0x0000004a Code RO 3490 .text c_w.l(sys_stackheap_outer.o) + 0x0800021c 0x0800021c 0x00000012 Code RO 3492 .text c_w.l(exit.o) + 0x0800022e 0x0800022e 0x00000002 PAD + 0x08000230 0x08000230 0x00000008 Code RO 3500 .text c_w.l(libspace.o) + 0x08000238 0x08000238 0x00000116 Code RO 1597 i.GPIO_Init stm32f10x_gpio.o + 0x0800034e 0x0800034e 0x00000004 Code RO 1604 i.GPIO_ResetBits stm32f10x_gpio.o + 0x08000352 0x08000352 0x00000004 Code RO 1605 i.GPIO_SetBits stm32f10x_gpio.o + 0x08000356 0x08000356 0x00000002 PAD + 0x08000358 0x08000358 0x00000070 Code RO 422 i.NVIC_Init misc.o + 0x080003c8 0x080003c8 0x00000014 Code RO 423 i.NVIC_PriorityGroupConfig misc.o + 0x080003dc 0x080003dc 0x00000020 Code RO 2016 i.RCC_APB1PeriphClockCmd stm32f10x_rcc.o + 0x080003fc 0x080003fc 0x00000020 Code RO 2018 i.RCC_APB2PeriphClockCmd stm32f10x_rcc.o + 0x0800041c 0x0800041c 0x00000008 Code RO 381 i.SetSysClock system_stm32f10x.o + 0x08000424 0x08000424 0x000000e0 Code RO 382 i.SetSysClockTo72 system_stm32f10x.o + 0x08000504 0x08000504 0x00000060 Code RO 384 i.SystemInit system_stm32f10x.o + 0x08000564 0x08000564 0x0000001a Code RO 3428 i.TIM2_IRQHandler interrupt_handler.o + 0x0800057e 0x0800057e 0x00000006 Code RO 2654 i.TIM_ClearITPendingBit stm32f10x_tim.o + 0x08000584 0x08000584 0x00000018 Code RO 2659 i.TIM_Cmd stm32f10x_tim.o + 0x0800059c 0x0800059c 0x00000022 Code RO 2680 i.TIM_GetITStatus stm32f10x_tim.o + 0x080005be 0x080005be 0x00000012 Code RO 2684 i.TIM_ITConfig stm32f10x_tim.o + 0x080005d0 0x080005d0 0x000000a4 Code RO 2730 i.TIM_TimeBaseInit stm32f10x_tim.o + 0x08000674 0x08000674 0x00000044 Code RO 3429 i.USART1_IRQHandler interrupt_handler.o + 0x080006b8 0x080006b8 0x0000001e Code RO 3192 i.USART_ClearITPendingBit stm32f10x_usart.o + 0x080006d6 0x080006d6 0x00000054 Code RO 3199 i.USART_GetITStatus stm32f10x_usart.o + 0x0800072a 0x0800072a 0x0000000a Code RO 3209 i.USART_ReceiveData stm32f10x_usart.o + 0x08000734 0x08000734 0x00000006 Code RO 330 i._sys_exit bsp_usart.o + 0x0800073a 0x0800073a 0x00000002 PAD + 0x0800073c 0x0800073c 0x0000000c Code RO 122 i.app_led_change_style_disable app_led.o + 0x08000748 0x08000748 0x0000000c Code RO 124 i.app_led_get_change_style_value app_led.o + 0x08000754 0x08000754 0x000000dc Code RO 125 i.app_led_marquee app_led.o + 0x08000830 0x08000830 0x00000008 Code RO 1 i.bsp_init main.o + 0x08000838 0x08000838 0x0000005e Code RO 307 i.bsp_timer_2_init bsp_timer.o + 0x08000896 0x08000896 0x00000008 Code RO 308 i.bsp_timer_init bsp_timer.o 0x0800089e 0x0800089e 0x00000002 PAD - 0x080008a0 0x080008a0 0x0000009c Code RO 3203 i.USART_DeInit stm32f10x_usart.o - 0x0800093c 0x0800093c 0x0000001a Code RO 3204 i.USART_GetFlagStatus stm32f10x_usart.o - 0x08000956 0x08000956 0x00000054 Code RO 3205 i.USART_GetITStatus stm32f10x_usart.o - 0x080009aa 0x080009aa 0x0000004a Code RO 3207 i.USART_ITConfig stm32f10x_usart.o - 0x080009f4 0x080009f4 0x000000d8 Code RO 3208 i.USART_Init stm32f10x_usart.o - 0x08000acc 0x08000acc 0x0000000a Code RO 3215 i.USART_ReceiveData stm32f10x_usart.o - 0x08000ad6 0x08000ad6 0x00000008 Code RO 3218 i.USART_SendData stm32f10x_usart.o - 0x08000ade 0x08000ade 0x00000006 Code RO 330 i._sys_exit bsp_usart.o - 0x08000ae4 0x08000ae4 0x0000000c Code RO 122 i.app_led_change_style_disable app_led.o - 0x08000af0 0x08000af0 0x0000000c Code RO 124 i.app_led_get_change_style_value app_led.o - 0x08000afc 0x08000afc 0x000000ec Code RO 125 i.app_led_marquee app_led.o - 0x08000be8 0x08000be8 0x00000010 Code RO 1 i.bsp_init main.o - 0x08000bf8 0x08000bf8 0x0000005e Code RO 307 i.bsp_timer_2_init bsp_timer.o - 0x08000c56 0x08000c56 0x00000008 Code RO 308 i.bsp_timer_init bsp_timer.o - 0x08000c5e 0x08000c5e 0x00000002 PAD - 0x08000c60 0x08000c60 0x000000a8 Code RO 331 i.bsp_usart_1_init bsp_usart.o - 0x08000d08 0x08000d08 0x00000024 Code RO 334 i.fputc bsp_usart.o - 0x08000d2c 0x08000d2c 0x0000000c Code RO 287 i.get_systick_ms mw_soft_timer.o - 0x08000d38 0x08000d38 0x00000018 Code RO 2 i.main main.o - 0x08000d50 0x08000d50 0x0000001c Code RO 229 i.mw_get_led_obj mw_led.o - 0x08000d6c 0x08000d6c 0x00000038 Code RO 230 i.mw_led0_init mw_led.o - 0x08000da4 0x08000da4 0x00000014 Code RO 231 i.mw_led0_off mw_led.o - 0x08000db8 0x08000db8 0x00000014 Code RO 232 i.mw_led0_on mw_led.o - 0x08000dcc 0x08000dcc 0x0000003c Code RO 233 i.mw_led_drv_init mw_led.o - 0x08000e08 0x08000e08 0x00000028 Code RO 268 i.mw_printf_insert_data mw_printf.o - 0x08000e30 0x08000e30 0x00000010 Code RO 288 i.mw_soft_timer_user_systick_update mw_soft_timer.o - 0x08000e40 0x08000e40 0x00000020 Data RO 3627 Region$$Table anon$$obj.o + 0x080008a0 0x080008a0 0x0000000c Code RO 287 i.get_systick_ms mw_soft_timer.o + 0x080008ac 0x080008ac 0x00000018 Code RO 2 i.main main.o + 0x080008c4 0x080008c4 0x0000001c Code RO 229 i.mw_get_led_obj mw_led.o + 0x080008e0 0x080008e0 0x00000038 Code RO 230 i.mw_led0_init mw_led.o + 0x08000918 0x08000918 0x00000014 Code RO 231 i.mw_led0_off mw_led.o + 0x0800092c 0x0800092c 0x00000014 Code RO 232 i.mw_led0_on mw_led.o + 0x08000940 0x08000940 0x0000003c Code RO 233 i.mw_led_drv_init mw_led.o + 0x0800097c 0x0800097c 0x00000028 Code RO 268 i.mw_printf_insert_data mw_printf.o + 0x080009a4 0x080009a4 0x00000010 Code RO 288 i.mw_soft_timer_user_systick_update mw_soft_timer.o + 0x080009b4 0x080009b4 0x00000020 Data RO 3625 Region$$Table anon$$obj.o - Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x08000e60, Size: 0x000006d0, Max: 0x00005000, ABSOLUTE) + Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x080009d4, Size: 0x000006b8, Max: 0x00005000, ABSOLUTE) Exec Addr Load Addr Size Type Attr Idx E Section Name Object - 0x20000000 0x08000e60 0x00000008 Data RW 126 .data app_led.o - 0x20000008 0x08000e68 0x00000002 Data RW 270 .data mw_printf.o - 0x2000000a 0x08000e6a 0x00000002 PAD - 0x2000000c 0x08000e6c 0x00000004 Data RW 289 .data mw_soft_timer.o - 0x20000010 0x08000e70 0x00000004 Data RW 335 .data bsp_usart.o - 0x20000014 0x08000e74 0x00000014 Data RW 2052 .data stm32f10x_rcc.o - 0x20000028 - 0x00000010 Zero RW 234 .bss mw_led.o - 0x20000038 - 0x00000032 Zero RW 269 .bss mw_printf.o - 0x2000006a 0x08000e88 0x00000002 PAD - 0x2000006c - 0x00000060 Zero RW 3503 .bss c_w.l(libspace.o) - 0x200000cc 0x08000e88 0x00000004 PAD - 0x200000d0 - 0x00000200 Zero RW 422 HEAP startup_stm32f10x_md.o - 0x200002d0 - 0x00000400 Zero RW 421 STACK startup_stm32f10x_md.o + 0x20000000 0x080009d4 0x00000008 Data RW 126 .data app_led.o + 0x20000008 0x080009dc 0x00000002 Data RW 270 .data mw_printf.o + 0x2000000a 0x080009de 0x00000002 PAD + 0x2000000c 0x080009e0 0x00000004 Data RW 289 .data mw_soft_timer.o + 0x20000010 - 0x00000010 Zero RW 234 .bss mw_led.o + 0x20000020 - 0x00000032 Zero RW 269 .bss mw_printf.o + 0x20000052 0x080009e4 0x00000002 PAD + 0x20000054 - 0x00000060 Zero RW 3501 .bss c_w.l(libspace.o) + 0x200000b4 0x080009e4 0x00000004 PAD + 0x200000b8 - 0x00000200 Zero RW 416 HEAP startup_stm32f10x_md.o + 0x200002b8 - 0x00000400 Zero RW 415 STACK startup_stm32f10x_md.o ============================================================================== @@ -1300,25 +1237,25 @@ Image component sizes Code (inc. data) RO Data RW Data ZI Data Debug Object Name - 260 28 0 8 0 10189 app_led.o + 244 18 0 8 0 10185 app_led.o 102 0 0 0 0 23461 bsp_timer.o - 210 14 0 4 0 12649 bsp_usart.o + 6 0 0 0 0 9136 bsp_usart.o 0 0 0 0 0 32 core_cm3.o 94 6 0 0 0 974 interrupt_handler.o - 40 0 0 0 0 226614 main.o + 32 0 0 0 0 211474 main.o 132 22 0 0 0 1911 misc.o 184 38 0 0 16 3199 mw_led.o 40 10 0 2 50 1224 mw_printf.o 28 10 0 4 0 1529 mw_soft_timer.o 64 26 236 0 1536 972 startup_stm32f10x_md.o 286 0 0 0 0 3500 stm32f10x_gpio.o - 340 44 0 20 0 15332 stm32f10x_rcc.o + 64 12 0 0 0 1346 stm32f10x_rcc.o 246 42 0 0 0 4234 stm32f10x_tim.o - 628 28 0 0 0 14814 stm32f10x_usart.o + 124 0 0 0 0 10154 stm32f10x_usart.o 328 28 0 0 0 2529 system_stm32f10x.o ---------------------------------------------------------------------- - 2988 296 268 40 1604 323163 Object Totals + 1980 212 268 16 1604 285860 Object Totals 0 0 32 0 0 0 (incl. Generated) 6 0 0 2 2 0 (incl. Padding) @@ -1327,24 +1264,19 @@ Image component sizes Code (inc. data) RO Data RW Data ZI Data Debug Library Member Name 8 0 0 0 0 68 __main.o - 40 0 0 0 0 84 __printf_nopercent.o 0 0 0 0 0 0 __rtentry.o 12 0 0 0 0 0 __rtentry2.o 6 0 0 0 0 0 __rtentry4.o 52 8 0 0 0 0 __scatter.o 26 0 0 0 0 0 __scatter_copy.o 28 0 0 0 0 0 __scatter_zi.o - 48 6 0 0 0 96 _printf_char_common.o - 36 4 0 0 0 80 _printf_char_file.o 18 0 0 0 0 80 exit.o - 8 0 0 0 0 68 ferror.o 6 0 0 0 0 152 heapauxi.o 2 0 0 0 0 0 libinit.o 2 0 0 0 0 0 libinit2.o 2 0 0 0 0 0 libshutdown.o 2 0 0 0 0 0 libshutdown2.o 8 4 0 0 96 68 libspace.o - 24 4 0 0 0 84 noretval__2printf.o 2 0 0 0 0 0 rtexit.o 10 0 0 0 0 0 rtexit2.o 74 0 0 0 0 80 sys_stackheap_outer.o @@ -1352,17 +1284,17 @@ Image component sizes 2 0 0 0 0 68 use_no_semi_2.o ---------------------------------------------------------------------- - 424 26 0 0 100 996 Library Totals + 268 12 0 0 100 584 Library Totals 6 0 0 0 4 0 (incl. Padding) ---------------------------------------------------------------------- Code (inc. data) RO Data RW Data ZI Data Debug Library Name - 418 26 0 0 96 996 c_w.l + 262 12 0 0 96 584 c_w.l ---------------------------------------------------------------------- - 424 26 0 0 100 996 Library Totals + 268 12 0 0 100 584 Library Totals ---------------------------------------------------------------------- @@ -1371,15 +1303,15 @@ Image component sizes Code (inc. data) RO Data RW Data ZI Data Debug - 3412 322 268 40 1704 321503 Grand Totals - 3412 322 268 40 1704 321503 ELF Image Totals - 3412 322 268 40 0 0 ROM Totals + 2248 224 268 16 1704 284620 Grand Totals + 2248 224 268 16 1704 284620 ELF Image Totals + 2248 224 268 16 0 0 ROM Totals ============================================================================== - Total RO Size (Code + RO Data) 3680 ( 3.59kB) - Total RW Size (RW Data + ZI Data) 1744 ( 1.70kB) - Total ROM Size (Code + RO Data + RW Data) 3720 ( 3.63kB) + Total RO Size (Code + RO Data) 2516 ( 2.46kB) + Total RW Size (RW Data + ZI Data) 1720 ( 1.68kB) + Total ROM Size (Code + RO Data + RW Data) 2532 ( 2.47kB) ============================================================================== diff --git a/Project/TianyunV1.uvprojx b/Project/TianyunV1.uvprojx index 7375283..4118baa 100644 --- a/Project/TianyunV1.uvprojx +++ b/Project/TianyunV1.uvprojx @@ -340,7 +340,7 @@ USE_STDPERIPH_DRIVER - ..\Code\library\STM32F10x_StdPeriph_Lib_V3.6.0\Libraries\CMSIS\CM3\CoreSupport;..\Code\library\STM32F10x_StdPeriph_Lib_V3.6.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x;..\Code\library\STM32F10x_StdPeriph_Lib_V3.6.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm;..\Code\app\inc;..\Code\bsp\inc;..\Code\isr;..\Code\middleware\internal\inc;..\Code\library\STM32F10x_StdPeriph_Lib_V3.6.0\Libraries\STM32F10x_StdPeriph_Driver\inc;..\Code\library + ..\Code\library\STM32F10x_StdPeriph_Lib_V3.6.0\Libraries\CMSIS\CM3\CoreSupport;..\Code\library\STM32F10x_StdPeriph_Lib_V3.6.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x;..\Code\library\STM32F10x_StdPeriph_Lib_V3.6.0\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm;..\Code\app\inc;..\Code\bsp\inc;..\Code\isr;..\Code\middleware\internal\inc;..\Code\library\STM32F10x_StdPeriph_Lib_V3.6.0\Libraries\STM32F10x_StdPeriph_Driver\inc;..\Code\library;..\Code\middleware\BlueTooth;..\Code\middleware\BlueTooth\HC-06 @@ -601,6 +601,21 @@ + + MW/BLUETOOTH + + + mw_bluetooth.c + 1 + ..\Code\middleware\BlueTooth\mw_bluetooth.c + + + hc06.c + 1 + ..\Code\middleware\BlueTooth\HC-06\hc06.c + + +