All include files from /Source/include and the folders /Source/portable/GCC and /Source/portable/MemManage. To do this first convert the folder to a regular folder by right clicking it and select "Convert to regular folder". However not all files are needed so the wrong files have to be removed again. This should add all FreeRTOS sources to your setup.Check the box "Recurse into Subdirectories" and press OK. Right click that new folder and select Setup.The easiest way is to drag and drop the folder onto the /lib/FreeRTOS/FreeRTOS-Kernel folder. Now add the same files to the Embedded Studio project explorer.In the unpacked folder open folder /FreeRTOS and copy the folder /FreeRTOS/Source to the /lib/FreeRTOS/FreeRTOS-Kernel in your ES project folder.Download and unpack the FreeRTOS software to any location.Create a new folder /lib/FreeRTOS/FreeRTOS-Kernel in both the project explorer in Embedded Studio and on your hard drive in the project folder.You should see now some Hello World printf in terminal. Give your newly created project a try by building it with F7 and executing it with F5. Connect your J-Link to your PC and to your target board.If you are using a CPU support package select the "A C/C++ executable for." from the corresponding package and finish your project as described in the point above.Press Next, select your target device and keep pressing Next until your project is finished. If no CPU package is used then select "A C/C++ executable for a Cortex-M processor". Create new project via File->New Project->Create the project in a new solution.(optional) install CPU support Package for your device family via Tools->Package Manager.So if you are using another hardware steps might vary, but the general approach stays the same. This tutorial will be based on the hardware and software combination above. Target Evalboard: SEGGER Cortex-M Trace Reference Board.The following import tutorial will be based on the following Hardware and Software combinations:
0 Comments
Leave a Reply. |