SimpleCortex and mbed
Assuming you have the basic SimpleCortex environment set up, you can easily use mbed-compiled BIN files with that board. Here are the steps:
Open up the standard LED blink demo program and change “DigitalOut myled(LED1);” to ”DigitalOut myled(P1_18);”. P1_18 is the pin for the board’s LED6.
Hit compile, and you get the BIN file.
It’s as simple as flashing this now using the CoFlash tool, which you can find in the bin/ folder of the CooCox/CoIDE directory. Success! Voila - SimpleCortex running an mbed program.
More details, including setting up the SimpleCortex environment, exporting projects for offline compilation with CooCox, and setting it up to use as a virtual serial port with the standard mbed libraries:
Please log in to post comments.
