Part Number: CC3220
Tool/software: Code Composer Studio
Hi,
I have experimented with a CC3220S-LAUNCHXL board, run some examples, and everything works fine.
Because the CC3220S seemed a good solution for my final product, I have designed a custom board with the CC3220S on it.
I can program the board, and run code on it; it seems to work fine. However, I ran into a small problem now...
First off, I created a new project based on the UARTECHO example project, and made the changes along the way.
I imported this example project in CCS, and automatically it was added with the new "syscfg" file; which by the way looks pretty cool and easy to configure.
Now, somewhere in my case I wished to use the "Timestamp_get32()" function, but for that I have to "include the Timestamp" module (xdc.runtime.Timestamp module). Normally I would do that in the .cfg file, however I do not have this file anymore.
So, some questions I have;
1. Where do I need to specify I wish to use the "xdc.runtime.Timestamp" module if my project does not have a .cfg file but rather the new .syscfg ?
Figured this one out myself; it seems the "example" project I imported (which contains the syscfg file) depends on another project, in which there are no source files but there is a cfg file. By adding the line 'var Timestamp = xdc.useModule('xdc.runtime.Timestamp'); in the release.cfg file, it worked !
2. What is the "best" way to create a new/clean project? (if possible, not based on the CC3220S-LAUNCHXL board, because it is not based on that hardware?)
3. What is the "lastest" best practice of setting up a project; using the new .syscfg file or rather the .cfg for before ?
Please advise... ?
FYI; I am using CCS Version: 8.1.0.00011, Uniflash Version: 4.4.0.1922, Simplelink CC32XX SDK 2.20.00.10 and XDCTools 3.50.07.20.core
Salvatore