FreeRTOS run on Eclipse

Source: Internet
Author: User

Required Packages:

freertos.7.1.0.7z
Eclipse-cpp-helios-sr2-win32.zip
TDM-GCC-32 (version any bar. But the same platform to choose the same, 32-bit system is consistent 32-bit software, 64-bit is also the case)

Gossip less, want to let FreeRTOS run on the PC, or relatively simple, because in the FreeRTOS source package has the following demo:
\freertosv9.0.0\freertos\demo\win32-mingw, meaning the project is implemented under the 32-bit Windows platform using the MingW compiler, the file structure directory is:

│.cproject
│.project
│freertosconfig.h
│main.c
│main_blinky.c
│main_full.c
│run-time-stats-utils.c

├─.settings
│org.eclipse.cdt.codan.core.prefs
│org.eclipse.cdt.managedbuilder.core.prefs
│org.eclipse.ltk.core.refactoring.prefs

├─demosmodifiedforlowtickrate
│recmutex.c

└─trace_recorder_configuration
TrcConfig.h
. Project is the project file.

Unzip the Eclipse-cpp-helios-sr2-win32.zip file to the current directory, generate the eclipse file, and run the Eclipse.exe.

1, enter the Eclipse interface, select Workbench,file->import, select the Win32-mingw directory, you can import project files.
2. Compile build project,
Compilation Result:

Build of configuration Debug for Project Rtosdemo * * * *

Internal Builder is used for build * * * * *
Nothing to build for Rtosdemo

Clicking Run runs will always output the information printed by the program in the console column.
Task 2----------------------------------------------------

Task 1 ****************************************************

Message printed from the Tick hook interrupt ##############

Task 2----------------------------------------------------

Task 1 ****************************************************

Message printed from the Tick hook interrupt ##############

Then you can learn the FreeRTOS.

FreeRTOS run on Eclipse

Related Article

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.