; generated by Component: ARM Compiler 5.05 update 2 (build 169) Tool: ArmCC [4d0f38]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave -o..\..\..\..\build\bootloader\mico-fire_f429\obj_rvmdk\platform.o --asm_dir=..\..\..\..\Build\Bootloader\MICO-Fire_F429\list_RVMDK\ --list_dir=..\..\..\..\Build\Bootloader\MICO-Fire_F429\list_RVMDK\ --depend=..\..\..\..\build\bootloader\mico-fire_f429\obj_rvmdk\platform.d --cpu=Cortex-M4.fp --apcs=interwork --diag_suppress=9931,1,1293 -I..\..\..\..\Bootloader -I..\..\..\..\Board\fire_F429 -I..\..\..\..\include -I..\..\..\..\libraries\utilities -I..\..\..\..\libraries\utilities\json_c -I..\..\..\..\MICO\core -I..\..\..\..\MICO\security -I..\..\..\..\MICO\system -I..\..\..\..\MICO\system\command_console -I..\..\..\..\Platform\include -I..\..\..\..\Platform\Cortex-M4 -I..\..\..\..\Platform\Cortex-M4\CMSIS -I..\..\..\..\Platform\MCU\STM32F4xx\peripherals -I..\..\..\..\Platform\MCU\STM32F4xx\peripherals\Libraries\STM32F4xx_StdPeriph_Driver\inc -I..\..\..\..\Platform\MCU\STM32F4xx\peripherals\Libraries -I..\..\..\..\Platform\MCU\STM32F4xx\wlan_bus_driver -I..\..\..\..\Platform\Drivers\spi_flash -I..\..\..\..\Platform\Drivers -IG:\GIT_OSC\F429_OV2640_MICO_SDRAM\Projects\STM32F429\bootloader\RVMDK\RTE -ID:\work\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.5.0\Drivers\CMSIS\Device\ST\STM32F4xx\Include -ID:\work\keil5\ARM\CMSIS\Include -ID:\work\keil5\ARM\PACK\Keil\STM32F4xx_DFP\2.5.0 -D__MICROLIB -D__UVISION_VERSION=516 -DSTM32F429xx -DUSE_STDPERIPH_DRIVER -DBOOTLOADER -DNO_MICO_RTOS -DHSE_VALUE=25000000 --omf_browse=..\..\..\..\build\bootloader\mico-fire_f429\obj_rvmdk\platform.crf ..\..\..\..\Board\fire_F429\platform.c]
                          THUMB

                          AREA ||i.DMA2_Stream2_IRQHandler||, CODE, READONLY, ALIGN=2

                  DMA2_Stream2_IRQHandler PROC
                  ||__tagsym$$used||
;;;288    
;;;289    MICO_RTOS_DEFINE_ISR( DMA2_Stream2_IRQHandler )
000000  4801              LDR      r0,|L1.8|
;;;290    {
;;;291    	platform_uart_rx_dma_irq( &platform_uart_drivers[MICO_UART_1] );
000002  f7ffbffe          B.W      platform_uart_rx_dma_irq
;;;292    }
;;;293    
                          ENDP

000006  0000              DCW      0x0000
                  |L1.8|
                          DCD      ||.bss||

                          AREA ||i.DMA2_Stream7_IRQHandler||, CODE, READONLY, ALIGN=2

                  DMA2_Stream7_IRQHandler PROC
                  |symbol_number.107|
;;;283    
;;;284    MICO_RTOS_DEFINE_ISR( DMA2_Stream7_IRQHandler )
000000  4801              LDR      r0,|L2.8|
;;;285    {
;;;286    	platform_uart_tx_dma_irq( &platform_uart_drivers[MICO_UART_1] );
000002  f7ffbffe          B.W      platform_uart_tx_dma_irq
;;;287    }
;;;288    
                          ENDP

000006  0000              DCW      0x0000
                  |L2.8|
                          DCD      ||.bss||

                          AREA ||i.MicoRfLed||, CODE, READONLY, ALIGN=1

                  MicoRfLed PROC
;;;466    
;;;467    void MicoRfLed(bool onoff)
000000  2800              CMP      r0,#0
;;;468    {
;;;469    	if (onoff) {
;;;470    		MicoGpioOutputLow( (mico_gpio_t)MICO_RF_LED );
;;;471    	} else {
;;;472    		MicoGpioOutputHigh( (mico_gpio_t)MICO_RF_LED );
000002  f04f0001          MOV      r0,#1
000006  d001              BEQ      |L3.12|
000008  f7ffbffe          B.W      MicoGpioOutputLow
                  |L3.12|
00000c  f7ffbffe          B.W      MicoGpioOutputHigh
;;;473    	}
;;;474    }
;;;475    
                          ENDP


                          AREA ||i.MicoShouldEnterBootloader||, CODE, READONLY, ALIGN=1

                  MicoShouldEnterBootloader PROC
;;;496    
;;;497    bool MicoShouldEnterBootloader(void)
000000  b510              PUSH     {r4,lr}
;;;498    {
;;;499    	if(MicoGpioInputGet((mico_gpio_t)BOOT_SEL)==false && MicoGpioInputGet((mico_gpio_t)MFG_SEL)==true)
000002  2002              MOVS     r0,#2
000004  f7fffffe          BL       mico_gpio_input_get
000008  b928              CBNZ     r0,|L4.22|
00000a  200d              MOVS     r0,#0xd
00000c  f7fffffe          BL       mico_gpio_input_get
000010  b108              CBZ      r0,|L4.22|
;;;500    		return true;
000012  2001              MOVS     r0,#1
;;;501    	else
;;;502    		return false;
;;;503    }
000014  bd10              POP      {r4,pc}
                  |L4.22|
000016  2000              MOVS     r0,#0                 ;502
000018  bd10              POP      {r4,pc}
                          ENDP


                          AREA ||i.MicoShouldEnterMFGMode||, CODE, READONLY, ALIGN=1

                  MicoShouldEnterMFGMode PROC
;;;488    
;;;489    bool MicoShouldEnterMFGMode(void)
000000  b510              PUSH     {r4,lr}
;;;490    {
;;;491    	if(MicoGpioInputGet((mico_gpio_t)BOOT_SEL)==false && MicoGpioInputGet((mico_gpio_t)MFG_SEL)==false)
000002  2002              MOVS     r0,#2
000004  f7fffffe          BL       mico_gpio_input_get
000008  b918              CBNZ     r0,|L5.18|
00000a  200d              MOVS     r0,#0xd
00000c  f7fffffe          BL       mico_gpio_input_get
000010  b108              CBZ      r0,|L5.22|
                  |L5.18|
;;;492    		return true;
;;;493    	else
;;;494    		return false;
000012  2000              MOVS     r0,#0
;;;495    }
000014  bd10              POP      {r4,pc}
                  |L5.22|
000016  2001              MOVS     r0,#1                 ;492
000018  bd10              POP      {r4,pc}
;;;496    
                          ENDP


                          AREA ||i.MicoSysLed||, CODE, READONLY, ALIGN=1

                  MicoSysLed PROC
;;;457    
;;;458    void MicoSysLed(bool onoff)
000000  2800              CMP      r0,#0
;;;459    {
;;;460    	if (onoff) {
;;;461    		MicoGpioOutputLow( (mico_gpio_t)MICO_SYS_LED );
;;;462    	} else {
;;;463    		MicoGpioOutputHigh( (mico_gpio_t)MICO_SYS_LED );
000002  f04f000d          MOV      r0,#0xd
000006  d001              BEQ      |L6.12|
000008  f7ffbffe          B.W      MicoGpioOutputLow
                  |L6.12|
00000c  f7ffbffe          B.W      MicoGpioOutputHigh
;;;464    	}
;;;465    }
;;;466    
                          ENDP


                          AREA ||i.NVIC_SetPriority||, CODE, READONLY, ALIGN=1

                  NVIC_SetPriority PROC
;;;1534    */
;;;1535   __STATIC_INLINE void NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
000000  0709              LSLS     r1,r1,#28
;;;1536   {
;;;1537     if(IRQn < 0) {
;;;1538       SCB->SHP[((uint32_t)(IRQn) & 0xF)-4] = ((priority << (8 - __NVIC_PRIO_BITS)) & 0xff); } /* set Priority for Cortex-M  System Interrupts */
000002  0e09              LSRS     r1,r1,#24
000004  2800              CMP      r0,#0                 ;1537
000006  da06              BGE      |L7.22|
000008  f000000f          AND      r0,r0,#0xf
00000c  f10020e0          ADD      r0,r0,#0xe000e000
000010  f8801d14          STRB     r1,[r0,#0xd14]
;;;1539     else {
;;;1540       NVIC->IP[(uint32_t)(IRQn)] = ((priority << (8 - __NVIC_PRIO_BITS)) & 0xff);    }        /* set Priority for device specific Interrupts  */
;;;1541   }
000014  4770              BX       lr
                  |L7.22|
000016  f10020e0          ADD      r0,r0,#0xe000e000
00001a  f8801400          STRB     r1,[r0,#0x400]        ;1540
00001e  4770              BX       lr
;;;1542   
                          ENDP


                          AREA ||i.USART1_IRQHandler||, CODE, READONLY, ALIGN=2

                  USART1_IRQHandler PROC
                  |symbol_number.109|
;;;278    
;;;279    MICO_RTOS_DEFINE_ISR( USART1_IRQHandler )
000000  4801              LDR      r0,|L8.8|
;;;280    {
;;;281    	platform_uart_irq( &platform_uart_drivers[MICO_UART_1] );
000002  f7ffbffe          B.W      platform_uart_irq
;;;282    }
;;;283    
                          ENDP

000006  0000              DCW      0x0000
                  |L8.8|
                          DCD      ||.bss||

                          AREA ||i.init_platform||, CODE, READONLY, ALIGN=2

                  init_platform PROC
;;;316    
;;;317    void init_platform( void )
000000  b508              PUSH     {r3,lr}
;;;318    {
;;;319    	button_init_t init;
;;;320    	
;;;321    	MicoGpioInitialize( (mico_gpio_t)MICO_SYS_LED, OUTPUT_PUSH_PULL );
000002  2103              MOVS     r1,#3
000004  200d              MOVS     r0,#0xd
000006  f7fffffe          BL       MicoGpioInitialize
;;;322    	MicoGpioOutputLow( (mico_gpio_t)MICO_SYS_LED );
00000a  200d              MOVS     r0,#0xd
00000c  f7fffffe          BL       MicoGpioOutputLow
;;;323    	MicoGpioInitialize( (mico_gpio_t)MICO_RF_LED, OUTPUT_OPEN_DRAIN_NO_PULL );
000010  2104              MOVS     r1,#4
000012  2001              MOVS     r0,#1
000014  f7fffffe          BL       MicoGpioInitialize
;;;324    	MicoGpioOutputHigh( (mico_gpio_t)MICO_RF_LED );
000018  2001              MOVS     r0,#1
00001a  f7fffffe          BL       MicoGpioOutputHigh
;;;325    	
;;;326    	MicoGpioInitialize((mico_gpio_t)BOOT_SEL, INPUT_PULL_UP);
00001e  2100              MOVS     r1,#0
000020  2002              MOVS     r0,#2
000022  f7fffffe          BL       MicoGpioInitialize
;;;327    	MicoGpioInitialize((mico_gpio_t)MFG_SEL, INPUT_PULL_UP);
000026  2100              MOVS     r1,#0
000028  200d              MOVS     r0,#0xd
00002a  f7fffffe          BL       MicoGpioInitialize
;;;328    	
;;;329    	init.gpio = EasyLink_BUTTON;
00002e  2003              MOVS     r0,#3
000030  4621              MOV      r1,r4
000032  f3600107          BFI      r1,r0,#0,#8
;;;330    	init.pressed_func = PlatformEasyLinkButtonClickedCallback;
;;;331    	init.long_pressed_func = PlatformEasyLinkButtonLongPressedCallback;
000036  4805              LDR      r0,|L9.76|
;;;332    	init.long_pressed_timeout = 5000;
;;;333    	
;;;334    	button_init( IOBUTTON_EASYLINK, init );
000038  9000              STR      r0,[sp,#0]
00003a  4b03              LDR      r3,|L9.72|
00003c  f2413288          MOV      r2,#0x1388            ;332
000040  2000              MOVS     r0,#0
000042  f7fffffe          BL       button_init
;;;335    	
;;;336    #ifdef USE_MiCOKit_EXT
;;;337    	dc_motor_init( );
;;;338    	dc_motor_set( 0 );
;;;339    	
;;;340    	rgb_led_init();
;;;341    	rgb_led_open(0, 0, 0);
;;;342    #endif
;;;343    }
000046  bd08              POP      {r3,pc}
;;;344    
                          ENDP

                  |L9.72|
                          DCD      PlatformEasyLinkButtonClickedCallback
                  |L9.76|
                          DCD      PlatformEasyLinkButtonLongPressedCallback

                          AREA ||i.init_platform_bootloader||, CODE, READONLY, ALIGN=2

                  init_platform_bootloader PROC
;;;349    
;;;350    void init_platform_bootloader( void )
000000  e92d4ffe          PUSH     {r1-r11,lr}
;;;351    {
;;;352    	OSStatus err = kNoErr;
;;;353    	mico_logic_partition_t *rf_partition = MicoFlashGetInfo( MICO_PARTITION_RF_FIRMWARE );
000004  2004              MOVS     r0,#4
000006  f7fffffe          BL       MicoFlashGetInfo
00000a  4607              MOV      r7,r0
;;;354    	
;;;355    	MicoGpioInitialize( (mico_gpio_t)MICO_SYS_LED, OUTPUT_PUSH_PULL );
00000c  2103              MOVS     r1,#3
00000e  200d              MOVS     r0,#0xd
000010  f7fffffe          BL       MicoGpioInitialize
;;;356    	MicoGpioOutputLow( (mico_gpio_t)MICO_SYS_LED );
000014  200d              MOVS     r0,#0xd
000016  f7fffffe          BL       MicoGpioOutputLow
;;;357    	MicoGpioInitialize( (mico_gpio_t)MICO_RF_LED, OUTPUT_OPEN_DRAIN_NO_PULL );
00001a  2104              MOVS     r1,#4
00001c  2001              MOVS     r0,#1
00001e  f7fffffe          BL       MicoGpioInitialize
;;;358    	MicoGpioOutputHigh( (mico_gpio_t)MICO_RF_LED );
000022  2001              MOVS     r0,#1
000024  f7fffffe          BL       MicoGpioOutputHigh
;;;359    	
;;;360    	MicoGpioInitialize((mico_gpio_t)BOOT_SEL, INPUT_PULL_UP);
000028  2100              MOVS     r1,#0
00002a  2002              MOVS     r0,#2
00002c  f7fffffe          BL       MicoGpioInitialize
;;;361    	MicoGpioInitialize((mico_gpio_t)MFG_SEL, INPUT_PULL_UP);
000030  2100              MOVS     r1,#0
000032  200d              MOVS     r0,#0xd
000034  f7fffffe          BL       MicoGpioInitialize
;;;362    	
;;;363    #ifdef USE_MiCOKit_EXT
;;;364    	dc_motor_init( );
;;;365    	dc_motor_set( 0 );
;;;366    	
;;;367    	rgb_led_init();
;;;368    	rgb_led_open(0, 0, 0);
;;;369    #endif
;;;370    	
;;;371    	/* Specific operations used in EMW3165 production */
;;;372    #define NEED_RF_DRIVER_COPY_BASE    ((uint32_t)0x08008000)
;;;373    #define TEMP_RF_DRIVER_BASE         ((uint32_t)0x08040000)
;;;374    #define TEMP_RF_DRIVER_END          ((uint32_t)0x0807FFFF)
;;;375    	
;;;376    	const uint8_t isDriverNeedCopy = *(uint8_t *)(NEED_RF_DRIVER_COPY_BASE);
000038  483c              LDR      r0,|L10.300|
;;;377    	const uint32_t totalLength = rf_partition->partition_length;
;;;378    	const uint8_t crcResult = *(uint8_t *)(TEMP_RF_DRIVER_END);
;;;379    	uint8_t targetCrcResult = 0;
00003a  f04f0a00          MOV      r10,#0
00003e  7801              LDRB     r1,[r0,#0]            ;376
000040  483b              LDR      r0,|L10.304|
;;;380    	
;;;381    	uint32_t copyLength;
;;;382    	uint32_t destStartAddress_tmp = rf_partition->partition_start_addr;
;;;383    	uint32_t sourceStartAddress_tmp = TEMP_RF_DRIVER_BASE;
;;;384    	uint32_t i;
;;;385    	
;;;386    	if ( isDriverNeedCopy != 0x0 )
000042  2900              CMP      r1,#0
000044  f890b000          LDRB     r11,[r0,#0]           ;378
000048  e9d70402          LDRD     r0,r4,[r7,#8]         ;379
00004c  9000              STR      r0,[sp,#0]            ;383
00004e  4839              LDR      r0,|L10.308|
000050  9002              STR      r0,[sp,#8]
000052  d168              BNE      |L10.294|
;;;387    		return;
;;;388    	
;;;389    	platform_log( "Bootloader start to copy RF driver..." );
;;;390    	/* Copy RF driver to SPI flash */
;;;391    	
;;;392    	err = platform_flash_init( &platform_flash_peripherals[ MICO_FLASH_SPI ] );
000054  4838              LDR      r0,|L10.312|
000056  9001              STR      r0,[sp,#4]
000058  f7fffffe          BL       platform_flash_init
;;;393    	require_noerr(err, exit);
00005c  2800              CMP      r0,#0
00005e  d162              BNE      |L10.294|
;;;394    	err = platform_flash_init( &platform_flash_peripherals[ MICO_FLASH_EMBEDDED ] );
000060  4835              LDR      r0,|L10.312|
000062  3810              SUBS     r0,r0,#0x10
000064  f7fffffe          BL       platform_flash_init
;;;395    	require_noerr(err, exit);
000068  2800              CMP      r0,#0
00006a  d15c              BNE      |L10.294|
00006c  e9d71002          LDRD     r1,r0,[r7,#8]
;;;396    	err = platform_flash_erase( &platform_flash_peripherals[ MICO_FLASH_SPI ], 
000070  180a              ADDS     r2,r1,r0
000072  1e52              SUBS     r2,r2,#1
000074  9801              LDR      r0,[sp,#4]
000076  f7fffffe          BL       platform_flash_erase
;;;397    							   rf_partition->partition_start_addr, rf_partition->partition_start_addr + rf_partition->partition_length - 1 );
;;;398    	require_noerr(err, exit);
00007a  2800              CMP      r0,#0
00007c  d153              BNE      |L10.294|
;;;399    	platform_log( "Time: %d", mico_get_time_no_os() );
;;;400    	
;;;401    	for(i = 0; i <= totalLength/SizePerRW; i++){
00007e  2500              MOVS     r5,#0
;;;402    		if( i == totalLength/SizePerRW ){
;;;403    			if(totalLength%SizePerRW)
;;;404    				copyLength = totalLength%SizePerRW;
;;;405    			else
;;;406    				break;
;;;407    		}else{
;;;408    			copyLength = SizePerRW;
000080  f44f5980          MOV      r9,#0x1000
000084  f3c4060b          UBFX     r6,r4,#0,#12          ;404
000088  e01a              B        |L10.192|
                  |L10.138|
00008a  d103              BNE      |L10.148|
00008c  0520              LSLS     r0,r4,#20             ;403
00008e  d01a              BEQ      |L10.198|
000090  46b0              MOV      r8,r6                 ;404
000092  e000              B        |L10.150|
                  |L10.148|
000094  46c8              MOV      r8,r9
                  |L10.150|
;;;409    		}
;;;410    		printf(".");
000096  a029              ADR      r0,|L10.316|
000098  f7fffffe          BL       __2printf
;;;411    		err = platform_flash_read( &platform_flash_peripherals[ MICO_FLASH_EMBEDDED ], &sourceStartAddress_tmp, data , copyLength );
00009c  4826              LDR      r0,|L10.312|
00009e  4643              MOV      r3,r8
0000a0  4a27              LDR      r2,|L10.320|
0000a2  a902              ADD      r1,sp,#8
0000a4  3810              SUBS     r0,r0,#0x10
0000a6  f7fffffe          BL       platform_flash_read
;;;412    		require_noerr( err, exit );
0000aa  2800              CMP      r0,#0
0000ac  d13b              BNE      |L10.294|
;;;413    		err = platform_flash_write( &platform_flash_peripherals[ MICO_FLASH_SPI ], &destStartAddress_tmp, data, copyLength );
0000ae  4643              MOV      r3,r8
0000b0  4a23              LDR      r2,|L10.320|
0000b2  4669              MOV      r1,sp
0000b4  9801              LDR      r0,[sp,#4]
0000b6  f7fffffe          BL       platform_flash_write
;;;414    		require_noerr(err, exit);
0000ba  2800              CMP      r0,#0
0000bc  d133              BNE      |L10.294|
0000be  1c6d              ADDS     r5,r5,#1
                  |L10.192|
0000c0  ebb53f14          CMP      r5,r4,LSR #12         ;401
0000c4  d9e1              BLS      |L10.138|
                  |L10.198|
;;;415    	}
;;;416    	
;;;417    	printf("\r\n");
0000c6  a01f              ADR      r0,|L10.324|
0000c8  f7fffffe          BL       __2printf
;;;418    	/* Check CRC-8 check-sum */
;;;419    	platform_log( "Bootloader start to verify RF driver..." );
;;;420    	sourceStartAddress_tmp = TEMP_RF_DRIVER_BASE;
0000cc  4819              LDR      r0,|L10.308|
;;;421    	destStartAddress_tmp = rf_partition->partition_start_addr;
0000ce  9002              STR      r0,[sp,#8]
0000d0  68b8              LDR      r0,[r7,#8]
;;;422    	
;;;423    	for(i = 0; i <= totalLength/SizePerRW; i++){
0000d2  2500              MOVS     r5,#0
0000d4  9000              STR      r0,[sp,#0]
0000d6  e017              B        |L10.264|
                  |L10.216|
;;;424    		if( i == totalLength/SizePerRW ){
0000d8  d103              BNE      |L10.226|
;;;425    			if(totalLength%SizePerRW)
0000da  0520              LSLS     r0,r4,#20
0000dc  d017              BEQ      |L10.270|
;;;426    				copyLength = totalLength%SizePerRW;
0000de  4637              MOV      r7,r6
0000e0  e000              B        |L10.228|
                  |L10.226|
;;;427    			else
;;;428    				break;
;;;429    		}else{
;;;430    			copyLength = SizePerRW;
0000e2  464f              MOV      r7,r9
                  |L10.228|
;;;431    		}
;;;432    		printf(".");
0000e4  a015              ADR      r0,|L10.316|
0000e6  f7fffffe          BL       __2printf
;;;433    		err = platform_flash_read( &platform_flash_peripherals[ MICO_FLASH_SPI ], &destStartAddress_tmp, data, copyLength );
0000ea  463b              MOV      r3,r7
0000ec  4a14              LDR      r2,|L10.320|
0000ee  4669              MOV      r1,sp
0000f0  9801              LDR      r0,[sp,#4]
0000f2  f7fffffe          BL       platform_flash_read
;;;434    		require_noerr( err, exit );
0000f6  2800              CMP      r0,#0
0000f8  d115              BNE      |L10.294|
;;;435    		
;;;436    		targetCrcResult = mico_CRC8_Table(targetCrcResult, data, copyLength);
0000fa  463a              MOV      r2,r7
0000fc  4910              LDR      r1,|L10.320|
0000fe  4650              MOV      r0,r10
000100  f7fffffe          BL       mico_CRC8_Table
000104  4682              MOV      r10,r0
000106  1c6d              ADDS     r5,r5,#1
                  |L10.264|
000108  ebb53f14          CMP      r5,r4,LSR #12         ;423
00010c  d9e4              BLS      |L10.216|
                  |L10.270|
;;;437    	}
;;;438    	
;;;439    	printf("\r\n");
00010e  a00d              ADR      r0,|L10.324|
000110  f7fffffe          BL       __2printf
;;;440    	//require_string( crcResult == targetCrcResult, exit, "Check-sum error" ); 
;;;441    	if( crcResult != targetCrcResult ){
000114  45d3              CMP      r11,r10
000116  d000              BEQ      |L10.282|
                  |L10.280|
;;;442    		platform_log("Check-sum error");
;;;443    		while(1);
000118  e7fe              B        |L10.280|
                  |L10.282|
;;;444    	}
;;;445    	/* Clear RF driver from temperary storage */
;;;446    	platform_log("Bootloader start to clear RF driver temporary storage...");
;;;447    	
;;;448    	/* Clear copy tag */
;;;449    	err = platform_flash_erase( &platform_flash_peripherals[ MICO_FLASH_EMBEDDED ], NEED_RF_DRIVER_COPY_BASE, NEED_RF_DRIVER_COPY_BASE);
00011a  4904              LDR      r1,|L10.300|
00011c  4806              LDR      r0,|L10.312|
00011e  460a              MOV      r2,r1
000120  3810              SUBS     r0,r0,#0x10
000122  f7fffffe          BL       platform_flash_erase
                  |L10.294|
;;;450    	require_noerr(err, exit);
;;;451    	
;;;452     exit:
;;;453    	return;
;;;454    }
000126  e8bd8ffe          POP      {r1-r11,pc}
;;;455    
                          ENDP

00012a  0000              DCW      0x0000
                  |L10.300|
                          DCD      0x08008000
                  |L10.304|
                          DCD      0x0807ffff
                  |L10.308|
                          DCD      0x08040000
                  |L10.312|
                          DCD      ||area_number.19||+0x10
                  |L10.316|
00013c  2e00              DCB      ".",0
00013e  00                DCB      0
00013f  00                DCB      0
                  |L10.320|
                          DCD      ||.bss||+0x1c
                  |L10.324|
000144  0d0a00            DCB      "\r\n",0
000147  00                DCB      0

                          AREA ||i.platform_init_peripheral_irq_priorities||, CODE, READONLY, ALIGN=1

                  platform_init_peripheral_irq_priorities PROC
;;;297    
;;;298    void platform_init_peripheral_irq_priorities( void )
000000  b510              PUSH     {r4,lr}
;;;299    {
;;;300    	/* Interrupt priority setup. Called by MiCO/platform/MCU/STM32F2xx/platform_init.c */
;;;301    	NVIC_SetPriority( RTC_WKUP_IRQn    ,  1 ); /* RTC Wake-up event   */
000002  2101              MOVS     r1,#1
000004  2003              MOVS     r0,#3
000006  f7fffffe          BL       NVIC_SetPriority
;;;302    	NVIC_SetPriority( SDIO_IRQn        ,  2 ); /* WLAN SDIO           */
00000a  2102              MOVS     r1,#2
00000c  2031              MOVS     r0,#0x31
00000e  f7fffffe          BL       NVIC_SetPriority
;;;303    	NVIC_SetPriority( DMA2_Stream3_IRQn,  3 ); /* WLAN SDIO DMA       */
000012  2103              MOVS     r1,#3
000014  203b              MOVS     r0,#0x3b
000016  f7fffffe          BL       NVIC_SetPriority
;;;304    //	NVIC_SetPriority( DMA2_Stream6_IRQn,  3 ); /* WLAN SPI DMA        */ //WLANõSPIӿʽ
;;;305    	NVIC_SetPriority( USART1_IRQn      ,  6 ); /* MICO_UART_1         */
00001a  2106              MOVS     r1,#6
00001c  2025              MOVS     r0,#0x25
00001e  f7fffffe          BL       NVIC_SetPriority
;;;306    	NVIC_SetPriority( DMA2_Stream7_IRQn,  7 ); /* MICO_UART_1 TX DMA  */
000022  2107              MOVS     r1,#7
000024  2046              MOVS     r0,#0x46
000026  f7fffffe          BL       NVIC_SetPriority
;;;307    	NVIC_SetPriority( DMA2_Stream2_IRQn,  7 ); /* MICO_UART_1 RX DMA  */
00002a  2107              MOVS     r1,#7
00002c  203a              MOVS     r0,#0x3a
00002e  f7fffffe          BL       NVIC_SetPriority
;;;308    	NVIC_SetPriority( EXTI0_IRQn       , 14 ); /* GPIO                */
000032  210e              MOVS     r1,#0xe
000034  2006              MOVS     r0,#6
000036  f7fffffe          BL       NVIC_SetPriority
;;;309    	NVIC_SetPriority( EXTI1_IRQn       , 14 ); /* GPIO                */
00003a  210e              MOVS     r1,#0xe
00003c  2007              MOVS     r0,#7
00003e  f7fffffe          BL       NVIC_SetPriority
;;;310    	NVIC_SetPriority( EXTI2_IRQn       , 14 ); /* GPIO                */
000042  210e              MOVS     r1,#0xe
000044  2008              MOVS     r0,#8
000046  f7fffffe          BL       NVIC_SetPriority
;;;311    	NVIC_SetPriority( EXTI3_IRQn       , 14 ); /* GPIO                */
00004a  210e              MOVS     r1,#0xe
00004c  2009              MOVS     r0,#9
00004e  f7fffffe          BL       NVIC_SetPriority
;;;312    	NVIC_SetPriority( EXTI4_IRQn       , 14 ); /* GPIO                */
000052  210e              MOVS     r1,#0xe
000054  200a              MOVS     r0,#0xa
000056  f7fffffe          BL       NVIC_SetPriority
;;;313    	NVIC_SetPriority( EXTI9_5_IRQn     , 14 ); /* GPIO                */
00005a  210e              MOVS     r1,#0xe
00005c  2017              MOVS     r0,#0x17
00005e  f7fffffe          BL       NVIC_SetPriority
;;;314    	NVIC_SetPriority( EXTI15_10_IRQn   , 14 ); /* GPIO                */
000062  210e              MOVS     r1,#0xe
000064  e8bd4010          POP      {r4,lr}
000068  2028              MOVS     r0,#0x28
00006a  f7ffbffe          B.W      NVIC_SetPriority
;;;315    }
;;;316    
                          ENDP


                          AREA ||.bss||, DATA, NOINIT, ALIGN=2

                  platform_uart_drivers
                          %        28
                  data
                          %        4096

                          AREA ||area_number.14||, DATA, NOINIT, ALIGN=2

                          EXPORTAS ||area_number.14||, ||.bss||
                  platform_flash_drivers
                          %        24

                          AREA ||.constdata||, DATA, READONLY, ALIGN=2

                  platform_gpio_pins
                          DCD      0x00000000
000004  00000000          DCB      0x00,0x00,0x00,0x00
                          DCD      0x40020c00
00000c  0b000000          DCB      0x0b,0x00,0x00,0x00
                          DCD      0x40020400
000014  02000000          DCB      0x02,0x00,0x00,0x00
                          DCD      0x40020000
00001c  08000000          DCB      0x08,0x00,0x00,0x00
                          DCD      0x40020000
000024  0a000000          DCB      0x0a,0x00,0x00,0x00
                          DCD      0x40020000
00002c  09000000          DCB      0x09,0x00,0x00,0x00
                          DCD      0x40021400
000034  06000000          DCB      0x06,0x00,0x00,0x00
                          DCD      0x40021400
00003c  07000000          DCB      0x07,0x00,0x00,0x00
                          DCD      0x40021400
000044  09000000          DCB      0x09,0x00,0x00,0x00
                          DCD      0x40021400
00004c  08000000          DCB      0x08,0x00,0x00,0x00

                          AREA ||area_number.17||, DATA, READONLY, ALIGN=2

                          EXPORTAS ||area_number.17||, ||.constdata||
                  platform_uart_peripherals
                          DCD      0x40011000
                          DCD      platform_gpio_pins+0x28
                          DCD      platform_gpio_pins+0x20
                          DCD      0x00000000
                          DCD      0x00000000
                          DCD      0x40026400
                          DCD      0x400264b8
                          DCD      0x08000000
000020  46000000          DCB      0x46,0x00,0x00,0x00
                          DCD      0x08000000
                          DCD      0x02400000
                          DCD      0x40026400
                          DCD      0x40026440
                          DCD      0x08000000
000038  3a000000          DCB      0x3a,0x00,0x00,0x00
                          DCD      0x00200000
                          DCD      0x000d0000

                          AREA ||area_number.18||, DATA, READONLY, ALIGN=2

                          EXPORTAS ||area_number.18||, ||.constdata||
                  platform_spi_peripherals
                          DCD      0x40015000
000004  05000000          DCB      0x05,0x00,0x00,0x00
                          DCD      0x00100000
                          DCD      RCC_APB2PeriphClockCmd
                          DCD      platform_gpio_pins+0x40
                          DCD      platform_gpio_pins+0x48
                          DCD      platform_gpio_pins+0x38
                          DCD      0x40026400
                          DCD      0x400264a0
                          DCD      0x0e000000
000028  45000000          DCB      0x45,0x00,0x00,0x00
                          DCD      0x00200000
                          DCD      0x00090000
                          DCD      0x40026400
                          DCD      0x40026488
                          DCD      0x0e000000
000040  44000000          DCB      0x44,0x00,0x00,0x00
                          DCD      0x00000800
                          DCD      0x00000340

                          AREA ||area_number.19||, DATA, READONLY, ALIGN=2

                          EXPORTAS ||area_number.19||, ||.constdata||
                  platform_flash_peripherals
000000  00000000          DCB      0x00,0x00,0x00,0x00
                          DCD      0x08000000
                          DCD      0x00100000
                          DCD      0x00000000
000010  01000000          DCB      0x01,0x00,0x00,0x00
                          DCD      0x00000000
                          DCD      0x01600000
                          DCD      0x00000000

                          AREA ||area_number.20||, DATA, READONLY, ALIGN=2

                          EXPORTAS ||area_number.20||, ||.constdata||
                  mico_partitions
000000  00000000          DCB      0x00,0x00,0x00,0x00
                          DCD      ||.conststring||
                          DCD      0x08000000
                          DCD      0x00008000
                          DCD      0x00000001
000014  00000000          DCB      0x00,0x00,0x00,0x00
                          DCD      ||.conststring||+0xc
                          DCD      0x0800c000
                          DCD      0x000f2000
                          DCD      0x00000001
000028  00000000          DCB      0x00,0x00,0x00,0x00
                          DCD      0x00000000
                          DCD      0x00000000
                          DCD      0x00000000
                          DCD      0x00000000
00003c  01000000          DCB      0x01,0x00,0x00,0x00
                          DCD      ||.conststring||+0x18
                          DCD      0x00100000
                          DCD      0x00000000
                          DCD      0x00000000
000050  01000000          DCB      0x01,0x00,0x00,0x00
                          DCD      ||.conststring||+0x24
                          DCD      0x00504000
                          DCD      0x0003e000
                          DCD      0x00000001
000064  01000000          DCB      0x01,0x00,0x00,0x00
                          DCD      ||.conststring||+0x30
                          DCD      0x00543000
                          DCD      0x00001000
                          DCD      0x00000003
000078  01000000          DCB      0x01,0x00,0x00,0x00
                          DCD      ||.conststring||+0x3c
                          DCD      0x00544000
                          DCD      0x00001000
                          DCD      0x00000003

                          AREA ||area_number.21||, DATA, READONLY, ALIGN=2

                          EXPORTAS ||area_number.21||, ||.constdata||
                  mico_spi_flash
000000  00060000          DCB      0x00,0x06,0x00,0x00
                          DCD      0x02625a00
000008  0f080000          DCB      0x0f,0x08,0x00,0x00

                          AREA ||area_number.22||, DATA, READONLY, ALIGN=2

                          EXPORTAS ||area_number.22||, ||.constdata||
                  wifi_control_pins
                          DCD      0x00000000
000004  00000000          DCB      0x00,0x00,0x00,0x00
                          DCD      0x40021800
00000c  09000000          DCB      0x09,0x00,0x00,0x00

                          AREA ||area_number.23||, DATA, READONLY, ALIGN=2

                          EXPORTAS ||area_number.23||, ||.constdata||
                  wifi_sdio_pins
                          DCD      0x40020000
000004  00000000          DCB      0x00,0x00,0x00,0x00
                          DCD      0x40020800
00000c  0c000000          DCB      0x0c,0x00,0x00,0x00
                          DCD      0x40020c00
000014  02000000          DCB      0x02,0x00,0x00,0x00
                          DCD      0x40020800
00001c  08000000          DCB      0x08,0x00,0x00,0x00
                          DCD      0x40020800
000024  09000000          DCB      0x09,0x00,0x00,0x00
                          DCD      0x40020800
00002c  0a000000          DCB      0x0a,0x00,0x00,0x00
                          DCD      0x40020800
000034  0b000000          DCB      0x0b,0x00,0x00,0x00

                          AREA ||area_number.24||, DATA, READONLY, ALIGN=2

                          EXPORTAS ||area_number.24||, ||.constdata||
                  platform_adc_peripherals
                          %        40

                          AREA ||area_number.25||, DATA, READONLY, ALIGN=2

                          EXPORTAS ||area_number.25||, ||.constdata||
                  platform_i2c_peripherals
                          %        52

                          AREA ||.conststring||, DATA, READONLY, MERGE=1, STRINGS, ALIGN=2

000000  426f6f74          DCB      "Bootloader",0
000004  6c6f6164
000008  657200  
00000b  00                DCB      0
00000c  4170706c          DCB      "Application",0
000010  69636174
000014  696f6e00
000018  4f544120          DCB      "OTA Storage",0
00001c  53746f72
000020  61676500
000024  52462046          DCB      "RF Firmware",0
000028  69726d77
00002c  61726500
000030  50415241          DCB      "PARAMETER1",0
000034  4d455445
000038  523100  
00003b  00                DCB      0
00003c  50415241          DCB      "PARAMETER2",0
000040  4d455445
000044  523200  

                          AREA ||.data||, DATA, ALIGN=2

                  platform_pwm_peripherals
                          DCD      0x00000000

                          AREA ||area_number.28||, DATA, ALIGN=2

                          EXPORTAS ||area_number.28||, ||.data||
                  platform_i2c_drivers
                          DCD      0x00000000

                          AREA ||area_number.29||, DATA, ALIGN=2

                          EXPORTAS ||area_number.29||, ||.data||
                  platform_spi_drivers
                          %        8

;*** Start embedded assembler ***

#line 1 "..\\..\\..\\..\\Board\\fire_F429\\platform.c"
	AREA ||.rev16_text||, CODE
	THUMB
	EXPORT |__asm___10_platform_c_c2e3b224____REV16|
#line 114 "..\\..\\..\\..\\Platform\\Cortex-M4\\CMSIS\\core_cmInstr.h"
|__asm___10_platform_c_c2e3b224____REV16| PROC
#line 115

 rev16 r0, r0
 bx lr
	ENDP
	AREA ||.revsh_text||, CODE
	THUMB
	EXPORT |__asm___10_platform_c_c2e3b224____REVSH|
#line 128
|__asm___10_platform_c_c2e3b224____REVSH| PROC
#line 129

 revsh r0, r0
 bx lr
	ENDP

;*** End   embedded assembler ***
