I'm trying my hardest to implement some PWM using the instructions that are in the forum, but I keep running into little issues like this which I can never seem to find the source of.
The only mention on PWMCC26XX_fxnTable is in my CC2650_LAUNCHXL.c file.
extern const PWM_FxnTable PWMCC26XX_fxnTable; //PWM configuration (used as PWM_Handle by driver and application) const PWM_Config PWM_config[CC2650_PWMCOUNT+1] = { { &PWMCC26XX_fxnTable, &pwmCC26xxObjects[0], &pwmCC26xxHWAttrs[0] }, // { &PWMCC26XX_fxnTable, &pwmCC26xxObjects[1], &pwmCC26xxHWAttrs[1] }, // { &PWMCC26XX_fxnTable, &pwmCC26xxObjects[2], &pwmCC26xxHWAttrs[2] }, // { &PWMCC26XX_fxnTable, &pwmCC26xxObjects[3], &pwmCC26xxHWAttrs[3] }, // { &PWMCC26XX_fxnTable, &pwmCC26xxObjects[4], &pwmCC26xxHWAttrs[4] }, // { &PWMCC26XX_fxnTable, &pwmCC26xxObjects[5], &pwmCC26xxHWAttrs[5] }, // { &PWMCC26XX_fxnTable, &pwmCC26xxObjects[6], &pwmCC26xxHWAttrs[6] }, // { &PWMCC26XX_fxnTable, &pwmCC26xxObjects[7], &pwmCC26xxHWAttrs[7] }, { NULL, NULL, NULL } };
Within my .c file I have included the following:
#include <ti/drivers/PWM.h>
#include <ti/drivers/pwm/PWMTimerCC26XX.h>
#include <ti/drivers/timer/GPTimerCC26XX.h>
I also have added virtual folders in the 'Drivers' folder of my project, containing the files.
I notice that it doesn't strictly say the problem is in the board .c file, so I'm not really sure what's going on. Any ideas anyone?