larsie 121 Posted December 30, 2012 Share Posted December 30, 2012 Thanks for doing a great job of porting the LCD library. The pictures really look great. Where is the arm_math file located? Edit: Found the answer on https://github.com/EuphonistiHack/launchpad-freq-analyzer Quote Link to post Share on other sites
larsie 121 Posted December 30, 2012 Share Posted December 30, 2012 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 Quote Link to post Share on other sites
CorB 64 Posted December 31, 2012 Author Share Posted December 31, 2012 (edited) 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 December 31, 2012 by CorB Quote Link to post Share on other sites
crazymexican 0 Posted February 17, 2013 Share Posted February 17, 2013 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? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.