Re:Porting RTX-kernel to LM3S1968
The support articles you are looking at are for porting from one ARM chip to another (as in different vendors). Since you are still using a Luminary Micro part, it is fairly easy to build your project for the LM3S1968 and you dont need to worry about RTX or any of that other stuff (it is already done for you).
Before I proceed with instructions, I would like to point out that National Instruments prefers to be first line support for the Embedded LabVIEW products and if it becomes an issue specific to Luminary Micro, then they will involve us. Having said that, there is no problem with you posting here, just that it may not result in as quick a response as if you contact NI.
So, here are the instructions to create a project for the LM3S1968.
- Create a new project, then in project explorer right-click on the project, select New "Targets and Devices" then choose "Other".
- In project explorer, right click on "Other", then properties.
- In the "General" category, choose the Luminary Micro target. I know it says 8962, but it will work for a 1968 as well.
- Then OK out of that box and you should now have a "LM3Sxxxx" target.
- If you want to use Elemental I/O, then right-click on the LM3Sxxx target, and choose "Select Elemental I/O". From that dialog, choose the Luminary Micro part (again, it will work for 1968).
- There is one more thing you need to do to let the board support code know you are using a 1968. Once you create your application Build Specification, you need to define a couple of compiler macros as follows:
On the "Advanced Compiling Options" page, there is a box for preprocessor symbols. In the box add the following:
| Code: | LM3S_PART_DEFINED PART_LM3S1968
|
You should now be able to create and build your VIs for the 1968 target. I recommend you start with something simple like a simple while loop with an indicator first just to make sure that builds and runs correctly. Then start adding more pieces from there.
login or register to reply
|