ARM bare board calling process

Publisher:快乐舞动Latest update time:2020-03-11 Source: eefocus Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. Compilation

The mdk software will select the assembly file added by the user to the project file to execute (for example, startup_stm32f10x_md.s), and initialize the basic content such as stack space. This file is usually provided by the chip manufacturer, and the user can select and call it.

2. Jump to main function

After the assembly is executed and initialized, it will eventually jump to the main function at the point circled in red below.

__main can be changed to other names such as smain, and the corresponding main function name can be changed to smain, which can also complete the jump


Reference address:ARM bare board calling process

Previous article:Development board learning Day 7-the first ARM bare board program and extension
Next article:Summary of ARM architecture related learning

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号