Part Number: TMDSSK3358
Tool/software: TI-RTOS
Hi
I'm using TI-RTOS for the first time and I'm learning the basics with the TMDSSK3358 board (Sitara AM3558).
http://www.ti.com/tool/TMDSSK3358
I tried the "Hello World" example in Code Composer Studio and this works. The second step was to blink an LED. For this, I wanted to add the GPIO driver. The project configuration:
As far as I understand, the GPIO drivers should be in the am335x PDK, included in the TI Software SDK. This is included, also in the compiler path:
Including the GPIO header also works:
#include <xdc/std.h> #include <xdc/runtime/System.h> #include <ti/sysbios/BIOS.h> #include <ti/sysbios/knl/Task.h> #include <ti/drv/gpio/GPIO.h>
Now, I tried to call GPIO functions like GPIO_init(). This gives an "Undefined reference to GPIO_init" error:
Any idea why? Are there libraries missing? The GPIO_init is defined in the GPIO.h file, but is marked as external. So probably there is a missing link or something.
Thanks for the help!
Sebastian
EDIT: Copy/Paste images seem not to work...