Generic Heap

FreeRTOS projects examples

This chapter covers the basics of the FreeRTOS RISC-V Heap sample application including creating, building, running, and debugging steps. This application simply prints Testing Heap on the console screen. Through this example, users know how to discover FreeRTOS objects such as Queue, Task, Heap, … during debug session. This application can also be built and run on QEMU emulator.

Note: To build, run and debug FreeRTOS applications with QEMU emulator, please install the xplor-studio-freertos blueprint first. Please refer to Guidelines for more information.

Create a new project

Select File > New > C Project choose FreeRTOS Project > RISC-V Generic Heap and Toolchains: Baremetal XploR Toolchain for RISC-V, enter project name then click Next button.

Update build settings

The build setting is the same as the quick-start project’s settings. Please refer to Update build settings for more information.

Build project

The build step is the same as the quick-start project’s step. Please refer to Build project for more information.

Running and Debugging project with QEMU emulator

The running and debugging step is the same as the quick-start project’s step. Please refer to Running and Debugging project with QEMU emulator for more information.