Ray Liu
/
NuMaker-mbed-OS-Core-RTOS-Basic
Modify the file main.cpp for M487
README.md@0:0dfa64725959, 2017-09-29 (annotated)
- Committer:
- shliu1
- Date:
- Fri Sep 29 05:44:18 2017 +0000
- Revision:
- 0:0dfa64725959
main.cpp adds the setting of TARGET_NUMAKER_PFM_M487 for M487
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shliu1 | 0:0dfa64725959 | 1 | # Getting started thread with LEDs on mbed OS |
shliu1 | 0:0dfa64725959 | 2 | |
shliu1 | 0:0dfa64725959 | 3 | |
shliu1 | 0:0dfa64725959 | 4 | ### Import NuMaker-mbed-OS-Core-RTOS-Basic from on-line IDE |
shliu1 | 0:0dfa64725959 | 5 | 1. Please choose Nuvoton NuMaker-PFM-XXX as your target platform. |
shliu1 | 0:0dfa64725959 | 6 | 2. Please press the left-up icon "New", then choose "NuMaker mbed RTOS basic (Thread)" from the template list. |
shliu1 | 0:0dfa64725959 | 7 | 3. Your NuMaker-mbed-OS-Core-RTOS-Basic program is existed. |
shliu1 | 0:0dfa64725959 | 8 | |
shliu1 | 0:0dfa64725959 | 9 | #### Now compile |
shliu1 | 0:0dfa64725959 | 10 | Please press compile icon. |
shliu1 | 0:0dfa64725959 | 11 | |
shliu1 | 0:0dfa64725959 | 12 | #### Burn Code & Execute |
shliu1 | 0:0dfa64725959 | 13 | 1. Connect the board NuMaker-PFM-XXX with your PC by USB cable, then there will be one "mbed" disk. |
shliu1 | 0:0dfa64725959 | 14 | 2. Copy the built binary file into "mbed" disk on you PC. |
shliu1 | 0:0dfa64725959 | 15 | 3. Press device's reset button to execute, LED1 and LED2 will flash on. |
shliu1 | 0:0dfa64725959 | 16 |