Tool/software: Code Composer Studio
i am trying to create a new project in CCS and combine two of the examples into it - boot_serial and blinky.
so i created a project called "lsxBootloader2", copied the main function from blinky to mine, added the relevant header files and "arm compiler" -> "includes" and it compiled and worked like blinky.
so next step i copied "JumpToBootLoader" and "SetupForUART" functions from boot_demo1.c to my main.c
i added all the include headers (see 2.jpg) and the needed "arm compiler" -> "includes". at this point i can't get the project to compile - i get errors "unresolved symbols" for the calls made in the copied functions (see 1.jpg).
i verified that:
#include <stdbool.h>
#include <stdint.h>
#include "inc/hw_types.h"
#include "inc/hw_memmap.h"
#include "inc/hw_nvic.h"
#include "inc/hw_sysctl.h"
#include "inc/hw_gpio.h"
#include "driverlib/interrupt.h"
#include "driverlib/flash.h"
#include "driverlib/uart.h"
#include "driverlib/gpio.h"
#include "driverlib/rom.h"
#include "driverlib/sysctl.h"
#include "driverlib/pin_map.h"
are all opening well when using "open declaraion" standing on each of them (wanted to make sure they are accessible).
for example - "ROM_GPIOPinConfigure" is defined in "rom.h", but i still get the linker error for its use.
what am i missing?