Part Number: CC2642R
Other Parts Discussed in Thread: SYSCONFIG
Hi,
Got a new CC2642 Launchpad and trying to setup any example project with IAR>
I've followed the quick start instructions provided
* Installed simplelink_cc13x2_26x2_sdk_3_40_00_02.exe
* Installed the SysConfig of the right version that matches what the projects need
I open the IAR template projects which require me to select a destination folder and it copies everything.
Then I open up the argvar file as requested.
However, I can never build. I am getting errors that "Cannot open source file gatt_uuid.c"
1)
Looking at the IAR Project, it seems the issue is the definition of these files are:
<name>$PROJ_DIR$\c:/ti\simplelink_cc13x2_26x2_sdk_3_40_00_02\source\ti\ble5stack\inc\gatt_uuid.h</name>
Because $PROJ_DIR$ is not empty, this evaluates incorrectly and the file cannot be opened and can't be compiled.
Is this an expected error? Is something wrong?
2) I manually deleted the PROJ_DIR from the paths. The next error is that CC26X2R1_LAUNCHXL_fxns.c is missing. it should be in startup. it's not. Seems the template doesn't copy it.
So I copied it manually and now I can build and then download. But when I erase the launchpad and re-download this, it doesn't run. Obviously something is wrong, and chasing missing parts is telling me things are broken and I can trust them.
3) When I am debugging, it never stops in main, and a breakpoint in main has no effect. seems like it's stuck somewhere. How do I know the stack is loaded? Does it need to be
loaded separately? It used to be part of the project, but not anymore.
So, please provide clear steps on how to get basic projects running here. Seems everything for IAR is broken. Did it even get tested before the release?