-
Install Visual Studio Code: VSCode
- Download the VSCode version for Windows (x64).
- Manually run the installation file (.exe) if it does not start automatically.
- Accept terms of use.
- Choose the installation folder. The default selected folder is recommended.
- Remember to check the “Add to Path” box to add the path to VSCode in the environment variables.
-
Download QEMU: QEMU
- Enter the folder called "2023/".
- Click on “qemu-w64-setup-20231224.exe.” The download will start automatically.
- After the installation is complete, add the path to QEMU in the system variables.
-
Download and install the GNU Arm Embedded Toolchain: Arm GNU Toolchain
-
Install the FreeRTOS version 202212.01: FreeRTOS
-
Download and install Make for Windows: MAKE
-
Install MinGW version 11.0.0: MinGW
- MinGW is created to support the GCC compiler on Windows systems and it is useful to avoid error during the compilation.
-
Add these paths to "Path" User Variable if they don't exist:
- For make: C:\Program Files (x86)\GnuWin32\bin
- Fot qemu: C:\Program Files\qemu
- For the debugger used into the demo: C:\Program Files (x86)\Arm GNU Toolchain arm-none-eabi\13.2 Rel1\bin
- Note: the paths are related to the installation on Windows, check that they are the same on your pc or if they are different, change them appropriately.
-
Open the folder "C:\yourPath\FreeRTOSv202212.01\FreeRTOSv202212.01\FreeRTOS\Demo\CORTEX_MPS2_QEMU_IAR_GCC" as VSCode Project.
-
Navigate to the .vscode folder.
-
Open the file "launch.json" and change the “miDebuggerPath” to the path to the new debugger in the GNU Arm Embedded Toolchain downloaded earlier. The new debugger will be “GNU Arm Embedded Toolchain/10 2021.10/bin/arm-none-eabi-gdb.exe”.
-
Navigate within the build\gcc subfolder and open an Integrated Terminal here (right click and then "Open in Integrated Terminal"). Execute the "make" command.
-
Open a shell and execute the code:
qemu-system-arm -machine mps2-an385 -cpu cortex-m3 -kernel "C:\*yourPath*\FreeRTOSv202212.01\FreeRTOS\Demo\CORTEX_MPS2_QEMU_IAR_GCC\build\gcc\output\RTOSDemo.out" -monitor none -nographic -serial stdio
-
A simple demo will start automatically.
-
Notifications
You must be signed in to change notification settings - Fork 1
emfourem/Rate-Monotonic-Scheduler-FreeRTOS
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Project of Computer Architectures and Operating Systems
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published