I've tried to compile but I've got these errors:unresolved symbol SysCtlDelay, first referenced in ./stellarino_timer.obj unresolved symbol TimerIntRegister, first referenced in ./stellarino.obj What I'm doing wrong ?The project is untouched, just imported into CCS.Thanks
Try this:1. In CCS, go to Project->Import Existing CCS Eclipse Project2. Beside "Select search-directory" click on "Browse"3. Browse to the root of your StellarisWare installation directory, select the folder called "driverlib", and hit OK. Two projects should be discovered in the box below.4. Tick the project "driverlib-cm4f" and make sure "Copy projects into workspace" is selected. Hit finish.5. Open the driverlib-cm4f project and hit build. You should be building the debug configuration.6. Now reopen Stellarino and try rebuilding it. It should work then.
Thanks !now everything is OK!great job! stellarino is a great tool! hope you will improve it with more functions!
These are the steps I took:1> Opened CCS5 | Project | Import CCS Eclipse Projects2> Select search directory | Browse | StellarisWare\driverlib3> Selected [v] Copy project into workplace4> Project | Build Project* wait *5> Import CCS Eclipse Projects | Select search directory | Browse | Stellarino6> Selected [v] Copy project into workplace7> Project | Build Project* done *Now I clicked on the Stellarino from the Project Explorer and clicked on debug. The led started blinking BUT when I pressed reset, It did not blink anymore... did I do something wrong?Thanks,Wayne
This comment has been removed by the author.
Hi, The project doesn't seem to include startup_ccs.c and as such when you create a bin file to flash and flash it, it doesn't start, are you able to include one?
After several hours of banging my head against the wall, I've figured it out, you need to import the startup_ccs.c, I took it from the blinky example project in ccs5.2, then in stellarino.c in the init function, add in the line ROM_SysCtlPeripheralEnable(SYSCTL_PERIPH_UART0);after the line ROM_FPULazyStackingEnable();The data sheet says the UARTx peripheral needs to be enabled before enabling the UART, but somehow running in the debugger seems to get around it.Making those changes gets it working without the debugger for me, just execute the program in the debugger and then halt the execution and hit reset on the device and it'll be running sans ccs.
Good catch, I forgot to enable the UART. It's automatically enabled during debug so I didn't notice it.
I can't include the startup_ccs.c from the demos due to licensing restrictions, but I'll see what I can do. Thanks for your help, Cass.
I didn't need to include a startup_ccs.c because the StellarisWare defaults are fine. All that's needed for creating a .bin file flashable by LM Flash Programmer is to add a small post-build step to the the build settings, which I will be including in the next release of Stellarino.