Jump to content
CorB

Boosterpack LCD (Lars) on StellarisTI

Recommended Posts

I'm getting errors while compiling the latter more . I might be setting it up wrongly. Firstly the following parts were missing, and I put them into the code (from your first example)

 

 

#define SSI_CLK GPIO_PIN_4
#define SSI_TX GPIO_PIN_7
#define GPIO_PB4_SSI2CLK        0x00011002
#define GPIO_PB7_SSI2TX         0x00011C02
 
That removed one error. I also included the dsplib, which removed one error. 
 
But now I've got an error I can't understand:
 
Description Resource Path Location Type
#10010 errors encountered during linking; "LarsLCD-Stellaris.out" not LarsLCD-Stellaris C/C++ Problem
Description Resource Path Location Type
unresolved symbol ROM_FPULazyStackingEnable, first referenced in ./project0.obj LarsLCD-Stellaris C/C++ Problem
Description Resource Path Location Type
unresolved symbol ROM_SysCtlClockSet, first referenced in ./project0.obj LarsLCD-Stellaris C/C++ Problem
Description Resource Path Location Type
unresolved symbol ROM_SysCtlPeripheralEnable, first referenced in ./project0.obj LarsLCD-Stellaris C/C++ Problem
 

Share this post


Link to post
Share on other sites

Hi Lars,

 

The ROM_ calls refer to an option of the StellarisTI, it has many routines in ROM that you can call without the need to compile them separately which saves a good deal of memory. This is done by using a setting in the project, you need to go to

-Project Properties

  - Build

    - ARM Compiler

      - Advanced Options

        -Predefined Symbols

 

On the Pre-define NAME section add

TARGET_IS_BLIZZARD_RA1

 

That allows you to call the SYSCTL calls with a ROM_ prefix. Hope that solves the issues, I had all issues you have until I simply started to use the complete original project. Saw the info on the TARGET_IS_BLIZZARD_RA1 in one of TIs Video;s

 

cheers

 

Cor

EDIT: Concerning the initial problem you had with compiling, the following part are declared in my code:

// Pins used for SSI interface

#define SSI_CLK GPIO_PIN_4 

#define SSI_TX GPIO_PIN_7

 

These

#define GPIO_PB4_SSI2CLK        0x00011002

#define GPIO_PB7_SSI2TX         0x00011C02
are declared in pinmap.H so should not have to be declared in the code ... Can your code reach pinmap.h ? 
 
Edited by CorB

Share this post


Link to post
Share on other sites

hello, sorry Im quite new to the Stellaris Launchpad and CCS, and I really want to get this code running! Im having problems adding the arm_math.h file to my project. first I copied and pasted it straight into the folder with my source code, but that just brough errors inside the arm_math.h file when I try to compile. Could anyone tell me how to fix this?

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×