Skip to content

A port of FreeRTOS to the ARM 929EJ-S Versatile Platform Baseboard

License

Notifications You must be signed in to change notification settings

x123y123/FreeRTOS-GCC-ARM926ejs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

FreeRTOS ported to ARM Versatile Platform Baseboard, based on the ARM926EJ-S CPU.

The current version is based on FreeRTOS 10.4.0. The port will be regularly updated with newer versions of FreeRTOS when they are released.

The port is still at an early development stage and includes only very basic demo tasks. More complex tasks will be included in the future.

Prerequisites

  • GNU Arm Embedded Toolchain, based on GCC. See comments in setenv.sh for more details about download and installation.
  • GNU Make
  • Qemu (version 1.3 or newer, older versions do not emulate the interrupt controller properly!)
  • Install ARM toolchain
$ sudo apt-get install gcc-arm-none-eabi

Build

A convenience Bash script setenv.sh is provided to set paths to toolchain's commands and libraries. You may edit it and adjust the paths according to your setup. To set up the necessary paths, simply type:

. ./setenv.sh

If you wish to run the image anywhere else except in Qemu, you will probably have to edit the linker script qemu.ld and adjust the startup address properly.

To build the image with the test application, just run make or make rebuild. If the build process is successful, the image file image.bin will be ready to boot.

Run

To run the target image in Qemu, enter the following command:

qemu-system-arm -M versatilepb -nographic -m 128 -kernel image.bin

A convenience Bash script start_qemu.sh is provided. If necessary, you may edit it and adjust paths to Qemu and/or target image.

The demo application will run infinitely so it must be stopped manually by "killing" the instance of Qemu (an "equivalent" to switching off the board). A convenience Bash script stop_qemu.sh (it must be run in another shell) is provided to automate the process. Note that it may not work properly if multiple instances of qemu-system-arm are running.

For more details, see extensive comments in both scripts.

License

All source and header files are licensed under the MIT license.

For the avoidance of any doubt refer to the comment included at the top of each source and header file for license and copyright information.

About

A port of FreeRTOS to the ARM 929EJ-S Versatile Platform Baseboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.0%
  • Other 1.0%