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