2. Clone FreeRTOS retarget Project¶
The first step is to create a new project. As the goal is to collect the interruption and to trigger a task handled by the RTOS, the base project will be freertos_retarget. This sample application starts the RTOS scheduler, performs the system initialization, and launches a task which will send a character (#) on the UART every second.
Start SmartSnippets™ Studio.
Import the freertos_retarget project. Check our getting started tutorial if you’re not familiar with the procedure.
Copy and paste your project and call it external_interrupt. When pasting, make sure you paste in the same folder as the source project. In this case, SDKROOT is “C:\dev\DA1468x_DA15xxx_SDK_1.0.10.1072” and the destination folder is set to “C:\dev\DA1468x_DA15xxx_SDK_1.0.10.1072\projects\dk_apps\templates\external_interrupt”.
Compile the project for your target to check the project is set up correctly.