Porting mbed to target board

Source: Internet
Author: User
Tags jlink

In the previous article, we exported the Mbed basic environment to MDK, and we need to make some changes according to the actual target. The hardware at hand is the Ebox platform, the chip stm32f103c8t6, the debugger jlink, the default use UART1. The NUCLEO-F103RB selected at the time of export, chip Stm32f103rb,st-link, default use of UART2, and some Led,button and other definitions are not the same

1, configure the chip and the debugger to open the target options, Device tab, select the Chip Debug tab, for example, select Jlink, enter the setting red box, select the correct connection mode, select the right post SW The device box will have content saved, enter utilities, select debugger, enter settings according to the corresponding chip capacity Select this time should be able to compile the download program to the target hardware 2, modify the hardware configuration open PinNames.h header file, root According to the actual configuration of the pin, my hardware only, PA and PB two sets of pins, so need to put a lot of delete, such as, the green box in the removal of the Arduino Pin name, can not be deleted here according to the physical modification, do not need to delete the modification after the completion, now recompile download, you can see the board The LEDs on the light start flashing.



From for notes (Wiz)



Porting mbed to target board

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.