Open-CMSIS-Packs: Crank Software Example

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Open-CMSIS-Packs: Crank Software Example

Open-CMSIS-Packs: Crank Software Example

GOAL

Learn how to import CMSIS packs into existing projects. In this particular project, CMSIS packs from Crank will be used alongside the freertos_hello example obtained from the MIMXRT1060-EVKB SDK.

Note: This walkthrough was adapted from Crank Software's guide included with their CMSIS Pack.

 

ENVIRONMENT

This guide requires MCUXpresso IDE v11.9.1 or latest. MIMXRT1060-EVK SDK version 2.16 or latest.

 

PROCEDURE

1. Import the freertos_hello example into the workspace. Be sure to set the library type to Newlib (semihost).

import-freertos-hello.gif

 

 

2. Rename the project to freertos_sbengine.

project-rename.gif

 

 

3. Add drivers to the project. Right click on the project and select SDK Management -> Manage SDK Components.

NOTE: Select Keep Existing and do not replace the FreeRTOSConfig.h file when prompted after adding the following components:

  • Under Drivers -> Device -> SDK Drivers, select:
  1. cache
  2. elcdif
  3. pxp
  • Under Board Components -> Device -> SDK Drivers, select:
  1. ft5406_rt
  • Under Software Components -> Device -> SDK Drivers, select:
  1. video-common

adding-drivers.gif

 

 

4. Add additional components to the project.

  • Add the gt911 driver if required by your display. This driver can be found in the MIMXRT1060-EVKB SDK.

 

Navigate to components/gt911:

add-addiA.gif

 

Copy the fsl_gt911.c and fsl_gt911.h into the touchpanel directory in the project:

add-addiB.gif

 

 

  • Change the memory manager configuration from the default used by FreeRTOS.

 

Remove the heap_4.c from the project folder. This is found in freertos/freertos-kernel/portable/MemMang.

mem-mang-A.gif

 

Add the heap_3.c into the project folder freertos/FreeRTOS/portable/MemMang. This file can be found in the MIMXRT1060-EVKB SDK.

mem-mang-B.gif

 

 

5. Download the Crank Software pack from Arm Keil | CMSIS Packs.

joseOcampoHernandez_0-1731962040326.png
 
 
6. Import the Crank Software pack into MCUXpresso IDE.
 
import-pack.gif
 
 
7. The Crank Software pack is a graphics bundle that contains six components:
  1. Board
  2. Display
  3. Memory
  4. Runtime Libraries
  5. Runtime Source
  6. Task

For this walkthrough, we will add all the components except the Runtime Source component. This component is intended for custom changes.

To add the components, right click on the project and select SDK Management -> Add Open-CMSIS Components:

selecting-crank-components.gif

Once the components are selected press Ctrl + s to save the components in the project.

 

8. Resolve conflicts from the previous freertos_hello project configuration.

  • The Board component from the Crank Software pack includes a rewrite of pin_mux.c. Navigate to the board directory of the project and remove the pin_mux.c and pin_mux.h files.

remove-board-files.gif

 

  • MCUXPresso will automatically add the libraries from the runtime engine into the linker settings. In the project settings remove all the Storyboard engine libraries and plugins.

To do this, right click on the project and select Properties. Remove all of the items found under C/C++ Build -> Settings -> Miscellaneous -> Other Objects.

remove-other-objects.gif

 

  • Switch from a managed linker configuration to using the linker file included in the CMSIS pack. In the project settings, navigate to the MCU Linker -> Managed Linker Script. Uncheck the Manage Linker Script option and change the Linker script and Script path.

Linker script = MIMXRT1062xxxxx_flexspi_nor.ld

Script path=
${cmsis_pack_root}/CrankSoftware/iMXRT10xx/8.1.0/configuration/rt1060/

Note: The path will vary depending on where the user saved the pack.

linker-script.gif

 

  • Copy sbengine_task_pxp_template.c and sbengine_plugins_template.h from the RTE -> Graphics folder into the source folder of the project. Rename these files to remove template  from the name.

The project source folder should now look like this:

source-folder.png

 

  • Exclude the sbengine_task_pxp_template.c and sbengine_plugins_template.h files in the RTE -> Graphics folder from the build. 

exlcude-resources.gif

 

 

9. Configure and export a Model C/C++ Header from Storyboard Designer. Create a new project and name it sbengine_model.

  • For this example, I will use a display size of 480x272, color depth RGB 565, and Freetype font manager.

 

  • Once the model has been exported, add the header file to the source directory of the project.

 

Note: For more information about exporting models from Storyboard Designer visit:

Crank Storyboard - Exporting and Running on your Embedded Target.

 

 

10. Integrating the Storyboard Engine requires modifications to the following:

  • FreeRTOSConfig.h file

Locate this file in the source folder of the project and make the following changes:

#define configFRTOS_MEMORY_SCHEME 4
#define configUSE_TIME_SLICING 0
#define configENABLE_BACKWARD_COMPATIBILITY 0
#define configTICK_RATE_HZ ((TickType_t)200)
#define configUSE_NEWLIB_REENTRANT 0

To this:
#define configFRTOS_MEMORY_SCHEME 3
#define configUSE_TIME_SLICING 1
#define configENABLE_BACKWARD_COMPATIBILITY 1
#define configTICK_RATE_HZ ((TickType_t)1000)
#define configUSE_NEWLIB_REENTRANT 1

 

  • Preprocessor Defines

Right click on the project and select Properties -> C/C++ Build -> Settings -> MCU C Compiler. Add the following defines to the “Defined symbols (-D)” pane:

SKIP_SYSCLK_INIT
XIP_BOOT_HEADER_DCD_ENABLE=1
GRE_TARGET_OS_freertos
GRE_TARGET_CPU_cortexm7
GRE_TARGET_TOOLCHAIN_mcuxpresso
GRE_FEATURE_VFS_RESOURCES

preprocessor-defines.png

 

Change the SDK_DEBUGCONSOLE define from:

SDK_DEBUGCONSOLE=0

to

SDK_DEBUGCONSOLE=1

preprocessor-defines-B.png

 

If you are using the gt911 touch driver, you will also need to add the following preprocessor define:
SDK_I2C_BASED_COMPONENT_USED=1

preprocessor-defines-C.png

 

  • Library paths.

Right click on the project and select Properties -> C/C++ Build -> Settings -> MCU Linker -> Libraries.

 

  1. In the Library Search path (-L) pane add:

    "${cmsis_pack_root}/CrankSoftware/iMXRT10xx/8.1.0/storyboard/runtime/freertos-mcuxpresso-cortexm7-swrender-DFP-obj/lib"

    "${cmsis_pack_root}/CrankSoftware/iMXRT10xx/8.1.0/storyboard/runtime/freertos-mcuxpresso-cortexm7-swrender-DFP-obj/plugins”

    Note: The path will vary depending on where the user saved the pack.

  2. This guide uses the complete configuration of the engine. Therefore, all of the following libraries need to be added in the Libraries pane (-l). 

gre
greal
sbimage
sbvfs
gre-plugin-animation
gre-plugin-lua
gre-plugin-poly
gre-plugin-circle

gre-plugin-timer
gre-plugin-logger
gre-plugin-screen-path
gre-plugin-greio
gre-plugin-sbimage-soil
gre-plugin-fio_vfs
render-plugin-swrender
logging-util
greio
sblua
soil
swrmgr
swrender

font-plugin-freetype
sbfreetype
sbpng
sbz

 

Note: The library order matters. Add the libraries in the order listed above and click Apply and Close

libraries.png

 

 

11. Recall that this project was originally the freertos_hello example from the SDK. Therefore, modifications need to be made to the freertos_hello.c file to support the changes for this application.

  • Ensure that the following headers are included:

#include "board.h"
#include "peripherals.h"

 

  • The define for the hello_task_priority is no longer needed and can be removed. 

 

  • Place the following definitions outside of the main function:

void sbengine_main_task(void *argument);

void sbengine_input_task(void *argument);

 

  • Add the following two additional functions to the initialization sequence in the main() function:

BOARD_InitSemcPins()

BOARD_InitBootPeripherals().

 

  • Replace the hello_task code:

if (xTaskCreate(hello_task, "Hello_task", configMINIMAL_STACK_SIZE + 10,
NULL, hello_task_PRIORITY, NULL) != pdPASS)

with:

if (xTaskCreate(sbengine_main_task, "sbengine", 8192, NULL,
configMAX_PRIORITIES / 2, NULL) != pdPASS)

 

  • Add the Storyboard Input handling task creation code block before the call to VTaskStartScheduler:

if (xTaskCreate(sbengine_input_task, "StoryboardInput", 2048, NULL,
configMAX_PRIORITIES / 2, NULL) != pdPASS)
{
PRINTF("Task creation failed!.\r\n");
while (1);
}

 

 

 

The source code should now look like this:

/* FreeRTOS kernel includes. */

 

#include "FreeRTOS.h"

#include "task.h"

#include "queue.h"

#include "timers.h"

 

/* Freescale includes. */

#include "fsl_device_registers.h"

#include "fsl_debug_console.h"

#include "pin_mux.h"

#include "clock_config.h"

#include "board.h"

#include "peripherals.h"

 

 

/*******************************************************************************

* Definitions

******************************************************************************/

void sbengine_main_task(void *argument);

 

void sbengine_input_task(void *argument);

 

/*******************************************************************************

* Code

******************************************************************************/

/*!

* @brief Application entry point.

*/

int main(void)

{

/* Init board hardware. */

BOARD_ConfigMPU();

BOARD_InitBootPins();

BOARD_InitSemcPins();

BOARD_InitBootPeripherals();

BOARD_InitBootClocks();

BOARD_InitDebugConsole();

 

if (xTaskCreate(sbengine_main_task, "sbengine", 8192, NULL,

configMAX_PRIORITIES / 2, NULL) != pdPASS)

{

PRINTF("Task creation failed!.\r\n");

while (1)

;

}

 

if(xTaskCreate(sbengine_input_task, "StoryboardInput", 2048, NULL, configMAX_PRIORITIES / 2, NULL) != pdPASS)

{

PRINTF("Task creation failed!.\r\n");

while(1);

}

 

vTaskStartScheduler();

for (;;)

;

}

 

 

NOTE: Check that the line: #include sbengine_model.h in the sbengine_task_pxp.c  file matches the name of the exported header file from Storyboard.

 

The project should now build:

build.png

 

 

Labels (1)
%3CLINGO-SUB%20id%3D%22lingo-sub-1995594%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EOpen-CMSIS-Packs%3A%20Crank%20Software%20Example%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1995594%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%0A%3CP%3E%3CSTRONG%3EGOAL%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3ELearn%20how%20to%20import%20CMSIS%20packs%20into%20existing%20projects.%20In%20this%20particular%20project%2C%20CMSIS%20packs%20from%20Crank%20will%20be%20used%20alongside%26nbsp%3Bthe%26nbsp%3B%3CEM%3Efreertos_hello%3C%2FEM%3E%3CEM%3E%26nbsp%3B%3C%2FEM%3Eexample%26nbsp%3Bobtained%20from%20the%20MIMXRT1060-EVKB%20SDK.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CEM%3ENote%3C%2FEM%3E%3A%3C%2FSTRONG%3E%3CEM%3E%20This%20walkthrough%20was%20adapted%20from%20Crank%20Software's%20guide%20included%20with%20their%20CMSIS%20Pack.%3C%2FEM%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSTRONG%3EENVIRONMENT%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThis%20guide%20requires%20MCUXpresso%20IDE%20v11.9.1%20or%20latest.%20MIMXRT1060-EVK%20SDK%20version%202.16%20or%20latest.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSTRONG%3EPROCEDURE%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E1.%20Import%20the%26nbsp%3B%3C%2FSPAN%3E%3CEM%3Efreertos_hello%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FEM%3E%3CSPAN%3Eexample%20into%20the%20workspace.%20Be%20sure%20to%20set%20the%20library%20type%20to%20Newlib%20(semihost).%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22import-freertos-hello.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22import-freertos-hello.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F310854i99CFBB5110F5FC23%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22import-freertos-hello.gif%22%20alt%3D%22import-freertos-hello.gif%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E2.%20Rename%20the%20project%20to%26nbsp%3B%3CEM%3Efreertos_sbengine.%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%3E%3CEM%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22project-rename.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22project-rename.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F310871i5A84E9FEA68DF329%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22project-rename.gif%22%20alt%3D%22project-rename.gif%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3.%20Add%20drivers%20to%20the%20project.%20Right%20click%20on%20the%20project%20and%20select%20SDK%20Management%20-%26gt%3B%20Manage%20SDK%20Components.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSTRONG%3ENOTE%3A%26nbsp%3B%3C%2FSTRONG%3E%3CFONT%20color%3D%22%23339966%22%3ESelect%20Keep%20Existing%3C%2FFONT%3E%20and%20%3CFONT%20color%3D%22%23FF0000%22%3Edo%20not%20replace%3C%2FFONT%3E%20the%26nbsp%3B%3CEM%3EFreeRTOSConfig.h%3C%2FEM%3E%20file%20when%20prompted%20after%20adding%20the%20following%20components%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EUnder%20Drivers%20-%26gt%3B%20Device%20-%26gt%3B%20SDK%20Drivers%2C%20select%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3COL%20class%3D%22lia-list-style-type-upper-roman%22%3E%0A%3CLI%3Ecache%3C%2FLI%3E%0A%3CLI%3Eelcdif%3C%2FLI%3E%0A%3CLI%3Epxp%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CUL%3E%0A%3CLI%3EUnder%20Board%20Components%20-%26gt%3B%20Device%20-%26gt%3B%20SDK%20Drivers%2C%20select%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3COL%20class%3D%22lia-list-style-type-upper-roman%22%3E%0A%3CLI%3Eft5406_rt%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CUL%3E%0A%3CLI%3EUnder%20Software%20Components%20-%26gt%3B%20Device%20-%26gt%3B%20SDK%20Drivers%2C%20select%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3COL%20class%3D%22lia-list-style-type-upper-roman%22%3E%0A%3CLI%3Evideo-common%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22adding-drivers.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22adding-drivers.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F310873iFF1CABE39E4272CA%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22adding-drivers.gif%22%20alt%3D%22adding-drivers.gif%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E4.%20Add%20additional%20components%20to%20the%20project.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EAdd%20the%20gt911%20driver%20if%20required%20by%20your%20display.%20This%20driver%20can%20be%20found%20in%20the%26nbsp%3BMIMXRT1060-EVKB%20SDK.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CBR%20%2F%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3ENavigate%20to%20components%2Fgt911%3A%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22add-addiA.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22add-addiA.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311071iDD553F7478055143%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22add-addiA.gif%22%20alt%3D%22add-addiA.gif%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3ECopy%20the%26nbsp%3B%3CEM%3Efsl_gt911.c%3C%2FEM%3E%20and%20%3CEM%3Efsl_gt911.h%3C%2FEM%3E%20into%20the%20touchpanel%20directory%20in%20the%20project%3A%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22add-addiB.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22add-addiB.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311072i230A7DA30F400994%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22add-addiB.gif%22%20alt%3D%22add-addiB.gif%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CUL%3E%0A%3CLI%3EChange%20the%20memory%20manager%20configuration%20from%20the%20default%20used%20by%20FreeRTOS.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3ERemove%20the%26nbsp%3B%3CEM%3Eheap_4.c%3C%2FEM%3E%20from%20the%20project%20folder.%20This%20is%20found%20in%20freertos%2Ffreertos-kernel%2Fportable%2FMemMang.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mem-mang-A.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mem-mang-A.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311080i4BAAAF16903E6E53%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mem-mang-A.gif%22%20alt%3D%22mem-mang-A.gif%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3EAdd%20the%26nbsp%3B%3CEM%3Eheap_3.c%3C%2FEM%3E%20into%26nbsp%3Bthe%20project%20folder%20freertos%2FFreeRTOS%2Fportable%2FMemMang.%20This%20file%20can%20be%20found%20in%20the%20MIMXRT1060-EVKB%20SDK.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mem-mang-B.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mem-mang-B.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311085iA8033932C291D9B2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22mem-mang-B.gif%22%20alt%3D%22mem-mang-B.gif%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E5.%20Download%20the%20Crank%20Software%20pack%20from%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.keil.arm.com%2Fpacks%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EArm%20Keil%20%7C%20CMSIS%20%3CU%3EPacks%3C%2FU%3E.%3C%2FA%3E%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22joseOcampoHernandez_0-1731962040326.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22joseOcampoHernandez_0-1731962040326.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311086iD46D7B031D19516F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22joseOcampoHernandez_0-1731962040326.png%22%20alt%3D%22joseOcampoHernandez_0-1731962040326.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CDIV%20class%3D%22lia-message-template-content-zone%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22lia-message-template-content-zone%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22lia-message-template-content-zone%22%3E6.%20Import%20the%20Crank%20Software%20pack%20into%20MCUXpresso%20IDE.%3C%2FDIV%3E%0A%3CDIV%20class%3D%22lia-message-template-content-zone%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22lia-message-template-content-zone%20lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22import-pack.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22import-pack.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311088i27AB2F4A008DE86D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22import-pack.gif%22%20alt%3D%22import-pack.gif%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22lia-message-template-content-zone%20lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22lia-message-template-content-zone%20lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20class%3D%22lia-message-template-content-zone%22%3E7.%20The%20Crank%20Software%20pack%20is%20a%20graphics%20bundle%20that%20contains%20six%20components%3A%3C%2FDIV%3E%0A%3COL%20class%3D%22lia-list-style-type-upper-roman%22%3E%0A%3CLI%20class%3D%22lia-message-template-content-zone%22%3EBoard%3C%2FLI%3E%0A%3CLI%20class%3D%22lia-message-template-content-zone%22%3EDisplay%3C%2FLI%3E%0A%3CLI%20class%3D%22lia-message-template-content-zone%22%3EMemory%3C%2FLI%3E%0A%3CLI%20class%3D%22lia-message-template-content-zone%22%3ERuntime%20Libraries%3C%2FLI%3E%0A%3CLI%20class%3D%22lia-message-template-content-zone%22%3ERuntime%20Source%3C%2FLI%3E%0A%3CLI%20class%3D%22lia-message-template-content-zone%22%3ETask%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3EFor%20this%20walkthrough%2C%20we%20will%20add%20all%20the%20components%20%3CFONT%20color%3D%22%23FF0000%22%3Eexcept%3C%2FFONT%3E%20the%20Runtime%20Source%20component.%20This%20component%20is%20intended%20for%20custom%20changes.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3ETo%20add%20the%20components%2C%20right%20click%20on%20the%20project%20and%20select%20SDK%20Management%20-%26gt%3B%20Add%20Open-CMSIS%20Components%3A%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22selecting-crank-components.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22selecting-crank-components.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311089iEB211D1BEB2AA19B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22selecting-crank-components.gif%22%20alt%3D%22selecting-crank-components.gif%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3EOnce%20the%20components%20are%20selected%20press%20Ctrl%20%2B%20s%20to%20save%20the%20components%20in%20the%20project.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%20style%3D%22text-align%20%3A%20left%3B%22%20style%3D%22text-align%20%3A%20left%3B%22%3E8.%20Resolve%20conflicts%20from%20the%20previous%20freertos_hello%20project%20configuration.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22lia-align-left%22%20style%3D%22text-align%20%3A%20left%3B%22%20style%3D%22text-align%20%3A%20left%3B%22%3EThe%20Board%20component%20from%20the%20Crank%20Software%20pack%20includes%20a%20rewrite%20of%26nbsp%3B%3CEM%3Epin_mux.c.%26nbsp%3B%3C%2FEM%3ENavigate%20to%20the%20board%20directory%20of%20the%20project%20and%20remove%20the%26nbsp%3B%3CEM%3Epin_mux.c%26nbsp%3B%3C%2FEM%3Eand%26nbsp%3B%3CEM%3Epin_mux.h%26nbsp%3B%3C%2FEM%3Efiles.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22remove-board-files.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22remove-board-files.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311095i473F0078B0EBE80C%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22remove-board-files.gif%22%20alt%3D%22remove-board-files.gif%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EMCUXPresso%20will%20automatically%20add%20the%20libraries%20from%20the%20runtime%20engine%20into%20the%20linker%20settings.%20In%20the%20project%20settings%20remove%20all%20the%20Storyboard%20engine%20libraries%20and%20plugins.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3ETo%20do%20this%2C%20right%20click%20on%20the%20project%20and%20select%20Properties.%20Remove%20all%20of%20the%20items%20found%20under%20C%2FC%2B%2B%20Build%20-%26gt%3B%20Settings%20-%26gt%3B%20Miscellaneous%20-%26gt%3B%20Other%20Objects.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22remove-other-objects.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22remove-other-objects.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311099iEBFFBA7F646CE7E2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22remove-other-objects.gif%22%20alt%3D%22remove-other-objects.gif%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ESwitch%20from%20a%20managed%20linker%20configuration%20to%20using%20the%20linker%20file%20included%20in%20the%20CMSIS%20pack.%20In%20the%20project%20settings%2C%20navigate%20to%20the%20MCU%20Linker%20-%26gt%3B%20Managed%20Linker%20Script.%20Uncheck%20the%20Manage%20Linker%20Script%20option%20and%20change%20the%20Linker%20script%20and%20Script%20path.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23339966%22%3ELinker%20script%26nbsp%3B%3D%20MIMXRT1062xxxxx_flexspi_nor.ld%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23339966%22%3EScript%20path%3D%20%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3E%3CFONT%20color%3D%22%23FF0000%22%3E%24%7Bcmsis_pack_root%7D%3C%2FFONT%3E%2FCrankSoftware%2FiMXRT10xx%2F8.1.0%2Fconfiguration%2Frt1060%2F%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CEM%3E%3CFONT%20color%3D%22%23339966%22%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSTRONG%3ENote%3C%2FSTRONG%3E%3CFONT%20color%3D%22%23000000%22%3E%3A%20The%20path%20will%20vary%20depending%20on%20where%20the%20user%20saved%20the%20pack.%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CEM%3E%3CFONT%20color%3D%22%23339966%22%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CFONT%20color%3D%22%23000000%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22linker-script.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22linker-script.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311103iF28C363C0C7C29B9%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22linker-script.gif%22%20alt%3D%22linker-script.gif%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ECopy%20%3CEM%3Esbengine_task_pxp_template.c%3C%2FEM%3E%20and%20%3CEM%3Esbengine_plugins_template.h%3C%2FEM%3E%20from%20the%20RTE%20-%26gt%3B%20Graphics%20folder%20into%20the%20source%20folder%20of%20the%20project.%20Rename%20these%20files%20to%20remove%26nbsp%3B%3CEM%3Etemplate%3C%2FEM%3E%26nbsp%3B%20from%20the%20name.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3EThe%20project%20source%20folder%20should%20now%20look%20like%20this%3A%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22source-folder.png%22%20style%3D%22width%3A%20510px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22source-folder.png%22%20style%3D%22width%3A%20510px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311515iDAF4E3ED436D12C1%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22source-folder.png%22%20alt%3D%22source-folder.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20class%3D%22lia-align-left%22%20style%3D%22text-align%20%3A%20left%3B%22%20style%3D%22text-align%20%3A%20left%3B%22%3EExclude%20the%26nbsp%3B%3CEM%3Esbengine_task_pxp_template.c%26nbsp%3B%3C%2FEM%3Eand%26nbsp%3B%3CEM%3Esbengine_plugins_template.h%20%3C%2FEM%3Efiles%20in%20the%20RTE%20-%26gt%3B%20Graphics%20folder%26nbsp%3Bfrom%20the%20build.%26nbsp%3B%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22exlcude-resources.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22exlcude-resources.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311517i45540CC102569BC4%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22exlcude-resources.gif%22%20alt%3D%22exlcude-resources.gif%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E9.%20Configure%20and%20export%20a%20Model%20C%2FC%2B%2B%20Header%20from%20Storyboard%20Designer.%20Create%20a%20new%20project%20and%20name%20it%26nbsp%3B%3CEM%3Esbengine_model%3C%2FEM%3E.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EFor%20this%20example%2C%20I%20will%20use%20a%20display%20size%20of%20480x272%2C%20color%20depth%20RGB%20565%2C%20and%20Freetype%20font%20manager.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CBR%20%2F%3E%0A%3CUL%3E%0A%3CLI%3EOnce%20the%20model%20has%20been%20exported%2C%20add%20the%20header%20file%20to%20the%20source%20directory%20of%20the%20project.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CBR%20%2F%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSTRONG%3ENote%3A%26nbsp%3B%3C%2FSTRONG%3EFor%20more%20information%20about%20exporting%20models%20from%20Storyboard%20Designer%20visit%3A%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fresources.cranksoftware.com%2Fcranksoftware%2Fv6.1.0%2Fdocs%2Fwebhelp%2Findex.html%23ww_export.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3ECrank%20Storyboard%20-%20Exporting%20and%20Running%20on%20your%20Embedded%20Target%3C%2FA%3E.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E10.%20Integrating%20the%20Storyboard%20Engine%20requires%20modifications%20to%20the%20following%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CEM%3EFreeRTOSConfig.h%26nbsp%3B%3C%2FEM%3Efile%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3ELocate%20this%20file%20in%20the%20source%20folder%20of%20the%20project%20and%20make%20the%20following%20changes%3A%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23FF0000%22%3E%23define%20configFRTOS_MEMORY_SCHEME%204%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3E%23define%20configUSE_TIME_SLICING%200%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3E%23define%20configENABLE_BACKWARD_COMPATIBILITY%200%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3E%23define%20configTICK_RATE_HZ%20((TickType_t)200)%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3E%23define%20configUSE_NEWLIB_REENTRANT%200%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3ETo%20this%3A%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3E%23define%20configFRTOS_MEMORY_SCHEME%203%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3E%23define%20configUSE_TIME_SLICING%201%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3E%23define%20configENABLE_BACKWARD_COMPATIBILITY%201%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3E%23define%20configTICK_RATE_HZ%20((TickType_t)1000)%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3E%23define%20configUSE_NEWLIB_REENTRANT%201%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CFONT%20color%3D%22%23000000%22%3EPreprocessor%20Defines%3C%2FFONT%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23000000%22%3ERight%20click%20on%20the%20project%20and%20select%20Properties%20-%26gt%3B%20C%2FC%2B%2B%20Build%20-%26gt%3B%20Settings%20-%26gt%3B%20MCU%20C%20Compiler.%20Add%20the%20following%26nbsp%3Bdefines%20to%20the%20%E2%80%9CDefined%20symbols%20(-D)%E2%80%9D%20pane%3A%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23000000%22%3ESKIP_SYSCLK_INIT%3CBR%20%2F%3EXIP_BOOT_HEADER_DCD_ENABLE%3D1%3CBR%20%2F%3EGRE_TARGET_OS_freertos%3CBR%20%2F%3EGRE_TARGET_CPU_cortexm7%3CBR%20%2F%3EGRE_TARGET_TOOLCHAIN_mcuxpresso%3CBR%20%2F%3EGRE_FEATURE_VFS_RESOURCES%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22preprocessor-defines.png%22%20style%3D%22width%3A%20803px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22preprocessor-defines.png%22%20style%3D%22width%3A%20803px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311521iC1C6F0FB780A31A2%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22preprocessor-defines.png%22%20alt%3D%22preprocessor-defines.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3EChange%20the%26nbsp%3B%3CEM%3ESDK_DEBUGCONSOLE%26nbsp%3B%3C%2FEM%3Edefine%20from%3A%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23FF0000%22%3ESDK_DEBUGCONSOLE%3D0%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3Eto%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23339966%22%3ESDK_DEBUGCONSOLE%3D1%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22preprocessor-defines-B.png%22%20style%3D%22width%3A%20617px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22preprocessor-defines-B.png%22%20style%3D%22width%3A%20617px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311522i8EA3A73FB9C4F2F8%2Fimage-dimensions%2F617x557%3Fv%3Dv2%22%20width%3D%22617%22%20height%3D%22557%22%20role%3D%22button%22%20title%3D%22preprocessor-defines-B.png%22%20alt%3D%22preprocessor-defines-B.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3EIf%20you%20are%20using%20the%20gt911%20touch%20driver%2C%20you%20will%20also%20need%20to%20add%20the%20following%20preprocessor%20define%3A%3CBR%20%2F%3ESDK_I2C_BASED_COMPONENT_USED%3D1%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22preprocessor-defines-C.png%22%20style%3D%22width%3A%20801px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22preprocessor-defines-C.png%22%20style%3D%22width%3A%20801px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311523i902B65A557E6122A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22preprocessor-defines-C.png%22%20alt%3D%22preprocessor-defines-C.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ELibrary%20paths.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23000000%22%3ERight%20click%20on%20the%20project%20and%20select%20Properties%20-%26gt%3B%20C%2FC%2B%2B%20Build%20-%26gt%3B%20Settings%20-%26gt%3B%20MCU%20Linker%20-%26gt%3B%20Libraries.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20class%3D%22lia-list-style-type-upper-roman%22%3E%0A%3CLI%3EIn%20the%20Library%20Search%20path%20(-L)%20pane%20add%3A%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23339966%22%3E%22%3CFONT%20color%3D%22%23FF0000%22%3E%24%7Bcmsis_pack_root%7D%3C%2FFONT%3E%2FCrankSoftware%2FiMXRT10xx%2F8.1.0%2Fstoryboard%2Fruntime%2Ffreertos-mcuxpresso-cortexm7-swrender-DFP-obj%2Flib%22%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23339966%22%3E%22%3CFONT%20color%3D%22%23FF0000%22%3E%24%7Bcmsis_pack_root%7D%3C%2FFONT%3E%2FCrankSoftware%2FiMXRT10xx%2F8.1.0%2Fstoryboard%2Fruntime%2Ffreertos-mcuxpresso-cortexm7-swrender-DFP-obj%2Fplugins%E2%80%9D%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CEM%3E%3CFONT%20color%3D%22%23339966%22%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSTRONG%3ENote%3C%2FSTRONG%3E%3CFONT%20color%3D%22%23000000%22%3E%3A%20The%20path%20will%20vary%20depending%20on%20where%20the%20user%20saved%20the%20pack.%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FEM%3E%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CFONT%20color%3D%22%23339966%22%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CFONT%20color%3D%22%23000000%22%3EThis%20guide%20uses%20the%20complete%20configuration%20of%20the%20engine.%20Therefore%2C%20all%20of%20the%20following%20libraries%20need%20to%20be%20added%20in%20the%20Libraries%20pane%20(-l).%26nbsp%3B%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23339966%22%3Egre%3CBR%20%2F%3Egreal%3CBR%20%2F%3Esbimage%3CBR%20%2F%3Esbvfs%3CBR%20%2F%3Egre-plugin-animation%3CBR%20%2F%3Egre-plugin-lua%3CBR%20%2F%3Egre-plugin-poly%3CBR%20%2F%3Egre-plugin-circle%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23339966%22%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CFONT%20color%3D%22%23000000%22%3E%3CFONT%20color%3D%22%23339966%22%3Egre-plugin-timer%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3Egre-plugin-logger%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3Egre-plugin-screen-path%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3Egre-plugin-greio%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3Egre-plugin-sbimage-soil%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3Egre-plugin-fio_vfs%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3Erender-plugin-swrender%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3Elogging-util%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3Egreio%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3Esblua%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3Esoil%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3Eswrmgr%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3Eswrender%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23339966%22%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CFONT%20color%3D%22%23000000%22%3E%3CFONT%20color%3D%22%23339966%22%3Efont-plugin-freetype%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3Esbfreetype%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3Esbpng%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23339966%22%3Esbz%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23339966%22%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CFONT%20color%3D%22%23000000%22%3E%3CFONT%20color%3D%22%23339966%22%3E%3CEM%3E%3CFONT%20color%3D%22%23FF0000%22%3E%3CSTRONG%3ENote%3C%2FSTRONG%3E%3C%2FFONT%3E%3A%20%3CFONT%20color%3D%22%23000000%22%3EThe%20library%20order%20matters.%20Add%20the%20libraries%20in%20the%20order%20listed%20above%20and%20click%20Apply%20and%20Close%3C%2FFONT%3E%3C%2FEM%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22libraries.png%22%20style%3D%22width%3A%20812px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22libraries.png%22%20style%3D%22width%3A%20812px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311818i5F8E4231B31F331A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22libraries.png%22%20alt%3D%22libraries.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E11.%20Recall%20that%20this%20project%20was%20originally%20the%20%3CEM%3Efreertos_hello%3C%2FEM%3E%26nbsp%3Bexample%20from%20the%20SDK.%20Therefore%2C%20modifications%20need%20to%20be%20made%20to%20the%26nbsp%3B%3CEM%3Efreertos_hello.c%26nbsp%3B%3C%2FEM%3Efile%20to%20support%20the%20changes%20for%20this%20application.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EEnsure%20that%20the%20following%20headers%20are%20included%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%23include%20%22board.h%22%3CBR%20%2F%3E%23include%20%22peripherals.h%22%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThe%20define%20for%20the%26nbsp%3B%3CEM%3Ehello_task_priority%26nbsp%3B%3C%2FEM%3Eis%20no%20longer%20needed%20and%20can%20be%20removed.%26nbsp%3B%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CBR%20%2F%3E%0A%3CUL%3E%0A%3CLI%3EPlace%20the%20following%20definitions%20outside%20of%20the%20main%20function%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3Evoid%20sbengine_main_task(void%20*argument)%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3Evoid%20sbengine_input_task(void%20*argument)%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EAdd%20the%20following%20two%20additional%20functions%20to%20the%20initialization%20sequence%20in%20the%26nbsp%3B%3CEM%3Emain()%26nbsp%3B%3C%2FEM%3Efunction%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3EBOARD_InitSemcPins()%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3EBOARD_InitBootPeripherals().%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CUL%3E%0A%3CLI%3EReplace%20the%26nbsp%3B%3CEM%3Ehello_task%20%3C%2FEM%3Ecode%3A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23FF0000%22%3Eif%20(xTaskCreate(hello_task%2C%20%22Hello_task%22%2C%20configMINIMAL_STACK_SIZE%20%2B%2010%2C%20%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20color%3D%22%23FF0000%22%3ENULL%2C%20hello_task_PRIORITY%2C%20NULL)%20!%3D%20pdPASS)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23000000%22%3Ewith%3A%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23339966%22%3Eif%20(xTaskCreate(sbengine_main_task%2C%20%22sbengine%22%2C%208192%2C%20NULL%2C%20%3CBR%20%2F%3EconfigMAX_PRIORITIES%20%2F%202%2C%20NULL)%20!%3D%20pdPASS)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CFONT%20color%3D%22%23000000%22%3EAdd%20the%20Storyboard%20Input%20handling%20task%20creation%20code%20block%20before%20the%20call%20to%20VTaskStartScheduler%3A%3C%2FFONT%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CFONT%20color%3D%22%23339966%22%3Eif%20(xTaskCreate(sbengine_input_task%2C%20%22StoryboardInput%22%2C%202048%2C%20NULL%2C%20%3CBR%20%2F%3EconfigMAX_PRIORITIES%20%2F%202%2C%20NULL)%20!%3D%20pdPASS)%3CBR%20%2F%3E%7B%3CBR%20%2F%3EPRINTF(%22Task%20creation%20failed!.%5Cr%5Cn%22)%3B%3CBR%20%2F%3Ewhile%20(1)%3B%3CBR%20%2F%3E%7D%20%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSTRONG%3EThe%20source%20code%20should%20now%20look%20like%20this%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CDIV%20style%3D%22background-color%3A%20%23ffffff%3B%20padding%3A%200px%200px%200px%202px%3B%22%3E%0A%3CDIV%20style%3D%22color%3A%20%23000000%3B%20background-color%3A%20%23ffffff%3B%20font-family%3A%20'Courier%20New'%3B%20font-size%3A%2010pt%3B%20white-space%3A%20pre%3B%22%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%2F*%20FreeRTOS%20kernel%20includes.%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%23include%3C%2FSPAN%3E%20%3CSPAN%3E%22FreeRTOS.h%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%23include%3C%2FSPAN%3E%20%3CSPAN%3E%22task.h%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%23include%3C%2FSPAN%3E%20%3CSPAN%3E%22queue.h%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%23include%3C%2FSPAN%3E%20%3CSPAN%3E%22timers.h%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%2F*%20%3C%2FSPAN%3E%3CSPAN%3EFreescale%3C%2FSPAN%3E%3CSPAN%3E%20includes.%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%23include%3C%2FSPAN%3E%20%3CSPAN%3E%22fsl_device_registers.h%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%23include%3C%2FSPAN%3E%20%3CSPAN%3E%22fsl_debug_console.h%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%23include%3C%2FSPAN%3E%20%3CSPAN%3E%22pin_mux.h%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%23include%3C%2FSPAN%3E%20%3CSPAN%3E%22clock_config.h%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%23include%3C%2FSPAN%3E%20%3CSPAN%3E%22board.h%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%23include%3C%2FSPAN%3E%20%3CSPAN%3E%22peripherals.h%22%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%2F*******************************************************************************%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20*%20Definitions%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20******************************************************************************%2F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3Evoid%3C%2FSPAN%3E%20%3CSPAN%3Esbengine_main_task%3C%2FSPAN%3E%3CSPAN%3E(%3C%2FSPAN%3E%3CSPAN%3Evoid%3C%2FSPAN%3E%3CSPAN%3E%20*argument)%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3Evoid%3C%2FSPAN%3E%20%3CSPAN%3Esbengine_input_task%3C%2FSPAN%3E%3CSPAN%3E(%3C%2FSPAN%3E%3CSPAN%3Evoid%3C%2FSPAN%3E%3CSPAN%3E%20*argument)%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%2F*******************************************************************************%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20*%20Code%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20******************************************************************************%2F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%2F*!%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20*%20%40brief%20Application%20entry%20point.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3Eint%3C%2FSPAN%3E%20%3CSPAN%3Emain%3C%2FSPAN%3E%3CSPAN%3E(%3C%2FSPAN%3E%3CSPAN%3Evoid%3C%2FSPAN%3E%3CSPAN%3E)%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%2F*%20%3C%2FSPAN%3E%3CSPAN%3EInit%3C%2FSPAN%3E%3CSPAN%3E%20board%20hardware.%20*%2F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20BOARD_ConfigMPU()%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20BOARD_InitBootPins()%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20BOARD_InitSemcPins()%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20BOARD_InitBootPeripherals()%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20BOARD_InitBootClocks()%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20BOARD_InitDebugConsole()%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3Eif%3C%2FSPAN%3E%3CSPAN%3E%20(xTaskCreate(sbengine_main_task%2C%20%3C%2FSPAN%3E%3CSPAN%3E%22%3C%2FSPAN%3E%3CSPAN%3Esbengine%3C%2FSPAN%3E%3CSPAN%3E%22%3C%2FSPAN%3E%3CSPAN%3E%2C%208192%2C%20NULL%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20configMAX_PRIORITIES%20%2F%202%2C%20NULL)%20!%3D%20pdPASS)%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20%7B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20PRINTF(%3C%2FSPAN%3E%3CSPAN%3E%22Task%20creation%20failed!.%5Cr%5Cn%22%3C%2FSPAN%3E%3CSPAN%3E)%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3Ewhile%3C%2FSPAN%3E%3CSPAN%3E%20(1)%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20%7D%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3Eif%3C%2FSPAN%3E%3CSPAN%3E(xTaskCreate(sbengine_input_task%2C%20%3C%2FSPAN%3E%3CSPAN%3E%22StoryboardInput%22%3C%2FSPAN%3E%3CSPAN%3E%2C%202048%2C%20NULL%2C%20configMAX_PRIORITIES%20%2F%202%2C%20NULL)%20!%3D%20pdPASS)%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20%7B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20PRINTF(%3C%2FSPAN%3E%3CSPAN%3E%22Task%20creation%20failed!.%5Cr%5Cn%22%3C%2FSPAN%3E%3CSPAN%3E)%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3Ewhile%3C%2FSPAN%3E%3CSPAN%3E(1)%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20%7D%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20vTaskStartScheduler()%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3Efor%3C%2FSPAN%3E%3CSPAN%3E%20(%3B%3B)%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%20%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%3CSTRONG%3ENOTE%3A%26nbsp%3B%3C%2FSTRONG%3ECheck%20that%20the%20line%3A%26nbsp%3B%3CEM%3E%23include%20sbengine_model.h%3C%2FEM%3E%20in%20the%26nbsp%3B%3CEM%3Esbengine_task_pxp.c%26nbsp%3B%20%3C%2FEM%3Efile%20matches%20the%20name%20of%20the%20exported%20header%20file%20from%20Storyboard.%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EThe%20project%20should%20now%20build%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22build.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22build.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F311810i8B546A24EB539995%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22build.png%22%20alt%3D%22build.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1995594%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EOpen-CMSIS-Packs%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎11-21-2024 02:43 PM
Updated by: