Ok, I'm not the sharpest tool in the shed with C but not completely lost either (I think)...but I'm not having any success with starting a simple output setup. I can build and modify ASF example projects, but am not getting "User defined board" architecture. Studio 6, ASF 3.13 Xmega16A4U
New Project -> User Board - Xmega A
Then use the ASF Wizard to add IOPORT
Modify user_board.h to add:
# define LED0_GPIO IOPORT_CREATE_PIN(PORTA,0)
So far so good.
Now the confusion starts...If I try to modify init.c by adding:
to board_init I'm having no success getting it to find it at build. I've included ioport.h and user_board.h but keep getting a "implicit declaration of function 'ioport_configure_pin' " which I assume means it's not finding the function.
HELP and thanks in advance.